]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix spellings of contributor names in comments and doc
[thirdparty/glibc.git] / ChangeLog
CommitLineData
edd8d70b
MS
12019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
2
3 [BZ #24916]
4 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
5 tst-undefined-weak.
6 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
7 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
8 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
9 * sysdeps/mips/tst-undefined-weak.c: Likewise.
10 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
11 Increment highest valid ABIVERSION value.
12
33bc9efd
DM
132019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
14
15 * sysdeps/unix/sysv/linux/mips/Makefile
16 (test-xfail-check-execstack):
17 Move under mips-has-gnustack != yes.
18 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
19 Apply -Wa,-execstack if mips-force-execstack == yes.
20 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21 * sysdeps/unix/sysv/linux/mips/configure.ac
22 (mips-force-execstack): New var.
23 Set to yes for hard-float builds with minimum_kernel < 4.8.0
24 or minimum_kernel not set at all.
25 (mips-has-gnustack): New var.
26 Use value of libc_cv_as_noexecstack
27 if mips-force-execstack != yes, otherwise set to no.
28
a43565ac
AZ
292019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30 Florian Weimer <fweimer@redhat.com>
31
08d57105
AZ
32 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
33 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34 Make a compat_symbol.
35 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
36 (__profil_counter_global): Likewise.
37
a43565ac
AZ
38 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
39 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
40 uintptr_t.
41 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
42 sigcontext_get_pc and return aligned cast to uintptr_t.
43 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
44 * sysdeps/posix/profil.c (profil_count): Change PC argument to
45 uintptr_t.
46 (__profil): Use SA_SIGINFO.
47 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
48 uintptr_t.
49 (__sprofil): Use SA_SIGINFO.
50 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
51 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
52 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
53 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
54 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
55 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
56 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
57 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
58 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
59 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
60 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
61 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
62 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
63 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
64 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
65 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
66 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
67 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
68 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
69 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
70 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
71 GET_PC, __sigaction, sigaction): Remove defines.
72 (sigcontext_get_pc): New function.
73 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
74 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
75 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
76 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
77 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
78 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
79 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
80 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
81 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
82 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
83 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
85 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
86 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
87 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
88 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
89 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
90 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
91 Handle CTX argument as ucontext_t.
92 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
93 Likewise.
94 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
95 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
96 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
97 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
98 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
99 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
100 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
101 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
102 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
103 tst-sigcontextinfo-get_pc.
104 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
105 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
106
624c109b
AZ
1072019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
108
109 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
110 definition.
111
c0fd3244
RL
1122019-08-23 Rafal Luzynski <digitalfreak@lingonborough.com>
113
114 [BZ #24682]
115 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
116 * localedata/locales/ug_CN (first_weekday): Likewise.
117 * localedata/locales/zh_CN (first_weekday): Likewise.
118
c8c8160c
GR
1192019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
120
121 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
122 field name in mcontext_t struct.
123
c737ef0d
JM
1242019-08-22 Joseph Myers <joseph@codesourcery.com>
125
42f527c8
JM
126 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
127 unsupported with libidn2 before 2.0.5.
128 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
129
c737ef0d
JM
130 * manual/time.texi (strftime): Document %Ob and %OB as C2X
131 features.
132
8a80ee5e
PE
1332019-08-21 Paul Eggert <eggert@cs.ucla.edu>
134
f615e3fc
PE
135 Remove dead regex code
136 * posix/regex_internal.c (re_node_set_insert):
137 Remove unnecessary assignment. Reported by Tim Rühsen in:
138 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
139
8a80ee5e
PE
140 Fix bad pointer / leak in regex code
141 This was found by Coverity (CID 1484201). [BZ#24844]
142 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
143 pointer and/or memory leak when storage is exhausted.
144
1baae4aa
ZW
1452019-08-21 Zack Weinberg <zackw@panix.com>
146
147 * misc/syslog.c (__vsyslog_internal)
148 * time/getdate.c (__getdate_r)
149 * time/tst_wcsftime.c (main):
150 Use return value of time, not its argument.
151
152 * string/strfry.c (strfry)
153 * sysdeps/mach/sleep.c (__sleep):
154 Remove unnecessary casts of NULL in calls to time.
155
f9fabc1b
JM
1562019-08-21 Joseph Myers <joseph@codesourcery.com>
157
158 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
159 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
160 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
161 (__TGMATH_2_NARROW_F): Likewise.
162 (__TGMATH_2_NARROW_D): New macro.
163 (__TGMATH_2_NARROW_F16): Likewise.
164 (__TGMATH_2_NARROW_F32): Likewise.
165 (__TGMATH_2_NARROW_F64): Likewise.
166 (__TGMATH_2_NARROW_F32X): Likewise.
167 (__TGMATH_2_NARROW_F64X): Likewise.
168 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
173 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
174 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
175 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
176 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
177 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
178 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
179 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
180 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
181 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
182 Likewise.
183 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
184 Likewise.
185 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
186 Likewise.
187 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
188 Likewise.
189 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
190 Likewise.
191 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
192 Likewise.
193 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
194 Likewise.
195 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
196 Likewise.
197 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
198 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
199 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
200 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
201 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
202 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
203 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
204 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
205 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
206 Likewise.
207 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
208 Likewise.
209 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
210 Likewise.
211 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
212 Likewise.
213 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
214 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
215 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
216 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
217 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
218 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
219 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
220 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
221 * math/gen-tgmath-tests.py (Type): Add members
222 non_standard_real_argument_types_list, long_double_type,
223 complex_float64_type and float32x_ext_type.
224 (Type.__init__): Set the new members.
225 (Type.floating_type): Add new argument floatn.
226 (Type.real_floating_type): Likewise.
227 (Type.can_combine_types): Likewise.
228 (Type.combine_types): Likewise.
229 (Type.init_types): Create internal Float32x_ext type.
230 (Tests.__init__): Define Float32x_ext in generated C code.
231 (Tests.add_tests): Handle narrowing functions.
232 (Tests.add_all_tests): Likewise.
233 (Tests.tests_text): Allow variation in mant_dig for narrowing
234 functions with compilers before GCC 8.
235 * math/Makefile (tgmath3-narrow-types): New variable.
236 (tgmath3-narrow-macros): Likewise.
237 (tgmath3-macros): Add $(tgmath3-narrow-macros).
238
b7297184
AS
2392019-08-20 Andreas Schwab <schwab@suse.de>
240
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242
d34d4c80
CD
2432019-08-19 Carlos O'Donell <carlos@redhat.com>
244
245 * nscd/nscd.conf: Add warning and comment about shared option.
246
4b7c7417
CD
2472019-08-19 Carlos O'Donell <carlos@redhat.com>
248
249 * nss/nsswitch.conf: Expand comments, and simplify defaults.
250 * manual/nss.texi (NSS Basics): List all known databases.
251 (Services in the NSS configuration): Mention automount.
252
a289ea09
FW
2532019-08-19 Florian Weimer <fweimer@redhat.com>
254
255 Do not print backtraces on fatal errors.
256 * debug/fortify_fail.c (__libc_argv): Remove declaration.
257 (__fortify_fail_abort): Remove definition.
258 (__fortify_fail): Call __libc_message directly.
259 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
260 (__stack_chk_fail): Call __fortify_fail instead of
261 __fortify_fail_abort.
262 * include/stdio.h (__fortify_fail_abort): Remove declaration.
263 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
264 definitions.
265 (__libc_message): Do not handle do_backtrace. Do not call
266 BEFORE_ABORT.
267 (__libc_fatal): Do not pass do_backtrace to __libc_message.
268 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
269 (before_abort): Remove definitions.
270
1d714fd9
FW
2712019-08-16 Florian Weimer <fweimer@redhat.com>
272
273 nptl: Move pthread_attr_getdetachstate implementation into libc.
274 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
275 (libpthread-routines): Remove pthread_attr_getdetachstate.
276 * nptl/Versions (libpthread GLIBC_2.0): Remove
277 pthread_attr_getdetachstate.
278 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
279 * nptl/nptl-init.c (pthread_functions): Remove initializer for
280 ptr_pthread_attr_getdetachstate.
281 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
282 Remove ptr_pthread_attr_getdetachstate member.
283 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
284 Remove pthread_attr_getdetachstate.
285 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
286 Likewise.
287 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
288 Likewise.
289 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
290 Likewise.
291 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
292 Likewise.
293 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
294 Likewise.
295 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
296 Likewise.
297 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
298 (GLIBC_2.4): Likewise.
299 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
300 (GLIBC_2.0): Likewise.
301 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
302 (GLIBC_2.18): Likewise.
303 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
304 (GLIBC_2.0): Likewise.
305 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
306 (GLIBC_2.0): Likewise.
307 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
308 Likewise.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
310 (GLIBC_2.0): Likewise.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
312 (GLIBC_2.3): Likewise.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
314 (GLIBC_2.17): Likewise.
315 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
316 (GLIBC_2.27): Likewise.
317 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
318 (GLIBC_2.0): Likewise.
319 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
320 (GLIBC_2.2): Likewise.
321 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
322 Likewise.
323 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
324 (GLIBC_2.0): Likewise.
325 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
326 (GLIBC_2.2): Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
328 (GLIBC_2.2.5): Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
330 (GLIBC_2.16): Likewise.
331
4745f4c1
JM
3322019-08-16 Joseph Myers <joseph@codesourcery.com>
333
334 * math/libm-test-compat_totalorder.inc (do_test)
335 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
336 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
337 * math/libm-test-compat_totalordermag.inc (do_test)
338 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
339
a635d756
FW
3402019-08-15 Florian Weimer <fweimer@redhat.com>
341
342 nptl: Move pthread_attr_init implementation into libc.
343 * nptl/Makefile (routines): Add pthread_attr_init.
344 (libpthread-routines): Remove pthread_attr_init.
345 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
346 (libpthread GLIBC_2.0): Likewise.
347 * nptl/pthread_attr_init.c: Check for libc compat version instead
348 of libpthread compat version.
349 * nptl/forward.c (__pthread_attr_init_2_0)
350 (__pthread_attr_init_2_1): Remove definitions.
351 * nptl/nptl-init.c (pthread_functions): Remove initializers for
352 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
353 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
354 Remove members ptr___pthread_attr_init_2_0,
355 ptr___pthread_attr_init_2_1.
356 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
357 Remove pthread_attr_init.
358 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
359 Likewise.
360 (GLIBC_2.1): Likewise.
361 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
362 Likewise.
363 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
364 Likewise.
365 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
366 Likewise.
367 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
368 Likewise.
369 (GLIBC_2.1): Likewise.
370 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
371 Likewise.
372 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
373 (GLIBC_2.4): Likewise.
374 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
375 (GLIBC_2.0): Likewise.
376 (GLIBC_2.1): Likewise.
377 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
378 (GLIBC_2.18): Likewise.
379 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
380 (GLIBC_2.0): Likewise.
381 (GLIBC_2.1): Likewise.
382 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
383 (GLIBC_2.0): Likewise.
384 (GLIBC_2.1): Likewise.
385 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
386 Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
388 (GLIBC_2.0): Likewise.
389 (GLIBC_2.1): Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
391 (GLIBC_2.3): Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
393 (GLIBC_2.17): Likewise.
394 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
395 (GLIBC_2.27): Likewise.
396 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
397 (GLIBC_2.0): Likewise.
398 (GLIBC_2.1): Likewise.
399 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
400 (GLIBC_2.2): Likewise.
401 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
402 Likewise.
403 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
404 (GLIBC_2.0): Likewise.
405 (GLIBC_2.1): Likewise.
406 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
407 (GLIBC_2.2): Likewise.
408 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
409 (GLIBC_2.2.5): Likewise.
410 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
411 (GLIBC_2.16): Likewise.
412
23d2e5fa
FW
4132019-08-15 Florian Weimer <fweimer@redhat.com>
414
415 [BZ #24900]
416 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
417 new object in __RTLD_OPENEXEC mode (except for the origin).
418 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
419 check for the error message.
420 (do_test): Call it. Add check using relative path.
421 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
422 (tst-dlopen-aout-container): Link with libpthread.
423 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
424
42760d76
JM
4252019-08-15 Joseph Myers <joseph@codesourcery.com>
426
427 * math/bits/mathcalls.h
428 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
429 (totalorder): Take pointer arguments.
430 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
431 (totalordermag): Likewise.
432 * manual/arith.texi (totalorder): Likewise.
433 (totalorderf): Likewise.
434 (totalorderl): Likewise.
435 (totalorderfN): Likewise.
436 (totalorderfNx): Likewise.
437 (totalordermag): Likewise.
438 (totalordermagf): Likewise.
439 (totalordermagl): Likewise.
440 (totalordermagfN): Likewise.
441 (totalordermagfNx): Likewise.
442 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
443 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
444 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
445 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
446 totalorderl, totalordermag, totalordermagf, totalordermagl,
447 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
448 totalordermagf64, totalordermagf32x, totalorderf64x,
449 totalordermagf64x, totalorderf128 and totalordermagf128.
450 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
451 and compat_totalordermag.
452 (libm-test-funcs-compat): New variable.
453 (libm-tests-compat): Likewise.
454 (tests): Do not include compat tests.
455 (tests-internal): Add compat tests.
456 ($(foreach t,$(libm-tests-base),
457 $(objpfx)$(t)-compat_totalorder.o)): Depend
458 on $(objpfx)libm-test-totalorder.c.
459 ($(foreach t,$(libm-tests-base),
460 $(objpfx)$(t)-compat_totalordermag.o): Depend on
461 $(objpfx)libm-test-totalordermag.c.
462 (tgmath3-macros): Remove totalorder and totalordermag.
463 * math/libm-test-compat_totalorder.inc: New file.
464 * math/libm-test-compat_totalordermag.inc: Likewise.
465 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
466 (RUN_TEST_fpfp_b): New macro.
467 (RUN_TEST_LOOP_fpfp_b): Likewise.
468 * math/libm-test-totalorder.inc (totalorder_test_data): Use
469 TEST_fpfp_b.
470 (totalorder_test): Condition on [!COMPAT_TEST].
471 (do_test): Likewise.
472 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
473 TEST_fpfp_b.
474 (totalordermag_test): Condition on [!COMPAT_TEST].
475 (do_test): Likewise.
476 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
477 totalorder and totalordermag.
478 * math/test-tgmath.c (NCALLS): Change to 132.
479 (F(compile_test)): Do not call totalorder or totalordermag.
480 (F(totalorder)): Remove.
481 (F(totalordermag)): Likewise.
482 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
483 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
484 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
485 SJSTR_HELPER.
486 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
487 [!_ISOMAC] (TEST_SIZE): Update call to STR.
488 [!_ISOMAC] (TEST_ALIGN): Likewise.
489 [!_ISOMAC] (TEST_OFFSET): Likewise.
490 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
491 and <first-versions.h>.
492 (__totalorder): Take pointer arguments. Add symbol versions and
493 compat symbols.
494 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
495 <shlib-compat.h> and <first-versions.h>.
496 (__totalordermag): Take pointer arguments. Add symbol versions
497 and compat symbols.
498 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
499 <shlib-compat.h> and <first-versions.h>.
500 (__totalorder): Take pointer arguments. Add symbol versions and
501 compat symbols.
502 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
503 <shlib-compat.h> and <first-versions.h>.
504 (__totalordermag): Take pointer arguments. Add symbol versions
505 and compat symbols.
506 * sysdeps/ieee754/float128/float128_private.h
507 (__totalorder_compatl): New macro.
508 (__totalordermag_compatl): Likewise.
509 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
510 and <first-versions.h>.
511 (__totalorderf): Take pointer arguments. Add symbol versions and
512 compat symbols.
513 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
514 <shlib-compat.h> and <first-versions.h>.
515 (__totalordermagf): Take pointer arguments. Add symbol versions
516 and compat symbols.
517 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
518 <shlib-compat.h> and <first-versions.h>.
519 (__totalorderl): Take pointer arguments. Add symbol versions and
520 compat symbols.
521 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
522 <shlib-compat.h> and <first-versions.h>.
523 (__totalordermagl): Take pointer arguments. Add symbol versions
524 and compat symbols.
525 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
526 <shlib-compat.h>.
527 (__totalorderl): Take pointer arguments. Add symbol versions and
528 compat symbols.
529 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
530 <shlib-compat.h>.
531 (__totalordermagl): Take pointer arguments. Add symbol versions
532 and compat symbols.
533 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
534 <shlib-compat.h> and <first-versions.h>.
535 (__totalorderl): Take pointer arguments. Add symbol versions and
536 compat symbols.
537 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
538 <shlib-compat.h> and <first-versions.h>.
539 (__totalordermagl): Take pointer arguments. Add symbol versions
540 and compat symbols.
541 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
542 pointer arguments.
543 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
544 Likewise.
545 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
546 (do_test): Update calls to totalorderl and totalordermagl.
547 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
548 Update calls to totalorderl and totalordermagl.
549 * sysdeps/mach/hurd/i386/libm.abilist: Update.
550 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
551 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
552 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
553 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
564 Likewise.
565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
566 Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
568 Likewise.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
570 Likewise.
571 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
572 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
573 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
574 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
575 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
576 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
579
c2adefba
FW
5802019-08-15 Florian Weimer <fweimer@redhat.com>
581
582 [BZ #24899]
583 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
584 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
585 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
586 Likewise.
587 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
588 __attribute_nonstring__ to ut_id.
589 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
590 Likewise.
591
0d5b2917
FW
5922019-08-15 Florian Weimer <fweimer@redhat.com>
593
594 [BZ #24880]
595 * login/utmp_file.c (file_locking_failed): Use struct flock64.
596 (file_locking_unlock): Likewise.
597
628598be
FW
5982019-08-15 Florian Weimer <fweimer@redhat.com>
599
600 [BZ #24879]
601 login: Disarm timer after utmp lock acquisition.
602 * login/utmp_file.c (struct file_locking): Remove.
603 (try_file_lock): Adjust.
604 (file_lock_restore): Remove function.
605 (__libc_getutent_r): .
606 (internal_getut_r): Likewise.
607 (__libc_getutline_r): Likewise.
608 (__libc_pututline): Likewise.
609 (__libc_updwtmp): Likewise.
610
17e13474
FW
6112019-08-15 Florian Weimer <fweimer@redhat.com>
612
613 nptl: Remove pthread_self compatibility symbol from libpthread.
614 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
615 pthread_equal.
616 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
617 * nptl/compat-pthread_self.c: Remove file.
618 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
619 Remove pthread_self.
620 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
621 Likewise.
622 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
623 Likewise.
624 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
625 Likewise.
626 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
627 Likewise.
628 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
629 Likewise.
630 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
631 (GLIBC_2.4): Likewise.
632 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
633 (GLIBC_2.0): Likewise.
634 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
635 (GLIBC_2.18): Likewise.
636 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
637 (GLIBC_2.0): Likewise.
638 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
639 (GLIBC_2.0): Likewise.
640 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
641 Likewise.
642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
643 (GLIBC_2.0): Likewise.
644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
645 (GLIBC_2.3): Likewise.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
647 (GLIBC_2.17): Likewise.
648 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
649 (GLIBC_2.0): Likewise.
650 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
651 (GLIBC_2.2): Likewise.
652 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
653 Likewise.
654 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
655 (GLIBC_2.0): Likewise.
656 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
657 (GLIBC_2.2): Likewise.
658 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
659 (GLIBC_2.2.5): Likewise.
660 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
661 (GLIBC_2.16): Likewise.
662
fa57c301
FW
6632019-08-15 Florian Weimer <fweimer@redhat.com>
664
665 nptl: Move pthread_attr_destroy implementation into libc.
666 * nptl/Makefile (routines): Add pthread_attr_destroy.
667 (libpthread-routines): Remove pthread_attr_destroy.
668 * nptl/Versions (libpthread GLIBC_2.0): Remove
669 pthread_attr_destroy.
670 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
671 libc compat version instead of libpthread compat version.
672 * nptl/forward.c (pthread_attr_destroy): Remove definition.
673 * nptl/nptl-init.c (pthread_functions): Remove initializer for
674 ptr_pthread_attr_destroy.
675 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
676 Remove ptr_pthread_attr_destroy member.
677 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
678 Remove pthread_attr_destroy.
679 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
680 Likewise.
681 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
682 Likewise.
683 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
684 Likewise.
685 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
686 Likewise.
687 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
688 Likewise.
689 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
690 Likewise.
691 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
692 (GLIBC_2.4): Likewise.
693 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
694 (GLIBC_2.0): Likewise.
695 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
696 (GLIBC_2.18): Likewise.
697 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
698 (GLIBC_2.0): Likewise.
699 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
700 (GLIBC_2.0): Likewise.
701 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
702 Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
704 (GLIBC_2.0): Likewise.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
706 (GLIBC_2.3): Likewise.
707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
708 (GLIBC_2.17): Likewise.
709 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
710 (GLIBC_2.27): Likewise.
711 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
712 (GLIBC_2.0): Likewise.
713 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
714 (GLIBC_2.2): Likewise.
715 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
716 Likewise.
717 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
718 (GLIBC_2.0): Likewise.
719 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
720 (GLIBC_2.2): Likewise.
721 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
722 (GLIBC_2.2.5): Likewise.
723 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
724 (GLIBC_2.16): Likewise.
725
56e09811
AS
7262019-08-15 Andreas Schwab <schwab@suse.de>
727
728 * sysdeps/i386/fpu/libm-test-ulps: Update.
729
f9769a23
FW
7302019-08-15 Florian Weimer <fweimer@redhat.com>
731
732 * malloc/Makefile (tests): Only add tst-mxfast for
733 $(have-tunables).
734 * malloc/tst-mxfast.c: Fix copyright year.
735 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
736 assert for checks.
737
341da5b4
FW
7382019-08-15 Florian Weimer <fweimer@redhat.com>
739
740 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
741 descriptor.
742 * login/Makefile (tests): Add tst-updwtmpx.
743 * login/tst-updwtmpx.c: New file.
744
dda373b0
FW
7452019-08-15 Florian Weimer <fweimer@redhat.com>
746
747 nptl: Move pthread_equal implementation into libc.
748 * nptl/Makefile (routines): Add pthread_equal.
749 * nptl/forward.c (pthread_equal): Remove definition.
750 * nptl/nptl-init.c (pthread_functions): Remove initializer for
751 ptr_pthread_equal.
752 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
753 Remove ptr_pthread_equal member.
754 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
755 Remove pthread_equal.
756 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
757 Likewise.
758 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
759 Likewise.
760 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
761 Likewise.
762 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
763 Likewise.
764 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
765 Likewise.
766 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
767 Likewise.
768 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
769 (GLIBC_2.4): Likewise.
770 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
771 (GLIBC_2.0): Likewise.
772 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
773 (GLIBC_2.18): Likewise.
774 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
775 (GLIBC_2.0): Likewise.
776 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
777 (GLIBC_2.0): Likewise.
778 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
779 Likewise.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
781 (GLIBC_2.0): Likewise.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
783 (GLIBC_2.3): Likewise.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
785 (GLIBC_2.17): Likewise.
786 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
787 (GLIBC_2.27): Likewise.
788 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
789 (GLIBC_2.0): Likewise.
790 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
791 (GLIBC_2.2): Likewise.
792 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
793 Likewise.
794 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
795 (GLIBC_2.0): Likewise.
796 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
797 (GLIBC_2.2): Likewise.
798 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
799 (GLIBC_2.2.5): Likewise.
800 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
801 (GLIBC_2.16): Likewise.
802
c54d8649
FW
8032019-08-14 Florian Weimer <fweimer@redhat.com>
804
805 * support/support_descriptors.c: Include <support/descriptors.h>.
806
b68fabfb
FX
8072019-08-14 Feng Xue <fxue@os.amperecomputing.com>
808
809 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
810 Disable DC ZVA code if this macro is defined as zero.
811 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
812 Change to zero to disable using DC ZVA.
813
c3ce62cc
JM
8142019-08-13 Joseph Myers <joseph@codesourcery.com>
815
816 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
817 Update comment.
818 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
819 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
820 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
821 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
822 Likewise.
823
5a3afa97
FW
8242019-08-13 Florian Weimer <fweimer@redhat.com>
825
826 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
827 Remove macros.
828 (struct file_locking): New.
829 (try_file_lock, file_unlock, file_lock_restore): New functions.
830 (__libc_getutent_r): Use the new functions.
831 (internal_getut_r): Likewise.
832 (__libc_getutline_r): Likewise.
833 (__libc_pututline): Likewise.
834 (__libc_updwtmp): Likewise.
835
777d75fb
JM
8362019-08-13 Joseph Myers <joseph@codesourcery.com>
837
0175c9e9
JM
838 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
839 comment.
840 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
841 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
842 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
843 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
844 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
845 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
846 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
847 Likewise.
848 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
849 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
850 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
851 Likewise.
852 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
853 Likewise.
854 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
855 Likewise.
856 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
857 Likewise.
858 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
859 Likewise.
860 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
861 Likewise.
862 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
863 Likewise.
864 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
865 (IEC_60559_BFP_EXT)]: Likewise.
866 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
867 Likewise.
868 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
869 Likewise.
870 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
871 Likewise.
872 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
873 Likewise.
874 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
875 Likewise.
876 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
877 Likewise.
878 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
879 Likewise.
880 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
881 Likewise.
882 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
883 Likewise, except for totalorder, totalordermag, getpayload,
884 setpayload and setpayloadsig.
885 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
886 except for totalorder and totalordermag.
887
a8c2fa98
JM
888 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
889 (strdup): Likewise.
890 (strndup): Likewise.
891
777d75fb
JM
892 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
893 Undefine and define to 1 if [_GNU_SOURCE].
894 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
895 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
896 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
897 (__USE_ISOC99): Likewise.
898 (__USE_ISOC95): Likewise.
899 * manual/creature.texi (_ISOC2X_SOURCE): Document.
900
a33b817f
FW
9012019-08-13 Florian Weimer <fweimer@redhat.com>
902
903 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
904 are always true.
905 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
906 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
907 * login/getutmpx.c (getutmpx): Likewise.
908 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
909 true.
910 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
911 _HAVE_UT_TV are always true.
912 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
913 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
914 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
915 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
916 are always true.
917 (internal_getut_r): _HAVE_UT_TYPE is always true.
918 (__libc_pututline): Likewise.
919 * login/programs/utmpdump.c (print_entry): Assume that
920 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
921 _HAVE_UT_TV are always true.
922 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
923 _HAVE_UT_ID are always true.
924 * sysdeps/gnu/bits/utmp.h: Move to ...
925 * bits/utmp.h: ... here, replacing the old file.
926
9b9670fc
FW
9272019-08-12 Florian Weimer <fweimer@redhat.com>
928
929 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
930 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
931 not set.
932 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
933 (do_test): Open the executable using an absolute path. Print
934 error message to standard output.
935
c48d92b4
DD
9362019-08-09 DJ Delorie <dj@redhat.com>
937
938 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
939 * manual/tunables.texi: Document it.
940 * malloc/malloc.c (do_set_mxfast): New.
941 (__libc_mallopt): Call it.
942 * malloc/arena.c: Add mxfast tunable.
943 * malloc/tst-mxfast.c: New.
944 * malloc/Makefile: Add it.
945
b6d2c447
NH
9462019-08-08 Niklas Hambüchen <mail@nh2.me>
947 Carlos O'Donell <carlos@redhat.com>
948
949 [BZ #24026]
950 * malloc/malloc.c (__malloc_info): Account for top chunk.
951
a02cd8e4
JM
9522019-08-07 Joseph Myers <joseph@codesourcery.com>
953
954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
955 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
956
d8b97803
JM
9572019-08-06 Joseph Myers <joseph@codesourcery.com>
958
959 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
960
8d454abe
SL
9612019-07-02 Stefan Liebler <stli@linux.ibm.com>
962
963 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
964
98013846
JM
9652019-08-05 Joseph Myers <joseph@codesourcery.com>
966
967 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
968 New macro.
969
503fc587
AZ
9702019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
971
d665367f
AZ
972 [BZ #19767]
973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
974 Remove definition.
975 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
976 Likewise.
977 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
978 Likewise.
979 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
980 Likewise.
981 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
982 (ALWAYS_USE_VSYSCALL): Likewise.
983 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
984 (ALWAYS_USE_VSYSCALL): Likewise.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
986 (ALWAYS_USE_VSYSCALL): Likewise.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
988 (ALWAYS_USE_VSYSCALL): Likewise.
989 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
990 Likewise.
991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
992 (ALWAYS_USE_VSYSCALL): Likewise.
993 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
994 (ALWAYS_USE_VSYSCALL): Likewise.
995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
996 Likewise.
997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
998 Likewise.
999 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1000 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1002 USE_VSYSCALL): Remove defitions.
1003
c9c1a413
AZ
1004 [BZ #19767]
1005 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1006 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1008 Define.
1009
27a0914e 1010 [BZ #19767]
5e855c89
AZ
1011 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1012 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1014 (ALWAYS_USE_VSYSCALL): Define.
1015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1016 (ALWAYS_USE_VSYSCALL): Likewise.
1017
1018 [BZ #19767]
27a0914e
AZ
1019 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1020 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1021 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1022 Define.
1023
503fc587
AZ
1024 * sysdeps/sh/libm-test-ulps: Update.
1025
1a7fe2eb
FW
10262019-08-05 Florian Weimer <fweimer@redhat.com>
1027
1028 [BZ #23518]
1029 * login/uptmp-private.h (struct ufuncs): Remove definition.
1030 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1031 (__libc_utmp_jump_table): Remove declarations.
1032 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1033 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1034 (__libc_updwtmp): Declare.
1035 * login/getutent_r.c (__libc_utmp_unknown_functions)
1036 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1037 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1038 (endutent_unknown): Remove definitions.
1039 (__setutent): Call __libc_setutent.
1040 (__getutent_r): Call __libc_getutent_r.
1041 (__pututline): Call __libc_pututline.
1042 (__endutent): Call __libc_endutent.
1043 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1044 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1045 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1046 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1047 (__libc_setutent): Rename from stetutent_file. Drop static.
1048 (maybe_setutent): New function.
1049 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1050 Check for initialization.
1051 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1052 Check for initialization.
1053 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1054 Check for initialization.
1055 (__libc_pututline): Rename from pututline_file. Drop static.
1056 Check for initialization.
1057 (__libc_endutent): Rename from endutent_file. Drop static. Check
1058 for initialization.
1059 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1060 * login/utmpname.c (__utmpname): Call __libc_endutent.
1061 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1062 __libc_getutlien_r, __libc_endutent.
1063 * manual/users.texi (Who Logged In, Manipulating the Database):
1064 Adjust.
1065
a6c1ce77
AH
10662019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
1067
1068 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1069
c7a26cba
JM
10702019-08-02 Joseph Myers <joseph@codesourcery.com>
1071
9c37bde5
JM
1072 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1073
c7a26cba
JM
1074 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1075 kernel version number to 5.2.
1076
066020c5
RFF
10772019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1078
1079 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1080 mnemonics and set .machine power8.
1081 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1082 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1083 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1084 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1085 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1086 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1087 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1088 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1089 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1090 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1091
3175dcc1
AZ
10922019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1093
1094 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1095
b0f6679b
FW
10962019-08-01 Florian Weimer <fweimer@redhat.com>
1097
1098 [BZ #24867]
1099 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1100 whitespace.
1101
e1df30fb
AZ
11022019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1103
1104 [BZ #15813]
1105 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1106 attempt.
1107
e7124906
CD
11082019-08-01 Carlos O'Donell <carlos@redhat.com>
1109
0a8262a1
CD
1110 * version.h (RELEASE): Set to "stable".
1111 (VERSION): Set to "2.30".
1112 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1113
e7124906
CD
1114 * manual/install.texi: Update component versions.
1115 * INSTALL: Regenerate.
1116 * NEWS: Update.
1117
cc3bf319
CD
11182019-07-31 Carlos O'Donell <carlos@redhat.com>
1119
1120 * po/be.po: Update translations.
1121 * po/bg.po: Likewise.
1122 * po/ca.po: Likewise.
1123 * po/cs.po: Likewise.
1124 * po/da.po: Likewise.
1125 * po/de.po: Likewise.
1126 * po/el.po: Likewise.
1127 * po/eo.po: Likewise.
1128 * po/es.po: Likewise.
1129 * po/fi.po: Likewise.
1130 * po/fr.po: Likewise.
1131 * po/gl.po: Likewise.
1132 * po/hr.po: Likewise.
1133 * po/hu.po: Likewise.
1134 * po/ia.po: Likewise.
1135 * po/id.po: Likewise.
1136 * po/it.po: Likewise.
1137 * po/ja.po: Likewise.
1138 * po/ko.po: Likewise.
1139 * po/lt.po: Likewise.
1140 * po/nb.po: Likewise.
1141 * po/nl.po: Likewise.
1142 * po/pl.po: Likewise.
1143 * po/pt_BR.po: Likewise.
1144 * po/ru.po: Likewise.
1145 * po/rw.po: Likewise.
1146 * po/sk.po: Likewise.
1147 * po/sl.po: Likewise.
1148 * po/sv.po: Likewise.
1149 * po/tr.po: Likewise.
1150 * po/uk.po: Likewise.
1151 * po/vi.po: Likewise.
1152 * po/zh_CN.po: Likewise.
1153 * po/zh_TW.po: Likewise.
1154
0bfddfc9
FW
11552019-07-31 Florian Weimer <fweimer@redhat.com>
1156
1157 [BZ #24583]
1158 [BZ #24677]
1159 iconv, libio: Revert reference counting changes.
1160 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1161 free the steps array.
1162 * libio/Makefile (tests): Remove tst-wfile-gconv.
1163 (tests-container): Do not add tst-wfile-ascii.
1164 (tst-wfile-gconv-ENV): Do not set.
1165 (generated): Do not add tst-wfile-gconv.mtrace,
1166 tst-wfile-gconv.check.
1167 [($run-built-tests)] (tests-special): Do not add
1168 tst-wfile-gconv-mem.out.
1169 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1170 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1171 instead of __wcsmbs_clone_conv.
1172 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1173 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1174
c86b8e75
JM
11752019-07-30 Joseph Myers <joseph@codesourcery.com>
1176
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1178 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1179
8a814e20
FW
11802019-07-30 Florian Weimer <fweimer@redhat.com>
1181
1182 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1183 type to uintptr_t. Update comment.
1184 (check_stack_top): Adjust.
1185
b8b3d5a1
FW
11862019-07-29 Florian Weimer <fweimer@redhat.com>
1187
1188 Linux: Move declaration of getdents64 to <dirent.h>.
1189 * bits/dirent_ext.h: New file.
1190 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1191 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1192 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1193 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1194 declaration.
1195 * manual/filesys.texi (Low-level Directory Access): Update header
1196 to dirent.h.
1197
354e4c1a
TMQMF
11982019-07-29 DJ Delorie <dj@redhat.com>
1199 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1200
1201 [BZ #24794]
1202 * Makeconfig (all-subdirs): Improved source comments.
1203 * Makefile (testroot.pristine/install.stamp): Pass
1204 subdirs='$(sorted-subdirs)' to make install.
1205
50ce3eae
FW
12062019-07-25 Florian Weimer <fweimer@redhat.com>
1207
1208 [BZ #24677]
1209 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1210 counter before freeing array.
1211
7e681561
L
12122019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 [BZ #24603]
1215 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1216 works.
1217 * sysdeps/x86_64/configure: Regenerated.
1218 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1219 to -mprefer-vector-width=128 if supported.
1220
82c664ed
FW
12212019-07-24 Florian Weimer <fweimer@redhat.com>
1222
1223 * scripts/build-many-glibcs.py (Context.checkout): Default to
1224 Linux 5.2.
1225
7854ebf8
FW
12262019-07-24 Florian Weimer <fweimer@redhat.com>
1227
1228 [BZ #24532]
1229 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1230 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1231 (sysdep_headers): Add bits/socket-constants.h.
1232 (tests-special): Add tst-socket-consts.out.
1233 (tst-socket-consts.out): New target.
1234 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1235 around <asm/unistd.h>.
1236 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1237 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1238 <asm/socket.h>.
1239 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1240 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1241 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1242 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1245 Likewise.
1246 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1247
95da14da
TMQMF
12482019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1249
35e038c1
TMQMF
1250 [BZ #24794]
1251 * Makefile (testroot.pristine/install.stamp): Pass
1252 subdirs='$(all-subdirs)' to make install.
1253
95da14da
TMQMF
1254 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1255 the same arguments used in all tests.
1256
dcf36bca
SN
12572019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1258
1259 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1260
c7e4b684
EK
12612019-07-20 Egor Kobylkin <egor@kobylkin.com>
1262
1263 [BZ #2872]
1264 * locale/C-translit.h.in: Add Cyrillic transliteration.
1265
1f7097d0
FW
12662019-07-19 Florian Weimer <fweimer@redhat.com>
1267
1268 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1269 from Linux 5.2.
1270 (fsconfig): Add system call name.
1271 (fsmount): Likewise.
1272 (fsopen): Likewise.
1273 (fspick): Likewise.
1274 (move_mount): Likewise.
1275 (open_tree): Likewise.
1276
3556658c
CD
12772019-07-18 Carlos O'Donell <carlos@redhat.com>
1278
1279 * po/libc.pot: Regenerate.
1280
4a8f6d31
MC
12812019-07-18 Mike Crowe <mac@mcrowe.com>
1282
2ab9ad57
AZ
1283 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1284 functions recently added to sysdeps/nptl/pthread.h:
1285 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1286 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1287
4a8f6d31
MC
1288 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1289 pthread_cond_clockwait forwarding functions. There are no internal
1290 users, so it is unnecessary to expose these functions in libc.so.
1291 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1292 unnecessary ptr___pthread_cond_clockwait member.
1293 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1294 removed member.
1295
9208c3b8
RL
12962019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1297
1298 [BZ #21897]
1299 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1300 begin with an uppercase letter now.
1301 (abmon): Likewise.
1302 (mon): Update from CLDR, reword February from "Kudo" to
1303 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1304 and August from "Liiqen" to "Leqeeni".
1305 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1306 April from "Agda Baxisso" to "Agda Baxis" and August from
1307 "Leqeeni" to "Liiqen".
1308 * localedata/locales/aa_ER@saaho (mon): Likewise.
1309 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1310 abbreviated February from "Kud" to "Nah".
1311 (mon): Update from CLDR, reword February from "Kudo" to
1312 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1313
fba6d4bb
RL
13142019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1315
1316 [BZ #23996]
1317 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1318
3cc7c9c5
P
13192019-07-17 PanderMusubi <pander@users.sourceforge.net>
1320
1321 [BZ #23996]
1322 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1323 name_mrs, name_miss, and name_ms.
1324 * localedata/locales/nl_NL (LC_NAME): Likewise.
1325
cce7b6a5
DZ
13262019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1327
1328 [BZ #24200]
1329 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1330 * localedata/locales/en_IE (first_weekday): Likewise.
1331
99d01ffc
MC
13322019-07-12 Mike Crowe <mac@mcrowe.com>
1333
1ff1373b
MC
1334 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1335 that is only useful if futex_supports_exact_relative_timeouts ()
1336 returns false.
1337 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1338 Likewise.
1339 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1340 timeouts potentially being imprecise since it's no longer true.
1341 Remove declaration of futex_supports_exact_relative_timeouts.
1342 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1343 of futex_supports_exact_relative_timeouts.
1344
65dd7e9c
MC
1345 * NEWS: Mention recently-added pthread_cond_clockwait,
1346 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1347 sem_clockwait functions.
1348
9d20e22e
MC
1349 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1350 works like pthread_mutex_timedlock but takes a clockid parameter to
1351 measure the abstime parameter against.
1352 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1353 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1354 * nptl/pthread_mutex_timedlock.c
1355 (__pthread_mutex_clocklock_common): Rename from
1356 __pthread_mutex_timedlock and add clockid parameter. Pass this
1357 parameter to lll_clocklock and lll_clocklock_elision in place of
1358 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1359 LIBC_PROBE and validate clockid parameter before calling
1360 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1361 implementation to add LIBC_PROBE and calls
1362 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1363 clockid.
1364 * nptl/Makefile: Add tst-mutex11.c.
1365 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1366 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1367 clockid parameters to pthread_mutex_clocklock.
1368 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1369 clockid parameter to indicate which clock to be used. Call
1370 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1371 (do_test): Call do_test_clock to separately test
1372 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1373 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1374 * nptl/tst-mutex9.c: Likewise.
1375 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1376 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1377 Likewise.
1378 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1381 Likewise.
1382 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1389 Likewise.
1390 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1391 (GLIBC_2.30): Likewise.
1392 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1393 (GLIBC_2.30): Likewise.
1394 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1395 (GLIBC_2.30): Likewise.
1396 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1397 (GLIBC_2.30): Likewise.
1398 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1399 (GLIBC_2.30): Likewise.
1400 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1403 (GLIBC_2.30): Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1405 (GLIBC_2.30): Likewise.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1407 (GLIBC_2.30): Likewise.
1408 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1409 (GLIBC_2.30): Likewise.
1410 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1411 (GLIBC_2.30): Likewise.
1412 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1413 (GLIBC_2.30): Likewise.
1414 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1417 (GLIBC_2.30): Likewise.
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1419 (GLIBC_2.30): Likewise.
1420 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1421 (GLIBC_2.30): Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1423 (GLIBC_2.30): Likewise.
1424
59213094
MC
1425 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1426 parameter to indicate the clock that the abstime parameter should
1427 be measured against in preparation for adding
1428 pthread_mutex_clocklock.
1429 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1430 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1431 from __lll_timedlock and add clockid parameter.
1432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1433 Likewise.
1434 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1435 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1436 rather than __gettimeofday so that clockid can be used. This means
1437 that conversion from struct timeval is no longer required.
1438 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1439 Likewise.
1440 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1441 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1442 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1443 from lll_timedlock_elision, add clockid parameter and use
1444 meaningful names for other parameters. (__pthread_mutex_timedlock):
1445 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1446 lll_clocklock_elision.
1447 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1448 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1449 clockid parameter. (__lll_clocklock_elision): Rename from
1450 __lll_timedlock_elision and add clockid parameter.
1451 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1452 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1454 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1455 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1456 (LLL_LOCK): Likewise.
1457 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1458 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1459
e996fa72
MC
1460 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1461 pthread_rwlock_clockwrlock which behave like
1462 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1463 respectively, except they always measure abstime against the
1464 supplied clockid. The functions currently support CLOCK_REALTIME
1465 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1466 specified.
1467 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1468 pthread_wrlock_clockwrlock.
1469 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1470 pthread_rwlock_clockwrlock.c.
1471 * nptl/pthread_rwlock_clockrdlock.c: Implement
1472 pthread_rwlock_clockrdlock.
1473 * nptl/pthread_rwlock_clockwrlock.c: Implement
1474 pthread_rwlock_clockwrlock.
1475 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1476 clockid parameter and verify that it indicates a supported clock on
1477 entry so that we fail even if it doesn't end up being used. Pass
1478 that clock on to futex_abstimed_wait when necessary.
1479 (__pthread_rwlock_wrlock_full): Likewise.
1480 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1481 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1482 be used because there's no timeout.
1483 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1484 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1485 be used because there is no timeout.
1486 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1487 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1488 uses that clock.
1489 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1490 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1491 uses that clock.
1492 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1493 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1494 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1495 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1496 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1497 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1498 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1499 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1500 (GLIBC_2.30): Likewise.
1501 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1502 (GLIBC_2.30): Likewise.
1503 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1504 (GLIBC_2.30): Likewise.
1505 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1506 (GLIBC_2.30): Likewise.
1507 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1508 (GLIBC_2.30): Likewise.
1509 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1511 (GLIBC_2.30): Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1513 (GLIBC_2.30): Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1515 (GLIBC_2.30): Likewise.
1516 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1517 (GLIBC_2.30): Likewise.
1518 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1519 (GLIBC_2.30): Likewise.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1521 (GLIBC_2.30): Likewise.
1522 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1523 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1524 (GLIBC_2.30): Likewise.
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1526 (GLIBC_2.30): Likewise.
1527 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1528 (GLIBC_2.30): Likewise.
1529 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1530 (GLIBC_2.30): Likewise.
1531 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1532 pthread_rwlock_clockwrlock timeout tests to match the existing
1533 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1534 * nptl/tst-rwlock14.c (do_test): Likewise.
1535 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1536 ancillary output throughout. (tf): Accept thread_args structure so
1537 that rwlock, a clockid and function name can be passed to the
1538 thread. (do_test_clock): Rename from do_test. Accept clockid
1539 parameter to specify test clock. Use the magic clockid value of
1540 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1541 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1542 specified clockid to pthread_rwlock_clockrdlock and
1543 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1544 (do_test): Call do_test_clock to test each clockid in turn.
1545 * nptl/tst-rwlock7.c: Likewise.
1546 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1547 thread_args structure so that the (now int) thread number, the
1548 clockid and the function name can be passed to the thread.
1549 (do_test_clock): Renamed from do_test. Pass the necessary
1550 thread_args when creating the reader and writer threads. Use
1551 xpthread_create and xpthread_join.
1552 (do_test): Call do_test_clock to test each clockid in turn.
1553 * manual/threads.texi: Add documentation for
1554 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1555
600b4be4
MC
1556 nptl: pthread_rwlock: Move timeout validation into _full functions
1557 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1558 Check validity of abstime parameter.
1559 (__pthread_rwlock_rwlock_full): Likewise.
1560 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1561 Remove check for validity of abstime parameter.
1562 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1563 Likewise.
1564
afe4de7d
MC
1565 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1566 like pthread_cond_timedwait except it always measures abstime
1567 against the supplied clockid.
1568 * nptl/Makefile: Add tst-cond26 and tst-cond27
1569 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1570 * sysdeps/nptl/pthread.h: Likewise
1571 * nptl/forward.c: Add __pthread_cond_clockwait
1572 * nptl/forward.c: Likewise
1573 * nptl/pthreadP.h: Likewise
1574 * sysdeps/nptl/pthread-functions.h: Likewise
1575 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1576 clockid parameter and comment describing why we don't need to check
1577 its value. Use that value when calling
1578 futex_abstimed_wait_cancelable rather than reading the clock from
1579 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1580 (__pthread_cond_timedwait): Read clock from flags and pass it to
1581 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1582 function with weak alias from pthread_cond_clockwait.
1583 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1584 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1585 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1586 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1587 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1588 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1589 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1590 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1591 (GLIBC_2.30): Likewise.
1592 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1593 (GLIBC_2.30): Likewise.
1594 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1595 (GLIBC_2.30): Likewise.
1596 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1597 (GLIBC_2.30): Likewise.
1598 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1599 (GLIBC_2.30): Likewise.
1600 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1602 (GLIBC_2.30): Likewise.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1604 (GLIBC_2.30): Likewise.
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1606 (GLIBC_2.30): Likewise.
1607 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1608 (GLIBC_2.30): Likewise.
1609 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1610 (GLIBC_2.30): Likewise.
1611 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1612 (GLIBC_2.30): Likewise.
1613 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1614 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1615 (GLIBC_2.30): Likewise.
1616 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1617 (GLIBC_2.30): Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1619 (GLIBC_2.30): Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1621 (GLIBC_2.30): Likewise.
1622 * nptl/tst-cond11.c (run_test): Support testing
1623 pthread_cond_clockwait too by using a special magic
1624 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1625 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1626 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1627 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1628 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1629 clocks to pthread_cond_clockwait.
1630 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1631 struct timespec and pthread_cond_clockwait.
1632 * manual/threads.texi: Document pthread_cond_clockwait.
1633
6615f779
MC
1634 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1635 sem_timedwait, but measures abstime against the specified clock.
1636 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1637 clockid parameters to indicate the clock which abstime should be
1638 measured against.
1639 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1640 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1641 __new_sem_wait_slow.
1642 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1643 on sem_timedwait.c.
1644 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1645 sem_clockwait.c to match those used for sem_timedwait.c.
1646 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1647 * nptl/Versions (GLIBC_2.30): Likewise.
1648 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1649 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1650 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1651 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1652 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1653 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1654 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1655 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1656 (GLIBC_2.30): Likewise.
1657 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1658 (GLIBC_2.30): Likewise.
1659 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1660 (GLIBC_2.30): Likewise.
1661 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1662 (GLIBC_2.30): Likewise.
1663 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1664 (GLIBC_2.30): Likewise.
1665 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1667 (GLIBC_2.30): Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1669 (GLIBC_2.30): Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1671 (GLIBC_2.30): Likewise.
1672 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1673 (GLIBC_2.30): Likewise.
1674 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1675 (GLIBC_2.30): Likewise.
1676 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1677 (GLIBC_2.30): Likewise.
1678 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1679 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1680 (GLIBC_2.30): Likewise.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1682 (GLIBC_2.30): Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1684 (GLIBC_2.30): Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1686 (GLIBC_2.30): Likewise.
1687 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1688 sem_clockwait.
1689 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1690 tests to also test sem_clockwait.
1691 * manual/threads.texi: Document sem_clockwait.
1692
99d01ffc
MC
1693 nptl: Add clockid parameter to futex timed wait calls
1694 * sysdeps/nptl/lowlevellock-futex.h,
1695 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1696 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1697 takes a clockid rather than a special clockbit.
1698 * sysdeps/nptl/lowlevellock-futex.h: Add
1699 lll_futex_supported_clockid so that client functions can check
1700 whether their clockid parameter is valid even if they don't
1701 ultimately end up calling lll_futex_clock_wait_bitset.
1702 * sysdeps/nptl/futex-internal.h,
1703 sysdeps/unix/sysv/linux/futex-internal.h
1704 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1705 clockid_t parameter to indicate which clock the absolute time
1706 passed should be measured against. Pass that clockid onto
1707 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1708 returning -EINVAL.
1709 * sysdeps/nptl/futex-internal.h,
1710 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1711 futex_abstimed_supported_clockid so that client functions can check
1712 whether their clockid parameter is valid even if they don't
1713 ultimately end up calling futex_abstimed_wait.
1714 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1715 code to calculate relative timeout for
1716 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1717 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1718 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1719 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1720 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1721 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1722 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1723
a008c76b
AZ
17242019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1725
1726 [BZ #24699]
1727 * posix/tst-mmap-offset.c: Mention BZ #24699.
1728 (do_test_bz21270): Rename to do_test_large_offset and use
1729 mmap64_maximum_offset to check for maximum expected offset value.
1730 * sysdeps/generic/mmap_info.h: New file.
1731 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1732 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1733 __NR_mmap2 is used.
1734
99135114
DD
17352019-07-10 DJ Delorie <dj@redhat.com>
1736 Sergei Trofimovich <slyfox@inbox.ru>
1737
1738 [BZ #24696]
1739 [BZ #24695]
1740 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1741 mappings.
1742 * nss/tst-nss-db-endgrent.c: New.
1743 * nss/tst-nss-db-endgrent.root: New.
1744 * nss/tst-nss-db-endpwent.c: New.
1745 * nss/tst-nss-db-endpwent.root: New.
1746 * nss/Makefile: Add new tests.
1747 * support/links-dso-program-c.c: Add selinux dependency.
1748 * support/links-dso-program.cc: Add selinux dependency.
1749 * support/Makefile: Build those with -lselinux if enabled.
1750
30ba0375
SN
17512019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1752
1753 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1754 DT_AARCH64_VARIANT_PCS check.
1755 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1756 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1757 variant_pcs.
1758
32b8188a
AS
17592019-07-10 Andreas Schwab <schwab@suse.de>
1760
1761 [BZ #23352]
1762 * malloc/malloc.h (__malloc_check_init): Don't declare.
1763 * include/malloc.h (__malloc_check_init): Likewise.
1764 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1765 * manual/memory.texi (__malloc_check_init): Don't mention it.
1766
7901d4ee
MH
17672019-07-10 Mao Han <han_mao@c-sky.com>
1768
1769 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1770
b5232c9f 17712019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 1772
b5232c9f
PC
1773 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1774 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1775
6ba205b2
DD
17762019-07-08 DJ Delorie <dj@redhat.com>
1777
1778 [BZ #23501]
1779 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1780 * io/tst-ftw-lnk.c: New test.
1781 * io/Makefile: Run it.
1782
f215dbbd
AZ
17832019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1784
6ea21bfe
AZ
1785 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1786 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1787 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1788 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1789 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1790 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1792 Adjust implementation path.
1793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1794 Adjust implementation path.
1795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1796 Adjust implementation path.
1797 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1798 (libm-sysdep_routines): Add s_log* objects.
1799 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1800 CFLAGS-s_logb-power7.c): New fule.
1801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1802 to ...
1803 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1804 ... here.
1805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1806 to ...
1807 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1808 ... here.
1809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1810 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1812 to ...
1813 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1814 ... here.
1815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1816 to ...
1817 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1818 ... here.
1819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1820 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1822 to ...
1823 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1824 ... here.
1825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1826 to ...
1827 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1828 ... here.
1829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1830 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1835
105f2ed3
AZ
1836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1837 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1838 powerpc32 integer 0 converting to -0.
1839
0cccd37f
AZ
1840 * benchtests/Makefile (bench-math): Add logb.
1841 * benchtests/logb-inputs: New file.
1842 * benchtests/logbf-inputs: New file.
1843
931c616e
AZ
1844 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1845 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1846 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1847 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1849 Adjust include.
1850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1851 Likewise.
1852 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1853 sysdep_routines): Add s_modf* objects.
1854 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1855 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1857 to ...
1858 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1859 ... here.
1860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1861 to ...
1862 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1863 ... here.
1864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1865 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1867 to ...
1868 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1869 ... here.
1870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1871 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1872 ... here.
1873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1874 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1875
69461d98
AZ
1876 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1877 twoM500, twoM600, two60factor, pdnum): Remove.
1878 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1879 (__ieee754_hypot): Replace static variables with inline definition,
1880 remove ununsed branches.
1881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1882 (libm-sysdep_routines): Remove e_hypot-* objects.
1883 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1885 file.
1886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1887 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1889 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1890 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1891
f215dbbd
AZ
1892 * benchtests/Makefile (bench-math): Add hypot.
1893 * benchtests/hypot-inputs: New file.
1894
97274b18
VC
18952019-07-08 Vincent Chen <vincentc@andestech.com>
1896
1897 * sysdeps/unix/sysv/linux/dl-vdso.h
1898 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1899
484b7af3
AS
19002019-07-04 Andreas Schwab <schwab@suse.de>
1901
1902 [BZ #24484]
1903 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1904
2b8a3c86
SN
19052019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1906
1907 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1908 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1909 * sysdeps/aarch64/sys/ifunc.h: New file.
1910 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1911 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1912
41d6f74e
FW
19132019-07-01 Florian Weimer <fweimer@redhat.com>
1914
1915 [BZ #20188]
1916 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1917 Replace __vfork with __libpthread_version_placeholder for
1918 GLIBC_2.1.2.
1919 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1920 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1921 libpthread-compat.
1922 * nptl/pt-vfork.c: Remove file.
1923 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1924 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1925 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1926 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1927 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1928 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1929 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1930 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1931 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1932 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1933 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1934 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1935 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1936 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1937 Remove vfork, __vfork.
1938 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1939 Remove vfork.
1940 (GLIBC_2.1.2): Replace __vfork with
1941 __libpthread_version_placeholder.
1942 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1943 Remove vfork, __vfork.
1944 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1945 Likewise.
1946 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1947 Remove vfork.
1948 (GLIBC_2.1.2): Replace __vfork with
1949 __libpthread_version_placeholder.
1950 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1951 Remove vfork.
1952 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1953 (GLIBC_2.4): Remove vfork, __vfork.
1954 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1955 (GLIBC_2.0): Remove vfork.
1956 (GLIBC_2.1.2): Replace __vfork with
1957 __libpthread_version_placeholder.
1958 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1959 (GLIBC_2.18): Remove vfork, __vfork.
1960 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1961 (GLIBC_2.0): Remove vfork.
1962 (GLIBC_2.2): Remove __vfork.
1963 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1964 (GLIBC_2.2): Remove vfork, __vfork.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1966 (GLIBC_2.0): Remove vfork.
1967 (GLIBC_2.1.2): Replace __vfork with
1968 __libpthread_version_placeholder.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1970 (GLIBC_2.3): Remove vfork, __vfork.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1972 (GLIBC_2.17): Likewise.
1973 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1974 (GLIBC_2.0): Remove vfork.
1975 (GLIBC_2.1.2): Replace __vfork with
1976 __libpthread_version_placeholder.
1977 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1978 (GLIBC_2.2): Remove vfork, __vfork.
1979 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1980 Likewise.
1981 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1982 (GLIBC_2.0): Remove vfork.
1983 (GLIBC_2.1.2): Replace __vfork with
1984 __libpthread_version_placeholder.
1985 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1986 (GLIBC_2.2): Remove vfork, __vfork.
1987 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1988 (GLIBC_2.2.5): Likewise.
1989 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1990 (GLIBC_2.16): Likewise.
1991 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1992 Remove __errno_location.
1993
27cec9ae
FW
19942019-07-02 Florian Weimer <fweimer@redhat.com>
1995
1996 [BZ #24757]
1997 * malloc/Depend: Add nptl and htl, due to potential indirect
1998 libpthread dependency of memusagestat.
1999
d1bc2cbb
SL
20002019-07-02 Stefan Liebler <stli@linux.ibm.com>
2001
2002 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2003 warning.
2004
72edea80
FW
20052019-07-01 Florian Weimer <fweimer@redhat.com>
2006
2007 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2008 variant for arm-linux-gnueabi.
2009
d0093c5c
L
20102019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2011
2012 [BZ #24259]
2013 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2014 relocation.
2015 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2016 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2017 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2018 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2019 and tst-cet-legacy-mod-6c.
2020 (CFLAGS-tst-cet-legacy-5a.c): New.
2021 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2022 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2023 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2024 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2025 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2026 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2027 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2028 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2029 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2030 ($(objpfx)tst-cet-legacy-5a): Likewise.
2031 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2032 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2033 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2034 ($(objpfx)tst-cet-legacy-5b): Likewise.
2035 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2036 (tst-cet-legacy-5b-ENV): Likewise.
2037 ($(objpfx)tst-cet-legacy-6a): Likewise.
2038 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2039 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2040 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2041 ($(objpfx)tst-cet-legacy-6b): Likewise.
2042 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2043 (tst-cet-legacy-6b-ENV): Likewise.
2044 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2045 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2046 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2047 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2048 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2049 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2050 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2051 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2052 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2053 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2054 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2055 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2056 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2057 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2058
3db85a98
PC
20592019-06-30 Paul A. Clarke <pc@us.ibm.com>
2060
2061 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2062 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2063 (__fegetround_ISA300) New.
2064 (__fegetround_ISA2) New.
2065 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2066 (_FPU_MFFS): Move implementation...
2067 (_FPU_GETCW): Here.
2068 (_FPU_MFFSL): Move implementation....
2069 (_FPU_GET_RC_ISA300): Here. New.
2070 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2071 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2072 (fegetenv_status): New.
2073 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2074 instead of fegetenv_register().
2075 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2076
d0645912
WD
20772019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2078
2079 * benchtests/bench-math-inlines.c: Increase iterations.
2080 * benchtests/bench-memcmp.c: Likewise.
2081 * benchtests/bench-rawmemchr.c: Likewise.
2082 * benchtests/bench-strcmp.c: Likewise.
2083 * benchtests/bench-strcpy_chk.c: Likewise.
2084 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2085 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2086 (INNER_LOOP_ITERS_SMALL): Likewise.
2087 * benchtests/bench-strncat.c: Increase iterations.
2088 * benchtests/bench-strncmp.c: Increase iterations.
2089 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2090 * benchtests/bench-strrchr.c: Increase iterations.
2091 * benchtests/bench-strstr.c: Keep iterations unchanged.
2092 * benchtests/bench-strtod.c: Increase iterations.
2093
afe23eb0
AY
20942019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2095
2096 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2097 with INNER_LOOP_ITERS_LARGE.
2098 * benchtests/bench-memchr.c: Likewise.
2099 * benchtests/bench-rawmemchr.c: Likewise.
2100 * benchtests/bench-strcat.c: Likewise.
2101 * benchtests/bench-strchr.c: Likewise.
2102 * benchtests/bench-string.h: Likewise.
2103 * benchtests/bench-strlen.c: Likewise.
2104 * benchtests/bench-strncpy.c: Likewise.
2105 * benchtests/bench-strnlen.c: Likewise.
2106
507f55c0
FW
21072019-06-28 Florian Weimer <fweimer@redhat.com>
2108
2109 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2110 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2111 entire allocated memory range.
2112
589787f8
TK
21132019-06-28 Tobias Klauser <tklauser@distanz.ch>
2114
2115 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2116 (prepare_version_base): New helper inline function.
2117 (prepare_version): New macro replacing PREPARE_VERSION.
2118 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2119
f0b2132b
FW
21202019-06-28 Florian Weimer <fweimer@redhat.com>
2121
2122 [BZ #24741]
2123 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2124 mismatch in a versioned symbol reference.
2125 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2126 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2127 tst-sonamemove-dlopen.
2128 (module-names): Add tst-sonamemove-linkmod1,
2129 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2130 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2131 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2132 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2133 (tst-sonamemove-runmod1.so): Link against
2134 tst-sonamemove-runmod2.so.
2135 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2136 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2137 tst-sonamemove-runmod2.so.
2138 (tst-sonamemove-dlopen): Link with -ldl.
2139 (tst-sonamemove-dlopen.out): Likewise.
2140 * elf/tst-sonamemove-link.c: New file.
2141 * elf/tst-sonamemove-dlopen.c: Likewise.
2142 * elf/tst-sonamemove-linkmod1.c: Likewise.
2143 * elf/tst-sonamemove-linkmod1.map: Likewise.
2144 * elf/tst-sonamemove-runmod1.c: Likewise.
2145 * elf/tst-sonamemove-runmod1.map: Likewise.
2146 * elf/tst-sonamemove-runmod2.c: Likewise.
2147 * elf/tst-sonamemove-runmod2.map: Likewise.
2148
17432d71
FW
21492019-06-28 Florian Weimer <fweimer@redhat.com>
2150
2151 * support/xdlfcn.h (xdlvsym): Declare function.
2152 * support/xdlfcn.c (xdlvsym): Define funciton.
2153
5a659ccc
FW
21542019-06-28 Florian Weimer <fweimer@redhat.com>
2155
2156 [BZ #24744]
2157 io: Remove the copy_file_range emulation.
2158 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2159 not define and call copy_file_range_compat.
2160 * io/Makefile (tests-static, tests-internal): Do not add
2161 tst-copy_file_range-compat.
2162 * io/copy_file_range-compat.c: Remove file.
2163 * io/copy_file_range.c (copy_file_range): Define as stub.
2164 * io/tst-copy_file_range-compat.c: Remove file.
2165 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2166 (typical_sizes): Update comment. Remove 16K sizes.
2167 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2168 Remove variables.
2169 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2170 (delayed_write_failure_beginning, delayed_write_failure_end)
2171 (cross_device_failure, enospc_failure_1, enospc_failure)
2172 (oappend_failure): Remove functions.
2173 (tests): Adjust test case list.
2174 (do_test): Remove file system search code. Check for ENOSYS from
2175 copy_file_range. Do not free xdevfile.
2176 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2177 copy_file_range. Do not document the EXDEV error, which future
2178 kernels may not report. Update the wording to reflect that
2179 further errors are possible.
2180 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2181 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2182 not undefine.
2183 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2184 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2185 Likewise.
2186 * sysdeps/unix/sysv/linux/kernel-features.h
2187 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2188 Remove definition.
2189 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2190 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2191 not undefine.
2192 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2193 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2194 Likewise.
2195
1626f499
GG
21962019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2197
2198 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2199 used as a mask for the mode argument of __vfprintf_internal.
2200 * stdio-common/printf-parse.h (printf_arg): New union member:
2201 pa_float128.
2202 * stdio-common/vfprintf-internal.c
2203 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2204 (PARSE_FLOAT_VA_ARG): Likewise.
2205 (SETUP_FLOAT128_INFO): Likewise.
2206 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2207 SETUP_FLOAT128_INFO.
2208 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2209 floating-point value to the new union member, pa_float128.
2210 (printf_positional): Zero-initialize args_value[cnt] with memset.
2211
a620bd79
FW
22122019-06-27 Florian Weimer <fweimer@redhat.com>
2213
2214 [BZ #24740]
2215 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2216 buffer size if necessary.
2217 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2218 Likewise.
2219 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2220 New function.
2221 (large_buffer_checks): Likewise.
2222 (do_test): Call large_buffer_checks.
2223
d039da1c
L
22242019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2225
2226 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2227 * sysdeps/x86/dl-lookupcfg.h: Here.
2228 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2229
9d5d214e
AZ
22302019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2231
aa32f5bf
AZ
2232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2233 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2234 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2235 file.
2236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2237 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2238 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2239 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2240 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2241
9d5d214e
AZ
2242 * sysdeps/powerpc/powerpc32/fpu/Makefile
2243 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2244 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2245 and fctidz optimization.
2246 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2247 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2249 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2250 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2251 CFLAGS-s_lround-power5+.c): New rule.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2253 New file.
2254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2255 Likewise.
2256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2257 Likewise.
2258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2259 Likewise.
2260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2261 Likewise.
2262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2263 Remove file.
2264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2265 Likewise.
2266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2267 Likewise.
2268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2269 Likewise.
2270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2271 Likewise.
2272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2273 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2274 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2275 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2276 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2279
a63b96fb
VC
22802019-06-26 Vincent Chen <vincentc@andestech.com>
2281
2282 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2283 specific system calls, fp_udfiex_crtl and udftrap.
2284
c78b3f55
SL
22852019-06-26 Stefan Liebler <stli@linux.ibm.com>
2286
2287 * nptl/tst-eintr1.c (tf1): Add return statement.
2288 (do_test): Remove unused th variable.
2289
9e6a7d9c
SL
22902019-06-26 Stefan Liebler <stli@linux.ibm.com>
2291
2292 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2293 Return error if get_character fails.
2294
c89e669a
SL
22952019-06-25 Stefan Liebler <stli@linux.ibm.com>
2296
2297 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2298
a55541fd
RL
22992019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
2300
2301 [BZ #24652]
2302 * localedata/locales/szl_PL (day): Use the correct Unicode
2303 sequences instead of non-ASCII characters.
2304
2bd81b60
GK
23052019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2306
2307 [BZ #24652]
2308 * localedata/locales/szl_PL (abday): Spelling corrections.
2309 (day): Likewise.
2310 (abmon): Likewise.
2311 (mon): Rename to...
2312 (alt_mon): This, then apply spelling corrections.
2313 (mon): New entry, month names in the genitive case.
2314
fefa2179
RL
23152019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2316
2317 [BZ #23831]
2318 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2319 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2320 (thousands_sep): Likewise.
2321 (grouping): Set to 3;3.
2322
85c748f9
TK
23232019-06-21 Tobias Klauser <tklauser@distanz.ch>
2324
2325 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2326 PREPARE_VERSION_KNOWN.
2327 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2328 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2329 define.
2330 (VDSO_HASH_LINUX_2_6_39): Likewise.
2331 (VDSO_NAME_LINUX_4_9): Likewise.
2332 (VDSO_HASH_LINUX_4_9): Likewise.
2333 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2334 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2335 (_libc_vdso_platform_setup): Likewise.
2336 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2337 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2338 Likewise.
2339 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2340 Likewise.
2341
db13e32c
MC
23422019-06-20 Mike Crowe <mac@mcrowe.com>
2343
ce5b73a7
MC
2344 * nptl/eintr.c: Use libsupport.
2345 * nptl/tst-eintr1.c: Likewise.
2346 * nptl/tst-eintr2.c: Likewise.
2347 * nptl/tst-eintr3.c: Likewise.
2348 * nptl/tst-eintr4.c: Likewise.
2349 * nptl/tst-eintr5.c: Likewise.
2350 * nptl/tst-mutex-errorcheck.c: Likewise.
2351 * nptl/tst-mutex5.c: Likewise.
2352
8bf225d5
MC
2353 * support/test-driver.h: Add verbose_printf macro.
2354
db13e32c
MC
2355 * support/xtime.h: Add xclock_now() helper function.
2356
21cc130b
DL
23572019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2358 Florian Weimer <fweimer@redhat.com>
2359
2360 [BZ #24228]
2361 * libio/genops.c (_IO_unbuffer_all)
2362 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2363 buffers and access _IO_FILE_complete members of legacy libio streams.
2364 * libio/tst-bz24228.c: New file.
2365 * libio/tst-bz24228.map: Likewise.
2366 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2367 [build-shared] (generated): Add tst-bz24228.mtrace and
2368 tst-bz24228.check.
2369 [run-built-tests && build-shared] (tests-special): Add
2370 $(objpfx)tst-bz24228-mem.out.
2371 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2372 ($(objpfx)tst-bz24228-mem.out): New rule.
2373
49bc41b6
PC
23742019-06-19 Paul A. Clarke <pc@us.ibm.com>
2375
2376 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2377 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2378 (__FPU_MFFSL): Likewise.
2379 (_FPU_SETCW): Likewise.
2380
335c1007
SS
23812019-06-19 Stan Shebs <stanshebs@google.com>
2382 Raoni Fassina Firmino <raoni@linux.ibm.com>
2383
2384 [BZ #24640]
2385 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2386 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2387 static-linking version.
2388 * sysdeps/unix/sysv/linux/powerpc/Makefile
2389 (tests-static): Add test-gettimebasefreq-static.
2390 (tests): Likewise.
2391 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2392 New file.
2393
f59a54ab
RL
23942019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2395
2396 [BZ #24614]
2397 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2398 between the currency symbol and the minus sign).
2399 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2400
f0c5a803
SL
24012019-06-19 Stefan Liebler <stli@linux.ibm.com>
2402
2403 [BZ #24556]
2404 * string/test-strcasestr.c (check_result): Add NULL check.
2405 * nss/tst-field.c (check_rewrite): Likewise.
2406 * benchtests/bench-strstr.c (do_one_test): Likewise.
2407 * string/test-strstr.c (check_result): Likewise.
2408 * argp/argp-test.c (popt): Increase size of buf to 12.
2409 * benchtests/bench-malloc-simple.c (bench):
2410 Do not initialize tests array out of bounds.
2411
fabf5e49
FW
24122019-06-19 Florian Weimer <fweimer@redhat.com>
2413
2414 [BZ #24166]
2415 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2416 dls_serpath field.
2417
2c75b545
FW
24182019-06-18 Florian Weimer <fweimer@redhat.com>
2419
2420 [BZ #24323]
2421 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2422 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2423 fail when called from dlopen.
2424 * elf/Makefile [have-fpie && build-shared] (tests): Add
2425 tst-dlopen-pie.
2426 (tst-dlopen-pie): Link with -ldl.
2427 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2428 * elf/tst-dlopen-pie.c (do_test): New file.
2429
02d8b5ab
RL
24302019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
2431
2432 [BZ #24614]
2433 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2434 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2435 between the currency symbol and the minus sign).
2436 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2437 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2438
78049de0
AZ
24392019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2440
112a0ae1
AZ
2441 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2442 sysdep-rtld-routines): Remove rules.
2443 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2444 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2445 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2446 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2447 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2448 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2449 vDSO path for SHARED.
2450 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2451 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2452 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2453 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2454 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2455 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2456
dee07df1
AZ
2457 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2458 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2459 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2460 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2461 CFLAGS-s_llround-power5+.c): New rule.
2462 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2463 New file.
2464 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2465 Likewise.
2466 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2467 Likewise.
2468 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2469 Likewise.
2470 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2471 Likewise.
2472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2473 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2475 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2477 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2478 * sysdeps/powerpc/powerpc64/fpu/Makefile
2479 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2481 (libm-sysdep_routines): Remove s_llround-* objects.
2482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2483 file.
2484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2485 Likewise.
2486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2487 Likewise.
2488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2489 Likewise.
2490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2491 Likewise.
2492 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2493 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2494 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2496 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2497 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2498 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2499 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2500 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2501 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2502 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2503 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2504 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2506
2166283f
AZ
2507 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2508 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2509 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2510 * sysdeps/powerpc/powerpc32/fpu/Makefile
2511 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2512 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2513 optimization.
2514 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2515 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2516 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2518 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2519 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2520 CFLAGS-s_lrint-ppc32.c): New rule.
2521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2522 Remove file.
2523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2524 Likewise.
2525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2526 Likewise.
2527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2528 Likewise.
2529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2530 Likewise.
2531 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2532 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2536 New file.
2537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2538 Likewise.
2539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2540 Likewise.
2541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2542 Likewise.
2543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2544 Likewise.
2545
78049de0
AZ
2546 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2547 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2548 s_llrint-ppc64.
2549 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2551 file.
2552 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2553 Likewise.
2554 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2555 Likewise.
2556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2557 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2559 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2561 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2562 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2563 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2565 (libm-sysdep_routines): Remove s_llrint-* objects.
2566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2567 file.
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2569 Likewise.
2570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2571 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2572 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2573 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2574 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2575 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2576 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2577 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2578 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2579 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2580
48c3c123
FW
25812019-06-14 Florian Weimer <fweimer@redhat.com>
2582
2583 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2584 argument to __glibc_has_include to inhibit macro expansion.
2585
8d141877
FW
25862019-06-14 Florian Weimer <fweimer@redhat.com>
2587
2588 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2589 function-like macro, so that __has_include can inhibit expansion
2590 of its argument.
2591
a26e2e9f
JM
25922019-06-13 Joseph Myers <joseph@codesourcery.com>
2593
cf274686
JM
2594 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2595 New macro.
2596
a26e2e9f
JM
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2598 Allow memset in libc.so.
2599
82bc69c0
SN
26002019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2601
2602 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2603 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2604 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2605 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2606 symbols at load time.
2607 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2608
55f82d32
SN
26092019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2610
2611 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2612 (DT_AARCH64_VARIANT_PCS): Define.
2613
21bd039b
AZ
26142019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2615
11926960
AZ
2616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2617 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2618 objects.
2619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2620 Remove file.
2621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2622 Likewise.
2623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2625 Likewise.
2626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2627 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2628 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2630 Remove s_finite* objects.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2641
a7218676
AZ
2642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2643 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2644
6427a6ac
AZ
2645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2646 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2647 objects.
2648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2649 Remove file.
2650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2651 Likewise.
2652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2654 Likewise.
2655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2656 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2657 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2659 Remove s_isinf* and s_isinf* objects.
2660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2666 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2667 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2668 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2670
a8c590f7
AZ
2671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2672 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2673
2666f963
AZ
2674 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2675 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2676 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2678 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2679 s_isnanf-* objects.
2680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2681 Remove file
2682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2683 Likewise.
2684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2685 Likewise.
2686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2687 Likewise.
2688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2690 Likewise.
2691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2692 Likewise.
2693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2694 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2695 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2696 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2697 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2698 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2699 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2701 Remove s_isnan-* and s_isnanf-* objects.
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2705 Likewise.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2711 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2712 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2713 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2714 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2715 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2718 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2719
197dbda1
AZ
2720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2721 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2722
2731a326
AZ
2723 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2724 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2725 CFLAGS-bench-isfinite.c): New rule.
2726 * benchtests/isnan-input: New file.
2727 * benchtests/isinf-input: New file.
2728 * benchtests/isfinite-input: New file.
2729
e41d66e4
AZ
2730 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2731 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2732 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2733 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2735 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2736 s_copysign-ppc32.
2737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2738 Remove file.
2739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2740 Likewise.
2741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2742 Likewise.
2743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2744 Likewise.
2745 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2746 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2748 Remove s_copysign-power6 s_copysign-ppc64.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2750 Remove file.
2751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2752 Likewise.
2753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2755 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2756 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2759
21bd039b
AZ
2760 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2761 round_to_integer_float, round_mode): Add RINT handling.
2762 (reset_fenv_mode): New symbol.
2763 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2764 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2765 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2766 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2767 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2768 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2769
cfa61144
FW
27702019-06-12 Florian Weimer <fweimer@redhat.com>
2771
2772 [BZ #24632]
2773 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2774 * libio/freopen.c (freopen): Use it.
2775
744e8296
FW
27762019-06-12 Florian Weimer <fweimer@redhat.com>
2777
2778 Linux: Deprecate sysctl.
2779 * include/sysctl.h (__sysctl): Remove declaration.
2780 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2781 check.
2782 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2783 (sysctl): Add deprecation attribute.
2784 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2785 directly, to avoid the deprecation warning. Do not include
2786 <string.h>.
2787 (__sysctl): Remove hidden alias.
2788
5dad6ffb
FW
27892019-06-12 Florian Weimer <fweimer@redhat.com>
2790
2791 Linux: Use kernel headers for statx definitions if available.
2792 * include/bits/statx-generic.h: New file.
2793 * include/bits/types/struct_statx.h: Likewise.
2794 * include/bits/types/struct_statx_timestamp.h: Likewise.
2795 * io/Makefile (headers): Add bits/statx-generic.h.
2796 * io/bits/statx-generic.h: New file. Partly copied from
2797 io/bits/statx.h.
2798 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2799 define original_statx.
2800 * io/bits/types/struct_statx.h: Likewise.
2801 * io/bits/types/struct_statx_timestamp.h: Likewise.
2802 (statx_generic): Use original_statx.
2803 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2804 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2805
4e75c2a4
FW
28062019-06-12 Florian Weimer <fweimer@redhat.com>
2807
2808 * misc/sys/cdefs.h (__glibc_has_include): Define.
2809
680942b0
WD
28102019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2811
2812 * string/memmem.c (__memmem): Rewrite to improve performance.
2813
5e0a7ecb
WD
28142019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2815
2816 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2817 warning.
2818 (two_way_long_needle): Block inlining.
2819 * string/strstr.c (strstr2): Add new function.
2820 (strstr3): Likewise.
2821 (STRSTR): Completely rewrite strstr to improve performance.
2822
80b2bfb5
WD
28232019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2824
2825 * benchtests/bench-strstr.c (test_hard_needle): New function.
2826
e6e24243
JM
28272019-06-10 Joseph Myers <joseph@codesourcery.com>
2828
2829 * malloc/tst-calloc.c: Include <libc-diag.h>.
2830 (null_test): Ignore -Wunused-result around calls to calloc.
2831 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2832 (do_test): Ignore -Wunused-result around call to malloc.
2833
51ea67d5
FW
28342019-06-07 Florian Weimer <fweimer@redhat.com>
2835
2836 Linux: Add getdents64 system call.
2837 * include/dirnent.h (getdents): Add comment and change buffer
2838 argument type to void *.
2839 (getdents64): Likewise. Add hidden prototype.
2840 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2841 getdents64.
2842 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2843 Add tst-getdents64.
2844 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2845 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2846 argument type to void *.
2847 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2848 Add hidden definition and getdents64 alias.
2849 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2850 Likewise.
2851 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2852 * manual/filesys.texi (Accessing Directories): Add Low-level
2853 Directory Access node reference.
2854 (Opening a Directory): Cross-reference it.
2855 (Low-level Directory Access): New node.
2856 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2857 getdents64.
2858 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2859 Likewise.
2860 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2861 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2864 Likewise.
2865 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2866 Likewise.
2867 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2868 Likewise.
2869 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2870 Likewise.
2871 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2872 Likewise.
2873 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2874 Likewise.
2875 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2876 (GLIBC_2.30): Likewise.
2877 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2878 (GLIBC_2.30): Likewise.
2879 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2880 (GLIBC_2.30): Likewise.
2881 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2882 (GLIBC_2.30): Likewise.
2883 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2884 Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2886 (GLIBC_2.30): Likewise.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2888 (GLIBC_2.30): Likewise.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2890 (GLIBC_2.30): Likewise.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2892 (GLIBC_2.30): Likewise.
2893 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2894 Likewise.
2895 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2896 Likewise.
2897 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2898 Likewise.
2899 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2901 Likewise.
2902 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2903 Likewise.
2904 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2905 Likewise.
2906 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2907 Likewise.
2908
de751ebc
PC
29092019-06-06 Paul A. Clarke <pc@us.ibm.com>
2910
2911 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2912 (__FPU_MFFS): New.
2913 (__FPU_MFFSL): New.
2914 (_FPU_GET_RC): New.
2915 (_FPU_GETCW): Use __FPU_MFFS().
2916 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2917
28dd3939
FW
29182019-06-06 Florian Weimer <fweimer@redhat.com>
2919
2920 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2921 internal GCC preprocessor identifier __has_include__.
2922
0158473d
PC
29232019-06-05 Paul A. Clarke <pc@us.ibm.com>
2924
2925 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2926 with call to equivalent function.
2927
e863dbf6
FW
29282019-06-04 Florian Weimer <fweimer@redhat.com>
2929
2930 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2931 (do_release_shlib): Adjust for __twalk_r.
2932 (__gconv_release_shlib): Call __twalk_r.
2933
4802be92
AS
29342019-06-04 Andreas Schwab <schwab@suse.de>
2935
2936 [BZ #18830]
2937 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2938 no irreversible characters occurred.
2939 * iconv/gconv_simple.c (internal_ucs4_loop)
2940 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2941 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2942 (ucs4_internal_loop_single, internal_ucs4le_loop)
2943 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2944 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2945 (ucs4le_internal_loop_single): Add const to outend.
2946 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2947 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2948 * iconv/Makefile (tests): Add tst-iconv7.
2949 * iconv/tst-iconv7.c: New file.
2950
dc91a19e
JM
29512019-06-03 Joseph Myers <joseph@codesourcery.com>
2952
2953 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2954
6a1a9a49 29552019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
2956
2957 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2958 * sysdeps/unix/sysv/linux/arm/Makefile
2959 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2960 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2961 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2962 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2963 compatibility symbols.
2964
0bb8f8c7
FW
29652019-05-31 Florian Weimer <fweimer@redhat.com>
2966
2967 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2968 system calls for the arm architecture: breakpoint, get_tls,
2969 set_tls, usr26, usr32.
2970
9250e661
GG
29712019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2972
2973 * sysdeps/powerpc/Makefile
2974 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2975 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2976 Declare '.machine power7' to get support for ldbrx.
2977 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2978 directive based on the directory of the file.
2979 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2980 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2981 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2982 '.machine' directive.
2983 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2984 (VADDUQM_V7_V8): Remove.
2985 (__STRCASECMP): Replace macros with actual instructions.
2986 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2987 '.machine' directive.
2988 (VCLZD_V8_v7): Remove.
2989 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2990
fbd6c928
AZ
29912019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2992
2993 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2994 Remove file.
2995 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2996
e47308c9
AZ
29972019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2998
2999 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3000 NEARBYINT handling.
3001 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3002 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3007
157cda1f 30082019-05-28 mansayk <6688000@gmail.com>
3009
3010 [BZ #24370]
3011 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3012
182a3746 30132019-05-28 mansayk <6688000@gmail.com>
3014
3015 [BZ #24369]
3016 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3017 (abmon): Likewise, but remove the trailing dots.
3018
c6df1ce3
JM
30192019-05-28 Joseph Myers <joseph@codesourcery.com>
3020
3021 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3022
85188d82
FW
30232019-05-27 Florian Weimer <fweimer@redhat.com>
3024
3025 * nptl/nptl-init.c: Add comment.
3026
5c23c821
FW
30272019-05-24 Florian Weimer <fweimer@redhat.com>
3028
3029 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3030 struct in_addr/struct in6_addr alignment.
3031
bee1f2c4
JM
30322019-05-23 Joseph Myers <joseph@codesourcery.com>
3033
3034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3035 (F_SEAL_FUTURE_WRITE): New macro.
3036
481c30cb
AH
30372019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
3038
3039 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3040 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3041 * elf/tst-ldconfig_aux-cache.root: New directory.
3042 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3043 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3044 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3045
cb755eed
ZW
30462019-05-22 Zack Weinberg <zackw@panix.com>
3047
3048 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3049 host type.
3050 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3051 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3052
3053 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3056 Delete.
3057
3058 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3059 Issue an #error if used with a compiler in SPE-float mode.
3060 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3061 * sysdeps/powerpc/powerpc32/setjmp_common.S
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3068 Remove code to preserve SPE register state.
3069
3070 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3071 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3072 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3073 Remove __SPE__ ifndefs.
3074
46ae0732
WD
30752019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3076
3077 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3078 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3079 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3080 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3081 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3082 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3083 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3084 (INNER_LOOP_ITERS_MEDIUM): New define.
3085 (INNER_LOOP_ITERS_SMALL): New define.
3086 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3087 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3088 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3089 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3090 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3091
e6855a3b 30922019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
004e52fe
AZ
3093
3094 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3095 New define.
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3097 (SEMTIMEDOP_IPC_ARGS): Likewise.
3098
c9c15ac3
FW
30992019-05-21 Florian Weimer <fweimer@redhat.com>
3100
3101 [BZ #24584]
3102 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3103 before updating __counter field and release it afterwards. Add
3104 overflow check.
3105 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3106 requirement for __counter member.
3107
7e740ab2
FW
31082019-05-21 Florian Weimer <fweimer@redhat.com>
3109
3110 [BZ #24583]
3111 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3112 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3113 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3114 instead of __gconv_release_step.
3115 * libio/Makefile (tests): Add tst-wfile-gconv.
3116 (tests-container): Add tst-wfile-ascii.
3117 (tst-wfile-gconv-ENV): Enable mtrace.
3118 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3119 (tests-special): Add tst-wfile-gconv-mem.out.
3120 (tst-wfile-gconv.out): Depend on locales.
3121 (tst-wfile-gconv-mem.out): Add mtrace rule.
3122 * libio/tst-wfile-ascii.c: New file.
3123 * libio/tst-wfile-gconv.c: Likewise.
3124
09e1b0e3
FW
31252019-05-20 Florian Weimer <fweimer@redhat.com>
3126
3127 [BZ #24588]
3128 libio: Remove codecvt vtable.
3129 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3130 __libio_codecvt.
3131 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3132 __libio_codecvt_encoding.
3133 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3134 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3135 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3136 * libio/iofwide.c (__libio_codecvt): Remove variable.
3137 (_IO_fwide): Do not copy __libio_codecvt.
3138 (__libio_codecvt_out): Rename from do_out and export.
3139 (do_unshift): Remove function.
3140 (__libio_codecvt_in): Rename from do_in and export.
3141 (__libio_codecvt_encoding): Rename from do_encoding and export.
3142 (do_always_noconv): Remove function.
3143 (__libio_codecvt_length): Rename from do_length and export.
3144 (do_max_length): Remove function.
3145 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3146 to libioP.h.
3147 (struct _IO_codecvt): Remove fields __codecvt_destr,
3148 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3149 __codecvt_do_encoding, __codecvt_do_always_noconv,
3150 __codecvt_do_length, __codecvt_do_max_length.
3151 * libio/libioP.h (enum __codecvt_result): Define; moved from
3152 libio.h.
3153 (__libio_codecvt_out, __libio_codecvt_in)
3154 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3155 functions.
3156 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3157 (_IO_wfile_underflow): Call __libio_codecvt_in.
3158 (_IO_wfile_underflow): Likewise.
3159 (_IO_wfile_underflow_mmap): Likewise.
3160 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3161 __libio_codecvt_length.
3162 (adjust_wide_data): Call __libio_codecvt_encoding,
3163 __libio_codecvt_in.
3164 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3165 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3166 __libio_codecvt_length.
3167
75c51570
FW
31682019-05-20 Florian Weimer <fweimer@redhat.com>
3169
3170 * support/support.h (support_sbindir_prefix): Declare.
3171 (support_install_rootsbindir): Update comment.
3172 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3173 * support/support_paths.c (support_sbindir_prefix): Define.
3174
ff6bec7d
MC
31752019-05-20 Mike Crowe <mac@mcrowe.com>
3176
b62bb3bc
MC
3177 * support/timespec.c: Add backslash to correct newline in failure
3178 message.
3179
ff6bec7d
MC
3180 * support/timespec.h: Correct confusing comment.
3181
dfba907f
AZ
31822019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3183
236c18e5
AZ
3184 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3185 define.
3186 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3187 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3188 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3189 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3190
dfba907f
AZ
3191 [BZ #24570]
3192 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3193 usage.
3194
13886008
JM
31952019-05-20 Joseph Myers <joseph@codesourcery.com>
3196
3197 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3198 (NT_ARM_PACG_KEYS): Likewise.
3199
1f50f2ad
WD
32002019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3201
3202 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3203 (tcache_put): Remove redundant assert.
3204 (tcache_get): Remove redundant asserts.
3205 (__libc_malloc): Check tcache count is not zero.
3206 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3207
fef7c63c
FW
32082019-05-17 Florian Weimer <fweimer@redhat.com>
3209
3210 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3211
5f161b23
JM
32122019-05-16 Joseph Myers <joseph@codesourcery.com>
3213
3214 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3215 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3216 0x050100].
3217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3218 Likewise.
3219 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3220 (__ASSUME_STATX): Likewise.
3221
ec255a97
FW
32222019-05-16 Florian Weimer <fweimer@redhat.com>
3223
3224 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3225 flags argument.
3226 (LINE_PARSER): Do not map IPv4 addresses.
3227 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3228 to parse_line.
3229 (_nss_nis_gethostent_r): Always pass AF_INET to
3230 internal_nis_gethostent_r.
3231 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3232 to parse_line.
3233 (_nss_nis_gethostbyname2_r): Adjust call to
3234 internal_nis_gethostent_r.
3235 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3236 call to internal_nis_gethostent_r.
3237 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3238 from parse_line.
3239 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3240 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3241 Remove flags argument. Do not map IPv4 addresses.
3242 (internal_nisplus_gethostent_r): Adjust call to
3243 _nss_nisplus_parse_hostent.
3244 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3245 to _nss_nisplus_parse_hostent.
3246 (_nss_nisplus_gethostbyname2_r): Adjust call to
3247 internal_gethostbyname2_r.
3248 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3249 Adjust call to internal_gethostbyname2_r.
3250 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3251 _nss_nisplus_parse_hostent.
3252 (_nss_nisplus_gethostbyname4_r): Adjust call to
3253 internal_gethostbyname2_r.
3254
9c02d078
FW
32552019-05-16 Florian Weimer <fweimer@redhat.com>
3256
3257 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3258 Remove flags.
3259 (LINE_PARSER): Remove address mapping.
3260 (EXTRA_ARGS_VALUE): Remove flags argument.
3261 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3262 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3263 gethostbyname3_multi.
3264 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3265 _nss_files_gethostbyname3_r.
3266 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3267
85b0e1e8
FW
32682019-05-16 Florian Weimer <fweimer@redhat.com>
3269
3270 * support/support_test_compare_blob.c (report_blob): Report
3271 incorrect NULL blobs.
3272
11b451c8
MW
32732019-05-15 Mark Wielaard <mark@klomp.org>
3274
3275 [BZ# 24476]
3276 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3277 __libc_once_get (once) and static_buf == NULL.
3278 (__dlerror): Check we have a valid key, set result to static_buf
3279 otherwise.
3280
32ff3975
AS
32812019-05-15 Andreas Schwab <schwab@suse.de>
3282
3283 [BZ #20568]
3284 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3285 __codecvt_do_length.
3286 * libio/Makefile (tests): Add tst-wfile-sync.
3287 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3288 * libio/tst-wfile-sync.c: New file.
3289 * libio/tst-wfile-sync.input: New file.
3290
a9368c34
FW
32912019-05-15 Florian Weimer <fweimer@redhat.com>
3292
3293 nss: Turn __nss_database_lookup into a compatibility symbol.
3294 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3295 __nss_database_lookup.
3296 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3297 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3298 __nss_database_lookup.
3299 (__nss_next): Move to …
3300 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3301 unconditionally.
3302 (__nss_database_lookup): New function.
3303 * nss/Versions (GLIBC_2.0): Update comment.
3304 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3305 * grp/initgroups.c (internal_getgrouplist): Call
3306 __nss_database_lookup2 instead of __nss_database_lookup.
3307 * nscd/aicache.c (addhstaiX): Likewise.
3308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3309 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3310 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3311 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3312 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3313 Likewise.
3314 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3315 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3317
d50f0918 33182019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 3319
d50f0918
AH
3320 * support/support.h (support_install_rootsbindir): New variable.
3321 * support/support_paths.c: Likewise.
3322 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3323
7ac6fad9
FW
33242019-05-15 Florian Weimer <fweimer@redhat.com>
3325
3326 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3327 * iconv/gconv_int.h (__gconv_transliterate): … here.
3328 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3329 * iconv/skeleton.c: Likewise.
3330
04b261bd
FW
33312019-05-14 Florian Weimer <fweimer@redhat.com>
3332
3333 Linux: Add the tgkill function.
3334 * bits/signal_ext.h: New file.
3335 * manual/signal.texi (Signaling Another Process): Document tgkill.
3336 * signal/Makefile (headers): Add bits/signal_ext.h.
3337 * signal/signal.h: Include <bits/signal_ext.h>.
3338 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3339 (tst-tgkill): Link with libpthread.
3340 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3341 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3342 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3343 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3344 tgkill.
3345 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3346 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3347 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3348 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3349 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3350 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3351 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3352 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3353 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3354 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3355 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3356 Likewise.
3357 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3358 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3359 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3361 Likewise.
3362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3363 Likewise.
3364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3365 Likewise.
3366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3367 Likewise.
3368 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3369 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3370 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3371 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3372 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3373 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3375 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3376
6807f47b
CD
33772019-05-14 Carlos O'Donell <carlos@redhat.com>
3378
3379 * manual/search.texi (Tree Search Function): Adjust twalk_r
3380 documentation.
3381
fdb8a0be
AZ
33822019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3383
da2b83ef
AZ
3384 [BZ #24544]
3385 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3386 pre-defined value.
3387
c7ac9caa
AZ
3388 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3389 * support/support.h (support_bindir_prefix): New variable.
3390 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3391
91f043ae
AZ
3392 * config.make.in (bindir): New variable.
3393
c50e1c26
AZ
3394 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3395 (lll_trylock): Call __lll_trylock.
3396 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3397 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3398 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3399 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3400 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3402 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3403 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3404 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3405 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3406 lowlevellock-futex.h.
3407
959aff9f
AZ
3408 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3409 initialization for LLL_LOCK_INITIALIZER different than 0.
3410 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3411 Assume LLL_LOCK_INITIALIZER being 0.
3412 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3413 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3414 Likewise.
3415 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3416 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3417
d7e4c642
AZ
3418 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3419 Optimize futex call and add systemtap probe.
3420
fdb8a0be
AZ
3421 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3422 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3423 __libc_disable_asynccancel, __librt_enable_asynccancel,
3424 __libc_disable_asynccancel, __librt_enable_asynccancel,
3425 __librt_disable_asynccancel): Move to ...
3426 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3427 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3428 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3429 * sysdeps/generic/single-thread.h: New file.
3430 * sysdeps/unix/sysdep.h: Include single-thread.h.
3431 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3432 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3433
f6efec90
MF
34342019-05-08 Mike FABIAN <mfabian@redhat.com>
3435
3436 [BZ #24535]
3437 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3438 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3439 Unicode 12.1.0.
3440 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3441 * localedata/unicode-gen/PropList.txt: Likewise.
3442 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3443 * localedata/charmaps/UTF-8: Regenerate.
3444 * localedata/locales/i18n_ctype: Likewise.
3445 * localedata/locales/tr_TR: Likewise.
3446 * localedata/locales/translit_circle: Likewise.
3447 * localedata/locales/translit_cjk_compat: Likewise.
3448 * localedata/locales/translit_combining: Likewise.
3449 * localedata/locales/translit_compat: Likewise.
3450 * localedata/locales/translit_font: Likewise.
3451 * localedata/locales/translit_fraction: Likewise.
3452
5ad533e8
WD
34532019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3454
3455 [BZ #24531]
3456 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3457 (do_set_tcache_count): Only update if count is small enough.
3458 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3459
4aee85f9
FW
34602019-05-10 Florian Weimer <fweimer@redhat.com>
3461
3462 * nptl/sem_close.c (struct walk_closure): Define.
3463 (walker): Adjust for __twalk_r.
3464 (sem_close): Call __twalk_r.
3465
eb669ff5
AZ
34662019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3467
3468 * support/timespec.c (test_timespec_before_impl,
3469 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3470 insted of long int.
3471
51983996
MC
34722019-05-09 Mike Crowe <mac@mcrowe.com>
3473
44ac6ee9
MC
3474 * nptl/tst-abstime.c: Use libsupport.
3475
495514ee
MC
3476 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3477 small bug where only tv.tv_usec was checked which could cause an
3478 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3479 than a second.
3480
3481 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3482 libsupport.
3483
40d0816f
MC
3484 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3485 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3486
d8e0b901
MC
3487 * nptl/tst-cond11.c: Use libsupport.
3488
51983996
MC
3489 * support/timespec.h: New file. Provide timespec helper functions
3490 along with macros in the style of those in check.h.
3491 * support/timespec.c: New file. Implement check functions declared
3492 in support/timespec.h.
3493 * support/timespec-add.c: New file from gnulib containing
3494 timespec_add implementation that handles overflow.
3495 * support/timespec-sub.c: New file from gnulib containing
3496 timespec_sub implementation that handles overflow.
3497 * support/README: Mention timespec.h.
3498
18aa51ee
SN
34992019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3500
3501 [BZ #24537]
3502 * nptl/Makefile: Move tst-eintr1 to xtests.
3503
252296c6
AZ
35042019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3505
ae45cf84
AZ
3506 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3507 TRUNC handling.
3508 (round_mode): Add definition for TRUNC.
3509 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3510 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3511 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3512 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3513 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3514 Likewise.
3515 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3516 Likewise.
3517 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3518 Likewise.
3519 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3520 Likewise.
3521 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3522 file.
3523 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3524 Likewise.
3525 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3526 Likewise.
3527 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3528 Likewise.
3529 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3530 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3531 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3532 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3533 s_truncf-power5+, and s_truncf-ppc64.
3534 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3535 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3536 file.
3537 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3539 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3540 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3541 file.
3542 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3543 Likewise.
3544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3545 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3547 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3548 s_truncf-power5+, and s_truncf-ppc64.
3549 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3550 file.
3551 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3552 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3553 Likewise.
3554 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3555 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3556 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3557 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3558 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3559
a1cb1888
AZ
3560 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3561 ROUND handling.
3562 (round_mode): Add definition for ROUND.
3563 (round_to_integer_float): Likewise.
3564 * sysdeps/powerpc/fpu/s_round.c: New file.
3565 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3566 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3567 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3568 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3569 Likewise.
3570 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3571 Likewise.
3572 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3573 Likewise.
3574 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3575 Likewise.
3576 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3577 file.
3578 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3579 Likewise.
3580 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3581 Likewise.
3582 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3583 Likewise.
3584 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3585 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3586 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3587 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3588 s_roundf-power5+, and s_roundf-ppc64.
3589 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3590 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3591 file.
3592 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3594 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3595 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3596 file.
3597 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3598 Likewise.
3599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3600 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3602 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3603 s_roundf-power5+, and s_roundf-ppc64.
3604 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3605 file.
3606 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3607 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3608 Likewise.
3609 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3610 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3611 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3612 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3613 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3614
252296c6
AZ
3615 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3616 Add FLOOR option.
3617 (round_mode): Add definition for FLOOR.
3618 * sysdeps/powerpc/fpu/s_floor.c: New file.
3619 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3621 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3623 Remove file.
3624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3625 Likewise
3626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3627 Likewise.
3628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3629 Likewise.
3630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3631 New file.
3632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3633 Likewise.
3634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3635 Likewise.
3636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3637 Likewise.
3638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3639 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3641 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3642 s_floorf-power5+, and s_floorf-ppc64.
3643 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3644 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3645 file.
3646 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3648 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3649 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3650 file.
3651 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3652 Likewise.
3653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3654 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3656 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3657 s_floorf-power5+, and s_floorf-ppc64.
3658 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3659 file.
3660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3661 file.
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3663 Likewise.
3664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3665 Likewise.
3666 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3667 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3668 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3670
33647a72
MC
36712019-05-08 Mike Crowe <mac@mcrowe.com>
3672
3673 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3674 clock_gettime wrapper for use in tests that fails the test rather
3675 than returning failure.
3676
3677 * support/xtime.h: New file to declare xclock_gettime.
3678
3679 * support/Makefile: Add xclock_gettime.c.
3680
3681 * support/README: Mention xtime.h.
3682
b2f601ba
FW
36832019-05-08 Florian Weimer <fweimer@redhat.com>
3684
3685 malloc/tst-mallocfork2: Use process-shared barriers.
3686 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3687 (signal_count, sigusr1_sender_pid): Remove.
3688 (iterations): Define constant.
3689 (shared): New variable.
3690 (sigusr1_received): Update comment.
3691 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3692 (signal_sender): Optional use barriers to avoid sending signals
3693 during irrelevant times.
3694 (do_it): Initialize variable shared. Use xfork for error
3695 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3696 the iteration count, independent of signal delivery. Check for
3697 deadlocks in fork. Introduce barriers for reducing signal
3698 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3699 replaced by the barriers. Count signals during fork/free/malloc
3700 and report them.
3701 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3702
c4a392cf
JM
37032019-05-07 Joseph Myers <joseph@codesourcery.com>
3704
7621676f
JM
3705 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3706 version to 5.1.
3707 (clock_adjtime64) New syscall.
3708 (clock_getres_time64) Likewise.
3709 (clock_gettime64) Likewise.
3710 (clock_nanosleep_time64) Likewise.
3711 (clock_settime64) Likewise.
3712 (futex_time64) Likewise.
3713 (io_pgetevents_time64) Likewise.
3714 (io_uring_enter) Likewise.
3715 (io_uring_register) Likewise.
3716 (io_uring_setup) Likewise.
3717 (mq_timedreceive_time64) Likewise.
3718 (mq_timedsend_time64) Likewise.
3719 (pidfd_send_signal) Likewise.
3720 (ppoll_time64) Likewise.
3721 (pselect6_time64) Likewise.
3722 (recvmmsg_time64) Likewise.
3723 (rt_sigtimedwait_time64) Likewise.
3724 (sched_rr_get_interval_time64) Likewise.
3725 (semtimedop_time64) Likewise.
3726 (timer_gettime64) Likewise.
3727 (timer_settime64) Likewise.
3728 (timerfd_gettime64) Likewise.
3729 (timerfd_settime64) Likewise.
3730 (utimensat_time64) Likewise.
3731
c4a392cf
JM
3732 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3733 version to 9 branch.
3734
32e902a9
AY
37352019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3736
3737 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3738 __memmove_thunderx2 to the list of implementations
3739 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3740 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3741 (__memmove_thunderx2): Rewritten using SIMD ld/st
3742 (__memcpy_thunderx2): Fixed handling overlapping cases.
3743 Used ldp/stp instead of ldr/str if possible. Made loops
3744 tails branchless.
3745
ac3da35d
FW
37462019-05-03 Florian Weimer <fweimer@redhat.com>
3747
3748 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3749
b2af6fb2
AZ
37502019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3751
7dfde28a 3752 [BZ #24506]
b2af6fb2
AZ
3753 * elf/tst-pldd.c (in_str_list): New function.
3754 (do_test): Add default names for ld and libc as one option.
3755
7b807a35
FW
37562019-05-02 Florian Weimer <fweimer@redhat.com>
3757
3758 misc: Add twalk_r function.
3759 * include/search.h (__twalk_r): Declare.
3760 * manual/examples/twalk.c: New file.
3761 * manual/search.texi (Tree Search Function): Document twalk_r.
3762 * misc/Versions (2.30): Export twalk_r.
3763 (GLIBC_PRIVATE): Export __twalk_r.
3764 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3765 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3766 (twalk_r): Add weak alias.
3767 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3768 (walk_trace): New variable.
3769 (struct twalk_with_twalk_r_closure): Define.
3770 (twalk_with_twalk_r_action): New function.
3771 (twalk_with_twalk_r): Likewise.
3772 (walk_action): Call walk_trace_add.
3773 (walk_tree_with): Rename from walk_tree. Add walk argument.
3774 (walk_tree): New function.
3775 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3776 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3777 Likewise.
3778 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3779 Likewise.
3780 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3781 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3782 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3783 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3784 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3785 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3786 Likewise.
3787 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3788 Likewise.
3789 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3790 Likewise.
3791 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3792 (GLIBC_2.30): Likewise.
3793 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3794 (GLIBC_2.30): Likewise.
3795 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3796 (GLIBC_2.30): Likewise.
3797 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3798 (GLIBC_2.30): Likewise.
3799 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3800 Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3802 (GLIBC_2.30): Likewise.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3804 (GLIBC_2.30): Likewise.
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3806 (GLIBC_2.30): Likewise.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3808 (GLIBC_2.30): Likewise.
3809 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3810 Likewise.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3812 Likewise.
3813 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3814 Likewise.
3815 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3816 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3817 Likewise.
3818 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3819 Likewise.
3820 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3821 Likewise.
3822 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3823 Likewise.
3824
20aa5819
PE
38252019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3826
3827 Make mktime etc. compatible with __time64_t
3828 Keep these functions compatible with Gnulib while adding
3829 __time64_t support. The basic idea is to move private API
3830 declarations from include/time.h to time/mktime-internal.h, since
3831 the former file cannot easily be shared with Gnulib whereas the
3832 latter can.
3833 Also, do some other minor cleanup while in the neighborhood.
3834 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3835 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3836 since Gnulib needs it.
3837 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3838 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3839 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3840 (in_time_t_range): New static function.
3841 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3842 so that glibc users are not tempted to use __time64_t.
3843 * time/mktime-internal.h: Rewrite so that it does both glibc
3844 and Gnulib work. Include time.h if not _LIBC.
3845 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3846 (__time64_t): New type or macro, moved here from
3847 posix/bits/types.h.
3848 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3849 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3850 from include/time.h.
3851 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3852 New macros, taken from GNulib.
3853 (__mktime_internal): New prototype, moved here from include/time.h.
3854 * time/mktime.c (mktime_min, mktime_max, convert_time)
3855 (ranged_convert, __mktime_internal, __mktime64):
3856 * time/timegm.c (__timegm64):
3857 Use __time64_t, not time_t.
3858 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3859 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3860 Rename from mktime.
3861 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3862 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3863 for libc_hidden_def.
3864 Include errno.h.
3865 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3866 Rename from timegm.
3867 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3868
87c266d7
MR
38692019-04-30 Maciej W. Rozycki <macro@wdc.com>
3870
3871 [BZ #19444]
3872 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3873 from `-Wmaybe-uninitialized'.
3874 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3875
c4c0848b
AZ
38762019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3877
6cac323c
AZ
3878 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3879 function.
3880 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3881 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3882 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3883 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3884 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3886 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3888 Remove file.
3889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3890 Likewise.
3891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3892 Likewise.
3893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3894 Likewise.
3895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3896 New file.
3897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3898 Likewise.
3899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3900 Likewise.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3902 Likewise.
3903 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3904 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3905 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3906 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3907 Likewise.
3908 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3909 Likewise.
3910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3911 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3912 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3913 file.
3914 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3915 Likewise.
3916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3917 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3918 * here.
3919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3920 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3921 s_ceilf-power5+, and s_ceilf-ppc64.
3922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3923 file.
3924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3931
c4c0848b
AZ
3932 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3933 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3934 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3935
f492fc99
YD
39362019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3937
3938 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3939 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3940 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3941 (sem_getvalue): Likewise.
3942
c57afec0
FW
39432019-04-26 Florian Weimer <fweimer@redhat.com>
3944
3945 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3946 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3947
a8ff215e
FW
39482019-04-26 Florian Weimer <fweimer@redhat.com>
3949
3950 Makeconfig: Move -Wl,-rpath-link options before library references.
3951 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3952 (link-libc): Remove $(link-libc-rpath-link).
3953
39542019-04-25 Florian Weimer <fweimer@redhat.com>
3955
3956 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3957 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3958 (+link-static-before-libc): Remove $(CC).
3959 (+link-static, +link-static-tests): Add $(CC).
3960 (+link-before-libc): Remove $(CC).
3961 (+link, +link-pie, +link-pie-printers): Add $(CC).
3962
e30fb31c
FW
39632019-04-26 Florian Weimer <fweimer@redhat.com>
3964
3965 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3966 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3967 (+link-static-before-libc): Remove $(CC).
3968 (+link-static, +link-static-tests): Add $(CC).
3969 (+link-before-libc): Remove $(CC).
3970 (+link, +link-pie, +link-pie-printers): Add $(CC).
3971
deacca00
DA
39722019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3973
3974 [BZ#24484]
3975 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3976
b5ffdc48
FW
39772019-04-25 Florian Weimer <fweimer@redhat.com>
3978
3979 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3980 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3981 (bench-link-targets): New variable.
3982 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3983
94a4e9e4
FW
39842019-04-25 Florian Weimer <fweimer@redhat.com>
3985
3986 Also enable BIND_NOW for programs if --enable-bind-now.
3987 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3988 (+link-pie): Use $(link-extra-flags).
3989 (+link-static): Likewise.
3990 [! $(build-pie-default)] (+link): Likewise.
3991 * manual/install.texi (Configuring and compiling): Update
3992 --enable-bind-now description.
3993 * INSTALL: Regenerated.
3994
fe92a91f
WD
39952019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3996
3997 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3998 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3999
f9b645b4
MF
40002019-04-24 Mike Frysinger <vapier@gentoo.org>
4001
4002 [BZ #18465]
4003 * malloc/Makefile (others): Add memusagestat.
4004 ($(objpfx)memusagestat): Delete rule.
4005 (LDLIBS-memusagestat): New variable.
4006
439bf534
FW
40072019-04-24 Florian Weimer <fweimer@redhat.com>
4008
4009 * locale/Makefile (tests-special): Guard setting by
4010 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4011 to run while cross-compiling.
4012
1a4c2735
AZ
40132019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4014
4015 [BZ #18035]
4016 * elf/Makefile (tests-container): Add tst-pldd.
4017 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4018 (E(find_maps)): Avoid use alloca, use default read file operations
4019 instead of explicit LFS names, and fix infinite loop.
4020 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4021 (get_process_info): Use _Static_assert instead of assert, use default
4022 directory operations instead of explicit LFS names, and free some
4023 leadek pointers.
4024 * elf/tst-pldd.c: New file.
4025
2d398aa2
L
40262019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * malloc/arena.c (do_set_mallopt_check): Removed.
4029
e485b2b6
FW
40302019-04-23 Florian Weimer <fweimer@redhat.com>
4031
4032 locale: Add LOCPATH diagnostics to the locale program.
4033 * locale/programs/locale.c (setlocale_failed): New variable.
4034 (try_setlocale): New function.
4035 (quote_string): Likewise.
4036 (setlocale_diagnostics): Likewise.
4037 (main): Call try_setlocale instead of setlocale. Call
4038 setlocale_diagnostics.
4039 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4040 (tst-locale-locpath.out): New target.
4041 * locale/tst-locale-locpath.sh: New file.
4042
25f7a3c9
AZ
40432019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4044
4045 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4046 to 2.30 notes.
4047
9bf8e29c
AZ
40482019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4049
4050 [BZ #23741]
4051 * malloc/hooks.c (malloc_check, realloc_check): Use
4052 __builtin_add_overflow on overflow check and adapt to
4053 checked_request2size change.
4054 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4055 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4056 allocation size to PTRDIFF_MAX.
4057 (REQUEST_OUT_OF_RANGE): Remove macro.
4058 (checked_request2size): Change to inline function and limit maximum
4059 requested size to PTRDIFF_MAX.
4060 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4061 maximum allocation size to PTRDIFF_MAX.
4062 (_mid_memalign): Use _int_memalign call for overflow check.
4063 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4064 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4065 limit maximum requested size to PTRDIFF_MAX.
4066 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4067 valloc, pvalloc): Add __attribute_alloc_size__.
4068 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4069 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4070 larger than PTRDIFF_MAX.
4071 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4072 around tests of malloc with negative sizes.
4073 * malloc/tst-posix_memalign.c (do_test): Likewise.
4074 * malloc/tst-pvalloc.c (do_test): Likewise.
4075 * malloc/tst-valloc.c (do_test): Likewise.
4076 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4077 with resulting size allocation larger than PTRDIFF_MAX with
4078 reallocarray_nowarn.
4079 (reallocarray_nowarn): New function.
4080 * NEWS: Mention the malloc function semantic change.
4081
0e169691
AZ
40822019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4083
52faba65
AZ
4084 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4085 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4086
3a16dd78
AZ
4087 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4088 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4089 * sysdeps/powerpc/fpu/s_fma.c: New file.
4090 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4091
1dac8bd6
AZ
4092 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4093 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4094
a3ae315a
AZ
4095 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4096 the magic flag store.
4097 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4098 Likewise.
4099 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4100 Likewise.
4101 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4102 Remove rt_sigreturn call.
4103
ffe8a9a8
AZ
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4105 Remove rt_sigreturn call.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4107 Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4110
0e169691
AZ
4111 * support/Makefile (libsupport-routines): Add support_subprocess,
4112 xposix_spawn, xposix_spawn_file_actions_addclose, and
4113 xposix_spawn_file_actions_adddup2.
4114 (tst-support_capture_subprocess-ARGS): New rule.
4115 * support/capture_subprocess.h (support_capture_subprogram): New
4116 prototype.
4117 * support/support_capture_subprocess.c (support_capture_subprocess):
4118 Refactor to use support_subprocess and support_capture_poll.
4119 (support_capture_subprogram): New function.
4120 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4121 str_to_write_mode, test_common, parse_int, handle_restart,
4122 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4123 (do_test): Add support_capture_subprogram tests.
4124 * support/subprocess.h: New file.
4125 * support/support_subprocess.c: Likewise.
4126 * support/xposix_spawn.c: Likewise.
4127 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4128 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4129 * support/xspawn.h: Likewise.
4130
bae8cf0e
MG
41312019-04-17 Mike Gerow <gerow@google.com>
4132
4133 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4134 groups limit.
4135
e3f454ba
FW
41362019-04-11 Florian Weimer <fweimer@redhat.com>
4137
4138 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4139 domain with empty string.
4140 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4141
32d85c11
FW
41422019-04-11 Florian Weimer <fweimer@redhat.com>
4143
4144 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4145 comment.
4146 (alloc_buffer_next): Change return type to non-const. Update
4147 comment.
4148
221710af
FW
41492019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4150
4151 * manual/time.texi (Formatting Calendar Time): Add missing percent
4152 sign to conversion specifier.
4153
e621246e
CD
41542019-04-09 Carlos O'Donell <carlos@redhat.com>
4155 Kwok Cheung Yeung <kcy@codesourcery.com>
4156
4157 [BZ #16573]
4158 * malloc/mtrace.c: Define prototypes for all hooks.
4159 (set_default_hooks): New function.
4160 (set_trace_hooks): Likewise.
4161 (save_default_hooks): Likewise.
4162 (tr_freehook): Use new s*_hooks functions.
4163 (tr_mallochook): Likewise.
4164 (tr_reallochook): Likewise.
4165 (tr_memalignhook): Likewise.
4166 (mtrace): Likewise.
4167 (muntrace): Likewise.
4168
648279f4
WD
41692019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4170
4171 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4172 (generic_stpcpy): New function.
4173 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4174 (generic_stpncpy): New function.
4175 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4176 (generic_strcat): New function.
4177 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4178 (generic_strcpy): New function.
4179 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4180 (STUPID_STRNCAT): Remove function.
4181 (generic_strncat): New function.
4182 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4183 (STUPID_STRNCPY): Remove function.
4184 (generic_strncpy): New function.
4185 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4186 (generic_strnlen): New function.
4187 (memchr_strnlen): New function.
4188 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4189 (memchr_strlen): Likewise.
4190
93eebae5
WD
41912019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4192
4193 * benchtests/bench-strstr.c (input): Add realistic input text.
4194 (stupid_strstr): Remove function.
4195 (basic_strstr): Add function.
4196 (twoway_strstr): Add function.
4197 (do_one_test): Add result checking.
4198 (do_test): Use new input text. Remove accidental early matches.
4199 (test_main): Improve range of tests, reduce unaligned cases.
4200
a173d09f
WD
42012019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4202
4203 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4204 (basic_memmem): Add function.
4205 (twoway_memmem): Add function.
4206
6103c0a8
WD
42072019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4208
4209 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4210 * benchtests/bench-malloc-thread.c: Likewise.
4211 * benchtests/bench-skeleton.c: Likewise.
4212 * benchtests/bench-strtod.c: Likewise.
4213 * benchtests/bench-timing.h: Likewise.
4214
33322186
FW
42152019-04-08 Florian Weimer <fweimer@redhat.com>
4216
4217 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4218 definitions.
4219 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4220 RES_INSECURE2 security checks.
4221 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4222 RES_INSECURE2 handling.
4223
3f8b44be
FW
42242019-04-08 Florian Weimer <fweimer@redhat.com>
4225
4226 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4227 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4228 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4229 GETHOSTBYNAME.
4230 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4231 (tests-internal): Update justification for tst-resolv-res_init,
4232 tst-resolv-res_init-thread.
4233 (tst-res_use_inet6): Remove target.
4234 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4235 * resolv/res_debug.c (p_option): Remove "inet6" support.
4236 * resolv/res_init.c (res_setoptions): Likewise.
4237 * resolv/res_use_inet6.h: Remove file.
4238 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4239 definition.
4240 (res_use_inet6): Always return false.
4241 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4242 * resolv/resolv_context.h: Adjust file comment.
4243 (struct resolv_context): Update comment on __next field.
4244 (__resolv_context_put): Update comment.
4245 * resolv/tst-res_use_inet6.c: Remove file.
4246 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4247 "inet6" support.
4248 (test_cases): Adjust test case.
4249 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4250 (thread_byname2_af_inet6): Use old byname_inet6 code.
4251 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4252 (gai): Remove do_inet6 argument.
4253 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4254 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4255 (thread_gai_unspec_inet6): Remove functions.
4256 (do_test): Adjust thread_funcs.
4257 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4258 RES_USE_INET6 flag.
4259 (gaih_inet): Do not disable RES_USE_INET6 flag.
4260
6b5c8607 42612019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
4262
4263 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4264 and remove redundant code.
4265
e3fd0b0e
AZ
42662019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4267
f82ed45d
AZ
4268 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4269 New rule.
4270 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4272 Likewise.
4273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4274 Likewise.
4275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4276 Likewise.
4277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4278 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4282 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4284 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4285 wcsrchr-power7.
4286 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4289 Remove wcsrchr optimizations.
4290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4291
662c2cc4
AZ
4292 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4293 the loop unroll.
4294
421e3005
AZ
4295 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4296 New rule.
4297 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4299 Likewise.
4300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4301 Likewise.
4302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4303 Likewise.
4304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4305 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4306 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4307 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4308 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4309 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4311 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4312 wcschr-power7.
4313 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4316 Remove wcschr optimizations.
4317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4318
7ba0100c
AZ
4319 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4320 the loop unroll.
4321
447a1306
AZ
4322 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4323 New rule.
4324 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4326 Likewise.
4327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4328 Likewise.
4329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4330 Likewise.
4331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4332 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4333 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4334 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4335 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4336 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4338 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4339 wcscpy-power7.
4340 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4343 Remove wcscpy optimizations.
4344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4345
e3fd0b0e
AZ
4346 * include/loop_unroll.h: New file.
4347 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4348 besides generic implementation.
4349
8260f236
DD
43502019-04-03 DJ Delorie <dj@redhat.com>
4351
4352 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4353 snprintf truncating output.
4354
0bd545ee
DD
43552019-04-02 DJ Delorie <dj@redhat.com>
4356
4357 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4358 warning.
4359
466afec3
TS
43602019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4361
4362 [BZ #22964]
4363 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4364 era.
4365 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4366 (mkreftable): Add rules for the new Japanese era and the new dates.
4367
2f1d6155
TS
43682019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4369 Rafal Luzynski <digitalfreak@lingonborough.com>
4370
4371 * time/tst-strftime2.c (date_t): Explicitly define the type.
4372 (dates): Use natural month and year numbers to express a date.
4373 (is_before): New function to compare dates.
4374 (mkreftable): Minor improvements to simplify maintenance.
4375 (do_test): Reflect the changes in dates array.
4376
84aea169
TS
4377 [BZ #24293]
4378 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4379 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4380 * time/tst-strftime2.c (locales): Likewise.
4381 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4382 2010-04-01, and 2011-04-01.
4383 (mkreftable): Add rules for the new locales and the new dates.
4384
62449176
CD
43852019-04-01 Carlos O'Donell <carlos@redhat.com>
4386
4387 * localedata/locales/ja_JP: Add comments to era entries.
4388
e0e4c321
DD
43892019-04-01 DJ Delorie <dj@redhat.com>
4390
4391 [BZ #24394]
4392 * time/strptime_l.c (%Ey): Fix fencepost error.
4393 * time/tst-strftime3.c: New.
4394 * time/Makefile (tests): Add tst-strftime3.
4395
6b5c8607 43962019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
4397
4398 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4399 conditional branch to DIVBYZERO. Fix unwind info.
4400 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4401 excb after conditional branch to $powerof2. Add missing unop
4402 instructions and .align directives and reorder instructions to
4403 match __divqu.
4404
d5ecee82
RH
44052019-04-01 Richard Henderson <rth@twiddle.net>
4406
4407 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4408 Do not redefine.
4409 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4410 Do not redefine.
4411
656dd306
MR
44122019-03-30 Maciej W. Rozycki <macro@wdc.com>
4413
4414 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4415 $libc_cv_riscv_float_abi in `test' invocation.
4416 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4417
10cce669
PC
44182019-03-29 Paul A. Clarke <pc@us.ibm.com>
4419
4420 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4421 asm with builtin.
4422 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4423 Likewise.
4424 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4425 (_GET_SI_FPSCR): Likewise.
4426 (_SET_SI_FPSCR): Likewise.
4427
5e67e4bf 44282019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
4429
4430 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4431 clang 2.8.
4432 (signbit): Use builtin for clang 3.3.
4433 (isinf): Use builtin for clang 3.7.
4434
01963891
AZ
44352019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4436
4437 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4438
67112f7a
AH
44392019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4440
4441 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4442 quote in printf.
4443
7a773abf
MC
44442019-03-25 Mike Crowe <mac@mcrowe.com>
4445
82849fde
MC
4446 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4447 pthread_rwlock_timedrdlock with calls to
4448 pthread_rwlock_timedwrlock to ensure that the latter is tested
4449 too. Use new function name in diagnostic messages too.
4450
7a773abf
MC
4451 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4452 (do_test) Use libsupport test macros rather than hand-coded
4453 conditionals and error messages. Ensure that sem_init returns zero
4454 rather than not -1. Use <support/test-driver.c> rather than
4455 test-skeleton.c.
4456
4457 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4458 test macros rather than hand-coded conditionals and error messages.
4459 Use <support/test-driver.c> rather than test-skeleton.c.
4460
9ac2de69
JM
44612019-03-25 Joseph Myers <joseph@codesourcery.com>
4462
d7563e62
JM
4463 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4464
9ac2de69
JM
4465 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4466 (NT_MIPS_MSA): Likewise.
4467
38cc11da
AZ
44682019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4469
7621e38b
WD
4470 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4471 * benchtests/README: Update description.
4472 * benchtests/bench-timing.h: Default to hp-timing.
4473 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4474 HP_TIMING_PRINT): Remove.
4475 (HP_TIMING_NOW): Add generic implementation.
4476 (hp_timing_t): Change to uint64_t.
4477
1e372ded
AZ
4478 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4479 HP_TIMING_INLINE.
4480 * nptl/descr.h: Likewise.
4481 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4482 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4483 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4484 Abstract hp-timing usage with RTLD_* macros.
4485 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4486 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4487 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4488 HP_TIMING_NONAVAIL): Likewise.
4489 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4490 Likewise.
4491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4492 HP_SMALL_TIMING_AVAIL): Likewise.
4493 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4494 HP_SMALL_TIMING_AVAIL): Likewise.
4495 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4496 HP_SMALL_TIMING_AVAIL): Likewise.
4497 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4498 HP_SMALL_TIMING_AVAIL): Likewise.
4499 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4500 Likewise.
4501 * sysdeps/generic/hp-timing-common.h: Update comment with
4502 HP_TIMING_AVAIL removal.
4503
359653aa
AZ
4504 * include/random-bits.h: New file.
4505 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4506 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4507 random_bits.
4508 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4509 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4510 Likewise.
4511
6e8ba7fd
AZ
4512 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4513 * rt/Makefile (clock-routines): Remove get_clockfreq.
4514 * rt/get_clockfreq.c: Remove file.
4515 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4516 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4518 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4519 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4520
77b6f553
AZ
4521 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4522 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4523 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4524 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4525 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4526
38cc11da
AZ
4527 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4528 pthread_clock_settime.
4529 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4530 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4531 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4532 * elf/rtld.c (_dl_start_final): Likewise.
4533 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4534 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4535 Remove.
4536 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4537 (_dl_cpuclock_offset): Remove.
4538 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4539 cpuclock_offset_ununsed.
4540 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4541 cpuclock_offset set.
4542 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4543 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4544 * nptl/pthread_clock_gettime.c: Remove file.
4545 * nptl/pthread_clock_settime.c: Likewise.
4546 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4547 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4548 and CLOCK_PROCESS_CPUTIME_ID support.
4549 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4550 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4551 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4552 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4553 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4554 Likewise.
4555 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4556
421749d6
SL
45572019-03-22 Stefan Liebler <stli@linux.ibm.com>
4558
4559 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4560 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4561 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4562 New defines.
4563 * sysdeps/s390/memmem-arch13.S: New file.
4564 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4565 if it is only used as fallback.
4566 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4567 * sysdeps/s390/multiarch/ifunc-impl-list.c
4568 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4569
6f47401b
SL
45702019-03-22 Stefan Liebler <stli@linux.ibm.com>
4571
4572 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4573 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4574 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4575 New defines.
4576 * sysdeps/s390/multiarch/ifunc-impl-list.c
4577 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4578 * sysdeps/s390/strstr-arch13.S: New file.
4579 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4580 if it is only used as fallback.
4581 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4582
96fbb9a3
SL
45832019-03-22 Stefan Liebler <stli@linux.ibm.com>
4584
4585 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4586 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4587 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4588 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4589 ifunc selector.
4590 * sysdeps/s390/multiarch/ifunc-impl-list.c
4591 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4592 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4593 S390_IS_ARCH13_MIE3): New defines.
4594
a899a551
SL
45952019-03-22 Stefan Liebler <stli@linux.ibm.com>
4596
4597 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4598 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4599 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4600 * sysdeps/s390/configure: Regenerated.
4601
1a7df49c
SL
46022019-03-22 Stefan Liebler <stli@linux.ibm.com>
4603
4604 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4605 Add vxe2, vxp, dflt, sort flags.
4606 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4607 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4608 capabilities.
4609 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4610 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4611 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4612 HWCAP_S390_DFLT): Define.
4613
5e67e4bf 46142019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
4615
4616 [BZ #24372]
4617 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4618 of compiler warning.
4619 * locale/programs/ld-collate.c (collate_output): Likewise.
4620
ac64195c
DD
46212019-03-21 DJ Delorie <dj@redhat.com>
4622
4623 [BZ #24372]
4624 * iconv/iconvconfig.c (write_output): Replace floating point math
4625 with integer math to avoid imprecise results.
4626 * locale/programs/ld-collate.c (collate_output): Likewise.
4627
61f5e947
SL
46282019-03-21 Stefan Liebler <stli@linux.ibm.com>
4629
4630 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4631 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4632
57ada43c 46332019-03-20 mansayk <6688000@gmail.com>
4634
4635 [BZ #24296]
4636 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4637 (abday): Likewise, but remove the trailing dots.
4638
a2e57f89
JM
46392019-03-19 Joseph Myers <joseph@codesourcery.com>
4640
4641 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4642 macro.
4643 (HWCAP_PACA): Likewise.
4644 (HWCAP_PACG): Likewise.
4645 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4646 Increase to 32.
4647 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4648
e87d8ada
ST
46492019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4650
4651 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4652 should be handled.
4653
477e739b
JM
46542019-03-15 Joseph Myers <joseph@codesourcery.com>
4655
4656 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4657 version to 5.0.
4658 (old_getpagesize): New syscall.
4659
238d60a1
FY
46602019-03-15 Felix Yan <felixonmars@archlinux.org>
4661
4662 [BZ #24293]
4663 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4664 * localedata/locales/cmn_TW (era): Likewise.
4665 * localedata/locales/hak_TW (era): Likewise.
4666 * localedata/locales/lzh_TW (era): Likewise.
4667 * localedata/locales/nan_TW (era): Likewise.
4668
5dde9ef7
DD
46692019-03-14 Adam Maris <amaris@redhat.com>
4670
4671 * malloc/malloc.c (_int_malloc): Check for large bin list
4672 corruption when inserting unsorted chunk.
4673
a0a0dc83
FW
46742019-03-14 Florian Weimer <fweimer@redhat.com>
4675
4676 Remove obsolete, never-implemented XSI STREAMS declarations.
4677 * manual/terminal.texi (Allocation): Remove portability note and
4678 adjust example.
4679 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4680 _SC_STREAMS.
4681 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4682 * sysdeps/unix/inet/Subdirs (streams): Remove.
4683 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4684 (conformtest-headers-UNIX98): Likewise.
4685 (conformtest-headers-XOPEN2K): Likewise.
4686 (conformtest-headers-POSIX2008): Likewise.
4687 * posix/compat-streams.c: New file.
4688 * posix/Makefile (routines): Add it.
4689 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4690 getpmsg, isastream, putmsg, putpmsg.
4691 (GLIBC_2.30): New section.
4692 * bits/stropts.h: Remove file.
4693 * bits/xtitypes.h: Likewise.
4694 * conform/data/stropts.h-data: Likewise.
4695 * include/stropts.h: Likewise.
4696 * include/sys/stropts.h: Likewise.
4697 * include/xtitypes.h: Likewise.
4698 * streams/Makefile: Likewise.
4699 * streams/fattach.c: Likewise.
4700 * streams/fdetach.c: Likewise.
4701 * streams/getmsg.c: Likewise.
4702 * streams/getpmsg.c: Likewise.
4703 * streams/isastream.c: Likewise.
4704 * streams/putmsg.c: Likewise.
4705 * streams/putpmsg.c: Likewise.
4706 * streams/stropts.h: Likewise.
4707 * streams/sys/stropts.h: Likewise.
4708 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4709 * sysdeps/s390/bits/xtitypes.h: Likewise.
4710 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4711 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4712 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4713 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4714 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4715 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4717 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4718 * sysdeps/x86/bits/xtitypes.h: Likewise.
4719
081bdf94
FW
47202019-03-14 Florian Weimer <fweimer@redhat.com>
4721
4722 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4723 libnss_files.
4724 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4725 but not with libnss_files.
4726 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4727
97f8225d
ZW
47282019-03-14 Zack Weinberg <zackw@panix.com>
4729
4730 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4731 Specify encoding="utf-8" when opening headers to check.
4732
0c1041ee
JM
47332019-03-13 Joseph Myers <joseph@codesourcery.com>
4734
4735 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4736 version to 5.0.
4737 (Context.checkout_tar): Handle variable major version for Linux
4738 kernel.
4739
043440e7
FW
47402019-03-13 Florian Weimer <fweimer@redhat.com>
4741
4742 [BZ #24047]
4743 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4744
29218b26
ZW
47452019-03-13 Zack Weinberg <zackw@panix.com>
4746
4747 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4748 Move to stdlib.
4749 * include/inttypes.h: Adjust to match.
4750 * include/stdint.h: New wrapper.
4751
711a322a
ZW
47522019-03-13 Zack Weinberg <zackw@panix.com>
4753
4754 * scripts/check-obsolete-constructs.py: New test script.
4755 * scripts/check-installed-headers.sh: Remove tests for
4756 obsolete typedefs, superseded by check-obsolete-constructs.py.
4757 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4758 as a special test. Update commentary.
4759 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4760 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4761 Update commentary.
4762 * posix/sys/types.h (__u_intN_t): Remove.
4763 (u_int8_t): Typedef using __uint8_t.
4764 (u_int16_t): Typedef using __uint16_t.
4765 (u_int32_t): Typedef using __uint32_t.
4766 (u_int64_t): Typedef using __uint64_t.
4767
7c651308
SL
47682019-03-13 Stefan Liebler <stli@linux.ibm.com>
4769
4770 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4771 call _dl_procinfo.
4772 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4773 Ignore types other than AT_HWCAP.
4774 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4775 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4776 Likewise.
4777 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4778 in the case of falling back to generic output mechanism.
4779 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4780 Likewise.
4781
38b52865
FW
47822019-03-12 Florian Weimer <fweimer@redhat.com>
4783
4784 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4785
08504de7
FW
47862019-03-12 Florian Weimer <fweimer@redhat.com>
4787
4788 [BZ #24047]
4789 resolv: Enable full ICMP errors for UDP DNS sockets
4790 * resolv/res_enable_icmp.c: New file.
4791 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4792 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4793 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4794 socket.
4795
5fbcd763
MH
47962019-03-11 Mao Han <han_mao@c-sky.com>
4797
4798 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4799 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4800
c4e5f34b
MH
48012019-03-11 Mao Han <han_mao@c-sky.com>
4802
4803 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4804 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4805 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4806
827e30f3
MH
48072019-03-11 Mao Han <han_mao@c-sky.com>
4808
4809 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4810 directly.
4811 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4812 definition.
4813
6229c9bf
MH
48142019-03-11 Mao Han <han_mao@c-sky.com>
4815
4816 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4817 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4818 in mcontext_t
4819
86bdd49d
MF
48202019-03-08 Mike FABIAN <mfabian@redhat.com>
4821
4822 [BZ #24307]
4823 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4824 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4825 Unicode 12.0.0.
4826 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4827 * localedata/unicode-gen/PropList.txt: Likewise.
4828 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4829 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4830 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4831 * localedata/charmaps/UTF-8: Regenerate.
4832 * localedata/locales/i18n_ctype: Likewise.
4833 * localedata/locales/tr_TR: Likewise.
4834 * localedata/locales/translit_circle: Likewise.
4835 * localedata/locales/translit_cjk_compat: Likewise.
4836 * localedata/locales/translit_combining: Likewise.
4837 * localedata/locales/translit_compat: Likewise.
4838 * localedata/locales/translit_font: Likewise.
4839 * localedata/locales/translit_fraction: Likewise.
4840
c5f65462
JM
48412019-03-07 Joseph Myers <joseph@codesourcery.com>
4842
4843 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4844 than after operators.
4845 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4846 (setitimer_locked): Likewise.
4847 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4848 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4849 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4850 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4851 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4852 (PPC_CPU_SUPPORTED): Likewise.
4853 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4854 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4855 (stat_overflow): Likewise.
4856 (statfs_overflow): Likewise.
4857 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4858 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4859 (eq_ttyname_r): Likewise.
4860 (run_chroot_tests): Likewise.
4861
27a2f2f3
FW
48622019-03-07 Florian Weimer <fweimer@redhat.com>
4863
4864 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4865 header check.
4866
ae514971 48672019-03-07 Martin Liska <mliska@suse.cz>
4868
4869 * math/Makefile: Change location where math-vector-fortran.h is
4870 installed.
4871 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4872 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4873 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4874 * scripts/check-installed-headers.sh: Skip Fortran header files.
4875 * scripts/check-wrapper-headers.py: Likewise.
4876
0ddb7ea8
AZ
48772019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4878
4879 * nptl/nptl-init.c (__have_futex_clock_realtime,
4880 __have_futex_clock_realtime): Remove definition.
4881 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4882 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4883 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4884 __ASSUME_FUTEX_CLOCK_REALTIME support.
4885 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4886 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4887 * sysdeps/unix/sysv/linux/kernel-features.h
4888 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4889 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4890 Adjust comment.
4891
590675c0
GG
48922019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4893
4894 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4895 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4896 __GI___wcscpy and wcscpy.
4897
de71ee7b
FW
48982019-03-04 Florian Weimer <fweimer@redhat.com>
4899
4900 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4901 declaration.
4902 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4903 defined.
4904
ce6ddae0
SL
49052019-03-04 Stefan Liebler <stli@linux.ibm.com>
4906
4907 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4908 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4909
31efface
TS
49102019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4911
4912 [BZ #24162]
4913 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4914 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4915
f0eaf862
GG
49162019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4917
4918 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4919 tests.
4920 (do_test): Likewise.
4921 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4922 (do_test_call_varg): Likewise.
4923 (do_test_call_rarg): Likewise.
4924 * sysdeps/ieee754/ldbl-opt/Makefile
4925 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4926 tst-nldbl-error.
4927 ($(objpfx)tst-nldbl-warn.c): New rule.
4928 ($(objpfx)tst-nldbl-error.c): Likewise.
4929 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4930 New variables.
4931
d11086a9
GG
49322019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4933
4934 [BZ #23984]
4935 * include/bits/error-ldbl.h: New file.
4936 * include/error.h: Include stdarg.h. Declare internal functions
4937 __error_internal and __error_at_line_internal.
4938 * misc/Makefile (headers): Add bits/error-ldbl.h.
4939 * misc/bits/error-ldbl.h: New file.
4940 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4941 avoid the inclusion of bits/error.h.
4942 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4943 and __nldbl_error_at_line.
4944 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4945 (__nldbl_error, __ndlbl_error_at_line): New functions.
4946 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4947 Redirect error and error_at_line.
4948 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4950 Likewise.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4952 Likewise.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4954 Likewise.
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4956 Likewise.
4957 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4958 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4959 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4960
90188e7d
GG
49612019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4962
4963 [BZ #23984]
4964 * include/bits/err-ldbl.h: New file.
4965 * include/err.h: Add prototypes for the internal functions:
4966 __vwarnx_internal and __vwarn_internal.
4967 * misc/Makefile (headers): Add bits/err-ldbl.h.
4968 * misc/bits/err-ldbl.h: New file.
4969 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4970 defined, i.e.: when -mlong-double-64 is in use.
4971 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4972 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4973 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4974 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4975 (VA_CALL): New macro.
4976 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4977 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4978 functions.
4979 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4980 declare prototypes for the new functions.
4981 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4983 Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4985 Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4987 Likewise.
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4989 Likewise.
4990 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4993
ea2d89d0
GG
49942019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4995
4996 * sysdeps/ieee754/ldbl-opt/Makefile
4997 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4998 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4999 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5000
6e1f6440
GG
50012019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5002
5003 [BZ #23983]
5004 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5005 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5006 * argp/bits/argp-ldbl.h: New file.
5007 * include/argp.h: Include stdarg.h. Add prototypes for internal
5008 functions: __argp_error_internal and __argp_failure_internal.
5009 * include/bits/argp-ldbl.h: New file.
5010 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5011 __nldbl_argp_error and __nldbl_argp_failure.
5012 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5013 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5014 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5015 Redirect argp_error and argp_failure calls.
5016 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5018 Likewise.
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5020 Likewise.
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5022 Likewise.
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5024 Likewise.
5025 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5026 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5027 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5028
c259196b
FW
50292019-03-01 Florian Weimer <fweimer@redhat.com>
5030
5031 [BZ #20419]
5032 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5033 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5034 code, to avoid creating an ABI tag note.
5035 (modules-names-nobuild): Add tst-big-note-lib.
5036
928b305d
SL
50372019-03-01 Stefan Liebler <stli@linux.ibm.com>
5038
5039 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5040 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5041
36f30c10
FW
50422019-03-01 Florian Weimer <fweimer@redhat.com>
5043
5044 [BZ #20271]
5045 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5046 (__netlink_assert_response): Add additional missing newlines.
5047
462e83a4
JM
50482019-02-28 Joseph Myers <joseph@codesourcery.com>
5049
5050 * sysdeps/powerpc/powerpc32/dl-machine.c
5051 (__elf_machine_fixup_plt): Use space before '('.
5052 (__process_machine_rela): Likewise.
5053 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5054 Likewise.
5055 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5056 Likewise.
5057 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5058 Likewise.
5059 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5060 (pattern): Likewise.
5061 (delta): Likewise.
5062 (check_result): Likewise.
5063 (check_excepts): Likewise.
5064 (check_op): Likewise.
5065 (fail_xr): Likewise.
5066 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5067 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5068 (SCNHSZ): Likewise.
5069 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5070 Likewise.
5071 (ARGS): Likewise.
5072 (__makecontext): Likewise.
5073 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5074 Likewise.
5075
cc3e573c
FW
50762019-02-28 Florian Weimer <fweimer@redhat.com>
5077
5078 [BZ #23937]
5079 elf: Add test with a local IFUNC resolver.
5080 * elf/ifuncmain9.c: New file.
5081 * elf/ifuncmain9pic.c: Likewise.
5082 * elf/ifuncmain9picstatic.c: Likewise.
5083 * elf/ifuncmain9pie.c: Likewise.
5084 * elf/ifuncmain9static.c: Likewise.
5085 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5086 ifuncmain9static, ifuncmain9picstatic.
5087 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5088 Add ifuncmain9, ifuncmain9pic.
5089 * elf/Makefile [multi-arch && build-shared && have-fpie]
5090 (ifunc-pie-tests): Add ifuncmain9pie.
5091 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5092 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5093 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5094
92ad88fe
L
50952019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5096
5097 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5098 * configure: Regenerated.
5099 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5100
6bd4d02e
AZ
51012019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5102
5103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5104 symbol as __wcspcy instead of wcscpy.
5105
1b218417
ST
51062019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5107
5108 * include/stdio.h (__renameat2): New hidden prototype.
5109 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5110 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5111 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5112 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5113
c4f50205
JM
51142019-02-27 Joseph Myers <joseph@codesourcery.com>
5115
f627dd4d
JM
5116 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5117 if statement.
5118
c4f50205
JM
5119 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5120 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5121 * benchtests/bench-strlen.c (do_test): Likewise.
5122 (test_main): Likewise.
5123 * catgets/gencat.c (read_old): Likewise.
5124 * elf/cache.c (load_aux_cache): Likewise.
5125 * iconvdata/bug-iconv8.c (do_test): Likewise.
5126 * math/test-tgmath-ret.c (do_test): Likewise.
5127 * nis/nis_call.c (rec_dirsearch): Likewise.
5128 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5129 * nptl/tst-audit-threads.c (do_test): Likewise.
5130 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5131 * nss/nss_test1.c (init): Likewise.
5132 * nss/test-netdb.c (test_hosts): Likewise.
5133 * posix/execvpe.c (maybe_script_execute): Likewise.
5134 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5135 * stdio-common/tst-printf.c (do_test): Likewise.
5136 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5137 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5138 * stdlib/qsort.c (STACK_SIZE): Likewise.
5139 * stdlib/test-canon.c (do_test): Likewise.
5140 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5141 * string/memcmp.c (OPSIZ): Likewise.
5142 * string/test-strcpy.c (do_test): Likewise.
5143 (do_random_tests): Likewise.
5144 * string/test-strlen.c (do_test): Likewise.
5145 (test_main): Likewise.
5146 * string/test-strrchr.c (do_test): Likewise.
5147 (do_random_tests): Likewise.
5148 * string/tester.c (test_memrchr): Likewise.
5149 (test_memchr): Likewise.
5150 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5151 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5152 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5153 (read_encoded_value_with_base): Likewise.
5154 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5155 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5156 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5157 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5158 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5159 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5160 Likewise.
5161 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5162 Likewise.
5163 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5164 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5165 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5166 Likewise.
5167 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5168 Likewise.
5169 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5170 Likewise.
5171 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5172 Likewise.
5173 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5174 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5175 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5176 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5177 * time/test_time.c (main): Likewise.
5178
7b3fb620
AZ
51792019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5180
457208b1
AZ
5181 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5182
30a7e208
AZ
5183 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5184 wmemcpy.
5185
ddf21ec7
AZ
5186 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5187 wmemcpy.
5188
4d801563
AZ
5189 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5190
81a14439
AZ
5191 * include/wchar.h (__wcscpy): New prototype.
5192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5193 (__wcscpy): Route internal symbol to generic implementation.
5194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5195 Add internal __wcscpy alias.
5196 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5197 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5198 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5199 * wcsmbs/wcscpy.c (wcscpy): Add
5200 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5201 use generic implementation.
5202 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5203
39ef0744
AZ
5204 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5205 wmemset.
5206
7b3fb620
AZ
5207 * sysdeps/m68k/wcpcpy.c: Remove file.
5208 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5209
e0cb7b61
JM
52102019-02-26 Joseph Myers <joseph@codesourcery.com>
5211
aa0e4663
JM
5212 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5213 than after operators.
5214 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5215 * sysdeps/mach/hurd/getcwd.c
5216 (__hurd_canonicalize_directory_name_internal): Likewise.
5217 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5218 (pthread_mutex_consistent): Likewise.
5219 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5220 Likewise.
5221 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5222 (__pthread_mutex_transfer_np): Likewise.
5223 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5224 (__pthread_mutex_unlock): Likewise.
5225 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5226 (mtx_owned_p): Likewise.
5227 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5228 (pthread_mutexattr_getrobust): Likewise.
5229 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5230 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5231 Likewise.
5232 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5233 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5234 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5235 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5236 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5237 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5238 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5239 Likewise.
5240 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5241 Likewise.
5242 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5243 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5244 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5245 (____longjmp_chk): Likewise.
5246 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5247 Likewise.
5248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5249 (INTERNAL_SYSCALL): Likewise.
5250 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5251 (INTERNAL_SYSCALL): Likewise.
5252 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5253 (__get_clockfreq_via_cpuinfo): Likewise.
5254
e0cb7b61
JM
5255 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5256 comments.
5257 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5258 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5259 (WORD_COPY_BWD): Likewise.
5260 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5262 Likewise.
5263 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5264 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5265 comment.
5266 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5267
a04549c1
JM
52682019-02-25 Joseph Myers <joseph@codesourcery.com>
5269
5270 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5271 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5272 rather than after operators.
5273 * elf/cache.c (print_cache): Likewise.
5274 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5275 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5276 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5277 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5278 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5279 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5280 (reauth_proc): Likewise.
5281 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5282 (__file_name_split_at): Likewise.
5283 (__directory_name_split_at): Likewise.
5284 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5285 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5286 * iconv/gconv_dl.c (do_print): Likewise.
5287 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5288 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5289 * locale/setlocale.c (new_composite_name): Likewise.
5290 * malloc/memusagestat.c (main): Likewise.
5291 * misc/fstab.c (fstab_convert): Likewise.
5292 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5293 Likewise.
5294 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5295 (getgrent_next_file): Likewise.
5296 (internal_getgrnam_r): Likewise.
5297 (internal_getgrgid_r): Likewise.
5298 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5299 Likewise.
5300 (internal_getgrent_r): Likewise.
5301 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5302 (getpwent_next_nss): Likewise.
5303 (getpwent_next_file): Likewise.
5304 (internal_getpwnam_r): Likewise.
5305 (internal_getpwuid_r): Likewise.
5306 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5307 Likewise.
5308 (getspent_next_nss): Likewise.
5309 (internal_getspnam_r): Likewise.
5310 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5311 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5312 * string/strchr.c (STRCHR): Likewise.
5313 * string/strchrnul.c (STRCHRNUL): Likewise.
5314 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5315 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5316 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5317 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5318 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5319 Likewise.
5320 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5321 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5322 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5323 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5324 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5325 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5326 (open_file): Likewise.
5327 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5328 (pthread_mutexattr_setprotocol): Likewise.
5329 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5330 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5331 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5332 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5333 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5334 Likewise.
5335 (elf_machine_rela): Likewise.
5336 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5337 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5338 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5339 * sysdeps/posix/rename.c (rename): Likewise.
5340 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5341 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5342 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5343 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5344 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5345 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5346 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5347 Likewise.
5348 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5349 Likewise.
5350 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5351 * time/tzfile.c (__tzfile_compute): Likewise.
5352
34a5a146
JM
53532019-02-22 Joseph Myers <joseph@codesourcery.com>
5354
5355 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5356 rather than after operators.
5357 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5358 * crypt/md5.c (md5_finish_ctx): Likewise.
5359 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5360 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5361 * elf/cache.c (load_aux_cache): Likewise.
5362 * elf/dl-load.c (open_verify): Likewise.
5363 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5364 * elf/readelflib.c (process_elf_file): Likewise.
5365 * elf/rtld.c (dl_main): Likewise.
5366 * elf/sprof.c (generate_call_graph): Likewise.
5367 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5368 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5369 * hurd/dtable.c (reauth_dtable): Likewise.
5370 * hurd/getdport.c (__getdport): Likewise.
5371 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5372 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5373 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5374 Likewise.
5375 * hurd/hurdioctl.c (fioctl): Likewise.
5376 * hurd/hurdselect.c (_hurd_select): Likewise.
5377 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5378 (STOPSIGS): Likewise.
5379 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5380 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5381 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5382 * hurd/msgportdemux.c (msgport_server): Likewise.
5383 * hurd/setauth.c (_hurd_setauth): Likewise.
5384 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5385 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5386 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5387 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5388 * login/tst-utmp.c (do_check): Likewise.
5389 (simulate_login): Likewise.
5390 * mach/lowlevellock.h (lll_lock): Likewise.
5391 (lll_trylock): Likewise.
5392 * math/test-fenv.c (ALL_EXC): Likewise.
5393 * math/test-fenvinline.c (ALL_EXC): Likewise.
5394 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5395 * nis/nis_call.c (__do_niscall3): Likewise.
5396 * nis/nis_callback.c (cb_prog_1): Likewise.
5397 * nis/nis_defaults.c (searchaccess): Likewise.
5398 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5399 * nis/nis_ismember.c (internal_ismember): Likewise.
5400 * nis/nis_local_names.c (nis_local_principal): Likewise.
5401 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5402 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5403 Likewise.
5404 * nis/ypclnt.c (yp_match): Likewise.
5405 (yp_first): Likewise.
5406 (yp_next): Likewise.
5407 (yp_master): Likewise.
5408 (yp_order): Likewise.
5409 * nscd/hstcache.c (cache_addhst): Likewise.
5410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5411 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5412 (internal_getpwuid_r): Likewise.
5413 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5414 * posix/glob.h (__GLOB_FLAGS): Likewise.
5415 * posix/regcomp.c (peek_token): Likewise.
5416 (peek_token_bracket): Likewise.
5417 (parse_expression): Likewise.
5418 * posix/regexec.c (sift_states_iter_mb): Likewise.
5419 (check_node_accept_bytes): Likewise.
5420 * posix/tst-spawn3.c (do_test): Likewise.
5421 * posix/wordexp-test.c (testit): Likewise.
5422 * posix/wordexp.c (parse_tilde): Likewise.
5423 (exec_comm): Likewise.
5424 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5425 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5426 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5427 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5428 * stdio-common/tst-fileno.c (do_test): Likewise.
5429 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5430 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5431 * stdlib/strtod_l.c (round_and_return): Likewise.
5432 (____STRTOF_INTERNAL): Likewise.
5433 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5434 * string/strcspn.c (STRCSPN): Likewise.
5435 * string/test-memmem.c (simple_memmem): Likewise.
5436 * termios/tcsetattr.c (tcsetattr): Likewise.
5437 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5438 * time/asctime.c (asctime_internal): Likewise.
5439 * time/strptime_l.c (__strptime_internal): Likewise.
5440 * time/sys/time.h (timercmp): Likewise.
5441 * time/tzfile.c (__tzfile_compute): Likewise.
5442
b0b50fe0
PF
54432019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5444
b39d961c
TS
5445 [BZ #21915]
5446 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 5447
f43b8dd5
GG
54482019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5449
5450 * argp/argp-help.c (__argp_error_internal): New function,
5451 renamed from __argp_error, but that takes a 'mode_flags'
5452 parameter to control the format of long double parameters.
5453 (__argp_error): Converted into a call __argp_error_internal.
5454 (__argp_failure_internal): New function, renamed from
5455 __argp_failure, but that takes a 'mode_flags' parameter.
5456 (__argp_failure): Converted into a call __argp_failure_internal.
5457 * misc/err.c (__vwarnx_internal): New function, renamed from
5458 vwarnx, but that takes a 'mode_flags' parameter.
5459 (vwarnx): Converted into a call to __vwarnx_internal.
5460 (__vwarn_internal): New function, renamed from vwarn, but that
5461 takes a 'mode_flags' parameter.
5462 (vwarn): Converted into a call to __vwarn_internal.
5463 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5464 call to __vfxprintf with 'mode_flags'.
5465 (__error_internal): New function, renamed from error, but that
5466 takes a 'mode_flags' parameter.
5467 (error): Converted into a call to __error_internal.
5468 (__error_at_line_internal): New function, renamed from
5469 error_at_line, but that takes a 'mode_flags' parameter.
5470 (error_at_line): Converted into a call to
5471 __error_at_line_internal.
5472 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5473 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5474 Likewise.
5475
dc0afac3 54762019-02-20 Martin Liska <mliska@suse.cz>
5477
5478 * math/Makefile: Install math-vector-fortran.h.
5479 * bits/math-vector-fortran.h: New file.
5480 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5481
4a2dd41c
GG
54822019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5483
5484 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5485 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5486
04de9302
WS
54872019-02-19 Wolfram Sang <wsa@the-dreams.de>
5488
5489 * nptl/pthread_mutex_trylock.c: Fix comment.
5490
b026ce1e
CD
54912019-02-19 Carlos O'Donell <carlos@redhat.com>
5492
5493 * nptl/pthread_tryjoin.c: Fix comment.
5494
8c9289b6
JM
54952019-02-18 Joseph Myers <joseph@codesourcery.com>
5496
5497 [BZ #24231]
5498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5499 after R_SPARC_H34 case.
5500
308e022f
FW
55012019-02-18 Florian Weimer <fweimer@redhat.com>
5502
5503 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5504 (getanswer): Do not call Dprintf.
5505 (res_gethostbyname2_context): Likewise.
5506 (res_gethostbyaddr_context): Likewise.
5507
a5406364
FW
55082019-02-18 Florian Weimer <fweimer@redhat.com>
5509
5510 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5511 declaration.
5512 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5513 Remove definitions.
5514 * libio/stdfiles.c: Update comment.
5515 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5516 set _IO_stdin, _IO_stdout, _IO_stderr.
5517 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5518 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5519 inline function.
5520 (_IO_deallocate_file): New inline function.
5521 * libio/iolibio.h (_IO_vprintf): Remove definition.
5522 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5523 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5524 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5525 _IO_legacy_file.
5526 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5527 __builtin_expect. Use _IO_legacy_file.
5528
6c29942c
SL
55292019-02-18 Stefan Liebler <stli@linux.ibm.com>
5530
5531 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5532 Initialize ctid with a known value and remove update of ctid
5533 after clone.
5534 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5535 as assumed current value of ctid_ptr.
5536
225d9445 55372019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
5538
5539 Check that non-sysdeps headers have wrapper headers.
5540 * scripts/check-wrapper-headers.py: New file.
5541 * Makefile (tests-special): Add check-wrapper-headers.out.
5542 (check-wrapper-headers.out): New target.
5543 * Rules (tests-special): Add check-wrapper-headers.out.
5544 (check-wrapper-headers.out): New target.
5545
225d9445 55462019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
5547
5548 Add missing header wrappers under include/.
5549 * include/ar.h: New file.
5550 * include/bits/mqueue2.h: Likewise.
5551 * include/bits/stdio.h: Likewise.
5552 * include/bits/stdio2.h: Likewise.
5553 * include/fstab.h: Likewise.
5554 * include/fts.h: Likewise.
5555 * include/lastlog.h: Likewise.
5556 * include/netinet/icmp6.h: Likewise.
5557 * include/netinet/igmp.h: Likewise.
5558 * include/netinet/ip6.h: Likewise.
5559 * include/re_comp.h: Likewise.
5560 * include/regexp.h: Likewise.
5561 * include/rpcsvc/bootparam.h: Likewise.
5562 * include/rpcsvc/yp_prot.h: Likewise.
5563 * include/sys/random.h: Likewise.
5564 * include/sys/stropts.h: Likewise.
5565 * include/sys/ttychars.h: Likewise.
5566 * include/sys/vfs.h: Likewise.
5567 * include/wait.h: Likewise.
5568
225d9445 55692019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
5570
5571 * nptl_db/proc_service.h: Move to ...
5572 * sysdeps/nptl/proc_service.h: ... here.
5573 * nptl_db/thread_db.h: Move to ...
5574 * sysdeps/nptl/thread_db.h: ... here.
5575 * nptl/descr.h: Include <thread_db.h>.
5576
e442e40d
AZ
55772019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5578
5579 * io/Makefile (tests): Add tst-lockf.
5580 * io/lockf.c (lockf): Use __fcntl and only define for
5581 !__OFF_T_MATCHES_OFF64_T.
5582 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5583 __OFF_T_MATCHES_OFF64_T case.
5584 * io/tst-lockf.c: New file.
5585 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5586 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5587 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5588 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5589 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5591 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5592 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5593 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5594
bc10e22c
FW
55952019-02-15 Florian Weimer <fweimer@redhat.com>
5596
5597 [BZ #24211]
5598 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5599 pd->result after the thread descriptor has been freed.
5600
365f05c7
JM
56012019-02-15 Joseph Myers <joseph@codesourcery.com>
5602
8a11f970
JM
5603 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5604 from function return type.
5605
365f05c7
JM
5606 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5607
6b5c8607 56082019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
5609
5610 * scripts/test_printers_common.py: Set TERM to a known harmless
5611 value.
5612
712182c8
JM
56132019-02-14 Joseph Myers <joseph@codesourcery.com>
5614
5615 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5616 (xdr_u_int): Likewise.
5617 (xdr_enum): Likewise.
5618 (xdr_bytes): Reword fall-through comment.
5619 (xdr_string): Likewise.
5620
eb76e5b4
AZ
56212019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5622
5623 [BZ #2421]
5624 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5625 (tests): Add tst-join8 tst-join9.
5626 * nptl/lll_timedwait_tid.c: Remove file.
5627 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5628 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5629 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5630 * nptl/pthread_join_common.c (timedwait_tid): New function.
5631 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5632 is set.
5633 * nptl/tst-join5.c (thread_join): New function.
5634 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5635 check.
5636 * nptl/tst-join8.c: New file.
5637 * nptl/tst-join9.c: Likewise.
5638 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5639 lll_futex_timed_wait_cancel): Add generic macros.
5640 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5641 Remove definitions.
5642 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5644 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5645 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5646 Remove function.
5647 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5648 Likewise.
5649 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5650 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5651 (lll_futex_timed_wait_cancel): New macro.
5652
3904fd85
WD
56532019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5654
5655 * benchtests/Makefile: Add malloc-simple benchmark.
5656 * benchtests/bench-malloc-simple.c: New benchmark.
5657
24ca04fe
SP
56582019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5659
5660 * benchtests/bench-memmove.c (do_one_test): Remove unused
5661 ORIG_SRC.
5662 (do_test): Adjust.
5663 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5664 ORIG_SRC.
5665 (do_test): Adjust.
5666
85bd1ddb
JW
56672019-01-13 Jim Wilson <jimw@sifive.com>
5668
5669 [BZ #24040]
5670 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5671 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5672 (func): New.
5673 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5674 call func directly.
5675 * nptl/Makefile (tests): Add tst-unwind-thread.
5676 (CFLAGS-tst-unwind-thread.c): Define.
5677 * nptl/tst-unwind-thread.c: New file.
5678 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5679 as undefined.
5680
86140c62
JM
56812019-02-13 Joseph Myers <joseph@codesourcery.com>
5682
10756268
JM
5683 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5684 comment wording.
5685 * nis/nis_call.c (__do_niscall3): Likewise.
5686
05383720
JM
5687 * catgets/gencat.c (normalize_line): Use braces around empty
5688 'else' body.
5689 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5690 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5691 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5692 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5693 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5694 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5695 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5696 definition.
5697
86140c62
JM
5698 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5699 execlp returns.
5700
16f87cfd
WD
57012019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5702
5703 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5704 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5705 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5706 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5707 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5708 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5709 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5710 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5711 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5712 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5713 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5714 * benchtests/bench-bcopy.c: Delete file.
5715 * benchtests/bench-bzero.c: Likewise.
5716 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5717 (simple_memccpy): Remove.
5718 (generic_memccpy): Add function.
5719 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5720 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5721 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5722 (generic_mempcpy): Add new function.
5723 * benchtests/bench-memset.c (simple_bzero): Remove.
5724 (builtin_bzero): Remove.
5725 (builtin_memset): Remove.
5726 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5727 (generic_rawmemchr): Add new function.
5728
0c6d82e9
FW
57292019-02-12 Florian Weimer <fweimer@redhat.com>
5730
5731 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5732
b3fbfe81
AZ
57332019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5734
5735 [BZ #24122]
5736 * elf/Makefile (tests): Add tst-audit13.
5737 (modules-names): Add tst-audit13mod1.
5738 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5739 rule.
5740 * elf/tst-audit13.c: New file.
5741 * elf/tst-audit13mod1.c: Likewise.
5742
3b856d09
FW
57432019-02-12 Florian Weimer <fweimer@redhat.com>
5744
5745 [BZ #24122]
5746 * elf/rtld.c (unload_audit_module): New function.
5747 (report_audit_module_load_error): Likewise.
5748 (load_audit_module): Likewise. Extracted from dl_main. Call
5749 _dl_close if the laversion symbol cannot be found. Use early
5750 returns for error handling. Add malloc error check. Check for a
5751 zero return value from la_version. Remove spurious comment about
5752 static TLS initialization. Remove useless casts.
5753 (notify_audit_modules_of_loaded_object): New function. Extracted
5754 from dl_main.
5755 (load_audit_module): Likewise.
5756 (dl_main): Call load_audit_modules.
5757
32db86d5
JM
57582019-02-12 Joseph Myers <joseph@codesourcery.com>
5759
5760 * elf/dl-exception.c (_dl_exception_create_format): Add
5761 fall-through comments.
5762 * elf/ldconfig.c (parse_conf_include): Likewise.
5763 * elf/rtld.c (print_statistics): Likewise.
5764 * locale/programs/charmap.c (parse_charmap): Likewise.
5765 * misc/mntent_r.c (__getmntent_r): Likewise.
5766 * posix/wordexp.c (parse_arith): Likewise.
5767 (parse_backtick): Likewise.
5768 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5769 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5771
a51bc4fe
PC
57722019-02-11 Paul A. Clarke <pc@us.ibm.com>
5773
5774 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5775 Use float instead of double.
5776
fb25b135
TS
57772019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5778
5779 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5780
32ea7299
JM
57812019-02-08 Joseph Myers <joseph@codesourcery.com>
5782
5783 * sysdeps/powerpc/bits/mathinline.h: Remove.
5784
eef4d4f8
FW
57852019-02-08 Florian Weimer <fweimer@redhat.com>
5786
5787 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5788 * math/bits/math-finite.h: Move to ...
5789 * bits/math-finite.h: ... here.
5790
fdfbd47d
FW
57912019-02-08 Florian Weimer <fweimer@redhat.com>
5792
5793 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5794 * bits/unistd_ext.h: here.
5795
11eb21c4
PF
57962019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5797
5798 [BZ #21915]
5799 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5800 * nss/tst-nss-files-hosts-long.c: New file.
5801 * nss/tst-nss-files-hosts-long.root: New directory.
5802 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5803 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5804
e47d82c9
FW
58052019-02-08 Florian Weimer <fweimer@redhat.com>
5806
5807 * include/bits/unistd_ext.h: Remove file.
5808 * posix/bits/unistd_ext.h: Move to ...
5809 * sysdeps/generic/bits/unistd_ext.h: ... here.
5810
8f89ab21
FW
58112019-02-08 Florian Weimer <fweimer@redhat.com>
5812
5813 * include/bits/unistd_ext.h: New file.
5814
144a794e
TS
58152019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5816
5817 * time/tst-strftime2.c: Use array_length macros instead of magic
5818 numbers.
5819
669ff911
FW
58202019-02-08 Florian Weimer <fweimer@redhat.com>
5821
5822 [BZ #24161]
5823 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5824 argument.
5825 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5826 locking if the new do_locking argument is true.
5827 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5828 __run_fork_handlers.
5829
d0bd87d4 58302019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
5831
5832 [BZ #6399]
5833 Linux: Add gettid system call wrapper.
5834 * posix/Makefile (headers): Add bits/unistd_ext.h.
5835 * posix/bits/unistd_ext.h: New file.
5836 * posix/unistd.h: Include it.
5837 * manual/process.texi (Process Identification): Document gettid.
5838 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5839 tst-gettid, tst-gettid-kill.
5840 (tst-gettid): Link with $(shared-thread-library).
5841 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5842 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5843 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5844 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5845 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5846 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5847 Add gettid.
5848 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5849 Likewise.
5850 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5851 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5852 Likewise.
5853 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5854 Likewise.
5855 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5856 Likewise.
5857 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5858 Likewise.
5859 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5860 Likewise.
5861 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5862 Likewise.
5863 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5864 Likewise.
5865 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5866 (GLIBC_2.30): Likewise.
5867 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5868 (GLIBC_2.30): Likewise.
5869 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5870 (GLIBC_2.30): Likewise.
5871 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5872 (GLIBC_2.30): Likewise.
5873 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5874 Likewise.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5876 (GLIBC_2.30): Likewise.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5878 (GLIBC_2.30): Likewise.
5879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5880 (GLIBC_2.30): Likewise.
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5882 (GLIBC_2.30): Likewise.
5883 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5884 Likewise.
5885 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5886 Likewise.
5887 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5888 Likewise.
5889 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5890 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5891 Likewise.
5892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5893 Likewise.
5894 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5895 Likewise.
5896 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5897 Likewise.
5898 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5899
225d9445 59002019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
5901
5902 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5903 compatibility symbols.
5904
823624bd
SL
59052019-02-07 Stefan Liebler <stli@linux.ibm.com>
5906
5907 [BZ #24180]
5908 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5909 Add compiler barriers and comments.
5910
8311c83f
FW
59112019-02-07 Florian Weimer <fweimer@redhat.com>
5912
5913 * include/array_length.h (array_length): Do not use a statement
5914 expression and _Static_assert, so that array_length can be used at
5915 file scope and as a constant expression.
5916
94b63e66
FW
59172019-02-07 Florian Weimer <fweimer@redhat.com>
5918
5919 * support/xdlfcn.h (xdlmopen): Declare.
5920 * support/xdlmopen.c: New file.
5921 * support/Makefile (libsupport-routines): Add xdlmopen.
5922
c2d8f0b7
JM
59232019-02-06 Joseph Myers <joseph@codesourcery.com>
5924
5925 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5926 before return type, without separate inline.
5927 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5928 * elf/dl-tunables.h (tunable_is_name): Likewise.
5929 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5930 (do_set_top_pad): Likewise.
5931 (do_set_mmap_threshold): Likewise.
5932 (do_set_mmaps_max): Likewise.
5933 (do_set_mallopt_check): Likewise.
5934 (do_set_perturb_byte): Likewise.
5935 (do_set_arena_test): Likewise.
5936 (do_set_arena_max): Likewise.
5937 (do_set_tcache_max): Likewise.
5938 (do_set_tcache_count): Likewise.
5939 (do_set_tcache_unsorted_limit): Likewise.
5940 * nis/nis_subr.c (count_dots): Likewise.
5941 * nptl/allocatestack.c (advise_stack_range): Likewise.
5942 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5943 (do_sin): Likewise.
5944 (reduce_sincos): Likewise.
5945 (do_sincos): Likewise.
5946 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5947 (do_set_elision_enable): Likewise.
5948 (TUNABLE_CALLBACK_FNDECL): Likewise.
5949
3b935595
FW
59502019-02-06 Florian Weimer <fweimer@redhat.com>
5951
5952 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5953 (xdlsym): Use dlerror to detect a NULL symbol.
5954
b4333340
FW
59552019-02-06 Florian Weimer <fweimer@redhat.com>
5956
5957 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5958 <stap-probe.h>.
5959 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5960
b6d8a999
SL
59612019-02-06 Stefan Liebler <stli@linux.ibm.com>
5962
5963 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5964
94eeeec0
SL
59652019-02-06 Stefan Liebler <stli@linux.ibm.com>
5966
5967 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5968 __wmemcmp and weak alias to wmemcmp.
5969
bc79db3f
SL
59702019-02-06 Stefan Liebler <stli@linux.ibm.com>
5971
5972 [BZ #23403]
5973 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5974 TLS_TCB_AT_TP tls variant.
5975 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5976 Add alignment checks.
5977 * support/Makefile (libsupport-routines): Add xposix_memalign and
5978 xpthread_setstack.
5979 * support/support.h: Add xposix_memalign.
5980 * support/xthread.h: Add xpthread_attr_setstack.
5981 * support/xposix_memalign.c: New File.
5982 * support/xpthread_attr_setstack.c: Likewise.
5983
f1ac7455
FW
59842019-02-05 Florian Weimer <fweimer@redhat.com>
5985
5986 [BZ #24164]
5987 arm: Use "nr" constraint for Systemtap probes, to avoid the
5988 compiler using memory operands for constants, due to the "o"
5989 alternative in the default "nor" constraint.
5990 * include/stap-probe.h [USE_STAP_PROBE]: Include
5991 <stap-probe-machine.h>
5992 * sysdeps/generic/stap-probe-machine.h: New file.
5993 * sysdeps/arm/stap-probe-machine.h: Likewise.
5994
7a0dcfc6
JM
59952019-02-04 Joseph Myers <joseph@codesourcery.com>
5996
77dc0d86
JM
5997 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5998 with 0, not tcache->entries[tc_idx].
5999
7a0dcfc6
JM
6000 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6001 once.
6002
65f7767a
AS
60032019-02-04 Andreas Schwab <schwab@suse.de>
6004
6005 [BZ #16976]
6006 [BZ #17396]
6007 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6008 looking up collating elements match against (wide) character
6009 sequence instead of name. Correct alignment adjustment.
6010 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6011 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6012 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6013 (LOCALES): Add cs_CZ.ISO-8859-2.
6014 * posix/tst-fnmatch4.c: New file.
6015 * posix/tst-fnmatch5.c: New file.
6016 * include/wchar.h (__wmemcmp): Declare.
6017 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6018 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6019 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6020 * sysdeps/s390/wmemcmp.c: Likewise.
6021
3f635fb4
L
60222019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6023
6024 [BZ #24155]
6025 CVE-2019-7309
6026 * NEWS: Updated for CVE-2019-7309.
6027 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6028 upper 32 bits of RDX register for x32. Use unsigned Jcc
6029 instructions, instead of signed.
6030 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6031 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6032
2ab5741b
FW
60332019-02-04 Florian Weimer <fweimer@redhat.com>
6034
6035 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6036 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6037 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6038 Likewise.
6039 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6040 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6041 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6042 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6043 Likewise.
6044 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6045 Likewise.
6046 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6047 Likewise.
6048 (posix_spawn_file_actions_addopen): Likewise.
6049 (posix_spawn_file_actions_addclose): Likewise.
6050 (posix_spawn_file_actions_adddup2): Likewise.
6051 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6052 qualifiers.
6053 (posix_spawn_file_actions_addfchdir_np): Likewise.
6054
8692ebdb
DN
60552019-02-04 David Newall <glibc@davidnewall.com>
6056
6057 elf: Implement --preload option for the dynamic linker.
6058 * elf/rtld.c (preloadarg): New variable.
6059 (handle_preload_list): Pass through “where” argument to
6060 do_preload.
6061 (dl_main): Handle "--preload" and add second call to
6062 handle_preload_list.
6063 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6064 (tst-rtld-preload-OBJS): Set variable.
6065 (tst-rtld-preload.out): New target.
6066 * elf/tst-rtld-preload.sh: New file.
6067
5e10136b
MM
60682019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6069
6070 * Makefile (testrun.sh): Exit in case of incorrect argument.
6071
221baae0
FW
60722019-02-04 Florian Weimer <fweimer@redhat.com>
6073
6074 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6075 alignment gaps.
6076
b8c72381
FW
60772019-02-03 Florian Weimer <fweimer@redhat.com>
6078
6079 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6080 implicit overflow checks.
6081
11f382ee
AJ
60822019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6083
6084 * stdlib/isomac.c: Include <unistd.h>.
6085
77c7d55e
FW
60862019-02-03 Florian Weimer <fweimer@redhat.com>
6087
6088 * include/time.h (__tzfile_default): Use int, not long int, for
6089 the GMT offsets.
6090 * time/tzfile.c (struct ttinfo): Change type of the offset member
6091 to int.
6092 (__tzfile_read): Remove useless cast.
6093 (__tzfile_default): Adjust prototype.
6094 * time/tzset.c (tz_rule): Change type of the offset member to int.
6095 (parse_offset): Change the type of the sign variable to int.
6096
ee9941f9
FW
60972019-02-03 Florian Weimer <fweimer@redhat.com>
6098
6099 [BZ #24153]
6100 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6101 * libio/getchar.c (getchar): Likewise.
6102 * libio/getchar_u.c (getchar_unlocked): Likewise.
6103 * libio/getwchar.c (getwchar): Likewise.
6104 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6105 * libio/iogets.c (_IO_gets): Likewise.
6106 * libio/vscanf.c (_IO_vscanf): Likewise.
6107 * libio/vwscanf.c (__vwscanf): Likewise.
6108 * libio/tst-bz24153.c: New file.
6109 * libio/Makefile (tests): Add it.
6110
c70824b9
FW
61112019-02-02 Florian Weimer <fweimer@redhat.com>
6112
6113 [BZ #14829]
6114 * manual/resource.texi (Basic Scheduling Functions): Add
6115 portability note. Change process to task throughout the section.
6116 Remove incorrect comment about sched_yield as it affects
6117 tasks/threads, not entire processes.
6118 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6119 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6120
4dcbbc3b
JM
61212019-02-01 Joseph Myers <joseph@codesourcery.com>
6122
6123 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6124 * configure: Regenerated.
6125 * manual/install.texi (Tools for Compilation): Update minimum GCC
6126 version.
6127 * INSTALL: Regenerated.
6128
6175507c
FW
61292019-02-01 Florian Weimer <fweimer@redhat.com>
6130
6131 * support/support_test_compare_string.c
6132 (support_test_compare_string): Use "string" in error message.
6133 * support/tst-test_compare_string.c (do_test): Adjust.
6134
baef1943
FW
61352019-02-01 Florian Weimer <fweimer@redhat.com>
6136
6137 * support/support_format_address_family.c
6138 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6139
395599f0
FW
61402019-02-01 Florian Weimer <fweimer@redhat.com>
6141
6142 * manual/socket.texi (Internet Address Formats): Clarify the byte
6143 order of struct sockaddr_in, struct sockaddr_in6. Document
6144 sin6_flowinfo and sin6_scope_id.
6145
b06f4c00
WD
61462019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6147
6148 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6149 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6150 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6151 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6152 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6153 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6154
83d1cc42
FX
61552019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6156
6157 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6158 [!MEMCHR](MEMCHR): Set to __memchr.
6159 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6160 Add memchr_generic and memchr_nosimd.
6161 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6162 (__libc_ifunc_impl_list): Add memchr ifuncs.
6163 * sysdeps/aarch64/multiarch/memchr.c: New file.
6164 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6165 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6166
c7d3890f
FX
61672019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6168
6169 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6170 Add memset_emag.
6171 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6172 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6173 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6174 Add IS_EMAG check for ifunc dispatch.
6175 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6176 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6177
07c3d1ec
FX
61782019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6179
6180 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6181 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6182 Add emag.
6183 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6184 New macro.
6185
114f792e
SL
61862019-02-01 Stefan Liebler <stli@linux.ibm.com>
6187
6188 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6189
d5627550
VG
61902019-01-31 Vineet Gupta <vgupta@synopsys.com>
6191
6192 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6193 syscall-template file.
6194
5fc9ed4c
CD
61952019-01-31 Carlos O'Donell <carlos@redhat.com>
6196 Torvald Riegel <triegel@redhat.com>
6197 Rik Prohaska <prohaska7@gmail.com>
6198
6199 [BZ# 23844]
6200 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6201 tst-rwlock-trywrlock-stall.
6202 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6203 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6204 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6205 Set __wrphase_fute to 1 only if we started the write phase.
6206 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6207 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6208 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6209 * support/xpthread_rwlock_destroy.c: New file.
6210 * support/xthread.h: Declare xpthread_rwlock_destroy.
6211
932329a5
JM
62122019-02-01 Joseph Myers <joseph@codesourcery.com>
6213
6214 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6215 version to 4.0.2.
6216
5f10701f
PP
62172019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6218
6219 [BZ #24051]
6220 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6221 * libio/fileops.c (_IO_new_file_underflow): Likewise
6222 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6223 * libio/putchar.c (putchar): Likewise.
6224 * libio/putchar_u.c (putchar_unlocked): Likewise.
6225 * libio/putwchar.c (putchar): Likewise.
6226 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6227 * libio/tst-bz24051.c: New test.
6228 * libio/Makefile (tests): Add tst-bz24051
6229
583dd860
PE
62302019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6231
b626c5aa 6232 CVE-2019-9169
583dd860
PE
6233 regex: fix read overrun [BZ #24114]
6234 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6235 https://debbugs.gnu.org/34140
6236 * posix/regexec.c (proceed_next_node):
6237 Do not read past end of input buffer.
6238
2bac7daa
FW
62392019-01-31 Florian Weimer <fweimer@redhat.com>
6240
6241 [BZ #24059]
6242 * nss/nss_files/files-alias.c (get_next_alias): Handle
6243 continuation line without newline at the end.
6244 * nss/tst-nss-files-alias-truncated.c: New file.
6245 * nss/Makefile [$(build-shared)] (tests): Add
6246 tst-nss-files-alias-truncated.
6247 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6248 * support/namespace.h (struct support_chroot_configuration): Add
6249 aliases member.
6250 (struct support_chroot): Add path_aliases member.
6251 * support/support_chroot.c (support_chroot_create): Handle
6252 aliases.
6253 (support_chroot_free): Free path_aliases.
6254
330c9d0d
SP
62552019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6256
de44ab67
SP
6257 * version.h (RELEASE): Set to "development".
6258 (VERSION): Set to "2.29.9000".
6259 * NEWS: Add section for 2.30.
6260
56c86f5d
SP
6261 * version.h (RELEASE): Set to "stable".
6262 (VERSION): Set to "2.29".
6263 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6264
330c9d0d
SP
6265 * NEWS: Add the list of bugs fixed in 2.29.
6266 * manual/contrib.texi: Update contributors list with some more
6267 names.
6268 * manual/install.texi: Update latest versions of packages
6269 tested.
6270 * INSTALL: Regenerated.
6271
e1e47c91
SP
62722019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6273
6274 * po/be.po: Update translations.
6275 * po/bg.po: Likewise.
6276 * po/ca.po: Likewise.
6277 * po/cs.po: Likewise.
6278 * po/da.po: Likewise.
6279 * po/de.po: Likewise.
6280 * po/el.po: Likewise.
6281 * po/eo.po: Likewise.
6282 * po/es.po: Likewise.
6283 * po/fi.po: Likewise.
6284 * po/fr.po: Likewise.
6285 * po/gl.po: Likewise.
6286 * po/hr.po: Likewise.
6287 * po/hu.po: Likewise.
6288 * po/ia.po: Likewise.
6289 * po/id.po: Likewise.
6290 * po/it.po: Likewise.
6291 * po/ja.po: Likewise.
6292 * po/ko.po: Likewise.
6293 * po/lt.po: Likewise.
6294 * po/nb.po: Likewise.
6295 * po/nl.po: Likewise.
6296 * po/pl.po: Likewise.
6297 * po/pt_BR.po: Likewise.
6298 * po/ru.po: Likewise.
6299 * po/rw.po: Likewise.
6300 * po/sk.po: Likewise.
6301 * po/sl.po: Likewise.
6302 * po/sv.po: Likewise.
6303 * po/tr.po: Likewise.
6304 * po/uk.po: Likewise.
6305 * po/vi.po: Likewise.
6306 * po/zh_CN.po: Likewise.
6307 * po/zh_TW.po: Likewise.
6308
8d016826
UB
63092019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6310
6311 [BZ #24130]
6312 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6313 of $f3 register on $y_is_neg path.
6314
a0bb5abd
ST
63152019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6316
b96e22d0 6317 [BZ #24110]
a0bb5abd
ST
6318 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6319 sigaltstack.ss_flags.
6320
b22eed37
TS
63212019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6322
6323 [BZ #23758]
6324 * manual/time.texi (strftime): Document "%Ey".
6325 * time/strftime_l.c (__strftime_internal): Set the default width
6326 padding with zero of "%Ey" to 2.
6327
32f600a2
TS
6328 [BZ #24096]
6329 * manual/time.texi (strftime): Document "%EC" and "%EY".
6330 * time/Makefile (tests): Add tst-strftime2.
6331 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6332 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6333 override padding for "%Ey".
6334 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6335 "%Ey" in the subformat as if decorated with that flag.
6336 * time/tst-strftime2.c: New file.
6337
8e889c5d
AZ
63382019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6339
3367acdb
AZ
6340 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6341 are not defined.
6342
8e889c5d
AZ
6343 [BZ #24122]
6344 * elf/Makefile (tests): Add tst-audit13.
6345 (modules-names): Add tst-audit13mod1.
6346 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6347 rule.
6348 * elf/rtld.c (dl_main): Handle invalid audit module version.
6349 * elf/tst-audit13.c: New file.
6350 * elf/tst-audit13mod1.c: Likewise.
6351
a95dc01c
ST
63522019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6353
6354 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6355 returned by __hurd_at_flags.
ee4d7902
ST
6356 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6357 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6358 directly instead of __hurd_file_name_lookup.
a95dc01c 6359
712f1167
JM
63602019-01-21 Joseph Myers <joseph@codesourcery.com>
6361
6362 * scripts/build-many-glibcs.py (Context.checkout): Default
6363 binutils version to 2.32 branch.
6364
108bc404
FW
63652019-01-21 Florian Weimer <fweimer@redhat.com>
6366
6367 [BZ #20018]
6368 CVE-2016-10739
6369 resolv: Reject trailing characters in host names
6370 * include/arpa/inet.h (__inet_aton_exact): Declare.
6371 (inet_aton): Remove hidden prototype. No longer used internally.
6372 * nscd/gai.c (__inet_aton): Do not define.
6373 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6374 * nss/digits_dots.c (__inet_aton): Likewise.
6375 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6376 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6377 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6378 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6379 (tst-resolv-trailing): Likewise.
6380 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6381 libc.
6382 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6383 Make static. Add endp parameter.
6384 (__inet_aton_exact): New function.
6385 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6386 (__inet_addr): Call inet_aton_end.
6387 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6388 not just IPv6. Call __inet_aton_exact.
6389 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6390 (tests): Make const. Add additional test cases with trailing
6391 characters.
6392 (do_test): Use array_length.
6393 * resolv/tst-inet_aton_exact.c: New file.
6394 * resolv/tst-resolv-trailing.c: Likewise.
6395 * resolv/tst-resolv-nondecimal.c: Likewise.
6396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6397
5165de69
L
63982019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6399
6400 [BZ# 24097]
6401 CVE-2019-6488
6402 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6403 Clear the upper 32 bits of RSI register.
6404 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6405 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6406 and tst-size_t-wcsnlen.
6407 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6408 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6409
c7c54f65
L
64102019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6411
6412 [BZ# 24097]
6413 CVE-2019-6488
6414 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6415 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6417 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6418 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6419
ee915088
L
64202019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6421
6422 [BZ# 24097]
6423 CVE-2019-6488
6424 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6426 * sysdeps/x86_64/strcmp.S: Likewise.
6427 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6428 tst-size_t-strncmp and tst-size_t-wcsncmp.
6429 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6430 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6431 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6432
82d0b4a4
L
64332019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6434
6435 [BZ# 24097]
6436 CVE-2019-6488
6437 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6438 RDX_LP for length. Clear the upper 32 bits of RDX register.
6439 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6440 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6441 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6442 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6443
ecd8b842
L
64442019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6445
6446 [BZ# 24097]
6447 CVE-2019-6488
6448 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6449 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6450 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6451 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6452
231c5676
L
64532019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 [BZ# 24097]
6456 CVE-2019-6488
6457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6458 length. Clear the upper 32 bits of RDX register.
6459 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6460 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6461 Likewise.
6462 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6463 Likewise.
6464 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6465 tst-size_t-wmemchr.
6466 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6467
b304fc20
L
64682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6469
6470 [BZ# 24097]
6471 CVE-2019-6488
6472 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6473 length. Clear the upper 32 bits of RDX register.
6474 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6475 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6476 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6477 tst-size_t-wmemcmp.
6478 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6479 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6480
97700a34
L
64812019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6482
6483 [BZ# 24097]
6484 CVE-2019-6488
6485 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6486 upper 32 bits of RDX register.
6487 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6488 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6489 tst-size_t-wmemchr.
6490 * sysdeps/x86_64/x32/test-size_t.h: New file.
6491 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6492 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6493
6ca53a24
FW
64942019-01-18 Florian Weimer <fweimer@redhat.com>
6495
6496 [BZ #24112]
6497 resolv: Do not send queries for non-host-names in nss_dns.
6498 * resolv/nss_dns/dns-host.c (check_name): New function.
6499 (_nss_dns_gethostbyname2_r): Use it.
6500 (_nss_dns_gethostbyname_r): Likewise.
6501 (_nss_dns_gethostbyname4_r): Likewise.
6502
5e30b8ef
FW
65032019-01-21 Florian Weimer <fweimer@redhat.com>
6504
6505 * resolv/inet_addr.c: Reformat to GNU style.
6506 (__inet_addr, __inet_aton): Update comment.
6507
71effcea
FW
65082019-01-18 Florian Weimer <fweimer@redhat.com>
6509
6510 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6511 ("malloc: Use current (C11-style) atomics for fastbin access").
6512 This commit introduces a substantial performance regression on
6513 POWER and Aarch64.
6514 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6515 (REMOVE_FB): Define.
6516 (_int_malloc): Use it and reindent.
6517 (_int_free): Use CAS loop with
6518 catomic_compare_and_exchange_val_rel.
6519 (malloc_consolidate): Use atomic_exchange_acq.
6520
6521
562f4362
L
65222019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6523
6524 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6525 -Wl,-z,now.
6526 (LDFLAGS-tst-minsigstksz-2): Likewise.
6527 (LDFLAGS-tst-minsigstksz-3): Likewise.
6528 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6529 (LDFLAGS-tst-minsigstksz-4): Likewise.
6530
80dfa298
TS
65312019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6532
6533 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6534 than "alternate".
6535
008b598e
PC
65362019-01-16 Paul A. Clarke <pc@us.ibm.com>
6537
6538 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6539
fbbc9a4e
ZW
65402019-01-16 Zack Weinberg <zackw@panix.com>
6541
6b5c8607
TS
6542 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6543 (xget_sigstack_location): New test support functions.
6544 * support/xsigstack.c: New file, implementing them.
6545 * support/tst-xsigstack.c: New test for them.
6546 * support/Makefile: Update.
fbbc9a4e 6547
6b5c8607
TS
6548 * signal/tst-minsigstksz-1.c
6549 * signal/tst-minsigstksz-2.c
6550 * signal/tst-minsigstksz-3.c
6551 * signal/tst-minsigstksz-3a.c
6552 * signal/tst-minsigstksz-4.c: New tests.
6553 * signal/Makefile: Run them.
fbbc9a4e 6554
5f1135e4
SP
65552019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6556
6557 * po/libc.pot: Regenerate.
6558
ecdacd34
TMQMF
65592019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6560
6561 * math/libm-test-fma.inc (fma_test_data): Set
6562 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6563
56054664
RA
65642019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6565
6566 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6567 (do_test): Changed __vector __int128_t to __vector unsigned int.
6568
1a153e47
LS
65692019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6570
6571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6572 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6573 stpcpy-avx2 and stpncpy-avx2.
6574 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6575 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6576 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6577 and __stpncpy_avx2.
6578 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6579 ifunc-strcpy.h}: rename header for a more generic name.
6580 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6581 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6582 AVX unaligned load is fast and vzeroupper is preferred.
6583 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6584 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6585 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6586 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6587 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6588 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6589
a1b02ae7
DL
65902019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6591
6592 * argp/argp-help.c: Fix typo in comment.
6593 * misc/sys/cdefs.h: Likewise.
6594 * posix/regexec.c (sift_states_iter_mb): Likewise.
6595 * socket/sockatmark.c: Likewise.
6596 * socket/sys/socket.h: Likewise.
6597 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6598 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6599 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6600 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6601 * sysdeps/unix/sockatmark.c: Likewise.
6602 * time/strptime_l.c: Likewise.
6603
5cbbf01e
TS
66042019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6605
6606 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6607 missing space after the cast of "_NL_CURRENT".
6608
0bc9bdf1
RA
66092019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6610
6611 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6612 ifdef to fix read of VSCR.
6613 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6614 tst-ucontext-ppc64-vscr.c to test list.
6615 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6616
5494af04
AH
66172019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6618
6619 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6620 fall-through.
6621
e17f63ff
JW
66222019-01-09 Jim Wilson <jimw@sifive.com>
6623
6624 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6625
02f440c1
WD
66262019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6627
6628 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6629 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6630 __memcpy_falkor for ares.
6631 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6632 Add new define.
6633 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6634 Add ares cpu.
6635
69da3c9e
L
66362019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6637
6638 [BZ #24066]
6639 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6640 4_FP_W_TYPEs are used for IEEE quad precision.
6641 * soft-fp/extendhftf2.c: Likewise.
6642 * soft-fp/extendsftf2.c: Likewise.
6643 * soft-fp/extendxftf2.c: Likewise.
6644 * soft-fp/trunctfdf2.c: Likewise.
6645 * soft-fp/trunctfhf2.c: Likewise.
6646 * soft-fp/trunctfsf2.c: Likewise.
6647 * soft-fp/trunctfxf2.c: Likewise.
6648 * sysdeps/alpha/ots_cvttx.c: Likewise.
6649 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6650 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6651 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6652 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6653 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6654 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6655 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6656 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6657 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6658 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6659 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6660 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6661 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6662 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6663 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6664 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6665 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6666
2ef42716
AJ
66672019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6668
6669 [BZ #24024]
6670 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6671 code with -fmath-errno.
6672 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6673 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6674 * string/test-strerror-errno.c: New file.
6675
7395f3a0
AJ
66762019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6677
6678 [BZ #24046]
6679 * localedata/locales/en_US (date_fmt): Add, set to
6680 "%a %d %b %Y %r %Z".
6681
010fe231
FW
66822019-01-07 Florian Weimer <fweimer@redhat.com>
6683
6684 [BZ #24063]
6685 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6686 instead of @var{errno}.
6687 (Parsing of Integers): Likewise.
6688 (Parsing of Floats): Likewise.
6689 * manual/filesys.texi (Working with Directory Trees): Likewise.
6690 (Temporary Files): Likewise.
6691 * manual/job.texi (Terminal Access Functions): Likewise.
6692 * manual/llio.texi (Synchronizing I/O): Likewise.
6693 * manual/math.texi (SVID Random): Likewise.
6694 * manual/message.texi (The catgets Functions): Likewise.
6695 (Translation with gettext): Likewise.
6696 (Locating gettext catalog): Likewise.
6697 (Charset conversion in gettext): Likewise.
6698 * manual/nss.texi (NSS Module Function Internals): Likewise.
6699 * manual/search.texi (Hash Search Function): Likewise.
6700 * manual/setjmp.texi (System V contexts): Likewise.
6701 * manual/time.texi (Sleeping): Likewise.
6702 * manual/users.texi (Lookup User): Likewise.
6703 (Lookup Group): Likewise.
6704
b79dc8d0
AZ
67052019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6706
6707 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6708 fix typo.
6709
890461fe 67102019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
6711
6712 [BZ #19444]
6713 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6714 __builtin_unreachable for default case in switch.
6715 (__ieee754_yn): Likewise.
6716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6717 (__ieee754_ynl): Likewise.
6718 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6719 (__ieee754_ynl): Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6721 (__ieee754_ynl): Likewise.
6722
8b18d418
SN
67232019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6724
6725 * manual/maint.texi: Use @{ and @}.
6726
4392898d
FW
67272019-01-04 Florian Weimer <fweimer@redhat.com>
6728
6729 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6730 function.
6731 (do_in_chroot_1): Call it.
6732 (run_chroot_tests):
6733 Improve error reporting in case it is not possible to create a
6734 collision for the PTY name required by the test.
6735
17cc27d5
AZ
67362019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6737
ce7eb0e9
AZ
6738 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6739 lll_wait_tid with timeout.
6740 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6741 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6742 futex_reltimed_wait_cancelable for cancelabla mode.
6743 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6744 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6745 macros.
6746 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6747 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6748 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6749 SYSCALL_CANCEL_NCS): New macro.
6750 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6751 (lll_timedwait_tid): Remove macro.
6752 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6753 Likewise.
6754 (lll_timedwait_tid): Likewise.
6755 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6756 Likewise.
6757 (lll_timedwait_tid): Likewise.
6758 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6759 Likewise.
6760 (lll_timedwait_tid): Likewise.
6761 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6762 Use INTERNAL_SYSCALL_CANCEL.
6763 * sysdeps/unix/sysv/linux/futex-internal.h
6764 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6765 instead of __pthread_{enable,disable}_asynccancel.
6766 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6767 (lll_futex_wait_cancel): New macro.
6768
0b13e255
AZ
6769 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6770 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6771
85c828a4
AZ
6772 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6773 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6774
d0d7f85f
AZ
6775 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6776 in backtrace analysis.
6777 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6778 side-effects.
6779 (tf_send): Likewise.
6780
17cc27d5
AZ
6781 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6782 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6783 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6784 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6785 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6786 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6787 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6788 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6789 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6790 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6791 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6792 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6793 Likewise.
6794 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6795 tst-cancel-wrappers.sh.
6796 (generated): Remove tst-cancel-wrappers.out.
6797 (tst-cancel-wrappers.out): Remove rule.
6798 * nptl/tst-cancel-wrappers.sh: Remove file.
6799
7d7af8f1
SN
68002019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6801
6802 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6803 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6804 Update.
6805
805334b2
AZ
68062019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6807
6808 [BZ #23640]
6809 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6810 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6811 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6812 close-on-exec reset for adddup2 file action.
6813 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6814
03992356
ZW
68152019-01-03 Zack Weinberg <zackw@panix.com>
6816
6817 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6818 parameter. Only use deprecated scanf when __USE_GNU is defined
6819 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6820 than 201103L, whichever is relevant for the language being compiled.
6821
6822 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6823 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6824 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6825 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6826 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6827
6828 * libio/iovsscanf.c
6829 * libio/fwscanf.c
6830 * libio/iovswscanf.c
6831 * libio/swscanf.c
6832 * libio/vscanf.c
6833 * libio/vwscanf.c
6834 * libio/wscanf.c
6835 * stdio-common/fscanf.c
6836 * stdio-common/scanf.c
6837 * stdio-common/vfscanf.c
6838 * stdio-common/vfwscanf.c
6839 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6840 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6841 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6842 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6843 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6844 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6845 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6846 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6847 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6848 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6849 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6850 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6851 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6852 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6853 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6854
6855 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6856 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6857 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6858 not sscanf.
6859 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6860 with a preprocessor macro.
6861
6862 * stdio-common/bug21.c, stdio-common/scanf14.c:
6863 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6864 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6865 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6866 to xscanf, xfscanf, xsscanf.
6867
6868 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6869 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6870 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6871 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6872 xfscanf, xsscanf.
6873 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6874 override feature selection macros or provide definitions of u_char etc.
6875 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6876 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6877 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6878 with -std=gnu89.
6879
8083afa5
AZ
68802019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6881
6f343c1f
AZ
6882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6883 bits/termios-misc.h.
6884 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6885 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6887 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6888 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6889 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6890
51f4beb0
AZ
6891 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6893 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6894 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6895 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6896 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6897 termios-misc.h.
6898 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6899 (sysdep_headers): Add termios-misc.h.
6900
f69c5cb2
AZ
6901 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6902 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6903 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6904
3aa4a07e
AZ
6905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6906 termios-tcflow.h.
6907 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6908 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6909 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6910 TCSAFLUSH): Move to termios-tcflow.h.
6911 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6912 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6913 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6914 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6915
22679ddf
AZ
6916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6917 termios-c_lflag.h.
6918 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6919 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6920 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6921 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6922 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6923 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6924 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6925 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6926 Likewise.
6927 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6928 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6930 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6931
72eb6ecc
AZ
6932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6933 termios-c_cflag.h.
6934 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6935 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6937 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6938 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6939 termios-c_cflag.h.
6940 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6941 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6942 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6944
9c5d0d02
AZ
6945 [BZ #23783]
6946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6947 termios-baud.h.
6948 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6949 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6950 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6951 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6952 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6953 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6954 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6955 __MAX_BAUD): Move to termios-baud.h.
6956 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6957 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6958 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6959 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6960 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6961
7b832018
AZ
6962 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6963 termios-c_oflag.h.
6964 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6965 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6966 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6967 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6968 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6969 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6970 termios-c_oflag.h.
6971 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6972 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6973 FFR1): Likewise.
6974 [USE_MISC] (XTABS): Likewise.
6975 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6976 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6977 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6978 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6979
3127003e
AZ
6980 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6981 termios-c_iflag.h.
6982 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6983 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6984 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6985 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6986 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6987 IUTF8): Move to termios-c_iflag.h.
6988 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6989 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6990 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6991 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6992
48c1dd96
AZ
6993 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6994 termios-cc.h.
6995 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6996 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6997 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6998 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6999 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7000 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7001 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7002 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7003 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7004 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7007
e5a50db3
AZ
7008 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7009 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7010 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7011 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7013 termios-struct.h.
7014 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7015 termios-struct.h.
7016 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7017 Likewise.
7018 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7019 Likewise.
7020 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7021 Likewise.
7022 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7023 Likewise.
7024 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7025 _HAVE_C_OSPEED): Define.
7026 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7027 _HAVE_C_OSPEED): Likewise.
7028 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7029 _HAVE_C_OSPEED): Likewise.
7030 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7031 (cfsetospeed): Check for define value instead of existence.
7032 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7033 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7034 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7035 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7036 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7037
8083afa5
AZ
7038 [BZ #17783]
7039 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7040 Define.
7041 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7042 (TIOCSER_TEMT): Likewise.
7043 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7044 (TEOCSER_TEMT): Likewise.
7045
4d7d7dc6
P
70462019-01-02 PanderMusubi <pander@users.sourceforge.net>
7047
7048 [BZ #24011]
7049 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7050
8e291a29
JM
70512019-01-02 Joseph Myers <joseph@codesourcery.com>
7052
7053 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7054
55137f7d
ST
70552019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7056
7057 * sysdeps/htl/pt-barrierattr-setpshared.c
7058 (pthread_barrierattr_setpshared): Add stub warning.
7059 * sysdeps/htl/pt-condattr-setpshared.c
7060 (pthread_condattr_setpshared): Likewise.
7061 * sysdeps/htl/pt-mutexattr-setpshared.c
7062 (pthread_mutexattr_setpshared): Likewise.
7063 * sysdeps/htl/pt-rwlockattr-setpshared.c
7064 (pthread_rwlockattr_setpshared): Likewise.
7065 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7066 (pthread_mutexattr_setpshared): Likewise.
7067
2ce09e01
JM
70682019-01-02 Joseph Myers <joseph@codesourcery.com>
7069
acb55dcb
JM
7070 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7071 constants to match with Linux 4.20.
7072
2ce09e01
JM
7073 * sysdeps/mips/mips32/libm-test-ulps: Update.
7074 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7075
fe20bb1d
AJ
70762019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7077
7078 [BZ #24034]
7079 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7080 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7081 than __typeof (...) for the a_ptr variable.
7082
2d9837c1
GG
70832019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7084
7085 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7086 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7087 * libio/Makefile (tests): Add tst-sprintf-ub and
7088 tst-sprintf-chk-ub.
7089 (CFLAGS-tst-sprintf-ub.c): New variable.
7090 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7091 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7092 destination buffer and check for overflows in fortified mode.
7093 * libio/libioP.h (PRINTF_CHK): New macro.
7094 * libio/tst-sprintf-chk-ub.c: New file.
7095 * libio/tst-sprintf-ub.c: Likewise.
7096
d5c6df0b 70972019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
7098
7099 [BZ #24018]
7100 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7101 failure.
7102
66081e38
FW
71032019-01-02 Florian Weimer <fweimer@redhat.com>
7104
7105 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7106
04277e02
JM
71072019-01-01 Joseph Myers <joseph@codesourcery.com>
7108
6ef3d225
JM
7109 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7110 macro.
7111
e3d4e292
JM
7112 * sysdeps/unix/sysv/linux/netpacket/packet.h
7113 (PACKET_IGNORE_OUTGOING): New macro.
7114
f4507797
JM
7115 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7116 macro.
7117
47ad5e1a
JM
7118 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7119 version to 4.20.
7120 (riscv_flush_icache): New syscall.
7121
7628a1b0
JM
7122 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7123 trailing whitespace removed.
7124 * scripts/config.guess: Update to version 2019-01-01.
7125 * scripts/config.sub: Update to version 2019-01-01.
7126 * scripts/move-if-change: Update from gnulib.
7127
c9123888
JM
7128 * NEWS: Update copyright dates.
7129 * catgets/gencat.c (print_version): Likewise.
7130 * csu/version.c (banner): Likewise.
7131 * debug/catchsegv.sh: Likewise.
7132 * debug/pcprofiledump.c (print_version): Likewise.
7133 * debug/xtrace.sh (do_version): Likewise.
7134 * elf/ldconfig.c (print_version): Likewise.
7135 * elf/ldd.bash.in: Likewise.
7136 * elf/pldd.c (print_version): Likewise.
7137 * elf/sotruss.sh: Likewise.
7138 * elf/sprof.c (print_version): Likewise.
7139 * iconv/iconv_prog.c (print_version): Likewise.
7140 * iconv/iconvconfig.c (print_version): Likewise.
7141 * locale/programs/locale.c (print_version): Likewise.
7142 * locale/programs/localedef.c (print_version): Likewise.
7143 * login/programs/pt_chown.c (print_version): Likewise.
7144 * malloc/memusage.sh (do_version): Likewise.
7145 * malloc/memusagestat.c (print_version): Likewise.
7146 * malloc/mtrace.pl: Likewise.
7147 * manual/libc.texinfo: Likewise.
7148 * nptl/version.c (banner): Likewise.
7149 * nscd/nscd.c (print_version): Likewise.
7150 * nss/getent.c (print_version): Likewise.
7151 * nss/makedb.c (print_version): Likewise.
7152 * posix/getconf.c (main): Likewise.
7153 * scripts/test-installation.pl: Likewise.
7154 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7155
04277e02
JM
7156 * All files with FSF copyright notices: Update copyright dates
7157 using scripts/update-copyrights.
7158 * locale/programs/charmap-kw.h: Regenerated.
7159 * locale/programs/locfile-kw.h: Likewise.
7160
e740e5b1
JM
71612018-12-31 Joseph Myers <joseph@codesourcery.com>
7162
7163 * timezone/zdump.c: Update from tzcode 2018i.
7164 * timezone/zic.c: Likewise.
7165
9b7f98b3
PE
71662018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7167
7168 regex: improve Gnulib port to AIX
7169 From the glibc point of view, this removes duplicate macro
7170 definitions and is obviously safe.
7171 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7172 * posix/regex_internal.h:
7173 (__attribute__, __attribute_warn_unused_result__):
7174 Remove; already defined elsewhere.
7175
b50dd3bc
FW
71762018-12-31 Florian Weimer <fw@deneb.enyo.de>
7177
7178 [BZ #24027]
7179 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7180 copying operation. (ncopies had the wrong type, resulting in an
7181 integer wraparound and too few elements being copied.)
7182
0b9c8490
L
71832018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7184
7185 [BZ #24022]
7186 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7187 <asm/syscalls.h> exists with __has_include__ before including it.
7188
01047fa6
JM
71892018-12-31 Joseph Myers <joseph@codesourcery.com>
7190
7191 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7192 version to 4.20.
7193
6b5c8607 71942018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
7195
7196 * hurd/lookup-retry: Include <unistd.h>.
7197 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7198 Release it on return. Handle "pid" magical lookup retry.
7199
989182c4
RL
72002018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7201
7202 [BZ #10496]
7203 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7204 (t_fmt_ampm): Likewise.
7205 * localedata/locales/aa_ER (t_fmt): Likewise.
7206 (t_fmt_ampm): Likewise.
7207 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7208 (t_fmt_ampm): Likewise.
7209 * localedata/locales/aa_ET (t_fmt): Likewise.
7210 (t_fmt_ampm): Likewise.
7211 * localedata/locales/am_ET (t_fmt): Likewise.
7212 (t_fmt_ampm): Likewise.
7213 * localedata/locales/byn_ER (t_fmt): Likewise.
7214 (t_fmt_ampm): Likewise.
7215 * localedata/locales/om_ET (t_fmt): Likewise.
7216 (t_fmt_ampm): Likewise.
7217 * localedata/locales/sid_ET (t_fmt): Likewise.
7218 (t_fmt_ampm): Likewise.
7219 * localedata/locales/so_DJ (t_fmt): Likewise.
7220 (t_fmt_ampm): Likewise.
7221 * localedata/locales/so_ET (t_fmt): Likewise.
7222 (t_fmt_ampm): Likewise.
7223 * localedata/locales/so_SO (t_fmt): Likewise.
7224 (t_fmt_ampm): Likewise.
7225 * localedata/locales/ti_ER (t_fmt): Likewise.
7226 (t_fmt_ampm): Likewise.
7227 * localedata/locales/ti_ET (t_fmt): Likewise.
7228 (t_fmt_ampm): Likewise.
7229 * localedata/locales/tig_ER (t_fmt): Likewise.
7230 (t_fmt_ampm): Likewise.
7231 * localedata/locales/wal_ET (t_fmt): Likewise.
7232 (t_fmt_ampm): Likewise.
7233
7234 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7235 * localedata/locales/ar_IN (t_fmt): Likewise.
7236 * localedata/locales/bhb_IN (t_fmt): Likewise.
7237 * localedata/locales/bho_IN (t_fmt): Likewise.
7238 * localedata/locales/bi_VU (t_fmt): Likewise.
7239 * localedata/locales/bn_BD (t_fmt): Likewise.
7240 * localedata/locales/bn_IN (t_fmt): Likewise.
7241 * localedata/locales/brx_IN (t_fmt): Likewise.
7242 * localedata/locales/doi_IN (t_fmt): Likewise.
7243 * localedata/locales/en_HK (t_fmt): Likewise.
7244 (t_fmt_ampm): Likewise.
7245 * localedata/locales/en_IN (t_fmt): Likewise.
7246 * localedata/locales/en_PH (t_fmt): Likewise.
7247 * localedata/locales/gu_IN (t_fmt): Likewise.
7248 * localedata/locales/hi_IN (t_fmt): Likewise.
7249 * localedata/locales/hif_FJ (t_fmt): Likewise.
7250 * localedata/locales/hne_IN (t_fmt): Likewise.
7251 * localedata/locales/kn_IN (t_fmt): Likewise.
7252 * localedata/locales/kok_IN (t_fmt): Likewise.
7253 * localedata/locales/ks_IN (t_fmt): Likewise.
7254 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7255 * localedata/locales/mag_IN (t_fmt): Likewise.
7256 * localedata/locales/mai_IN (t_fmt): Likewise.
7257 * localedata/locales/mjw_IN (t_fmt): Likewise.
7258 * localedata/locales/ml_IN (t_fmt): Likewise.
7259 * localedata/locales/mni_IN (t_fmt): Likewise.
7260 * localedata/locales/mr_IN (t_fmt): Likewise.
7261 * localedata/locales/ms_MY (t_fmt): Likewise.
7262 * localedata/locales/pa_IN (t_fmt): Likewise.
7263 * localedata/locales/raj_IN (t_fmt): Likewise.
7264 * localedata/locales/sa_IN (t_fmt): Likewise.
7265 * localedata/locales/sat_IN (t_fmt): Likewise.
7266 * localedata/locales/sd_IN (t_fmt): Likewise.
7267 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7268 * localedata/locales/tcy_IN (t_fmt): Likewise.
7269 * localedata/locales/the_NP (t_fmt): Likewise.
7270 * localedata/locales/to_TO (t_fmt): Likewise.
7271 * localedata/locales/ur_IN (t_fmt): Likewise.
7272
7273 * localedata/locales/hif_FJ (d_t_fmt): Set to
7274 "%A %d %b %Y %I:%M:%S %p".
7275 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7276
7277 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7278 * localedata/locales/ar_BH (t_fmt): Likewise.
7279 * localedata/locales/ar_DZ (t_fmt): Likewise.
7280 * localedata/locales/ar_EG (t_fmt): Likewise.
7281 * localedata/locales/ar_IQ (t_fmt): Likewise.
7282 * localedata/locales/ar_JO (t_fmt): Likewise.
7283 * localedata/locales/ar_KW (t_fmt): Likewise.
7284 * localedata/locales/ar_LB (t_fmt): Likewise.
7285 * localedata/locales/ar_LY (t_fmt): Likewise.
7286 * localedata/locales/ar_OM (t_fmt): Likewise.
7287 * localedata/locales/ar_QA (t_fmt): Likewise.
7288 * localedata/locales/ar_SD (t_fmt): Likewise.
7289 * localedata/locales/ar_SS (t_fmt): Likewise.
7290 * localedata/locales/ar_SY (t_fmt): Likewise.
7291 * localedata/locales/ar_TN (t_fmt): Likewise.
7292 * localedata/locales/ar_YE (t_fmt): Likewise.
7293
7294 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7295 (t_fmt_ampm): Likewise.
7296 * localedata/locales/gez_ET (t_fmt): Likewise.
7297 (t_fmt_ampm): Likewise.
7298
7299 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7300 (t_fmt_ampm): Likewise.
7301 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7302
7303 * localedata/locales/zh_HK (t_fmt):
7304 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7305
7306 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7307 because this locale does not use the 12-hour clock.
7308 (t_fmt): Set to "%Z %H:%M:%S".
7309 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7310
7311 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7312 because this locale does not use the 12-hour clock.
7313 (t_fmt): Set to "%H:%M:%S %Z".
7314 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7315
7316 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7317 because this locale does not use the 12-hour clock.
7318 (t_fmt): Set to "%T".
7319 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7320 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7321
7322 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7323 because this locale does not use the 12-hour clock.
7324 (t_fmt): Set to "%H:%M:%S %Z".
7325 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7326
7327 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7328 because this locale does not use the 12-hour clock.
7329 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7330 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7331
27841a7d
RL
73322018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7333
7334 [BZ #10496]
7335 [BZ #23724]
7336 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7337 (t_fmt_ampm): Likewise.
7338 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7339 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7340 (d_fmt): Set to "%-d.%-m.%y".
7341
0253580a
AZ
73422018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7343
7344 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7345 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7346 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7347 Likewise.
7348 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7349 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7350 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7351 function.
7352 * support/blob_repeat.c (check_mul_overflow_size_t,
7353 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7354
09104e5b
AJ
73552018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7356
7357 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7358
c0feb731
PE
73592018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7360
7361 regex: simplify Gnulib port
7362 This simplifies the code, by removing stuff intended for porting
7363 to Gnulib but no longer needed there.
7364 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7365 uses of libc_hidden_def, weak_alias.
7366 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7367 _Restrict_ except for public-facing headers.
7368 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7369 Remove; already defined elsewhere.
7370 * posix/regex.c, posix/regex_internal.h:
7371 Use __GNUC_PREREQ instead of rolling our own.
7372 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7373
5289f1f5
WD
73742018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7375
7376 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 7377 (memchr_strlen): New function.
5289f1f5 7378
ba4b8fab
L
73792018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7380
7381 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7382 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7383 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7384
9412979a
L
73852018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7386
7387 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7388
8700a785
L
73892018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7390
7391 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7392 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7393 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7394 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7395 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7396 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7397 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7398
57b3ff8e
JM
73992018-12-21 Joseph Myers <joseph@codesourcery.com>
7400
7401 [BZ #24023]
7402 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7403 PLT reference in libc.so.
7404 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7405 _Q_lltoq and _Q_qtod PLT references in libc.so.
7406
90d3320d
WD
74072018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7408
7409 * benchtests/bench-memchr.c: Cleanup defines.
7410 * benchtests/bench-memcmp.c: Likewise.
7411 * benchtests/bench-memset.c: Likewise.
7412 * benchtests/bench-memset-large.c: Likewise.
7413 * benchtests/bench-memset-walk.c: Likewise.
7414 * benchtests/bench-stpcpy.c: Likewise.
7415 * benchtests/bench-stpncpy.c: Likewise.
7416 * benchtests/bench-strcat.c: Likewise.
7417 * benchtests/bench-strchr.c: Likewise.
7418 * benchtests/bench-strcmp.c: Likewise.
7419 * benchtests/bench-strcpy.c: Likewise.
7420 * benchtests/bench-strcspn.c: Likewise.
7421 * benchtests/bench-string.h: Likewise.
7422 * benchtests/bench-strlen.c: Likewise.
7423 * benchtests/bench-strncat.c: Likewise.
7424 * benchtests/bench-strncmp.c: Likewise.
7425 * benchtests/bench-strncpy.c: Likewise.
7426 * benchtests/bench-strnlen.c: Likewise.
7427 * benchtests/bench-strpbrk.c: Likewise.
7428 * benchtests/bench-strrchr.c: Likewise.
7429 * benchtests/bench-strspn.c: Likewise.
7430
192963be
JM
74312018-12-21 Joseph Myers <joseph@codesourcery.com>
7432
5d025ea6
JM
7433 * stdlib/longlong.h: Update from GCC.
7434
192963be
JM
7435 [BZ #23993]
7436 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7437 * configure: Regenerated.
7438 * manual/install.texi (Tools for Compilation): Update minimum GCC
7439 version.
7440 * INSTALL: Regenerated.
7441
6b5c8607 74422018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
7443
7444 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7445
6b5c8607 74462018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
7447
7448 * malloc/malloc.c (mremap_chunk): Additional checks.
7449
5f72b005
MH
74502018-12-21 Mao Han <han_mao@c-sky.com>
7451
7452 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7453 * scripts/build-many-glibcs.py: Add C-SKY targets.
7454 * sysdeps/csky/Implies: New file.
7455 * sysdeps/csky/Makefile: Likewise.
7456 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7457 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7458 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7459 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7460 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7461 * sysdeps/csky/abiv2/memmove.S: Likewise.
7462 * sysdeps/csky/abiv2/memset.S: Likewise.
7463 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7464 * sysdeps/csky/abiv2/start.S: Likewise.
7465 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7466 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7467 * sysdeps/csky/abiv2/strlen.S: Likewise.
7468 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7469 * sysdeps/csky/abort-instr.h: Likewise.
7470 * sysdeps/csky/atomic-machine.h: Likewise.
7471 * sysdeps/csky/bits/endian.h: Likewise.
7472 * sysdeps/csky/bits/fenv.h: Likewise.
7473 * sysdeps/csky/bits/link.h: Likewise.
7474 * sysdeps/csky/bits/setjmp.h: Likewise.
7475 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7476 * sysdeps/csky/bsd-setjmp.S: Likewise.
7477 * sysdeps/csky/configure: Likewise.
7478 * sysdeps/csky/configure.ac: Likewise.
7479 * sysdeps/csky/dl-machine.h: Likewise.
7480 * sysdeps/csky/dl-procinfo.c: Likewise.
7481 * sysdeps/csky/dl-procinfo.h: Likewise.
7482 * sysdeps/csky/dl-sysdep.h: Likewise.
7483 * sysdeps/csky/dl-tls.h: Likewise.
7484 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7485 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7486 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7487 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7488 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7489 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7490 * sysdeps/csky/fpu/fegetround.c: Likewise.
7491 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7492 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7493 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7494 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7495 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7496 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7497 * sysdeps/csky/fpu/fesetround.c: Likewise.
7498 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7499 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7500 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7501 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7502 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7503 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7504 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7505 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7506 * sysdeps/csky/fpu_control.h: Likewise.
7507 * sysdeps/csky/gccframe.h: Likewise.
7508 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7509 * sysdeps/csky/ldsodefs.h: Likewise.
7510 * sysdeps/csky/libc-tls.c: Likewise.
7511 * sysdeps/csky/linkmap.h: Likewise.
7512 * sysdeps/csky/machine-gmon.h: Likewise.
7513 * sysdeps/csky/memusage.h: Likewise.
7514 * sysdeps/csky/nofpu/Implies: Likewise.
7515 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7516 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7517 * sysdeps/csky/nptl/Makefile: Likewise.
7518 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7519 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7520 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7521 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7522 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7523 * sysdeps/csky/nptl/tls.h: Likewise.
7524 * sysdeps/csky/preconfigure: Likewise.
7525 * sysdeps/csky/sfp-machine.h: Likewise.
7526 * sysdeps/csky/sotruss-lib.c: Likewise.
7527 * sysdeps/csky/stackinfo.h: Likewise.
7528 * sysdeps/csky/sysdep.h: Likewise.
7529 * sysdeps/csky/tininess.h: Likewise.
7530 * sysdeps/csky/tst-audit.h: Likewise.
7531 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7532 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7533 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7534 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7535 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7536 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7537 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7538 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7539 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7540 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7541 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7542 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7543 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7544 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7545 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7546 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7547 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7548 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7549 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7550 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7551 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7552 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7553 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7554 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7555 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7556 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7557 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7558 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7559 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7560 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7561 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7562 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7563 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7564 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7565 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7566 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7567 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7568 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7569 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7570 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7571 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7572 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7573 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7574 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7575
6b5c8607 75762018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
7577
7578 * include/time.h (__difftime64): Add.
7579 * time/difftime.c (subtract): convert to 64-bit time.
7580 * time/difftime.c (__difftime64): Add.
7581 * time/difftime.c (__difftime): Wrap around __difftime64.
7582
ab416931
L
75832018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7584
7585 * manual/examples/add.c: Remove redundant "if not".
7586 * manual/examples/argp-ex1.c: Likewise.
7587 * manual/examples/argp-ex2.c: Likewise.
7588 * manual/examples/argp-ex3.c: Likewise.
7589 * manual/examples/argp-ex4.c: Likewise.
7590 * manual/examples/atexit.c: Likewise.
7591 * manual/examples/db.c: Likewise.
7592 * manual/examples/dir.c: Likewise.
7593 * manual/examples/dir2.c: Likewise.
7594 * manual/examples/execinfo.c: Likewise.
7595 * manual/examples/filecli.c: Likewise.
7596 * manual/examples/filesrv.c: Likewise.
7597 * manual/examples/fmtmsgexpl.c: Likewise.
7598 * manual/examples/genpass.c: Likewise.
7599 * manual/examples/inetcli.c: Likewise.
7600 * manual/examples/inetsrv.c: Likewise.
7601 * manual/examples/isockad.c: Likewise.
7602 * manual/examples/longopt.c: Likewise.
7603 * manual/examples/memopen.c: Likewise.
7604 * manual/examples/memstrm.c: Likewise.
7605 * manual/examples/mkdirent.c: Likewise.
7606 * manual/examples/mkfsock.c: Likewise.
7607 * manual/examples/mkisock.c: Likewise.
7608 * manual/examples/mygetpass.c: Likewise.
7609 * manual/examples/pipe.c: Likewise.
7610 * manual/examples/popen.c: Likewise.
7611 * manual/examples/rprintf.c: Likewise.
7612 * manual/examples/search.c: Likewise.
7613 * manual/examples/select.c: Likewise.
7614 * manual/examples/setjmp.c: Likewise.
7615 * manual/examples/sigh1.c: Likewise.
7616 * manual/examples/sigusr.c: Likewise.
7617 * manual/examples/stpcpy.c: Likewise.
7618 * manual/examples/strdupa.c: Likewise.
7619 * manual/examples/strftim.c: Likewise.
7620 * manual/examples/subopt.c: Likewise.
7621 * manual/examples/swapcontext.c: Likewise.
7622 * manual/examples/termios.c: Likewise.
7623 * manual/examples/testopt.c: Likewise.
7624 * manual/examples/testpass.c: Likewise.
7625 * manual/examples/timeval_subtract.c: Likewise.
7626
515f463f
JM
76272018-12-19 Joseph Myers <joseph@codesourcery.com>
7628
da75c1b1
JM
7629 * sysdeps/x86/fpu/math_private.h: New file.
7630 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7631
515f463f
JM
7632 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7633 definition.
7634 (cosh): Likewise.
7635 (tanh): Likewise.
7636
1616d034
TMQMF
76372018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7638
7639 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7640 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7641 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7642 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7643 fields.
7644 (_dl_show_auxv): Give a special treatment to
7645 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7646 and AT_L3_CACHEGEOMETRY.
7647 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7648 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7649 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7650 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7651
61595e3d
AS
76522018-12-19 Andreas Schwab <schwab@suse.de>
7653
7654 * nscd/connections.c (check_use): Don't abort on invalid len.
7655
bbb7dc84
ST
76562018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7657
7658 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7659 values in the 64bit value cases.
7660
6b5c8607 76612018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 7662
c4c2836a
AA
7663 * include/time.h
7664 (__ctime64_r): Add.
7665 * time/ctime_r.c
7666 (__ctime64_r): Add.
7667 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7668
7755e504
AA
7669 * include/time.h
7670 (__ctime64): Add.
7671 * time/gmtime.c
7672 (__ctime64): Add.
7673 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7674
a1d346ce
AA
7675 * include/time.h
7676 (__gmtime64_r): Add.
7677 * time/gmtime.c
7678 (__gmtime64_r): Add.
7679 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7680
131db8b0
AA
7681 * include/time.h
7682 (__gmtime64): Add.
7683 * time/gmtime.c
7684 (__gmtime64): Add.
7685 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7686
64c2277d
AA
7687 * include/time.h
7688 (__localtime64_r): Add.
7689 * time/localtime.c
7690 (__localtime64_r): Add.
7691 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7692
56b98bf1
AZ
76932018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7694
64dd7a16
AZ
7695 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7696 kernel_sigction definition.
7697
8b1d5da5
AZ
7698 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7699
f9eabb19
AZ
7700 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7701
56b98bf1
AZ
7702 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7703 __syscall_rt_sigaction.
7704 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7705 (kernel_sigaction): Use Linux generic defintion.
7706 (STUB): Define.
7707 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7708 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7709 (__syscall_rt_sigaction): Remove implementation.
7710 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7711 hidden.
7712 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7713 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7714 INTERNAL_SYSCALL): Remove definitions.
7715 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7716 action and signal set size.
7717 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7719
43a45c2d
AZ
77202018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7721 James Clarke <jrtc27@jrtc27.com>
7722
dfa6216f 7723 [BZ #23967]
43a45c2d
AZ
7724 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7725 Define if SA_RESTORER is defined.
7726 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7727 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7728 already defined.
7729 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7730 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7731 definitions.
7732 (HAS_SA_RESTORER): Define.
7733 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7734 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7735 (HAS_SA_RESTORER): Define.
7736 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7737 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7738 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7739 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7740 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7741
646ce7e0
JM
77422018-12-18 Joseph Myers <joseph@codesourcery.com>
7743
7744 * sysdeps/unix/sysv/linux/kernel-features.h
7745 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7747 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7748 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7749 (__ASSUME_ST_INO_64_BIT): Likewise.
7750 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7751 <kernel-features.h>.
7752 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7753 Remove conditional code.
7754 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7755 <kernel-features.h>.
7756 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7757 Remove conditional code.
7758 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7759 <kernel-features.h>.
7760 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7761 Remove conditional code.
7762 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7763 <kernel-features.h>.
7764 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7765 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7766
80190d2b
SL
77672018-12-18 Stefan Liebler <stli@linux.ibm.com>
7768
7769 * sysdeps/s390/multiarch/ifunc-resolve.h
7770 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7771 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7772 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7773 Delete macro definition.
7774 (s390_libc_ifunc_init): Rename to
7775 s390_libc_ifunc_expr_stfle_init.
7776 * sysdeps/s390/bzero: Use
7777 s390_libc_ifunc_expr_stfle_init instead of
7778 s390_libc_ifunc_init.
7779 * sysdeps/s390/memcmp.c: Likewise.
7780 * sysdeps/s390/memcpy.c: Likewise.
7781 * sysdeps/s390/mempcpy.c: Likewise.
7782 * sysdeps/s390/memset.c: Likewise.
7783
12f0dcb8
SL
77842018-12-18 Stefan Liebler <stli@linux.ibm.com>
7785
7786 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7787 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7788
25654a8c
SL
77892018-12-18 Stefan Liebler <stli@linux.ibm.com>
7790
7791 * sysdeps/s390/multiarch/Makefile
7792 (sysdep_routines): Remove wmemcmp variants.
7793 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7794 * sysdeps/s390/multiarch/ifunc-impl-list.c
7795 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7796 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7797 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7798 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7799 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7800 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7801 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7802 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7803
d2a7436c
SL
78042018-12-18 Stefan Liebler <stli@linux.ibm.com>
7805
7806 * sysdeps/s390/multiarch/Makefile
7807 (sysdep_routines): Remove wmemset variants.
7808 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7809 * sysdeps/s390/multiarch/ifunc-impl-list.c
7810 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7811 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7812 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7813 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7814 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7815 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7816 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7817 * sysdeps/s390/ifunc-wmemset.h: New file.
7818
c62534ae
SL
78192018-12-18 Stefan Liebler <stli@linux.ibm.com>
7820
7821 * sysdeps/s390/multiarch/Makefile
7822 (sysdep_routines): Remove wmemchr variants.
7823 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7824 * sysdeps/s390/multiarch/ifunc-impl-list.c
7825 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7826 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7827 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7828 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7829 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7830 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7831 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7832 * sysdeps/s390/ifunc-wmemchr.h: New file.
7833
79b44cf6
SL
78342018-12-18 Stefan Liebler <stli@linux.ibm.com>
7835
7836 * sysdeps/s390/multiarch/Makefile
7837 (sysdep_routines): Remove wcscspn variants.
7838 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7839 * sysdeps/s390/multiarch/ifunc-impl-list.c
7840 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7841 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7842 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7843 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7844 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7845 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7846 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7847 * sysdeps/s390/ifunc-wcscspn.h: New file.
7848
8e87c1f6
SL
78492018-12-18 Stefan Liebler <stli@linux.ibm.com>
7850
7851 * sysdeps/s390/multiarch/Makefile
7852 (sysdep_routines): Remove wcspbrk variants.
7853 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7854 * sysdeps/s390/multiarch/ifunc-impl-list.c
7855 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7856 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7857 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7858 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7859 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7860 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7861 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7862 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7863
8507e831
SL
78642018-12-18 Stefan Liebler <stli@linux.ibm.com>
7865
7866 * sysdeps/s390/multiarch/Makefile
7867 (sysdep_routines): Remove wcsspn variants.
7868 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7869 * sysdeps/s390/multiarch/ifunc-impl-list.c
7870 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7871 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7872 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7873 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7874 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7875 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7876 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7877 * sysdeps/s390/ifunc-wcsspn.h: New file.
7878
4753713a
SL
78792018-12-18 Stefan Liebler <stli@linux.ibm.com>
7880
7881 * sysdeps/s390/multiarch/Makefile
7882 (sysdep_routines): Remove wcsrchr variants.
7883 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7884 * sysdeps/s390/multiarch/ifunc-impl-list.c
7885 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7886 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7887 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7888 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7889 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7890 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7891 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7892 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7893
c09c1b6f
SL
78942018-12-18 Stefan Liebler <stli@linux.ibm.com>
7895
7896 * sysdeps/s390/multiarch/Makefile
7897 (sysdep_routines): Remove wcschrnul variants.
7898 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7899 * sysdeps/s390/multiarch/ifunc-impl-list.c
7900 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7901 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7902 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7903 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7904 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7905 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7906 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7907 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7908
cf3ccc31
SL
79092018-12-18 Stefan Liebler <stli@linux.ibm.com>
7910
7911 * sysdeps/s390/multiarch/Makefile
7912 (sysdep_routines): Remove wcschr variants.
7913 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7914 * sysdeps/s390/multiarch/ifunc-impl-list.c
7915 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7916 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7917 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7918 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7919 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7920 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7921 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7922 * sysdeps/s390/ifunc-wcschr.h: New file.
7923
e9873e1d
SL
79242018-12-18 Stefan Liebler <stli@linux.ibm.com>
7925
7926 * sysdeps/s390/multiarch/Makefile
7927 (sysdep_routines): Remove wcsncmp variants.
7928 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7929 * sysdeps/s390/multiarch/ifunc-impl-list.c
7930 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7931 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7932 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7933 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7934 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7935 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7936 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7937 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7938
3459e23d
SL
79392018-12-18 Stefan Liebler <stli@linux.ibm.com>
7940
7941 * sysdeps/s390/multiarch/Makefile
7942 (sysdep_routines): Remove wcscmp variants.
7943 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7944 * sysdeps/s390/multiarch/ifunc-impl-list.c
7945 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7946 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7947 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7948 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7949 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7950 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7951 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7952 * sysdeps/s390/ifunc-wcscmp.h: New file.
7953
814a76e1
SL
79542018-12-18 Stefan Liebler <stli@linux.ibm.com>
7955
7956 * sysdeps/s390/multiarch/Makefile
7957 (sysdep_routines): Remove wcsncat variants.
7958 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7959 * sysdeps/s390/multiarch/ifunc-impl-list.c
7960 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7961 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7962 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7963 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7964 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7965 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7966 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7967 * sysdeps/s390/ifunc-wcsncat.h: New file.
7968
3389cae4
SL
79692018-12-18 Stefan Liebler <stli@linux.ibm.com>
7970
7971 * sysdeps/s390/multiarch/Makefile
7972 (sysdep_routines): Remove wcscat variants.
7973 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7974 * sysdeps/s390/multiarch/ifunc-impl-list.c
7975 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7976 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7977 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7978 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7979 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7980 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7981 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7982 * sysdeps/s390/ifunc-wcscat.h: New file.
7983
c3081bcb
SL
79842018-12-18 Stefan Liebler <stli@linux.ibm.com>
7985
7986 * sysdeps/s390/multiarch/Makefile
7987 (sysdep_routines): Remove wcpncpy variants.
7988 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7989 * sysdeps/s390/multiarch/ifunc-impl-list.c
7990 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7991 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7992 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7993 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7994 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7995 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7996 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7997 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7998
0966dd86
SL
79992018-12-18 Stefan Liebler <stli@linux.ibm.com>
8000
8001 * sysdeps/s390/multiarch/Makefile
8002 (sysdep_routines): Remove wcsncpy variants.
8003 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8004 * sysdeps/s390/multiarch/ifunc-impl-list.c
8005 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8006 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8007 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8008 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8009 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8010 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8011 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8012 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8013
0582e428
SL
80142018-12-18 Stefan Liebler <stli@linux.ibm.com>
8015
8016 * sysdeps/s390/multiarch/Makefile
8017 (sysdep_routines): Remove wcpcpy variants.
8018 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8019 * sysdeps/s390/multiarch/ifunc-impl-list.c
8020 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8021 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8022 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8023 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8024 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8025 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8026 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8027 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8028
804f2e5c
SL
80292018-12-18 Stefan Liebler <stli@linux.ibm.com>
8030
8031 * sysdeps/s390/multiarch/Makefile
8032 (sysdep_routines): Remove wcscpy variants.
8033 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8034 * sysdeps/s390/multiarch/ifunc-impl-list.c
8035 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8036 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8037 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8038 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8039 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8040 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8041 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8042 * sysdeps/s390/ifunc-wcscpy.h: New file.
8043
c7e7cd26
SL
80442018-12-18 Stefan Liebler <stli@linux.ibm.com>
8045
8046 * sysdeps/s390/multiarch/Makefile
8047 (sysdep_routines): Remove wcsnlen variants.
8048 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8049 * sysdeps/s390/multiarch/ifunc-impl-list.c
8050 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8051 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8052 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8053 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8054 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8055 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8056 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8057 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8058
2e02d0b7
SL
80592018-12-18 Stefan Liebler <stli@linux.ibm.com>
8060
8061 * sysdeps/s390/multiarch/Makefile
8062 (sysdep_routines): Remove wcslen variants.
8063 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8064 * sysdeps/s390/multiarch/ifunc-impl-list.c
8065 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8066 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8067 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8068 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8069 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8070 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8071 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8072 * sysdeps/s390/ifunc-wcslen.h: New file.
8073
89bfcbdf
SL
80742018-12-18 Stefan Liebler <stli@linux.ibm.com>
8075
8076 * sysdeps/s390/multiarch/Makefile
8077 (sysdep_routines): Remove memrchr variants.
8078 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8079 * sysdeps/s390/multiarch/ifunc-impl-list.c
8080 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8081 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8082 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8083 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8084 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8085 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8086 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8087 * sysdeps/s390/ifunc-memrchr.h: New file.
8088
196655ba
SL
80892018-12-18 Stefan Liebler <stli@linux.ibm.com>
8090
8091 * sysdeps/s390/multiarch/Makefile
8092 (sysdep_routines): Remove memccpy variants.
8093 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8094 * sysdeps/s390/multiarch/ifunc-impl-list.c
8095 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8096 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8097 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8098 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8099 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8100 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8101 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8102 * sysdeps/s390/ifunc-memccpy.h: New file.
8103
4c7b3cec
SL
81042018-12-18 Stefan Liebler <stli@linux.ibm.com>
8105
8106 * sysdeps/s390/multiarch/Makefile
8107 (sysdep_routines): Remove rawmemchr variants.
8108 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8109 * sysdeps/s390/multiarch/ifunc-impl-list.c
8110 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8111 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8112 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8113 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8114 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8115 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8116 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8117 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8118
581a051c
SL
81192018-12-18 Stefan Liebler <stli@linux.ibm.com>
8120
8121 * sysdeps/s390/multiarch/Makefile
8122 (sysdep_routines): Remove memchr variants.
8123 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8124 * sysdeps/s390/multiarch/ifunc-impl-list.c
8125 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8126 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8127 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8128 * sysdeps/s390/multiarch/memchr.c: Move to ...
8129 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8130 * sysdeps/s390/ifunc-memchr.h: New file.
8131 * sysdeps/s390/s390-64/memchr.S: Move to ...
8132 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8133 for 31/64bit and ifunc handling.
8134 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8135 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8136 * sysdeps/s390/s390-32/memchr.S: Likewise.
8137
5d2ec20a
SL
81382018-12-18 Stefan Liebler <stli@linux.ibm.com>
8139
8140 * sysdeps/s390/multiarch/Makefile
8141 (sysdep_routines): Remove strcspn variants.
8142 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8143 * sysdeps/s390/multiarch/ifunc-impl-list.c
8144 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8145 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8146 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8147 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8148 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8149 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8150 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8151 * sysdeps/s390/ifunc-strcspn.h: New file.
8152
572cca93
SL
81532018-12-18 Stefan Liebler <stli@linux.ibm.com>
8154
8155 * sysdeps/s390/multiarch/Makefile
8156 (sysdep_routines): Remove strpbrk variants.
8157 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8158 * sysdeps/s390/multiarch/ifunc-impl-list.c
8159 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8160 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8161 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8162 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8163 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8164 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8165 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8166 * sysdeps/s390/ifunc-strpbrk.h: New file.
8167
483fc569
SL
81682018-12-18 Stefan Liebler <stli@linux.ibm.com>
8169
8170 * sysdeps/s390/multiarch/Makefile
8171 (sysdep_routines): Remove strspn variants.
8172 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8173 * sysdeps/s390/multiarch/ifunc-impl-list.c
8174 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8175 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8176 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8177 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8178 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8179 * sysdeps/s390/multiarch/strspn.c: Move to ...
8180 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8181 * sysdeps/s390/ifunc-strspn.h: New file.
8182
26ea8760
SL
81832018-12-18 Stefan Liebler <stli@linux.ibm.com>
8184
8185 * sysdeps/s390/multiarch/Makefile
8186 (sysdep_routines): Remove strrchr variants.
8187 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8188 * sysdeps/s390/multiarch/ifunc-impl-list.c
8189 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8190 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8191 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8192 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8193 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8194 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8195 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8196 * sysdeps/s390/ifunc-strrchr.h: New file.
8197
a1361e65
SL
81982018-12-18 Stefan Liebler <stli@linux.ibm.com>
8199
8200 * sysdeps/s390/multiarch/Makefile
8201 (sysdep_routines): Remove strchrnul variants.
8202 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8203 * sysdeps/s390/multiarch/ifunc-impl-list.c
8204 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8205 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8206 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8207 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8208 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8209 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8210 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8211 * sysdeps/s390/ifunc-strchrnul.h: New file.
8212
32f12653
SL
82132018-12-18 Stefan Liebler <stli@linux.ibm.com>
8214
8215 * sysdeps/s390/multiarch/Makefile
8216 (sysdep_routines): Remove strchr variants.
8217 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8218 * sysdeps/s390/multiarch/ifunc-impl-list.c
8219 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8220 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8221 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8222 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8223 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8224 * sysdeps/s390/multiarch/strchr.c: Move to ...
8225 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8226 * sysdeps/s390/ifunc-strchr.h: New file.
8227
316b8842
SL
82282018-12-18 Stefan Liebler <stli@linux.ibm.com>
8229
8230 * sysdeps/s390/multiarch/Makefile
8231 (sysdep_routines): Remove strncmp variants.
8232 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8233 * sysdeps/s390/multiarch/ifunc-impl-list.c
8234 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8235 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8236 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8237 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8238 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8239 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8240 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8241 * sysdeps/s390/ifunc-strncmp.h: New file.
8242
cdab85fe
SL
82432018-12-18 Stefan Liebler <stli@linux.ibm.com>
8244
8245 * sysdeps/s390/multiarch/Makefile
8246 (sysdep_routines): Remove strcmp variants.
8247 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8248 * sysdeps/s390/multiarch/ifunc-impl-list.c
8249 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8250 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8251 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8252 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8253 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8254 * sysdeps/s390/ifunc-strcmp.h: New file.
8255 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8256 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8257 for 31/64bit and ifunc handling.
8258 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8259 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8260 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8261
b9353351
SL
82622018-12-18 Stefan Liebler <stli@linux.ibm.com>
8263
8264 * sysdeps/s390/multiarch/Makefile
8265 (sysdep_routines): Remove strncat variants.
8266 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8267 * sysdeps/s390/multiarch/ifunc-impl-list.c
8268 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8269 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8270 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8271 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8272 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8273 * sysdeps/s390/multiarch/strncat.c: Move to ...
8274 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8275 * sysdeps/s390/ifunc-strncat.h: New file.
8276
8e5a0afb
SL
82772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8278
8279 * sysdeps/s390/multiarch/Makefile
8280 (sysdep_routines): Remove strcat variants.
8281 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8282 * sysdeps/s390/multiarch/ifunc-impl-list.c
8283 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8284 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8285 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8286 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8287 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8288 * sysdeps/s390/multiarch/strcat.c: Move to ...
8289 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8290 * sysdeps/s390/ifunc-strcat.h: New file.
8291
25218822
SL
82922018-12-18 Stefan Liebler <stli@linux.ibm.com>
8293
8294 * sysdeps/s390/multiarch/Makefile
8295 (sysdep_routines): Remove stpncpy variants.
8296 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8297 * sysdeps/s390/multiarch/ifunc-impl-list.c
8298 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8299 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8300 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8301 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8302 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8303 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8304 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8305 * sysdeps/s390/ifunc-stpncpy.h: New file.
8306
d1bdbf38
SL
83072018-12-18 Stefan Liebler <stli@linux.ibm.com>
8308
8309 * sysdeps/s390/multiarch/Makefile
8310 (sysdep_routines): Remove strncpy variants.
8311 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8312 * sysdeps/s390/multiarch/ifunc-impl-list.c
8313 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8314 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8315 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8316 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8317 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8318 * sysdeps/s390/ifunc-strncpy.h: New file.
8319 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8320 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8321 and adjust ifunc handling.
8322 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8323 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8324 and adjust ifunc handling.
8325 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8326 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8327
97044931
SL
83282018-12-18 Stefan Liebler <stli@linux.ibm.com>
8329
8330 * sysdeps/s390/multiarch/Makefile
8331 (sysdep_routines): Remove stpcpy variants.
8332 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8333 * sysdeps/s390/multiarch/ifunc-impl-list.c
8334 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8335 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8336 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8337 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8338 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8339 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8340 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8341 * sysdeps/s390/ifunc-stpcpy.h: New file.
8342
914a4e05
SL
83432018-12-18 Stefan Liebler <stli@linux.ibm.com>
8344
8345 * sysdeps/s390/multiarch/Makefile
8346 (sysdep_routines): Remove strcpy variants.
8347 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8348 * sysdeps/s390/multiarch/ifunc-impl-list.c
8349 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8350 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8351 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8352 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8353 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8354 * sysdeps/s390/ifunc-strcpy.h: New file.
8355 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8356 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8357 for 31/64bit and ifunc handling.
8358 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8359 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8360 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8361
de10e44d
SL
83622018-12-18 Stefan Liebler <stli@linux.ibm.com>
8363
8364 * sysdeps/s390/multiarch/Makefile
8365 (sysdep_routines): Remove strnlen variants.
8366 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8367 * sysdeps/s390/multiarch/ifunc-impl-list.c
8368 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8369 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8370 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8371 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8372 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8373 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8374 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8375 * sysdeps/s390/ifunc-strnlen.h: New file.
8376
ff3ca374
SL
83772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8378
8379 * sysdeps/s390/multiarch/Makefile
8380 (sysdep_routines): Remove strlen variants.
8381 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8382 * sysdeps/s390/multiarch/ifunc-impl-list.c
8383 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8384 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8385 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8386 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8387 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8388 * sysdeps/s390/multiarch/strlen.c: Move to ...
8389 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8390 * sysdeps/s390/ifunc-strlen.h: New file.
8391
d2c4c403
SL
83922018-12-18 Stefan Liebler <stli@linux.ibm.com>
8393
8394 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8395 * sysdeps/s390/multiarch/ifunc-impl-list.c
8396 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8397 * sysdeps/s390/ifunc-memmem.h: New file.
8398 * sysdeps/s390/memmem.c: Likewise.
8399 * sysdeps/s390/memmem-c.c: Likewise.
8400 * sysdeps/s390/memmem-vx.c: Likewise.
8401
8c25dddd
SL
84022018-12-18 Stefan Liebler <stli@linux.ibm.com>
8403
8404 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8405 * sysdeps/s390/multiarch/ifunc-impl-list.c
8406 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8407 * sysdeps/s390/ifunc-strstr.h: New file.
8408 * sysdeps/s390/strstr.c: Likewise.
8409 * sysdeps/s390/strstr-c.c: Likewise.
8410 * sysdeps/s390/strstr-vx.c: Likewise.
8411
cdd927d9
SL
84122018-12-18 Stefan Liebler <stli@linux.ibm.com>
8413
8414 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8415 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8416 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8417 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8418 New defines.
8419 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8420 * sysdeps/s390/memmove-c.c: New file.
8421 * sysdeps/s390/memmove.c: Likewise.
8422 * sysdeps/s390/multiarch/ifunc-impl-list.c
8423 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8424
2ee1bc57
SL
84252018-12-18 Stefan Liebler <stli@linux.ibm.com>
8426
8427 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8428 * sysdeps/s390/configure.ac: Add check for z13 support.
8429 * sysdeps/s390/configure: Regenerated.
8430
d097d976
SL
84312018-12-18 Stefan Liebler <stli@linux.ibm.com>
8432
8433 * sysdeps/s390/memcopy.h: New file.
8434
e099aab0
SL
84352018-12-18 Stefan Liebler <stli@linux.ibm.com>
8436
8437 * sysdeps/s390/s390-32/bcopy.S: Remove.
8438 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8439
18eb862d
SL
84402018-12-18 Stefan Liebler <stli@linux.ibm.com>
8441
8442 * sysdeps/s390/ifunc-memcpy.h: New File.
8443 * sysdeps/s390/memcpy.S: Move to ...
8444 * sysdeps/s390/memcpy-z900.S ... here.
8445 Move implementations from memcpy-s390x.s to here.
8446 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8447 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8448 Remove memcpy/mempcpy variants.
8449 * sysdeps/s390/Makefile (sysdep_routines):
8450 Add memcpy/mempcpy variants.
8451 * sysdeps/s390/multiarch/ifunc-impl-list.c
8452 (__libc_ifunc_impl_list): Adjust ifunc variants for
8453 memcpy and mempcpy.
8454 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8455 to ...
8456 * sysdeps/s390/memcpy.c: ... here.
8457 Adjust ifunc variants for memcpy.
8458 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8459 * sysdeps/s390/mempcpy.c: ... here.
8460 Adjust ifunc variants for mempcpy.
8461 * sysdeps/s390/mempcpy.S: Delete file.
8462
df3eb8de
SL
84632018-12-18 Stefan Liebler <stli@linux.ibm.com>
8464
8465 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8466 * sysdeps/s390/memcpy.S: ... here.
8467 Adjust to be usable for 31/64bit.
8468 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8469 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8470 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8471 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8472 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8473 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8474 Adjust to be usable for 31/64bit.
8475 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8476 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8477 * sysdeps/s390/multiarch/memcpy.c: ... here.
8478 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8479
b7e024a8
SL
84802018-12-18 Stefan Liebler <stli@linux.ibm.com>
8481
8482 * sysdeps/s390/ifunc-memcmp.h: New File.
8483 * sysdeps/s390/memcmp.S: Move to ...
8484 * sysdeps/s390/memcmp-z900.S ... here.
8485 Move implementations from memcmp-s390x.s to here.
8486 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8487 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8488 Remove memcmp variants.
8489 * sysdeps/s390/Makefile (sysdep_routines):
8490 Add memcmp variants.
8491 * sysdeps/s390/multiarch/ifunc-impl-list.c
8492 (__libc_ifunc_impl_list): Adjust ifunc variants for
8493 memcmp.
8494 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8495 to ...
8496 * sysdeps/s390/memcmp.c: ... here.
8497 Adjust ifunc variants for memcmp.
8498
6c6b8c74
SL
84992018-12-18 Stefan Liebler <stli@linux.ibm.com>
8500
8501 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8502 * sysdeps/s390/memcmp.S: ... here.
8503 Adjust to be usable for 31/64bit.
8504 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8505 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8506 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8507 Remove memcmp.
8508 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8509 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8510 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8511 Adjust to be usable for 31/64bit.
8512 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8513 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8514 * sysdeps/s390/multiarch/memcmp.c: ... here.
8515 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8516
07be3928
SL
85172018-12-18 Stefan Liebler <stli@linux.ibm.com>
8518
8519 * sysdeps/s390/s390-32/bzero.S: Delete file.
8520 * sysdeps/s390/s390-64/bzero.S: Likewise.
8521 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8522 * sysdeps/s390/bzero.c: New file.
8523 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8524 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8525 * sysdeps/s390/multiarch/ifunc-impl-list.c
8526 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8527
712a254a
SL
85282018-12-18 Stefan Liebler <stli@linux.ibm.com>
8529
8530 * sysdeps/s390/ifunc-memset.h: New File.
8531 * sysdeps/s390/memset.S: Move to ...
8532 * sysdeps/s390/memset-z900.S ... here.
8533 Move implementations from memset-s390x.s to here.
8534 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8535 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8536 Remove memset variants.
8537 * sysdeps/s390/Makefile (sysdep_routines):
8538 Add memset variants.
8539 * sysdeps/s390/multiarch/ifunc-impl-list.c
8540 (__libc_ifunc_impl_list): Adjust ifunc variants for
8541 memset.
8542 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8543 to ...
8544 * sysdeps/s390/memset.c: ... here.
8545 Adjust ifunc variants for memset.
8546
5f1743d1
SL
85472018-12-18 Stefan Liebler <stli@linux.ibm.com>
8548
8549 * sysdeps/s390/s390-64/memset.S: Move to ...
8550 * sysdeps/s390/memset.S: ... here.
8551 Adjust to be usable for 31/64bit.
8552 * sysdeps/s390/s390-32/memset.S: Delete File.
8553 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8554 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8555 Remove memset.
8556 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8557 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8558 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8559 Adjust to be usable for 31/64bit.
8560 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8561 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8562 * sysdeps/s390/multiarch/memset.c: ... here.
8563 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8564
e8023f26
SL
85652018-12-18 Stefan Liebler <stli@linux.ibm.com>
8566
8567 * sysdeps/s390/multiarch/ifunc-resolve.h
8568 (s390_libc_ifunc_init, s390_libc_ifunc,
8569 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8570
b8686c0d
SL
85712018-12-18 Stefan Liebler <stli@linux.ibm.com>
8572
8573 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8574 * sysdeps/s390/configure.ac: Add check for z10 support.
8575 * sysdeps/s390/configure: Regenerated.
8576
cd815050
L
85772018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 * sysdeps/i386/atomic-machine.h: Merged with ...
8580 * sysdeps/x86_64/atomic-machine.h: To ...
8581 * sysdeps/x86/atomic-machine.h: This. New file.
8582
053c52b1
FW
85832018-12-18 Florian Weimer <fweimer@redhat.com>
8584
8585 Rewrite locale/gen-translit.pl in Python.
8586 * locale/Makefile (generated): Add C-translit.h.
8587 (before-compile): Add $(objpfx)C-translit.h.
8588 (C-translit.h): Move to $(objpfx). Create target directory.
8589 Build using Python script.
8590 * locale/gen-translit.py: New file.
8591 * locale/gen-translit.pl: Remove file.
8592 * locale/C-translit.h.in: Change comment character to '#' for
8593 easier parsing without a C preprocessor.
8594 * locale/C-translit.h: Remove generated file.
8595 * manual/install.texi (Tools for Compilation): Do not mention
8596 C-translit.h.
8597 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8598 Remove locale/C-translit.h.
8599 * scripts/update-copyrights: Likewise.
8600 * INSTALL: Regenerate.
8601
40e6c1ec
FW
86022018-12-18 Florian Weimer <fweimer@redhat.com>
8603
8604 [BZ #23995]
8605 * localedata/locales/bi_VU: Remove executable bit from file.
8606
6b5c8607 86072018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
8608
8609 * include/time.h
8610 (__localtime64): Add.
8611 * manual/maint.texi: Document Y2038 symbol handling.
8612 * time/localtime.c
8613 (__localtime64): Add.
bfb79db4 8614 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 8615
df648905
JM
86162018-12-17 Joseph Myers <joseph@codesourcery.com>
8617
551e81d9
JM
8618 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8619 Do not clobber r12.
8620
df648905
JM
8621 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8622 to allow extra macros from first or second sources.
8623 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8625 (tests-special): Add $(objpfx)tst-mman-consts.out.
8626 ($(objpfx)tst-mman-consts.out): New makefile target.
8627
6bbfc5c0
MH
86282018-12-17 Mao Han <han_mao@c-sky.com>
8629
8630 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8631 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8632 without stat64 system call support.
8633 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8634 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8635 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8636 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8637 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8638 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8639 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8640 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8641 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8642 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8643 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8644
ef202e53
PE
86452018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8646
8647 regex: fix storage-exhaustion error
8648 [BZ #18040]
8649 * posix/regexec.c (get_subexp):
8650 Do not continue if storage is exhausted.
8651
077caf61
AG
86522018-12-15 Assaf Gordon <assafgordon@gmail.com>
8653
8654 regex: fix heap-use-after-free error
8655 [BZ #18040]
8656 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8657 https://debbugs.gnu.org/32592
8658 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8659 call extend_buffers which reallocates the re_string_t internal buffer.
8660 Local variable 'buf' was not updated in such case, resulting in
8661 use-after-free.
8662 * posix/regexec.c (get_subexp): Update 'buf' after call to
8663 get_subexp_sub.
8664
0c1719e6
FW
86652018-12-15 Florian Weimer <fweimer@redhat.com>
8666
8667 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8668 (minimum_stride_size): Use it.
8669 (support_blob_repeat_allocate): Likewise.
8670
033a2c0a
JM
86712018-12-14 Joseph Myers <joseph@codesourcery.com>
8672
8673 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8674 definition.
8675 (acosh): Likewise.
8676 (atanh): Likewise.
8677
e361dc04
FW
86782018-12-14 Florian Weimer <fweimer@redhat.com>
8679
8680 * manual/process.texi (Process Creation Concepts): Remove
8681 documentation of process (ID) lifetime. List more process
8682 creation functions. Reference Process Identification section.
8683 (Process Identification): Add information about process ID
8684 lifetime. Describe Linux thread/task IDs.
8685 * manual/signal.texi (Signaling Another Process): Mention that the
8686 signal is always sent to the process.
8687
bd51ff5e
GG
86882018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8689
8690 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8691 and tst-ldbl-efgcvt.
8692 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8693 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8694 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8695 (fcvt_tests, output_error, output_r_error, do_test): Use the
8696 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8697 select the type of floating-point variables and arguments; to
8698 produce extra tests for double and conversion specifiers for
8699 printf; and to set the names of called functions.
8700 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8701 in tst-efgcvt-template.c.
8702 * misc/tst-ldbl-efgcvt.c: Likewise.
8703
268bb71e
SL
87042018-12-14 Stefan Liebler <stli@linux.ibm.com>
8705
8706 * nss/Makefile (tst-nss-test3.out): New rule.
8707
db6df070
JM
87082018-12-13 Joseph Myers <joseph@codesourcery.com>
8709
8710 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8711 clobber sp.
8712
ade8b817
CD
87132018-12-13 fanjinke <fanjinke@hygon.cn>
8714
8715 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8716 "HygonGenuine".
8717
3d265911
AS
87182018-12-13 Andreas Schwab <schwab@suse.de>
8719
f21e8f8c 8720 [BZ #23861]
3d265911 8721 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
8722 (__pthread_rwlock_rdlock_full): Update expected value for
8723 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8724 * nptl/tst-rwlock-pwn.c: New file.
8725 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 8726
bf8ae8c0
JM
87272018-12-12 Joseph Myers <joseph@codesourcery.com>
8728
8729 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8730 definition.
8731
de099757
LS
87322018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8733
8734 * benchtests/scripts/compare_bench.py (do_compare): write to
8735 stderr in casestat is not present.
8736 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8737 stderr in case timings field is not present. Also string showing
8738 the output filename goes into the stderr.
8739
1990185f
LS
87402018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8741
8742 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8743 and ZeroDivisorError exceptions.
8744 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8745 argument to loop through user provided statistics.
8746 * benchtests/scripts/compare_bench.py (main): Include the --stats
8747 argument.
8748
587426d4
LS
87492018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8750
8751 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8752 instead of return.
8753
46703efa
FW
87542018-12-12 Florian Weimer <fweimer@redhat.com>
8755
8756 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8757 clause to copyright header.
8758
1d880d4a
TMQMF
87592018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8760
8761 [BZ #23614]
8762 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8763 registers saved in the stack frame.
8764 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8765 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8766
1a502f52
GG
87672018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8768
8769 * include/bits/monetary-ldbl.h: New file.
8770 * include/bits/printf-ldbl.h: Likewise.
8771 * include/bits/stdio-ldbl.h: Likewise.
8772 * include/bits/stdlib-ldbl.h: Likewise.
8773 * include/bits/syslog-ldbl.h: Likewise.
8774 * include/bits/wchar-ldbl.h: Likewise.
8775
df682d1d
GG
87762018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8777
8778 * libio/libio.h: Remove redirection for _IO_vfprintf.
8779
c2c082c1
AS
87802018-12-11 Andreas Schwab <schwab@suse.de>
8781
8782 * Makerules: Remove all references to abilist-pattern.
8783 (update-all-abi): Simplify find expression.
8784
505b5b29
SN
87852018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8786
8787 [BZ #23961]
8788 * math/auto-libm-test-in: Add new test case.
8789 * math/auto-libm-test-out-pow: Regenerated.
8790 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8791
304c61a2
DD
87922018-12-10 DJ Delorie <dj@redhat.com>
8793
8794 [BZ #23948]
8795 * support/test-container.c: Move postclean step to before we
8796 change namespaces.
8797
a8110b72
JM
87982018-12-10 Joseph Myers <joseph@codesourcery.com>
8799
cb7be159
JM
8800 * scripts/gen-as-const.py (main): Handle --python option.
8801 * scripts/gen-py-const.awk: Remove.
8802 * Makerules (py-const-script): Use gen-as-const.py.
8803 ($(py-const)): Likewise.
8804 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8805 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8806 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8807 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8808 ~PTHREAD_MUTEX_NO_ELISION_NP.
8809 * manual/README.pretty-printers: Update reference to
8810 gen-py-const.awk.
8811
a8110b72
JM
8812 * scripts/glibcextract.py: New file.
8813 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8814 or tempfile. Import glibcexctract.
8815 (compute_c_consts): Remove. Moved to glibcextract.py.
8816 (gen_test): Update reference to compute_c_consts.
8817 (main): Likewise.
8818 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8819 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8820 * sysdeps/unix/sysv/linux/Makefile
8821 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8822 Redirect stderr as well as stdout.
8823
f9ba9eb8
RÁE
88242018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8825
8826 [BZ #19767]
8827 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
8828 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8829 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 8830 ALWAYS_USE_VSYSCALL.
b39d961c 8831 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
8832 ALWAYS_USE_VSYSCALL.
8833 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8834 ALWAYS_USE_VSYSCALL.
8835
8d20a2f4
FW
88362018-12-10 Florian Weimer <fweimer@redhat.com>
8837
8838 [BZ #23972]
8839 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8840 offset instead of count for clarity. Fix typo in comment.
8841 (__old_getdents64): Keep track of previous offset. Use it to call
8842 handle_overflow.
8843 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8844 that d_off is never zero.
8845
80472e2f
AS
88462018-12-10 Andreas Schwab <schwab@suse.de>
8847
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8849 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8851 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8852 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8853
0afcb29d
JM
88542018-12-10 Joseph Myers <joseph@codesourcery.com>
8855
8856 * timezone/private.h: Update from tzcode 2018g.
8857 * timezone/tzfile.h: Likewise.
8858 * timezone/tzselect.ksh: Likewise.
8859 * timezone/zdump.c: Likewise.
8860 * timezone/zic.c: Likewise.
8861
b93f4052
PP
88622018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8863
8864 [BZ #23490]
8865 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8866 (do_test): Adjust buffer size and fix format.
8867
7c9a7c68
DD
88682018-12-07 DJ Delorie <dj@redhat.com>
8869
8870 [BZ #23907]
8871 * malloc/tst-tcfree3.c: New.
8872 * malloc/Makefile: Add it.
8873
37caec3a
L
88742018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8875
8876 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8877
10446f5d
GG
88782018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8879
8880 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8881 used as a mask for the mode argument of __vfscanf_internal and
8882 __vfwscanf_internal.
8883 * stdio-common/vfscanf-internal.c
8884 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8885 (__strtof128_internal): Define to __wcstof128_internal.
8886 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8887 __strtof128_internal or __wcstof128_internal when the format of
8888 long double is the same as _Float128.
8889
45f33aac
ST
88902018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8891
8892 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8893 * posix/confstr.c (confstr): Rename to __confstr.
8894 (__confstr): Add hidden def.
8895 (confstr): Add weak alias for __confstr.
8896 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8897 confstr.
8898
a092ca94
L
88992018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 * NEWS: Mention getcpu.
8902 * include/sched.h (__getcpu): New libc_hidden_proto.
8903 * manual/resource.texi: Document getcpu.
8904 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8905 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8906 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8907 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8908 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8909 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8910 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8911 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8912 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8913 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8914 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8915 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8917 Likewise.
8918 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8919 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8920 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8922 Likewise.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8924 Likewise.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8926 Likewise.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8928 Likewise.
8929 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8930 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8931 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8932 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8933 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8934 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8935 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8936 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8937 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8938 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8939 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8940 Also check getcpu.
8941
7c857b6f
ST
89422018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8943
8944 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8945 functions.
8946 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8947
3a3fb755
FW
89482018-12-07 Florian Weimer <fweimer@redhat.com>
8949
8950 [BZ #17405]
8951 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8952 * posix/Versions (GLIBC_2.29): Export
8953 posix_spawn_file_actions_addfchdir_np.
8954 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8955 * posix/spawn_faction_destroy.c
8956 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8957 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8958 and the field action.fchdir_action.
8959 * posix/tst-spawn-chdir.c (add_chdir): New function.
8960 (do_test): Add do_fchdir loop. Call add_chdir.
8961 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8962 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8963 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8964 posix_spawn_file_actions_addfchdir_np.
8965 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8966 Likewise.
8967 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8968 Likewise.
8969 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8970 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8971 Likewise.
8972 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8973 Likewise.
8974 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8975 Likewise.
8976 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8977 Likewise.
8978 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8979 Likewise.
8980 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8981 Likewise.
8982 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8983 (GLIBC_2.29): Likewise.
8984 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8985 (GLIBC_2.29): Likewise.
8986 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8987 (GLIBC_2.29): Likewise.
8988 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8989 (GLIBC_2.29): Likewise.
8990 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8991 Likewise.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8993 (GLIBC_2.29): Likewise.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8995 (GLIBC_2.29): Likewise.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8997 (GLIBC_2.29): Likewise.
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8999 (GLIBC_2.29): Likewise.
9000 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9001 Likewise.
9002 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9003 Likewise.
9004 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9005 Likewise.
9006 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9007 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9008 Likewise.
9009 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9010 Likewise.
9011 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9012 Likewise.
9013 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9014 Likewise.
9015
c37cd439
JM
90162018-12-06 Joseph Myers <joseph@codesourcery.com>
9017
9018 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9019 trailing whitespace removed.
9020 * scripts/config.guess: Update to version 2018-11-28.
9021 * scripts/config.sub: Update to version 2018-11-28.
9022 * scripts/install-sh: Update to version 2018-03-11.20.
9023 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9024 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9025
899478c2
FW
90262018-12-07 Florian Weimer <fweimer@redhat.com>
9027
9028 [BZ #23927]
9029 CVE-2018-19591
9030 * inet/tst-if_index-long.c: New file.
9031 * inet/Makefile (tests): Add tst-if_index-long.
9032
f255336a
FW
90332018-12-07 Florian Weimer <fweimer@redhat.com>
9034
9035 * support/check.h (support_record_failure_is_failed): Declare.
9036 * support/descriptors.h: New file.
9037 * support/support_descriptors.c: Likewise.
9038 * support/tst-support_descriptors.c: Likewise.
9039 * support/support_record_failure.c
9040 (support_record_failure_is_failed): New function.
9041 * support/Makefile (libsupport-routines): Add support_descriptors.
9042 (tests): Add tst-support_descriptors.
9043
35caceb1
ZW
90442018-12-05 Zack Weinberg <zackw@panix.com>
9045 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9046
9047 * stdio-common/vfprintf-internal.c
9048 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9049 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9050 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9051 and __no_long_double.
9052 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9053 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9054 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9055 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9056 and __nldbl_*syslog* functions.
9057 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9058 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9059 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9060 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9061 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9062 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9063 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9064 (__nldbl_vwprintf, __nldbl_wprintf):
9065 Directly call the appropriate __v*printf_internal routine, passing
9066 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9067 variable names.
9068 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9069 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9070 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9071 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9072 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9073 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9074 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9075 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9076 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9077 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9078 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9079 (__nldbl_syslog, __nldbl_vsyslog):
9080 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9081 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9082 appropriate.
9083 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9084 appropriate.
9085
4e2f43f8
ZW
90862018-12-05 Zack Weinberg <zackw@panix.com>
9087 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9088
9089 [BZ #11319]
9090 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9091 Moved here from debug/vsprintf_chk.c.
9092 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9093 and completion logic for the strfile to match exactly what
9094 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9095 _IO_str_init_static_internal instead of maxlen-1.
9096 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9097 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9098 __vsprintf_internal.
9099
9100 * debug/vsprintf_chk.c (__vsprintf_chk)
9101 * debug/sprintf_chk.c (__sprintf_chk):
9102 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9103 'flags' argument is positive, and slen as maxlen. No need to lock
9104 the FILE and/or construct a temporary FILE. Minimize and normalize
9105 header inclusions and variable names. Do not libc_hidden_def anything.
9106
9107 * debug/asprintf_chk.c (__asprintf_chk)
9108 * debug/dprintf_chk.c (__dprintf_chk)
9109 * debug/fprintf_chk.c (__fprintf_chk)
9110 * debug/fwprintf_chk.c (__fwprintf_chk)
9111 * debug/printf_chk.c (__printf_chk)
9112 * debug/snprintf_chk.c (__snprintf_chk)
9113 * debug/swprintf_chk.c (__swprintf_chk)
9114 * debug/vasprintf_chk.c (__vasprintf_chk)
9115 * debug/vdprintf_chk.c (__vdprintf_chk)
9116 * debug/vfprintf_chk.c (__vfprintf_chk)
9117 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9118 * debug/vprintf_chk.c (__vprintf_chk)
9119 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9120 * debug/vswprintf_chk.c (__vswprintf_chk)
9121 * debug/vwprintf_chk.c (__vwprintf_chk)
9122 * debug/wprintf_chk.c (__wprintf_chk):
9123 Directly call the corresponding vxxprintf_internal function, passing
9124 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9125 the FILE and/or construct a temporary FILE. Minimize and normalize
9126 header inclusions and variable names. Do not libc_hidden_def anything.
9127
9128 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9129 __obstack_vprintf_internal.
9130 (__obstack_vprintf_chk): Convert into a wrapper that calls
9131 __obstack_vprintf_internal (these two functions already had the
9132 same code) and move to new file...
9133 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9134 file.
9135 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9136 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9137 * debug/Makefile (routines): Add vobprintf_chk.
9138
9139 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9140 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9141 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9142 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9143 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9144 (__nldbl___obstack_vfprintf_chk):
9145 Directly call the corresponding vxxprintf_internal function,
9146 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9147 duplicate comparison of slen with 0 or maxlen from the corresponding
9148 non-__nldbl function.
9149
9150 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9151 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9152 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9153 Remove libc_hidden_proto.
9154
9155 * stdio-common/vfprintf-internal.c
9156 (__vfprintf_internal, __vfwprintf_internal):
9157 Do not check _IO_FLAGS2_FORTIFY.
9158 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9159 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9160 a comment explaining why it has the maxlen argument.
9161 (_IO_acquire_lock_clear_flags2_fct): Remove.
9162 (_IO_acquire_lock_clear_flags2): Remove.
9163 (_IO_release_lock): Remove conditional statement which will
9164 now never execute.
9165 (_IO_acquire_lock): Remove variable which is now unused.
9166 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9167 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9168
9169 * stdio-common/Makefile (tests): Add tst-bz11319 and
9170 tst-bz11319-fortify2.
9171 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9172 * stdio-common/tst-bz11319-fortify2.c: New file.
9173 * stdio-common/tst-bz11319.c: Likewise.
9174
124fc732
ZW
91752018-12-05 Zack Weinberg <zackw@panix.com>
9176 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9177
9178 * misc/syslog.c: Include libioP.h, not iolibio.h.
9179 (__vsyslog_internal): New function with the former body of
9180 __vsyslog_chk; takes mode_flags argument same as
9181 __v*printf_internal. Call __vfprintf_internal directly.
9182
9183 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9184 Remove libc_hidden_def.
9185 (__syslog, __syslog_chk): Use __vsyslog_internal.
9186 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9187
9188 * include/sys/syslog.h: Add multiple inclusion guard.
9189 Add prototype for __vsyslog_internal.
9190 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9191
9192 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9193 Use __vsyslog_internal.
9194
698fb75b
ZW
91952018-12-05 Zack Weinberg <zackw@panix.com>
9196 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9197
9198 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9199 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9200 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9201 New functions.
9202 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9203 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9204
9205 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9206 Include wctype.h here if COMPILE_WPRINTF is defined.
9207 Define __vfprintf_internal or __vfwprintf_internal, depending
9208 on COMPILE_WPRINTF.
9209 Temporarily, on entry to this function, update mode_flags
9210 according to the environmental settings corresponding to
9211 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9212 Throughout, check mode_flags instead of __ldbl_is_dbl and
9213 _IO_FLAGS2_FORTIFY on the destination FILE.
9214 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9215 Include vfprintf-internal.c. Don't include wctype.h.
9216 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9217 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9218 and vfprintf.
9219 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9220 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9221 and vfwprintf.
9222 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9223
9224 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9225 and add mode_flags argument; use __vfprintf_internal.
9226 (__vdprintf): New function. Alias vdprintf to this.
9227 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9228 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9229 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9230 (__obstack_printf): Use __obstack_printf_internal.
9231 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9232 public aliases __vsnprintf and vsnprintf.
9233 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9234 called internally.
9235 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9236 public aliases _IO_vsprintf and vsprintf.
9237 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9238 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9239 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9240 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9241 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9242
9243 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9244 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9245 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9246 * stdio-common/printf.c: Use __vfprintf_internal.
9247
9248 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9249 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9250 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9251
9252 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9253 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9254 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9255 __vfwprintf_internal.
9256
9257 * libio/libio.h: Remove libc_hidden_proto and declaration for
9258 _IO_vfprintf.
9259 Remove declaration of _IO_vfwprintf.
9260 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9261 _IO_vsprintf.
9262 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9263 _IO_obstack_printf.
9264 * include/stdio.h: Add prototype for __vasprintf.
9265 (__vsnprintf): Remove declaration, because there are no more
9266 internal calls.
9267 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9268 declaration, because there are no more internal calls.
9269
9270 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9271 __vsnprintf_internal, instead of _IO_vsnprintf.
9272 * argp/argp-help.c (__argp_error, __argp_failure): Use
9273 __vasprintf_internal, instead of _IO_vasprintf.
9274 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9275 redefine, because there are no more internal calls.
9276
d91798b3
ZW
92772018-12-05 Zack Weinberg <zackw@panix.com>
9278 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9279
9280 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9281 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9282 Include libio/strfile.h instead of libioP.h.
9283 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9284 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9285 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9286 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9287 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9288 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9289 necessary. Do not set __no_long_double. Normalize variable names.
9290 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9291 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9292 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9293 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9294 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9295 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9296 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9297 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9298 Do not set __no_long_double. Normalize variable names.
9299
b87eb3f8
ZW
93002018-12-05 Zack Weinberg <zackw@panix.com>
9301 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9302
9303 * stdio-common/isoc99_scanf.c
9304 * stdio-common/isoc99_fscanf.c
9305 * stdio-common/isoc99_sscanf.c
9306 * stdio-common/isoc99_vscanf.c
9307 * stdio-common/isoc99_vfscanf.c
9308 * stdio-common/isoc99_vsscanf.c
9309 * wcsmbs/isoc99_wscanf.c
9310 * wcsmbs/isoc99_fwscanf.c
9311 * wcsmbs/isoc99_swscanf.c
9312 * wcsmbs/isoc99_vwscanf.c
9313 * wcsmbs/isoc99_vfwscanf.c
9314 * wcsmbs/isoc99_vswscanf.c:
9315 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9316 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9317 No need to lock and unlock the FILE passed to that function.
9318
9319 * stdio-common/vfscanf-internal.c
9320 (__vfscanf_internal, __vfwscanf_internal):
9321 Don't look at _IO_FLAGS2_SCANF_STD.
9322 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9323 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9324 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9325
349718d4
ZW
93262018-12-05 Zack Weinberg <zackw@panix.com>
9327 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9328
9329 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9330 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9331 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9332 * libio/strfile.h: Add multiple inclusion guard.
9333 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9334
9335 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9336 consistency with the other version of this file.
9337 (ldbl_compat_symbol): New macro.
9338 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9339 New macro.
9340
9341 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9342 Define __vfscanf_internal or __vfwscanf_internal, depending on
9343 COMPILE_WSCANF; don't define any other public symbols.
9344 Remove errval and code to set errp.
9345 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9346 as the mode_flags argument.
9347 (encode_error, conv_error, input_error): Don't set errval.
9348 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9349 Include vfscanf-internal.c.
9350 * stdio-common/vfscanf.c: New file defining the public entry
9351 point vfscanf, which calls __vfscanf_internal.
9352 * stdio-common/vfwscanf.c: New file defining the public entry
9353 point vfwscanf, which calls __vfwscanf_internal.
9354
9355 * stdio-common/iovfscanf.c: New file.
9356 * stdio-common/iovfwscanf.c: Likewise.
9357
9358 * stdio-common/Makefile (routines): Add vfscanf-internal,
9359 vfwscanf-internal, iovfscanf, iovfwscanf.
9360 * stdio-common/Versions: Mention GLIBC_2.29, so that
9361 it can be used in SHLIB_COMPAT expressions.
9362 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9363 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9364 Call __vfscanf_internal, instead of _IO_vfscanf.
9365 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9366 _IO_vfscanf.
9367 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9368 _IO_vfwscanf.
9369
9370 * libio/iovsscanf.c: Clean up includes, when possible. Use
9371 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9372 __vfscanf_internal or __vfwscanf_internal directly.
9373 * libio/iovswscanf.c: Likewise.
9374 * libio/swscanf.c: Likewise.
9375 * libio/vscanf.c: Likewise.
9376 * libio/vwscanf.c: Likewise.
9377 * libio/wscanf.c: Likewise.
9378 * stdio-common/isoc99_fscanf.c: Likewise.
9379 * stdio-common/isoc99_scanf.c: Likewise.
9380 * stdio-common/isoc99_sscanf.c: Likewise.
9381 * stdio-common/isoc99_vfscanf.c: Likewise.
9382 * stdio-common/isoc99_vscanf.c: Likewise.
9383 * stdio-common/isoc99_vsscanf.c: Likewise.
9384 * stdio-common/scanf.c: Likewise.
9385 * stdio-common/sscanf.c: Likewise.
9386 * wcsmbs/isoc99_fwscanf.c: Likewise.
9387 * wcsmbs/isoc99_swscanf.c: Likewise.
9388 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9389 * wcsmbs/isoc99_vswscanf.c: Likewise.
9390 * wcsmbs/isoc99_vwscanf.c: Likewise.
9391 * wcsmbs/isoc99_wscanf.c: Likewise.
9392
6b5c8607 93932018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
9394
9395 * include/time.h
9396 (__tz_compute): Replace time_t with __time64_t.
9397 (__tz_convert): Replace time_t* with __time64_t.
9398 (__offtime): Replace time_t* with __time64_t.
9399 * time/gmtime.c
9400 (__gmtime_r): Adjust call to __tz_convert.
9401 (gmtime): Likewise.
9402 * time/localtime.c
9403 (__localtime_r): Likewise.
9404 (localtime): Likewise.
9405 * time/offtime.c: Replace time_t with __time64_t.
9406 * time/tzset.c: Likewise.
9407
bd598da9
JM
94082018-12-04 Joseph Myers <joseph@codesourcery.com>
9409
9410 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9411 dynamic linker unless [$(run-built-tests) = yes].
9412
b2e93de0
DD
94132018-12-03 DJ Delorie <dj@delorie.com>
9414
9415 * support/test-container.c (check_for_unshare_hints): New.
9416 (main): Call it if unshare fails. Add support for "su" scriptlet
9417 command.
9418
477a02f6
JM
94192018-12-03 Joseph Myers <joseph@codesourcery.com>
9420
9421 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9422 'START' to indicate that start text should be output.
9423 (gen_test): Likewise.
9424 (main): Generate 'START' for first symbol or '--' line, or at end
9425 of input if not previously generated.
9426
6af956e5
RÁE
94272018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9428
9429 [BZ #19767]
9430 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9431 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9432 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9433 ALWAYS_USE_VSYSCALL.
9434
f5ec0ea9
AZ
94352018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9436
9437 [BZ #23913]
9438 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9439 new_argv by one.
9440
8cebd4ff
CD
94412018-12-03 Carlos O'Donell <carlos@redhat.com>
9442
9443 [BZ #23923]
9444 * locale/programs/localedef.c: Declare boolean hard_links default true.
9445 (options): Add --no-hard-links option.
9446 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9447 * locale/programs/localedef.h: Declare prototype for hard_links.
9448 * locale/programs/locfile.c (write_locale_data): Don't use hard
9449 links if hard_links is false.
9450
c22e4c2a
L
94512018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9452
9453 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9454 cpu_features_basic.
9455 (__cache_sysconf): Likewise.
9456 (init_cacheinfo): Likewise.
9457 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9458 populate COMMON_CPUID_INDEX_80000007 and
9459 COMMON_CPUID_INDEX_80000008.
9460 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9461 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9462 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9463 (init_cpu_features): Use _Static_assert on
9464 index_arch_Fast_Unaligned_Load.
9465 __get_cpuid_registers and __get_arch_feature. Updated for
9466 cpu_features_basic. Set stepping in cpu_features.
9467 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9468 (FEATURE_INDEX_2): New.
9469 (FEATURE_INDEX_MAX): Changed to enum.
9470 (COMMON_CPUID_INDEX_D_ECX_1): New.
9471 (COMMON_CPUID_INDEX_80000007): Likewise.
9472 (COMMON_CPUID_INDEX_80000008): Likewise.
9473 (cpuid_registers): Likewise.
9474 (cpu_features_basic): Likewise.
9475 (CPU_FEATURE_USABLE): Likewise.
9476 (bit_arch_XXX_Usable): Likewise.
9477 (cpu_features): Use cpuid_registers and cpu_features_basic.
9478 (bit_arch_XXX): Reweritten.
9479 (bit_cpu_XXX): Likewise.
9480 (index_cpu_XXX): Likewise.
9481 (reg_XXX): Likewise.
9482 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9483 <support/check.h>.
9484 (CHECK_CPU_FEATURE): New.
9485 (CHECK_CPU_FEATURE_USABLE): Likewise.
9486 (cpu_kinds): Likewise.
9487 (do_test): Print vendor, family, model and stepping. Check
9488 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9489 (TEST_FUNCTION): Removed.
9490 Include <support/test-driver.c> instead of
9491 "../../test-skeleton.c".
9492 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9493 Check POPCNT instead of POPCOUNT.
9494 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9495
7b36d26b
ST
94962018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9497
9498 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9499 there is no element in `consts'.
9500
02cd5c1a
FW
95012018-12-01 Florian Weimer <fweimer@redhat.com>
9502
9503 * support/support_capture_subprocess.c
9504 (support_capture_subprocess): Check that pipe descriptors have
9505 expected values. Close original pipe descriptors in subprocess.
9506
fc493bc9
ST
95072018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9508
9509 [BZ #23032]
9510 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9511 attr with __pthread_default_barrierattr.
9512 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9513 attr with __pthread_default_condattr.
9514 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9515 attr with __pthread_default_mutexattr.
9516 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9517 attr with __pthread_default_rwlockattr.
9518
6310e6be
KW
95192018-12-01 Kemi Wang <kemi.wang@intel.com>
9520
9521 * manual/tunables.texi (POSIX Thread Tunables): New node.
9522 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9523 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9524 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9525 __pthread_tunables_init.
9526 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9527 (max_adaptive_count): Define.
9528 * nptl/pthread_mutex_conf.c: New file.
9529 * nptl/pthread_mutex_conf.h: New file.
9530 * sysdeps/generic/adaptive_spin_count.h: New file.
9531 * sysdeps/nptl/dl-tunables.list: New file.
9532 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9533 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9534 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9535 Likewise.
9536
8e67b39e
PP
95372018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9538
9539 [BZ #20544]
9540 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9541 * stdlib/on_exit.c (__on_exit): Likewise.
9542 * stdlib/Makefile (tests): Add tst-bz20544.
9543 * stdlib/tst-bz20544.c: New test.
9544
15b8d67e
RÁE
95452018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9546
9547 [BZ #19767]
9548 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9549 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9550 New.
9551
5e63c240
FW
95522018-11-30 Florian Weimer <fweimer@redhat.com>
9553
9554 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9555 Extend error logging.
9556 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9557 symbol.
9558
71058602 95592018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 9560
5fb7fc96
AZ
9561 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9562 __sigismember instead of sigismember.
9563 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9564 cancel_handler): New definitions.
9565 (do_system): Use posix_spawn instead of fork and execl and remove
9566 reentracy code.
9567 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9568 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9569 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9570 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9571 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9572 * sysdeps/unix/sysv/linux/system.c: Likewise.
9573
14d0e87d
AZ
9574 [BZ #22834]
9575 [BZ #17490]
9576 * NEWS: Add new semantic for atfork with popen and system.
9577 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9578 fork and execl.
9579
e5d262ef
TMQMF
95802018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9581
9582 [BZ #23690]
9583 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9584 modification order when accessing reloc_result->addr.
9585 * include/link.h (reloc_result): Add field init.
9586 * nptl/Makefile (tests): Add tst-audit-threads.
9587 (modules-names): Add tst-audit-threads-mod1 and
9588 tst-audit-threads-mod2.
9589 Add rules to build tst-audit-threads.
9590 * nptl/tst-audit-threads-mod1.c: New file.
9591 * nptl/tst-audit-threads-mod2.c: Likewise.
9592 * nptl/tst-audit-threads.c: Likewise.
9593 * nptl/tst-audit-threads.h: Likewise.
9594
7e1d4240
JM
95952018-11-30 Joseph Myers <joseph@codesourcery.com>
9596
9597 * scripts/gen-as-const.py: New file.
9598 * scripts/gen-as-const.awk: Remove.
9599 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9600 gen-as-const.py.
9601 ($(objpfx)test-as-const-%.c): Likewise.
9602
ce7387cc
L
96032018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9604
9605 * elf/dl-exception.c: Include <_itoa.h>.
9606
c6a5bdc1
ST
96072018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9608
9609 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9610 returned by __f_setlk.
9611
a5275ba5
L
96122018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9613 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9614
9615 * elf/Makefile (tests-internal): Add tst-create_format1.
9616 * elf/dl-exception.c (_dl_exception_create_format): Support
9617 %x, %lx and %zx.
9618 * elf/tst-create_format1.c: New file.
9619
3a67e81d
CAC
96202018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9621
9622 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9623 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9624 gnulib.)
9625 * argp/argp-help.c (__argp_failure): Likewise.
9626
4975f0c3
MH
96272018-11-29 Mao Han <han_mao@c-sky.com>
9628
9629 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9630 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9631 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9632 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9633 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9634 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9635 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9636 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9637 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9638 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9639 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9640 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9641 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9642 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9643 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9644 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9645 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9646 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9647 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9648 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9649 (R_CKCORE_TLS_TPOFF32): New defines.
9650
250102c8
FW
96512018-11-29 Florian Weimer <fweimer@redhat.com>
9652
9653 * posix/Makefile (before-compile): Remove testcases.h and
9654 ptestcases.h.
9655 (generated): Add testcases.h and ptestcases.h.
9656 (testcases.h, ptestcases.h): Move to $(objpfx).
9657 (runtests.o): Add dependency on testcases.h.
9658 (runptests.o): Add dependency on ptestcases.h.
9659 * posix/testcases.h, posix/ptestcases.h: Remove files.
9660 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9661 not touch posix/testcases.h and posix/ptestcases.h.
9662
96cd0558
FW
96632018-11-28 Florian Weimer <fweimer@redhat.com>
9664
9665 support: Add signal support to support_capture_subprocess_check.
9666 * support/capture_subprocess.h (support_capture_subprocess_check):
9667 Adjust comment and rename parameter.
9668 * support/support_capture_subprocess_check.c
9669 (print_actual_status): New function.
9670 (support_capture_subprocess_check): Support negative
9671 status_or_signal. Call print_actual_status.
9672 * support/tst-support_capture_subprocess.c (do_test): Call
9673 support_capture_subprocess_check.
9674 * libio/tst-vtables-common.c (termination_status)
9675 (init_termination_status): Remove.
9676 (check_for_termination): Adjust support_capture_subprocess_check
9677 call.
9678 (do_test): Remove call to init_termination_status.
9679
530504e3
JM
96802018-11-28 Joseph Myers <joseph@codesourcery.com>
9681
9682 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9683 source directory instead of a copy.
9684 (CommandList.create_copy_dir): Remove.
9685
9a0b6970
SL
96862018-11-28 Stefan Liebler <stli@linux.ibm.com>
9687
9688 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9689
47d8d9a2
FW
96902018-11-28 Florian Weimer <fweimer@redhat.com>
9691
9692 * support/support.h (support_quote_string): Do not use str
9693 parameter name.
9694
b473b7d8
JM
96952018-11-27 Joseph Myers <joseph@codesourcery.com>
9696
9697 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9698 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9699
c74a91de
FW
97002018-11-27 Florian Weimer <fweimer@redhat.com>
9701
9702 * support/support.h (support_quote_string): Declare.
9703 * support/support_quote_string.c: New file.
9704 * support/tst-support_quote_string.c: Likewise.
9705 * support/Makefile (libsupport-routines): Add
9706 support_quote_string.
9707 (tests): Add tst-support_quote_string.
9708
d527c860
FW
97092018-11-27 Florian Weimer <fweimer@redhat.com>
9710
9711 [BZ #23927]
9712 CVE-2018-19591
9713 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9714 descriptor leak in case of ENODEV error.
9715
979cfed0
RÁE
97162018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9717
9718 [BZ #19767]
9719 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9720 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9722
ce035c6e
CD
97232018-11-26 Carlos O'Donell <carlos@redhat.com>
9724
9725 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9726 Error for unknown lines.
9727
2bd0bfcc
JM
97282018-11-26 Joseph Myers <joseph@codesourcery.com>
9729
9730 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9731 Touch additional files.
9732
affec03b
FW
97332018-11-26 Florian Weimer <fweimer@redhat.com>
9734
9735 [BZ #23907]
9736 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9737 double-frees.
9738
8ae74ead
RÁE
97392018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9740
9741 [BZ #19767]
9742 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9743 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9744 SHARED. Include sysdep.h.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9746 ALWAYS_USE_VSYSCALL.
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9748 ALWAYS_USE_VSYSCALL.
9749
1e8bdc3a
RÁE
97502018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9751
9752 [BZ #19767]
9753 * nptl/Makefile (tests-static): Add tst-cond11-static.
9754 (tests): Likewise.
9755 * nptl/tst-cond11-static.c: New File.
9756 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9757 tst-affinity-static.
9758 (tests): Likewise.
9759 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9760 instead of SHARED.
9761 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9762 (USE_VSYSCALL): Likewise.
9763 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9764 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9765 instead of SHARED.
9766 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9767 SHARED.
9768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9769 New.
9770
1283c478
JM
97712018-11-23 Joseph Myers <joseph@codesourcery.com>
9772
9773 [BZ #23915]
9774 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9775 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9776 Undefine.
9777
c089fd80
L
97782018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9779
9780 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9781 (tst-cet-legacy-1a-ARGS): New.
9782 ($(objpfx)tst-cet-legacy-1a): New target.
9783 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9784
cc6c89fa
JM
97852018-11-22 Joseph Myers <joseph@codesourcery.com>
9786
95edd05c
JM
9787 * conform/conformtest.py (CompileSubTest.__init__): Set
9788 self.run_early to False.
9789 (ExecuteSubTest.__init__): Likewise.
9790 (HeaderTests.run): Try running all non-optional, non-XFAILed
9791 compilation tests in a single execution of the compiler.
9792
cc6c89fa
JM
9793 * conform/conformtest.py (CompileSubTest): New class.
9794 (ExecuteSubTest): Likewise.
9795 (ElementTest.run): Rename to gen_subtests. Append tests to
9796 self.subtests instead of running them.
9797 (ConstantTest.run): Likewise.
9798 (SymbolTest.run): Likewise.
9799 (TypeTest.run): Likewise.
9800 (TagTest.run): Likewise.
9801 (FunctionTest.run): Likewise.
9802 (VariableTest.run): Likewise.
9803 (MacroFunctionTest.run): Likewise.
9804 (MacroStrTest.run): Likewise.
9805 (HeaderTests.handle_test_line): Generate subtests for tests.
9806 (HeaderTests.run): Run subtests for tests.
9807
a502c529
SN
98082018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9809
9810 * math/Versions (GLIBC_2.29): Add pow.
9811 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9812 symbol.
9813 * math/w_pow.c: New file.
9814 * sysdeps/i386/fpu/w_pow.c: New file.
9815 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9817 and add necessary aliases.
9818 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9819 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9820 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9821 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9822 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9823 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9824 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9825 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9826 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9827 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9828 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9829 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9830 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9831 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9832 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9837 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9838 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9839 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9840 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9841 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9842 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9843 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9844 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9845 __pow.
9846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9847 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9848 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9849
718d6542
SN
98502018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9851
9852 * math/Versions (GLIBC_2.29): Add log2.
9853 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9854 symbol.
9855 * math/w_log2.c: New file.
9856 * sysdeps/i386/fpu/w_log2.c: New file.
9857 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9858 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9859 and add necessary aliases.
9860 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9861 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9862 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9863 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9864 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9865 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9866 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9867 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9868 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9869 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9870 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9871 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9872 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9873 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9874 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9879 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9880 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9881 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9882 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9883 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9884 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9885 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9886
f29b7c49
SN
98872018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9888
9889 * math/Versions (GLIBC_2.29): Add log.
9890 * math/w_log_compat.c (__log_compat): Change to versioned compat
9891 symbol.
9892 * math/w_log.c: New file.
9893 * sysdeps/i386/fpu/w_log.c: New file.
9894 * sysdeps/ia64/fpu/e_log.S: Update.
9895 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9896 and add necessary aliases.
9897 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9898 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9899 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9900 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9901 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9902 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9903 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9904 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9905 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9906 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9907 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9908 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9909 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9910 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9911 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9916 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9917 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9918 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9919 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9920 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9921 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9922 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9923 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9924 __log.
9925 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9926 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9927 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9928 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9929
c20a1056
SN
99302018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9931
9932 * math/Versions (GLIBC_2.29): Add exp and exp2.
9933 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9934 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9935 * math/w_exp_compat.c (__exp_compat): Likewise.
9936 * math/w_exp.c: New file.
9937 * math/w_exp2.c: New file.
9938 * sysdeps/i386/fpu/w_exp.c: New file.
9939 * sysdeps/i386/fpu/w_exp2.c: New file.
9940 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9941 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9942 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9943 and add necessary aliases.
9944 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9945 and add necessary aliases.
9946 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9947 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9948 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9949 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9950 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9951 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9952 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9953 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9954 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9955 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9956 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9957 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9958 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9959 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9960 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9961 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9962 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9967 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9968 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9969 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9970 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9971 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9972 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9973 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9974 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9975 (__ieee754_exp): Rename to __exp.
9976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9977 (__ieee754_exp): Rename to __exp.
9978 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9979 (__ieee754_exp): Rename to __exp.
9980 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9981 __exp.
9982 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9983
bcdaad21
DD
99842018-11-20 DJ Delorie <dj@redhat.com>
9985
9986 * malloc/malloc.c (tcache_entry): Add key field.
9987 (tcache_put): Set it.
9988 (tcache_get): Likewise.
9989 (_int_free): Check for double free in tcache.
9990 * malloc/tst-tcfree1.c: New.
9991 * malloc/tst-tcfree2.c: New.
9992 * malloc/Makefile: Run the new tests.
9993 * manual/probes.texi: Document memory_tcache_double_free probe.
9994
9995 * dlfcn/dlerror.c (check_free): Prevent double frees.
9996
5770c0ad
WD
99972018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9998
9999 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10000
9a62a939
JM
100012018-11-20 Joseph Myers <joseph@codesourcery.com>
10002
10003 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10004 in tests. Use names for format arguments.
10005 (ConstantTest.run): Likewise.
10006 (SymbolTest.run): Likewise.
10007 (TypeTest.run): Likewise.
10008 (TagTest.run): Likewise.
10009 (FunctionTest.run): Likewise.
10010 (VariableTest.run): Likewise.
10011 (MacroFunctionTest.run): Likewise.
10012 (MacroStrTest.run): Likewise.
10013 (HeaderTests.__init__): Set self.num_tests.
10014 (HeaderTests.handle_test_line): Set test.num. Increment
10015 self.num_tests.
10016
b15b1a95
ST
100172018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10018
10019 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10020 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10021 SEEK_SET.
10022
0c7f97ae
MH
100232018-11-19 Mao Han <han_mao@c-sky.com>
10024
10025 * scripts/config.guess: Update to version 2018-08-29.
10026 * scripts/config.sub: Update to version 2018-08-29.
10027
35e3fbc4
FW
100282018-11-19 Florian Weimer <fweimer@redhat.com>
10029
10030 support: Print timestamps in timeout handler.
10031 * support/support_test_main.c (print_timestamp): New function.
10032 (signal_handler): Use it to print the termination time and the
10033 time of the last write to standard output.
10034
c75772e3
ZW
100352018-11-16 Zack Weinberg <zackw@panix.com>
10036 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10037
10038 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10039 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10040 argument.
10041 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10042 and add flags argument. Check flags instead of __ldbl_is_dbl when
10043 deciding whether to set is_long_double.
10044 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10045 passing zero for flags argument.
10046 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10047
10048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10049 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10050 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10051 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10052 variable names. Remove libc_hidden_def/libc_hidden_proto from
10053 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10054 longer called from within the library.
10055 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10056 for __nldbl___vstrfmon_l, declare it explicitly.
10057
10058 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10059
346ef23f
ST
100602018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10061
10062 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10063 macros
10064 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10065 F_SETLK64, F_SETLKW64, respectively.
10066 * sysdeps/mach/hurd/f_setlk.c: New file.
10067 * sysdeps/mach/hurd/f_setlk.h: New file.
10068 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10069 f_setlk.
10070 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10071 (__libc_fcntl): Move non-flock operations to...
10072 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10073 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10074
de20b81a
PE
100752018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10076
5d8af156
PE
10077 mktime: DEBUG_MKTIME cleanup
10078 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10079 And it’s no longer needed now that glibc and Gnulib both have
10080 their own testing mechanisms for mktime.
10081 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10082
86aece3b
PE
10083 mktime: fix non-EOVERFLOW errno handling
10084 [BZ#23789]
10085 mktime was not properly reporting failures when the underlying
10086 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10087 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10088 The problem could happen on non-glibc platforms, with Gnulib.
10089 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10090 (tm_diff): ... this simpler function, which does not change errno.
10091 All callers changed to deal with errno themselves.
10092 (ranged_convert, __mktime_internal): Return failure immediately if
10093 the underlying function reports any failure other than EOVERFLOW.
10094 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10095 gap code fails.
10096
f6b3331b
PE
10097 mktime: fix bug with Y2038 DST transition
10098 [BZ#23789]
10099 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10100 mishandle a DST transition that jumps over the Y2038 boundary.
10101 No such DST transitions are known so this is only a theoretical
10102 bug, but we might as well do things right.
10103
efbdddc3
PE
10104 mktime: make more room for overflow
10105 [BZ#23789]
10106 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10107 This is so that we can add tm_diff results to a previous guess,
10108 which will be useful in a later patch.
10109
6c90d759
PE
10110 mktime: simplify offset guess
10111 [BZ#23789]
10112 * time/mktime.c (__mktime_internal): Omit excess precision.
10113
32c12f3f
PE
10114 mktime: new test for mktime failure
10115 [BZ#23789]
10116 Based on a test suggested by Albert Aribaud in:
10117 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10118 * time/Makefile (tests): Add bug-mktime4.
10119 * time/bug-mktime4.c: New file.
10120
de20b81a
PE
10121 mktime: fix EOVERFLOW bug
10122 [BZ#23789]
10123 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10124 Include libc-config.h, not config.h, for __set_errno.
10125 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10126
8c6c3fb0
ST
101272018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10128
10129 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10130 __attribute_copy__ to copy attributes from name. Drop static qualifier
10131 to avoid warnings about leaf attribute not having effect on static
10132 functions.
10133
6923f6db
FW
101342018-11-13 Florian Weimer <fweimer@redhat.com>
10135
10136 * malloc/malloc.c (fastbin_push_entry): New function.
10137 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10138 (REMOVE_FB): Remove macro.
10139 (_int_malloc): Use fastbin_pop_entry and reindent.
10140 (_int_free): Use fastbin_push_entry.
10141 (malloc_consolidate): Use atomic_exchange_acquire.
10142
53f5c659
JM
101432018-11-13 Joseph Myers <joseph@codesourcery.com>
10144
0c096dcf
JM
10145 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10146 alias attribute, not with strong_alias.
10147
9c4b457e
JM
10148 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10149 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10150 with additional parameter thread.
10151 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10152 in terms of __hidden_ver2.
10153 (hidden_tls_def): New macro.
10154 (libc_hidden_tls_def): Likewise.
10155 (rtld_hidden_tls_def): Likewise.
10156 (libm_hidden_tls_def): Likewise.
10157 (libmvec_hidden_tls_def): Likewise.
10158 (libresolv_hidden_tls_def): Likewise.
10159 (librt_hidden_tls_def): Likewise.
10160 (libdl_hidden_tls_def): Likewise.
10161 (libnss_files_hidden_tls_def): Likewise.
10162 (libnsl_hidden_tls_def): Likewise.
10163 (libnss_nisplus_hidden_tls_def): Likewise.
10164 (libutil_hidden_tls_def): Likewise.
10165 (libutil_hidden_tls_def): Likweise.
10166 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10167 libc_hidden_tls_def.
10168 (__sim_disabled_exceptions_thread): Likewise.
10169 (__sim_round_mode_thread): Likewise.
10170
53f5c659
JM
10171 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10172 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10173 copy attributes from name.
10174
092dfde6
JM
101752018-11-12 Joseph Myers <joseph@codesourcery.com>
10176
f578f97b
JM
10177 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10178 Use __attribute_copy__ to copy attributes from name.
10179
9a7c643a
JM
10180 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10181 with __hidden_ver1 call.
10182 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10183 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10184 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10185 (__cosf): Do not declare here.
10186 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10187 (__sincosf): Do not declare here.
10188 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10189 (__sinf): Do not declare here.
10190
092dfde6
JM
10191 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10192 (__BIG_ENDIAN): Likewise.
10193 (__BYTE_ORDER): Likewise.
10194 (strong_alias): Likewise.
10195 (_strong_alias): Likewise.
10196
1ecba1fa
FW
101972018-11-12 Florian Weimer <fweimer@redhat.com>
10198
10199 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10200 function. Move after the definition of in_smallbin_range. Do not
10201 use __builtin_expect for paths that lead to a noreturn function.
10202 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10203 because it is unclear whether this is in fact an unlikely
10204 condition.
10205 (_int_malloc, _int_free): Adjust.
10206 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10207 variables.
10208 * malloc/arena.c (heap_trim): Likewise.
10209
434c34bd
ST
102102018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10211
10212 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10213 it, free it if needed.
10214 (reauthenticate): Test and use ccwdir.
10215 (child_init_port): In non-resetids case, test and use ccwdir.
10216 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
10217 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10218 * hurd/hurd/port.h (_hurd_port_move): New function.
10219 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10220 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
10221 * hurd/Versions (_hurd_port_move): Export function.
10222 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10223 symbol.
58bb655a
ST
10224 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10225 of dtablesize for allocating dtable_cloexec.
434c34bd 10226
1626a1cf
MS
102272018-11-09 Martin Sebor <msebor@redhat.com>
10228
10229 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10230 it's already defined.
10231 (_strong_alias): Use __attribute_copy__.
10232 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10233 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10234 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10235 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10236 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10237 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10238 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10239 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10240 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10241 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10242 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10243 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10244 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10245 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10246 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10247 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10248 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10249 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10250 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10251
968ed530
GG
102522018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10253
10254 * misc/tst-efgcvt.c: Include support/check.h and
10255 support/test-driver.c. Do not include test-skeleton.c.
10256 (error_count): Remove.
10257 (output_error): Replace increments to error_count with calls to
10258 support_record_failure.
10259 (output_r_error): Likewise.
10260 (special): Likewise.
10261 (do_test): Unconditionally return zero.
10262 (TEST_FUNCTION): Remove.
10263
c3ec0972
JM
102642018-11-09 Joseph Myers <joseph@codesourcery.com>
10265
91faaa93
JM
10266 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10267 not $(@D)/scratch.
10268 ($(linknamespace-header-tests)): Likewise.
10269
c3ec0972
JM
10270 * conform/conformtest.py: New file.
10271 * conform/conformtest.pl: Remove.
10272 * conform/GlibcConform.pm: Likewise.
10273 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10274 (KEYWORDS_C99): Likewise.
10275 (KEYWORDS): Likewise.
10276 * conform/Makefile ($(conformtest-header-tests)): Use
10277 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10278 option. Use --header instead of --headers.
10279 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10280 function entries.
10281 * conform/data/spawn.h-data: Likewise.
10282 * conform/data/fcntl.h-data (openat): Add space after function
10283 name.
10284 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10285 (wcscasecmp_l): Likewise.
10286 * conform/data/termios.h-data (c_cc): Add space after element
10287 name.
10288
43257c33
GG
102892018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10290
10291 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10292 instead of manually comparing and reporting mismatching strings.
10293 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10294 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10295
e5de3b5b
JM
102962018-11-08 Joseph Myers <joseph@codesourcery.com>
10297
10298 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10299 __ASSUME_SOCKETCALL.
10300 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10301 (__ASSUME_SOCKETCALL): Remove.
10302 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10303 (__ASSUME_SOCKETCALL): Likewise.
10304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10305 (__ASSUME_SOCKETCALL): Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10307 (__ASSUME_SOCKETCALL): Likewise.
10308 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10309 (__ASSUME_SOCKETCALL): Likewise.
10310 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10311 (__ASSUME_SOCKETCALL): Likewise.
10312 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10313 (__ASSUME_SOCKETCALL): Likewise.
10314
d524fa6c
L
103152018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10316
10317 [BZ #23509]
10318 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10319 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10320 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10321 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10322 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10323 lc_unknown.
10324
ac806026
AH
103252018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10326
10327 [BZ #17630]
10328 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10329
596cc360
JM
103302018-11-07 Joseph Myers <joseph@codesourcery.com>
10331
10332 [BZ #23867]
10333 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10334 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10335 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10336 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10337
00c86a37
AZ
103382018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10339
10340 * support/support_test_compare_string.c
10341 (support_test_compare_string): Fix printf format.
10342
1df872fd
FW
103432018-11-07 Florian Weimer <fweimer@redhat.com>
10344
10345 Implement TEST_COMPARE_STRING.
10346 * support/check.h (TEST_COMPARE_STRING): Define.
10347 (support_test_compare_string): Declare.
10348 * support/Makefile (libsupport-routines): Add
10349 support_test_compare_string.
10350 (tests): Add tst-test_compare_string.
10351 * support/support_test_compare_string.c: New file.
10352 * support/tst-test_compare_string.c: Likewise.
10353
295132ff
AS
103542018-11-07 Andreas Schwab <schwab@suse.de>
10355
10356 [BZ #23864]
10357 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10358 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10359 Undef.
10360
e143ceba
JM
103612018-11-06 Joseph Myers <joseph@codesourcery.com>
10362
10363 [BZ #23862]
10364 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10365 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10366 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10367 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10368 Likewise.
10369
4a938cb2
FW
103702018-11-06 Florian Weimer <fweimer@redhat.com>
10371
10372 [BZ #17405]
10373 * posix/Makefile (routines): Add spawn_faction_addchdir.
10374 (tests): Add tst-spawn-chdir.
10375 * posix/Versions (GLIBC_2.29): Add
10376 posix_spawn_file_actions_addchdir_np.
10377 * posix/spawn_faction_addchdir.c: New file.
10378 * posix/spawn_faction_destroy.c
10379 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10380 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10381 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10382 chdir_action.
10383 * posix/tst-spawn-chdir.c: New file.
10384 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10385 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10386 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10387 posix_spawn_file_actions_addchdir_np.
10388 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10389 Likewise.
10390 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10391 Likewise.
10392 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10393 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10394 Likewise.
10395 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10396 Likewise.
10397 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10398 Likewise.
10399 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10400 Likewise.
10401 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10402 Likewise.
10403 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10404 Likewise.
10405 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10406 (GLIBC_2.29): Likewise.
10407 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10408 (GLIBC_2.29): Likewise.
10409 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10410 (GLIBC_2.29): Likewise.
10411 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10412 (GLIBC_2.29): Likewise.
10413 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10414 Likewise.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10416 (GLIBC_2.29): Likewise.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10418 (GLIBC_2.29): Likewise.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10420 (GLIBC_2.29): Likewise.
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10422 (GLIBC_2.29): Likewise.
10423 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10424 Likewise.
10425 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10426 Likewise.
10427 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10428 Likewise.
10429 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10430 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10431 Likewise.
10432 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10433 Likewise.
10434 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10435 Likewise.
10436 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10437 Likewise.
10438
7597b0c7
GG
104392018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10440
10441 * misc/Makefile (tests): Add tst-ldbl-error.
10442 * misc/tst-ldbl-error.c: New file.
10443
9771e6cb
GG
104442018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10445
10446 * misc/Makefile (tests): Add tst-ldbl-warn.
10447 * misc/tst-ldbl-warn.c: New file.
10448
2c03961f
GG
104492018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10450
10451 * argp/Makefile (tests): Add tst-ldbl-argp.
10452 * argp/tst-ldbl-argp.c: New file.
10453
6d6ee046
AS
104542018-11-05 Arjun Shankar <arjun@redhat.com>
10455
10456 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10457 __gconv_path_elem and call __gconv_get_path unconditionally.
10458
bd3b0fba
AS
104592018-11-05 Andreas Schwab <schwab@suse.de>
10460
10461 [BZ #22927]
10462 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10463 creating the first helper thread failed.
10464
2e96e980
ST
104652018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10466
10467 * sysdeps/mach/hurd/msync.c: New file.
10468
6e36266c
FW
104692018-11-02 Florian Weimer <fweimer@redhat.com>
10470
10471 * support/shell-container.c (copy_func): Call
10472 support_copy_file_range instead of copy_file_range to support
10473 cross-device copies.
10474
599f7bee
FW
104752018-11-02 Florian Weimer <fweimer@redhat.com>
10476
10477 * support/test-container.c: Include <libc-pointer-arith.h> for
10478 ALIGN_UP.
10479
ff48ea67
ZL
104802018-11-01 Zong Li <zong@andestech.com>
10481
af1d5782
ZL
10482 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10483 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10484 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10485 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10486
ff48ea67
ZL
10487 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10488 variable to avoid overlap arguments.
10489
daea71c2
JM
104902018-11-01 Joseph Myers <joseph@codesourcery.com>
10491
eac4405a
JM
10492 * posix/bug-regex22.c (main): Use puts with distinct error
10493 messages for unexpected success of re_compile_pattern, not printf
10494 with NULL argument to %s.
10495
6f30e59f
JM
10496 * stdio-common/bug22.c: Include <libc-diag.h>.
10497 (do_test): Disable -Wformat-overflow= warnings around fprintf
10498 calls outputting more than INT_MAX characters.
10499 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10500 around printf call with NULL %s argument.
10501
daea71c2
JM
10502 [BZ #23848]
10503 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10504 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10505 Undefine.
10506 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10507 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10508 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10509 (__ASSUME_SENDTO_SYSCALL): Likewise.
10510 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10511 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10512 [!__arch64__].
10513 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10514 (__ASSUME_CONNECT_SYSCALL): Likewise.
10515 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10516 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10517 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10518 Define.
10519 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10520 Likewise.
10521 [__LINUX_KERNEL_VERSION >= 0x040400]
10522 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10523 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10524 Remove.
10525 (listen): Likewise.
10526 (setsockopt): Likewise.
10527
8e3c00db
FN
105282018-11-01 Fredrik Noring <noring@nocrew.org>
10529
10530 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10531 with the ISA override.
10532
9c3dbdbe
RAE
105332018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
10534
10535 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10536 #endif.
10537
e3a88b3e
ST
105382018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10539
a67377e7 10540 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 10541 translate the error message.
a67377e7
ST
10542 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10543 printing trailing whitespaces refused by git.
10544 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10545 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 10546 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 10547
3ca235ed
JM
105482018-10-30 Joseph Myers <joseph@codesourcery.com>
10549
10550 * conform/linknamespace.py: New file.
10551 * conform/linknamespace.pl: Remove file.
10552 * conform/Makefile ($(linknamespace-header-tests)): Use
10553 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10554 option.
10555
60708030
FW
105562018-10-30 Florian Weimer <fweimer@redhat.com>
10557
10558 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10559 memory leaks.
10560
a91e9301
FW
105612018-10-30 Florian Weimer <fweimer@redhat.com>
10562
10563 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10564
07da99aa
FW
105652018-10-30 Florian Weimer <fweimer@redhat.com>
10566
10567 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10568 support_blob_repeat.
10569
f5e7e959
FW
105702018-10-30 Florian Weimer <fweimer@redhat.com>
10571
10572 Avoid spurious test failures in stdlib/test-bz22786.
10573 * support/Makefile (libsupport-routines): Add blob_repeat.
10574 (tests): Add tst-support_blob_repeat.
10575 * support/blob_repeat.h: New file.
10576 * support/blob_repeat.c: Likewise.
10577 * support/tst-support_blob_repeat.c: Likewise.
10578 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10579 support_blob_repeat_allocate.
10580
2dd12baa
AS
105812018-10-30 Andreas Schwab <schwab@suse.de>
10582
10583 [BZ #23125]
10584 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10585 Don't use tail call.
10586 * elf/tst-unwind-main.c: New file.
10587 * elf/Makefile (tests): Add tst-unwind-main.
10588 (CFLAGS-tst-unwind-main.c): Define.
10589
6b5c8607 105902018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
10591
10592 [BZ #23791]
10593 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10594 n_cs_precedes to 0.
10595 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10596
c6982f7e
JM
105972018-10-29 Joseph Myers <joseph@codesourcery.com>
10598
954cf3c2
JM
10599 * conform/glibcconform.py: Do not import shutil.
10600 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10601 of mkdtemp.
10602
c6982f7e
JM
10603 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10604 critic_missing for versions before 3.4.
10605 * configure: Regenerated.
10606 * manual/install.texi (Tools for Compilation): Document
10607 requirement for Python to build glibc.
10608 * INSTALL: Regenerated.
10609 * Rules [PYTHON]: Make code unconditional.
10610 * benchtests/Makefile [PYTHON]: Likewise.
10611 * conform/Makefile [PYTHON]: Likewise.
10612 * manual/Makefile [PYTHON]: Likewise.
10613 * math/Makefile [PYTHON]: Likewise.
10614
46a7f24c
ST
106152018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10616
10617 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 10618 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 10619 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
10620 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10621 _hurd_intr_rpc_msg_about_to global point to start of controlled
10622 assembly snippet. Make it check canceled flag.
10623 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10624 the _hurd_intr_rpc_msg_about_to point.
10625 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10626 issue, remove cancel flag check.
46a7f24c 10627
e5b8756d
JM
106282018-10-26 Joseph Myers <joseph@codesourcery.com>
10629
10630 * scripts/build-many-glibcs.py: Remove compatibility for missing
10631 os.cpu_count and re.fullmatch.
10632
ba5b14c7
SN
106332018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10634
10635 [BZ #23822]
10636 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10637 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10638 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10639
fe61f17c
JM
106402018-10-25 Joseph Myers <joseph@codesourcery.com>
10641
10642 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10643 macro.
10644
7c5e34d7
FW
106452018-10-25 Florian Weimer <fweimer@redhat.com>
10646
10647 [BZ #23562]
10648 [BZ #23821]
10649 XFAIL siginfo_t si_band conform test on sparc64.
10650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10651 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10652 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10653 (conformtest-xfail-conds): Add sparc64-linux.
10654 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10655 sparc64.
10656 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10657
5b784e88
JM
106582018-10-25 Joseph Myers <joseph@codesourcery.com>
10659
10660 * elf/elf.h (NT_MIPS_DSP): New macro.
10661 (NT_MIPS_FP_MODE): Likewise.
10662
41432ebe
ZL
106632018-10-25 Zong Li <zong@andestech.com>
10664
10665 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10666 name by adding the file extension (.so).
10667
d026efea
ST
106682018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10669
10670 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10671 (test-xfail-ISO11/threads.h/linknamespace,
10672 test-xfail-ISO11/threads.h/conform): Add.
10673
b71ac2b9
JM
106742018-10-24 Joseph Myers <joseph@codesourcery.com>
10675
10676 * math/gen-libm-test.py: Import os.
10677 (ALL_FLOATS_MANUAL): New constant.
10678 (ALL_FLOATS_SUFFIX): Likewise.
10679 (Ulps.all_functions): New function.
10680 (real_all_ulps): Likewise.
10681 (generate_err_table_sub): Likewise.
10682 (generate_err_table): Likewise.
10683 (main): Handle -s and -m options.
10684 * manual/libm-err-tab.pl: Remove.
10685 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10686 instead of libm-err-tab.pl.
10687 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10688 != no].
10689 * manual/install.texi (Tools for Compilation): Document
10690 requirement for Python to build manual.
10691 * INSTALL: Regenerated.
10692
6b5c8607 106932018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
10694
10695 * bits/time64.h: New file.
10696 * include/time.h: Replace internal_time_t with __time64_t.
10697 * posix/bits/types (__time64_t): Add.
10698 * stdlib/Makefile: Add bits/time64.h to includes.
10699 * time/tzfile.c: Replace internal_time_t with __time64_t.
10700
97d91fcc 107012018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
10702
10703 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10704 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10705 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10706 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10707 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10708 prototype.
10709 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10710 * posix/spawn_faction_addclose.c
10711 (__posix_spawn_file_actions_addclose): Add hidden definition.
10712 * posix/spawn_faction_adddup2.c
10713 (__posix_spawn_file_actions_adddup2): Likewise.
10714 * posix/spawn_faction_destroy.c
10715 (__posix_spawn_file_actions_destroy): Likewise.
10716 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10717 Likewise.
10718 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10719 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10720 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10721 Likewise.
10722 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10723 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10724 Likewise.
10725
2954daf0
AS
107262018-10-24 Andreas Schwab <schwab@suse.de>
10727
10728 [BZ #18093]
10729 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10730 format cache.
10731 * elf/cache.c (print_cache): Likewise.
10732
6b5c8607 107332018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
10734
10735 * bits/timesize.h: New file.
10736 * stdlib/Makefile (headers): Add bits/timesize.h.
10737 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10738 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10739 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10740 (__SEM_PAD_AFTER_TIME): Likewise.
10741 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10742 (__SHM_PAD_AFTER_TIME): Likewise.
10743 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10744 (__MSQ_PAD_BEFORE_TIME): Likewise.
10745 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10746 (__SEM_PAD_BEFORE_TIME): Likewise.
10747 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10748 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10749 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
10750 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10751 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10752 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
10753 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10754 (__SEM_PAD_BEFORE_TIME): Likewise.
10755 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10756 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10757 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10758 (__MSQ_PAD_BEFORE_TIME): Likewise.
10759 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10760 (__SEM_PAD_BEFORE_TIME): Likewise.
10761 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10762 (__SHM_PAD_BEFORE_TIME): Likewise.
10763 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10764 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10765 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10766
7cc65773
L
107672018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10768
10769 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10770 USE_RDTSCP is defined.
10771 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10772 USE_RDTSCP is defined.
10773
c3d8dc45
AZ
107742018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10775
18ad0de6
AZ
10776 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10777 defined.
10778
c3d8dc45
AZ
10779 [BZ #23709]
10780 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10781 independently of other flags.
10782
f1034472
FW
107832018-10-23 Florian Weimer <fweimer@redhat.com>
10784
10785 * time/tst-mktime2.c (N_STRINGS): Remove.
10786 (set_timezone): New function.
10787 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10788 (mktime_test1): Report localtime failure and check errno value.
10789 Use TEST_COMPARE.
10790 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10791 (do_test): Remove alarm call. Use set_timezone and array_length.
10792
367d7cc2
AS
107932018-10-23 Andreas Schwab <schwab@suse.de>
10794
10795 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10796 (__start_context): Use END instead of PSEUDO_END.
10797
be8ff03f
JM
107982018-10-22 Joseph Myers <joseph@codesourcery.com>
10799
029ad711
JM
10800 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10801 version to 4.19.
10802
8190520f
JM
10803 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10804 version to 4.19.
10805
be8ff03f
JM
10806 [BZ #23793]
10807 * wcsmbs/c32rtomb.c: New file.
10808 * wcsmbs/mbrtoc32.c: Likewise.
10809 * wcsmbs/tst-c32-state.c: Likewise.
10810 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10811 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10812 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10813 (tests): Add tst-c32-state.
10814 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10815 $(gen-locales).
10816
2dd8e58c
L
108172018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10818
10819 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10820 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10821
d0a74159
JM
108222018-10-19 Joseph Myers <joseph@codesourcery.com>
10823
10824 [BZ #23794]
10825 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10826 pair and return 0 in that case, and use saved character to
10827 interpret following character.
10828 * wcsmbs/tst-c16-surrogate.c: New file.
10829 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10830 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10831 Depend on $(gen-locales)
10832
f997b4be
IYM
108332018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10834
10835 [BZ #23562]
10836 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10837 (struct siginfo_t): Use correct type for si_band.
10838
53b2bb87
FW
108392018-10-19 Florian Weimer <fweimer@redhat.com>
10840
10841 [BZ #23689]
10842 * resource/bits/types/struct_rusage.h (struct rusage): Update
10843 comment on struct. Remove extraneous field comment.
10844
0a271c8f
DM
108452018-10-18 David S. Miller <davem@davemloft.net>
10846
94a3a27f
DM
10847 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10848 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10849 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10850 sysdep_routines in subdir elf.
10851 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10852 version for __vdso_clock_gettime.
10853 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10854 Define.
10855 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10856 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10857
0a271c8f
DM
10858 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10859
72771e53
L
108602018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10861
10862 * sysdeps/i386/init-arch.h: Removed.
10863 * sysdeps/i386/i586/init-arch.h: Likewise.
10864 * sysdeps/i386/i686/init-arch.h: Likewise.
10865 * sysdeps/i386/i686/hp-timing.h: Likewise.
10866 * sysdeps/x86_64/hp-timing.h: Likewise.
10867 * sysdeps/i386/isa.h: New file.
10868 * sysdeps/i386/i586/isa.h: Likewise.
10869 * sysdeps/i386/i686/isa.h: Likewise.
10870 * sysdeps/x86_64/isa.h: Likewise.
10871 * sysdeps/x86/hp-timing.h: New file.
10872 * sysdeps/x86/init-arch.h: Include <isa.h>.
10873
c2b7ccad
JM
108742018-10-17 Joseph Myers <joseph@codesourcery.com>
10875
10876 * math/libm-test-pow.inc (pow_test_data): Do not allow
10877 divide-by-zero exception for pow(+/- 0, -Inf).
10878
26756e57
ZW
108792018-10-17 Zack Weinberg <zackw@panix.com>
10880
10881 * manual/job.texi (Job Control is Optional): Remove node, as
10882 job control has not been optional in quite some time.
10883 (Job Control): Mention briefly that systems older than
10884 POSIX.1-2001 might not support job control.
10885 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10886 defined on systems conforming to POSIX.1-2001.
10887
c5288d37
AS
108882018-10-17 Arjun Shankar <arjun@redhat.com>
10889
10890 [BZ #22062]
10891 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10892 indentation.
10893 * (__gconv_read_conf): Mark function static.
10894 * (once): New static variable.
10895 * (__gconv_load_conf): New function.
10896 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10897 * iconv/gconv_db.c (once): Remove static variable.
10898 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10899 __gconv_read_conf.
10900 * (__gconv_find_transform): Likewise.
10901 * iconv/tst-iconv-mt.c: New test.
10902 * iconv/Makefile: Add tst-iconv_mt.
10903
8c8d2a8a
JM
109042018-10-17 Joseph Myers <joseph@codesourcery.com>
10905
10906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
10907 bits/shm-pad.h.
10908 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10909 (shmatt_t): Define as __syscall_ulong_t.
10910 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10911 and [__SHM_PAD_AFTER_TIME].
10912 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10913 Define shm_segsz and associated padding based on
10914 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10915 Use __syscall_ulong_t instead of unsigned long int.
10916 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10917 unsigned long int.
10918 [__USE_MISC] (struct shm_info): Likewise.
10919 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10920 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10921 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10922 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10923 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10924 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10925 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10926 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10927 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10928 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10929 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10930
10931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
10932 bits/shmlba.h.
10933 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10934 (SHMLBA): Remove macro.
10935 (__getpagesize): Remove function declaration.
10936 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10937 <bits/shmlba.h>.
10938 (SHMLBA): Remove macro.
10939 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10940 <bits/shmlba.h>.
10941 (SHMLBA): Remove macro.
10942 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10943 <bits/shmlba.h>.
10944 (SHMLBA): Remove macro.
10945 (__getpagesize): Remove function declaration.
10946 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10947 <bits/shmlba.h>.
10948 (SHMLBA): Remove macro.
10949 (__getshmlba): Remove function declaration.
10950 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10951 (SHMLBA): Remove macro.
10952 (__getpagesize): Remove function declaration.
10953 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10954 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10955 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10956 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10957 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10958 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10959 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10960 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10961 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10962 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10963
403b4feb
SL
109642018-10-17 Stefan Liebler <stli@linux.ibm.com>
10965
10966 [BZ #23275]
10967 * nptl/tst-mutex10.c: New File.
10968 * nptl/Makefile (tests): Add tst-mutex10.
10969 (tst-mutex10-ENV): New variable.
10970 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10971 Ensure that elision path is used if elision is available.
10972 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10973 Likewise.
10974 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10975 Likewise.
10976 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10977 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10978 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10979 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10980 Likewise.
10981 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10982 (__pthread_mutex_cond_lock_adjust): Likewise.
10983 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10984 Likewise.
10985 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10986 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10987 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10988 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10989 Add comments.
10990 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10991 Use atomic_load_relaxed and atomic_store_relaxed.
10992 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10993 Use atomic_store_relaxed.
10994
ce5a7de6
AS
109952018-10-17 Andreas Schwab <schwab@suse.de>
10996
10997 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10998 * crypt/badsalttest.c (TIMEOUT): Likewise.
10999 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11000 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11001 * io/test-lfs.c (TIMEOUT): Likewise.
11002 * libio/tst-atime.c (TIMEOUT): Likewise.
11003 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11004 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11005 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11006 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11007 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11008 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11009 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11010 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11011 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11012 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11013 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11014 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11015 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11016 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11017 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11018 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11019 * nptl/tst-once2.c (TIMEOUT): Likewise.
11020 * nptl/tst-once3.c (TIMEOUT): Likewise.
11021 * nptl/tst-once4.c (TIMEOUT): Likewise.
11022 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11023 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11024 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11025 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11026 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11027 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11028 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11029 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11030 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11031 * posix/tst-chmod.c (TIMEOUT): Likewise.
11032 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11033 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11034 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11035 * posix/tst-regex2.c (TIMEOUT): Likewise.
11036 * posix/tst-waitid.c (TIMEOUT): Likewise.
11037 * rt/tst-aio.c (TIMEOUT): Likewise.
11038 * rt/tst-aio10.c (TIMEOUT): Likewise.
11039 * rt/tst-aio4.c (TIMEOUT): Likewise.
11040 * rt/tst-aio5.c (TIMEOUT): Likewise.
11041 * rt/tst-aio6.c (TIMEOUT): Likewise.
11042 * rt/tst-aio64.c (TIMEOUT): Likewise.
11043 * rt/tst-aio7.c (TIMEOUT): Likewise.
11044 * rt/tst-aio9.c (TIMEOUT): Likewise.
11045 * rt/tst-clock.c (TIMEOUT): Likewise.
11046 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11047 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11048 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11049 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11050 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11051 * rt/tst-timer4.c (TIMEOUT): Likewise.
11052 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11053 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11054 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11055 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11056 * time/tst-ftime.c (TIMEOUT): Likewise.
11057 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11058
6b5c8607 110592018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
11060
11061 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11062 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11063 for thunderX2.
11064
bcdb1bfa
JM
110652018-10-15 Joseph Myers <joseph@codesourcery.com>
11066
11067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11068 bits/sem-pad.h.
11069 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11070 instead of <bits/wordsize.h>.
11071 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11072 and [__SEM_PAD_AFTER_TIME].
11073 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11074 __syscall_ulong_t instead of unsigned long int.
11075 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11076 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11077 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11078 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11079 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11080 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11081 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11082 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11083 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11084 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11085 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11086
f4efbdfb
PE
110872018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11088
620a5d4c
PE
11089 regex: simplify by using intprops.h
11090 [BZ#23744]
11091 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11092 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11093 intprops.h defines them.
11094
f4efbdfb
PE
11095 regex: __builtin_expect → __glibc_unlikely
11096 [BZ#23744]
11097 This refactoring was prompted by a problem when the regex code is
11098 used as part of Gnulib and when the builder’s compiler does not grok
11099 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11100 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11101 Although this refactoring does not fix the problem directly,
11102 we might as well have Gawk use the now-preferred glibc style for when
11103 __builtin_expect is unavailable.
11104 * posix/regex_internal.h (BE): Remove.
11105 All uses replaced by __glibc_unlikely or __glibc_likely.
11106
9f9feb6d
JM
111072018-10-11 Joseph Myers <joseph@codesourcery.com>
11108
11109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11110 bits/msq-pad.h.
11111 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11112 instead of <bits/wordsize.h>.
11113 (msgqnum_t): Define as __syscall_ulong_t.
11114 (msglen_t): Likewise.
11115 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11116 and [__MSQ_PAD_AFTER_TIME].
11117 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11118 __syscall_ulong_t instead of unsigned long int.
11119 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11120 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11121 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11122 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11123 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11124 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11125 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11126 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11127 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11128 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11129 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11130
b9c0f6c1
JM
111312018-10-10 Joseph Myers <joseph@codesourcery.com>
11132
2a4b25fa
JM
11133 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11134 (struct shmid_ds): Condition padding after time fields on
11135 [__WORDSIZE == 32].
11136 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11137 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11138 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11139
19e62f26
JM
11140 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11141 (struct semid_ds): Condition padding after time fields on
11142 [__WORDSIZE == 32].
11143 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11144 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11145 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11146 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11147
b9c0f6c1
JM
11148 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11149 (struct msqid_ds): Condition padding after time fields on
11150 [__WORDSIZE == 32].
11151 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11152 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11153 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11154 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11155
97785a61
SN
111562018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11157
11158 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11159
ed643089
SN
111602018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11161
11162 * libio/tst-readline.c (TIMEOUT): Define.
11163
5a580643
PE
111642018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11165
11166 mktime fix for Gnulib + coreutils
11167 [BZ#23745]
11168 This fix affects only Gnulib. Problem discovered when
11169 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11170 * time/mktime.c:
11171 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11172 Do not define since it is not used. Defining an unused static
11173 function prompts a warning from GCC when Coreutils is configured
11174 with --enable-gcc-warnings.
11175
c892ae04
LS
111762018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11177
11178 * benchtests/scripts/compare_bench.py (main): set float type on
11179 threshold argument.
11180
a68ec8ea
RL
111812018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
11182
11183 [BZ #23740]
11184 * localedata/locales/kl_GL (mon): Update, the relative case.
11185 (alt_mon): Add, fill with month names in the nominative case.
11186 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11187 (d_fmt): Set to "%b %d %Y".
11188
a1987621
JM
111892018-10-04 Joseph Myers <joseph@codesourcery.com>
11190
47c49251
JM
11191 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11192 <bits/mman-linux.h>.
11193 (PROT_READ): Don't define here.
11194 (PROT_WRITE): Likewise.
11195 (PROT_EXEC): Likewise.
11196 (PROT_NONE): Likewise.
11197 (PROT_GROWSDOWN): Likewise.
11198 (PROT_GROWSUP): Likewise.
11199 (MAP_SHARED): Likewise.
11200 (MAP_PRIVATE): Likewise.
11201 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11202 [__USE_MISC] (MAP_FILE): Likewise.
11203 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11204 [__USE_MISC] (MAP_ANON): Likewise.
11205 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11206 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11207 (MCL_CURRENT): Likewise.
11208 (MCL_FUTURE): Likewise.
11209 (MCL_ONFAULT): Likewise.
11210 [__USE_MISC] (MADV_NORMAL): Likewise.
11211 [__USE_MISC] (MADV_RANDOM): Likewise.
11212 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11213 [__USE_MISC] (MADV_WILLNEED): Likewise.
11214 [__USE_MISC] (MADV_DONTNEED): Likewise.
11215 [__USE_MISC] (MADV_FREE): Likewise.
11216 [__USE_MISC] (MADV_REMOVE): Likewise.
11217 [__USE_MISC] (MADV_DONTFORK): Likewise.
11218 [__USE_MISC] (MADV_DOFORK): Likewise.
11219 [__USE_MISC] (MADV_HWPOISON): Likewise.
11220 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11221 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11222 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11223 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11224 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11225 (__MAP_ANONYMOUS): New macro.
11226 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11227 <bits/mman-linux.h> inclusion.
11228 (MAP_FIXED): Likewise.
11229 (MS_SYNC): Likewise.
11230 (MS_ASYNC): Likewise.
11231 (MS_INVALIDATE): Likewise.
11232 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11233 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11234 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11235 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11236 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11237 [__USE_MISC] (MADV_DODUMP): Likewise.
11238 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11239 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11240
a1987621
JM
11241 [BZ #23735]
11242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11243 Define.
11244 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11245 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11246 Add test-nldbl-redirect.
11247 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11248 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11249 $(objpfx)libnldbl_nonshared.a.
11250
e7624d70
SL
112512018-10-04 Stefan Liebler <stli@linux.ibm.com>
11252
11253 * support/support.h (support_objdir_elf_ldso): New variable.
11254 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11255 * support/Makefile (CFLAGS-support_paths.c): Add definition
11256 for OBJDIR_ELF_LDSO_PATH.
11257 * support/test-container.c (main): Search for the ld.so
11258 which is also used by the testsuite.
11259
dae3ed95
RL
112602018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
11261
11262 [BZ #20209]
11263 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11264 should be "sap" rather than "sab".
11265 (day): Fix spelling of Sunday, should be "sapaat" rather than
11266 "sabaat".
11267
f346b5b3
JM
112682018-10-02 Joseph Myers <joseph@codesourcery.com>
11269
11270 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11271
4a06ceea
MJ
112722018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11273
11274 [BZ #19444]
11275 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11276 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11277 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11278
a06fc4a5
AZ
112792018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11280
11281 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11282
a1ccc065
L
112832018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11286 Add -mrtm.
11287 (CFLAGS-elision-unlock.c): Likewise.
11288 (CFLAGS-elision-timed.c): Likewise.
11289 (CFLAGS-elision-trylock.c): Likewise.
11290 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11291
0b727ed4
AZ
112922018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11293
11294 [BZ #21037]
11295 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11296 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11297 new fd_to_filename interface.
11298 * libio/freopen64.c (freopen64): Likewise.
11299 * libio/tst-memstream.h: New file.
11300 * libio/tst-memstream4.c: Likewise.
11301 * libio/tst-wmemstream4.c: Likewise.
11302 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11303 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11304 and remove internal dynamic allocation.
11305
d0e91e8c
JM
113062018-10-01 Joseph Myers <joseph@codesourcery.com>
11307
11308 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11309 (MREMAP_MAYMOVE): Do not define here.
11310 [__USE_GNU] (MREMAP_FIXED): Likewise.
11311 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11312 (MREMAP_MAYMOVE): Define here instead.
11313 [__USE_GNU] (MREMAP_FIXED): Likewise.
11314 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11315 (MREMAP_MAYMOVE): Remove.
11316 [__USE_GNU] (MREMAP_FIXED): Likewise.
11317
c52944e8
JM
113182018-09-28 Joseph Myers <joseph@codesourcery.com>
11319
11320 * math/fromfp.h: Do not include <math_private.h>.
11321 * math/s_cacosh_template.c: Likewise.
11322 * math/s_casin_template.c: Likewise.
11323 * math/s_casinh_template.c: Likewise.
11324 * math/s_ccos_template.c: Likewise.
11325 * math/s_cproj_template.c: Likewise.
11326 * math/s_fdim_template.c: Likewise.
11327 * math/s_fmaxmag_template.c: Likewise.
11328 * math/s_fminmag_template.c: Likewise.
11329 * math/s_iseqsig_template.c: Likewise.
11330 * math/s_ldexp_template.c: Likewise.
11331 * math/s_nextdown_template.c: Likewise.
11332 * math/w_log1p_template.c: Likewise.
11333 * math/w_scalbln_template.c: Likewise.
11334 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11335 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11336 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11337 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11338 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11339 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11340 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11341 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11342 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11343 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11344 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11345 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11346 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11347 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11348 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11349 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11350 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11355 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11356 * sysdeps/ieee754/k_standardf.c: Likewise.
11357 * sysdeps/ieee754/k_standardl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11360 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11366 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11367 * sysdeps/ieee754/s_signgam.c: Likewise.
11368 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11369 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11370 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11371 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11372 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11373 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11374 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11375 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11376 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11377 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11378 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11379 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11380 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11381 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11382 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11383 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11384 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11385 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11386 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11387 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11388 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11389 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11390 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11391 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11392 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11393 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11394 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11395 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11396 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11397 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11398 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11399 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11400 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11401 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11402 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11403 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11404 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11405 <math_private.h>.
11406 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11407
7b1f9406
L
114082018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11409
11410 [BZ #23716]
11411 * sysdeps/i386/dl-cet.c: Removed.
11412 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11413 prototype.
11414 (_dl_runtime_profile_shstk): Likewise.
11415 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11416 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11417
7a16bdbb
AZ
114182018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11419
11420 [BZ #23579]
11421 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11422 do_test_with_invalid_iov): New tests.
11423 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11424 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11425 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11426 errno is ENOSYS.
11427 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11428 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11429 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11430
9755bc46
JM
114312018-09-27 Joseph Myers <joseph@codesourcery.com>
11432
81dca813
JM
11433 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11434 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11435 (MATH_REDIRECT_BINARY_ARGS): New macro.
11436 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11437 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11438 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11439 header inclusion.
11440 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11442 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11443 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11448 Likewise.
11449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11450 Likewise.
11451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11453 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11454 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11456 Likewise.
11457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11458 Likewise.
11459 * sysdeps/generic/math_private_calls.h
11460 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11461 Do not declare and define as an inline function.
11462 * math/divtc3.c (__divtc3): Use copysign functions instead of
11463 __copysign variants.
11464 * math/multc3.c (__multc3): Likewise.
11465 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11466 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11467 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11468 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11469 Likewise.
11470 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11471 (__ieee754_yn): Likewise.
11472 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11473 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11474 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11475 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11476 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11477 (__sin): Likewise.
11478 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11479 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11480 Likewise.
11481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11482 Likewise.
11483 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11484 Likewise.
11485 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11486 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11487 Likewise.
11488 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11489 (__ieee754_ynf): Likewise.
11490 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11491 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11492 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11494 Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11496 (__ieee754_ynl): Likewise.
11497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11500 Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11502 (__ieee754_ynl): Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11506 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11507 Likewise.
11508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11509 (__ieee754_ynl)
11510 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11511 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11512 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11513 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11514 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11515
9755bc46
JM
11516 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11517 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11518 using MATH_REDIRECT.
11519 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11520 header inclusion.
11521 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11522 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11523 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11524 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11532 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11533 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11535 (round): Redirect to __round.
11536 (__roundl): Call round instead of __round.
11537 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11538 Remove macro.
11539 [_ARCH_PWR5X] (__roundf): Likewise.
11540 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11541 functions instead of __round variants.
11542 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11543 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11544 Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11546 Likewise.
11547 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11548 Likewise.
11549 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11551 __lroundl.
11552 (__ieee754_expl): Call roundl instead of __roundl.
11553
f841c97e
AS
115542018-09-27 Andreas Schwab <schwab@suse.de>
11555
11556 [BZ #23717]
11557 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11558 (do_test): Make st1 static.
11559
6ca8284e
AS
115602018-09-26 Andreas Schwab <schwab@suse.de>
11561
11562 [BZ #23707]
11563 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11564 * elf/Makefile (tests): Add tst-unwind-ctor.
11565 (modules-names): Add tst-unwind-ctor-lib.
11566 ($(objpfx)tst-unwind-ctor): Depend on
11567 $(objpfx)tst-unwind-ctor-lib.so.
11568
61d8b5fe
JM
115692018-09-26 Joseph Myers <joseph@codesourcery.com>
11570
11571 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11572 file. Most contents moved from ....
11573 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11574 and include <bits/mman-map-flags-generic.h>.
11575 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11576 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11577 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11578 <bits/mman-map-flags-generic.h>.
11579 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11580 macros defined in <bits/mman-map-flags-generic.h>.
11581 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11582 <bits/mman-map-flags-generic.h>.
11583 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11584 defined in <bits/mman-map-flags-generic.h>.
11585
46341286
AS
115862018-09-26 Andreas Schwab <schwab@suse.de>
11587
11588 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11589 output.
11590
b5c45e83
AZ
115912018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11592 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11593 Fangrui Song <maskray@google.com>
11594
11595 [BZ #20480]
11596 * config.make.in (have-textrel_ifunc): New define.
11597 * configure.ac: Add check if linker supports textrel relocation with
11598 ifunc.
11599 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11600 tst-ifunc-textrel.
11601 (CFLAGS-tst-ifunc-textrel.c): New rule.
11602 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11603 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11604 * elf/tst-ifunc-textrel.c: New file.
11605
8ea4d2b7
JM
116062018-09-25 Joseph Myers <joseph@codesourcery.com>
11607
d62f9ec0
JM
11608 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11609 <bits/procfs-prregset.h>.
11610 (prgregset_t): Define using __prgregset_t.
11611 (prfpregset_t): Define using __prfpregset_t.
11612 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11613 (sysdep_headers): Add bits/procfs-prregset.h.
11614 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11615 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11616 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11617 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11618
d0d8eb43
JM
11619 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11620 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11621 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11622 pr_uid and pr_gid.
11623 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11624 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11625 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11626 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11627 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11628 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11629 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11630 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11631 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11632 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11633 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11634 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11635 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11636 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11637 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11638 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11639 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11640 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11641 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11642 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11643 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11644 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11645 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11646 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11647
8ea4d2b7
JM
11648 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11649 AArch64 version. Include <bits/procfs.h>.
11650 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11651 (sysdep_headers): Add bits/procfs.h.
11652 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11653 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11654 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11655 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11656 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11657 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11658 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11659 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11660 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11661 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11662 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11663 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11664 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11665 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11666 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11667 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11668 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11669
c7027166
AZ
116702018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11671
11672 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11673 Use libsupport.
11674
335a3b0a
AS
116752018-09-25 Arjun Shankar <arjun@redhat.com>
11676
11677 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11678 (__gconv_max_path_elem_len): Likewise.
11679 (__gconv_nmodules): Likewise.
11680 (__gconv_get_path): Likewise.
11681 (path_elem): Move to ...
11682 * iconv/gconv_conf.c: ... here.
11683 (__gconv_get_path): Mark function static.
11684 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11685 * iconv/gconv_open.c: ... here.
11686
462d348c
AS
116872018-09-24 Andreas Schwab <schwab@suse.de>
11688
11689 * scripts/haveversions.awk: New file.
11690 * Makerules ($(common-objpfx)Versions.def)
11691 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11692 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11693 Move rules ...
11694 * Makeconfig ($(common-objpfx)Versions.def)
11695 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11696 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11697 ... here.
11698 ($(common-objpfx)Versions.mk): New rule. Include it.
11699 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11700 Emit error if build-obsolete-nsl = yes.
11701 * manual/install.texi (Configuring and compiling): Describe
11702 --enable-obsolete-nsl as unavaiable after version 2.28.
11703 * INSTALL: Regenerate.
11704
f0458cf4
AZ
117052018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11706
11707 * NEWS: Add note about new TLE support on powerpc64le.
11708 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11709 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11710 __ununsed1.
11711 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11712 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11713 * sysdeps/powerpc/powerpc32/sysdep.h,
11714 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11715 ABORT_TRANSACTION): Remove macros.
11716 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11717 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11718 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11720 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11721 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11722 usage.
11723 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11724
434d45fd
RL
117252018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11726
11727 [BZ #10425]
11728 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11729 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11730 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11731 which is the same as in it_IT.
11732 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11733 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11734
d90c9b1a
JM
117352018-09-20 Joseph Myers <joseph@codesourcery.com>
11736
7abf97be
JM
11737 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11738 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11739 using MATH_REDIRECT.
11740 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11741 header inclusion.
11742 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11744 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11746 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11752 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11753 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11754 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11755 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11756 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11757 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11758 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11760 (ceil): Redirect to __ceil.
11761 (floor): Redirect to __floor.
11762 (trunc): Redirect to __trunc.
11763 (__truncl): Call trunc instead of __trunc.
11764 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11765 Remove macro.
11766 [_ARCH_PWR5X] (__truncf): Likewise.
11767 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11768 trunc functions instead of __trunc variants.
11769 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11770 Likewise.
11771 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11772 Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11774 Likewise.
11775 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11776 Likewise.
11777
d90c9b1a
JM
11778 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11779 [__i586__ || __pentium__].
11780 [__i486__]: Handle explicitly.
11781 (HAS_CPUID): Define to 1 if above macros are undefined.
11782 (HAS_I586): Likewise.
11783 (HAS_I686): Likewise.
11784
db9a8ad4
FW
117852018-09-20 Florian Weimer <fweimer@redhat.com>
11786
11787 * misc/tst-gethostid.c: New file.
11788 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11789 (tst-gethostid): Link with -ldl.
11790
1214ba06
MY
117912018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11792
11793 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11794 value from gethostbyname_r.
11795
791b350d
CD
117962018-09-19 Carlos O'Donell <carlos@redhat.com>
11797
11798 * stdlib/tst-setcontext9.c (f1): Rename to...
11799 (f1a): ... this.
11800 (f1b): New function implementing lower half of f1 in alternate stack.
11801
8e6fd2bd
PE
118022018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11803
e1080e7e
PE
11804 Fix mktime localtime offset confusion
11805 [BZ #23603]
11806 * include/time.h (__mktime_internal): The localtime offset is now
11807 of type long int instead of time_t. This is the longstanding type
11808 in glibc, and it is more than enough to represent difference
11809 between localtime and gmtime even if it is 32 bits and time_t is
11810 64. Changing it now will let us avoid an unnecessary change when
11811 time_t is widened to 64 bits on 32-bit platforms.
11812 * time/mktime-internal.h (mktime_offset_t): Now long int.
11813
8e6fd2bd
PE
11814 Merge mktime, timegm from upstream Gnulib
11815 [BZ #23603][BZ #16346]
11816 This fixes some obscure problems with integer overflow.
11817 Although it looks scary, it is almost all a byte-for-byte copy
11818 from Gnulib, and the Gnulib code has been tested reasonably well.
11819 * include/intprops.h: New file, copied from Gnulib.
11820 * include/verify.h, time/mktime-internal.h:
11821 New tiny files, simplified from Gnulib.
11822 * time/mktime.c: Copy from Gnulib. This has the following changes:
11823 Do not include config.h if DEBUG_MKTIME is nonzero.
11824 Include stdbool.h, intprops.h, verify.h.
11825 Include string.h only if needed.
11826 Include stdlib.h on MS-Windows.
11827 Include mktime-internal.h.
11828 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11829 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11830 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11831 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11832 simplify later conditionals; default the others to zero. Use
11833 these conditionals to express only the code needed on the current
11834 platform. In uses of these conditionals, explicitly spell out how
11835 _LIBC affects things, so it’s easier to review from a glibc
11836 viewpoint.
11837 (WRAPV): Remove; no longer needed now that we have
11838 systematic overflow checking.
11839 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11840 compartmentalize tzset issues. Move system-dependent tzsettish
11841 code here from mktime.
11842 (verify): Remove; now done by verify.h. All uses changed.
11843 (long_int): Use a more-conservative definition, to avoid
11844 integer overflow.
11845 (SHR): Remove, replacing with ...
11846 (shr): New function, which means we needn’t worry about side
11847 effects in args, and conversion analysis is simpler.
11848 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11849 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11850 (time_t_avg, time_t_add_ok): Remove.
11851 (mktime_min, mktime_max): New constants.
11852 (leapyear, isdst_differ): Use bool for booleans.
11853 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11854 Use long_int, not time_t, for mktime differences.
11855 (long_int_avg): New function, replacing time_t_avg.
11856 INT_ADD_WRAPV replaces time_t_add_ok.
11857 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11858 All uses changed.
11859 (convert_time): New function.
11860 (ranged_convert): Use it.
11861 (__mktime_internal): Last arg now points to mktime_offset_t, not
11862 time_t. All uses changed. This is a no-op on glibc, where
11863 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11864 offset guess. Directly check for integer overflow instead of
11865 using a heuristic that works only 99.9...% of the time.
11866 Access *OFFSET only once, to avoid an unlikely race if the
11867 compiler delays a load and if this cascades into a signed integer
11868 overflow.
11869 (mktime): Move tzsettish code to my_tzset, and move
11870 localtime_offset to within mktime so that it doesn’t
11871 need a separate ifdef.
11872 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11873 instead of localtime.
11874 * time/timegm.c: Copy from Gnulib. This has the following changes:
11875 Include mktime-internal.h.
11876 [!_LIBC]: Include config.h and time.h. Do not include
11877 timegm.h or time_r.h. Make __mktime_internal a macro,
11878 and include mktime-internal.h to get its declaration.
11879 (timegm): Temporary is now mktime_offset_t, not time_t.
11880 This affects only Gnulib.
11881
83a552b0
WD
118822018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11883
11884 [BZ #23637]
11885 * string/test-strstr.c (pr23637): New function.
11886 (test_main): Add tests with longer needles.
11887 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11888 * string/strstr.c (AVAILABLE): Likewise.
11889
d7347278
SN
118902018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11891
11892 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11893
424c4f60
SN
118942018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11895
11896 * NEWS: Mention pow improvements.
11897 * math/Makefile (type-double-routines): Add e_pow_log_data.
11898 * sysdeps/generic/math_private.h (__exp1): Remove.
11899 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11900 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11901 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11902 contraction.
11903 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11904 (exp_inline): Remove.
11905 (__ieee754_exp): Only single double input is handled.
11906 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11907 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11908 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11909 (__pow_log_data): Define.
11910 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11911 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11912 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11914 contraction.
11915 (CFLAGS-e_pow-fma4.c): Likewise.
11916
e4e4fde5
PE
119172018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11918
dab9c348
PE
11919 Simplify tzfile fstat failure code
11920 [BZ #21716]
11921 * time/tzfile.c (__tzfile_read): Simplify slightly.
11922
e4e4fde5
PE
11923 Fix tzfile low-memory assertion failure
11924 [BZ #21716]
11925 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11926 when registering time zone abbreviations.
11927
50bc59ca
JM
119282018-09-18 Joseph Myers <joseph@codesourcery.com>
11929
d3a43e49
JM
11930 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11931 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11932 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11933 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11934 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11935 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11936 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11937 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11939
50bc59ca
JM
11940 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11941 __ceil.
11942 (__ceill): Call ceil instead of __ceil.
11943 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11944 __floor.
11945 (__floorl): Call floor instead of __floor.
11946
89983cb3
JM
119472018-09-17 Joseph Myers <joseph@codesourcery.com>
11948
71223ef9
JM
11949 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11950 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11951 using MATH_REDIRECT.
11952 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11953 header inclusion.
11954 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11956 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11957 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11958 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11961 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11966 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11967 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11970 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11971 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11972 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11973 Remove macro.
11974 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11975 functions instead of __ceil variants.
11976 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11978 Likewise.
11979 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11980 Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11983 Likewise.
11984 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11985 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11986
89983cb3
JM
11987 [BZ #21286]
11988 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11989 constant.
11990 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11991 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11992 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11993 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11994 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11995 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11996 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11997 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11998 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11999 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12000 (ILL_BADIADDR): Remove constant.
12001 (TRAP_BRANCH): Likewise.
12002 (TRAP_HWBKPT): Likewise.
12003
e44acb20
JM
120042018-09-14 Joseph Myers <joseph@codesourcery.com>
12005
3f7f1d18
JM
12006 [BZ #23656]
12007 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12008 Remove [_MIPS_SIM = _ABIN32] conditional case.
12009 (struct elf_prpsinfo): Likewise.
12010
d59f3e5e
JM
12011 [BZ #23649]
12012 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12013 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12014 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12015 Likewise.
12016 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12017 elf_prpsinfo): Likewise.
12018 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12019 elf_prpsinfo): Likewise.
12020 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12021 Likewise.
12022
f29b6f17
JM
12023 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12024 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12025 using MATH_REDIRECT.
12026 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12027 header inclusion.
12028 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12029 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12030 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12031 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12032 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12034 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12035 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12036 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12038 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12039 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12040 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12041 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12042 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12043 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12044 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12045 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12046 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12051 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12052 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12053 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12054 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12055 __rint variants.
12056 * math/e_scalbf.c (invalid_fn): Likewise.
12057 * math/e_scalbl.c (invalid_fn): Likewise.
12058 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12059 Likewise.
12060 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12061 Likewise.
12062 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12063 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12064 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12065 Likewise.
12066 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12067 Likewise.
12068 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12069 Likewise.
12070 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12071 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12072
e44acb20
JM
12073 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12074 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12075 New macro.
12076 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12077 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12078 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12079 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12080 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12081 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12082 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12083 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12084 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12085 && !NO_MATH_REDIRECT] (floor): Likewise.
12086 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12087 header inclusion.
12088 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12091 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12095 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12100 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12101 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12104 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12105 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12106 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12107 Remove macro.
12108 [_ARCH_PWR5X] (__floorf): Likewise.
12109 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12110 inline function.
12111 [__SSE4_1__] (__floorf): Likewise.
12112 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12113 instead of __floor variants.
12114 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12115 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12116 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12117 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12118 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12119 * math/w_tgamma_compat.c (__tgamma): Likewise.
12120 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12121 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12122 * math/w_tgammal_compat.c (__tgammal): Likewise.
12123 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12125 Likewise.
12126 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12127 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12128 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12130 Likewise.
12131 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12132 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12133 Likewise.
12134 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12135 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12136 Likewise.
12137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12138 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12139 Likewise.
12140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12141 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12142 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12143 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12144 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12145 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12146
221e4bab
JM
121472018-09-12 Joseph Myers <joseph@codesourcery.com>
12148
12149 * elf/Makefile (modules-names-tests): New variable.
12150
3e08ff54
SN
121512018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12152
12153 * NEWS: Mention log2 improvements.
12154 * math/Makefile (type-double-routines): Add e_log2_data.
12155 * sysdeps/i386/fpu/e_log2_data.c: New file.
12156 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12157 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12158 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12159 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12160 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12161 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12162
f41b0a43
SN
121632018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12164
12165 * NEWS: Mention log improvement.
12166 * math/Makefile (type-double-routines): Add e_log_data.
12167 * sysdeps/i386/fpu/e_log_data.c: New file.
12168 * sysdeps/ia64/fpu/e_log_data.c: New file.
12169 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12170 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12171 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12172 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12173 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12174 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12175
5a274db4
L
121762018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12177 Xuepeng Guo <xuepeng.guo@intel.com>
12178
12179 [BZ #23606]
12180 * sysdeps/i386/start.S: Include <sysdep.h>
12181 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12182 enabled. Add cfi_undefined (eip).
12183
b1176270
JM
121842018-09-11 Joseph Myers <joseph@codesourcery.com>
12185
4e7fbdd7
JM
12186 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12187 (MOVQ): Likewise.
12188 (EXTRACT_WORDS64): Likewise.
12189 (INSERT_WORDS64): Likewise.
12190 (GET_FLOAT_WORD): Likewise.
12191 (SET_FLOAT_WORD): Likewise.
12192
b1176270
JM
12193 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12194 argument.
12195 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12196 build, but not for second build if --full-gcc. Use
12197 --enable-languages=all for second build if --full-gcc.
12198 (get_parser): Add --full-gcc option.
12199 (main): Update call to Context.
12200
527f355e
RL
122012018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
12202
12203 [BZ #10797]
12204 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12205 Single Quotation Mark).
12206 (thousands_sep): Likewise.
12207 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12208 * localedata/locales/it_IT (thousands_sep): Use ".".
12209 (grouping): Use "3;3".
12210
7244f13d
JM
122112018-09-10 Joseph Myers <joseph@codesourcery.com>
12212
12213 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12214 x86_64 and i686 configs using --enable-obsolete-rpc
12215 --enable-obsolete-nsl.
12216
38245425
SL
122172018-09-06 Stefan Liebler <stli@linux.ibm.com>
12218
12219 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12220
28669f86
SL
122212018-09-06 Stefan Liebler <stli@linux.ibm.com>
12222
12223 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12224 Increment size of new_argv by one.
12225
a33650d1
RL
122262018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
12227
12228 [BZ #17426]
12229 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12230 * localedata/locales/ar_IN (d_fmt): Likewise.
12231 * localedata/locales/bhb_IN (d_fmt): Likewise.
12232 * localedata/locales/bho_IN (d_fmt): Likewise.
12233 * localedata/locales/bn_BD (d_fmt): Likewise.
12234 * localedata/locales/bn_IN (d_fmt): Likewise.
12235 * localedata/locales/doi_IN (d_fmt): Likewise.
12236 * localedata/locales/gu_IN (d_fmt): Likewise.
12237 * localedata/locales/hi_IN (d_fmt): Likewise.
12238 * localedata/locales/hne_IN (d_fmt): Likewise.
12239 * localedata/locales/kn_IN (d_fmt): Likewise.
12240 * localedata/locales/mag_IN (d_fmt): Likewise.
12241 * localedata/locales/mai_IN (d_fmt): Likewise.
12242 * localedata/locales/mjw_IN (d_fmt): Likewise.
12243 * localedata/locales/ml_IN (d_fmt): Likewise.
12244 * localedata/locales/mni_IN (d_fmt): Likewise.
12245 * localedata/locales/mr_IN (d_fmt): Likewise.
12246 * localedata/locales/pa_IN (d_fmt): Likewise.
12247 * localedata/locales/raj_IN (d_fmt): Likewise.
12248 * localedata/locales/sat_IN (d_fmt): Likewise.
12249 * localedata/locales/sd_IN (d_fmt): Likewise.
12250 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12251 * localedata/locales/ta_IN (d_fmt): Likewise.
12252 * localedata/locales/ta_LK (d_fmt): Likewise.
12253 * localedata/locales/tcy_IN (d_fmt): Likewise.
12254 * localedata/locales/ur_IN (d_fmt): Likewise.
12255
12256 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12257 * localedata/locales/ks_IN (d_fmt): Likewise.
12258 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12259
12260 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12261 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12262 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12263 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12264
d114e6a7
SN
122652018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12266
12267 * NEWS: Mention exp and exp2 improvements.
12268 * math/Makefile (libm-support): Remove t_exp.
12269 (type-double-routines): Add math_err and e_exp_data.
12270 * sysdeps/aarch64/libm-test-ulps: Update.
12271 * sysdeps/arm/libm-test-ulps: Update.
12272 * sysdeps/i386/fpu/e_exp_data.c: New file.
12273 * sysdeps/i386/fpu/math_err.c: New file.
12274 * sysdeps/i386/fpu/t_exp.c: Remove.
12275 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12276 * sysdeps/ia64/fpu/math_err.c: New file.
12277 * sysdeps/ia64/fpu/t_exp.c: Remove.
12278 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12279 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12280 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12282 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12283 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12284 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12285 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12286 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12287 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12288 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12289 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12290 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12291 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12294
b9d8c474
JM
122952018-09-05 Joseph Myers <joseph@codesourcery.com>
12296
b7cdc2ae
JM
12297 * sysdeps/alpha/fpu/math_private.h: Remove.
12298
b9d8c474
JM
12299 * sysdeps/generic/math_private.h
12300 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12301 Move this inline function ....
12302 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12303 * include/math.h [!_ISOMAC]: To here....
12304
418d99e6
JM
123052018-09-04 Joseph Myers <joseph@codesourcery.com>
12306
12307 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12308 code ....
12309 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12310 * include/fenv.h [!_ISOMAC]: ... to here.
12311 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12312 (feraiseexcept): Likewise.
12313 * math/fromfp.h: Do not include <fenv_private.h>.
12314 * math/s_cexp_template.c: Likewise.
12315 * math/s_csin_template.c: Likewise.
12316 * math/s_csinh_template.c: Likewise.
12317 * math/s_ctan_template.c: Likewise.
12318 * math/s_ctanh_template.c: Likewise.
12319 * math/s_iseqsig_template.c: Likewise.
12320 * math/w_acos_compat.c: Likewise.
12321 * math/w_acosf_compat.c: Likewise.
12322 * math/w_acosl_compat.c: Likewise.
12323 * math/w_asin_compat.c: Likewise.
12324 * math/w_asinf_compat.c: Likewise.
12325 * math/w_asinl_compat.c: Likewise.
12326 * math/w_j0_compat.c: Likewise.
12327 * math/w_j0f_compat.c: Likewise.
12328 * math/w_j0l_compat.c: Likewise.
12329 * math/w_j1_compat.c: Likewise.
12330 * math/w_j1f_compat.c: Likewise.
12331 * math/w_j1l_compat.c: Likewise.
12332 * math/w_jn_compat.c: Likewise.
12333 * math/w_jnf_compat.c: Likewise.
12334 * math/w_log10_compat.c: Likewise.
12335 * math/w_log10f_compat.c: Likewise.
12336 * math/w_log10l_compat.c: Likewise.
12337 * math/w_log2_compat.c: Likewise.
12338 * math/w_log2f_compat.c: Likewise.
12339 * math/w_log2l_compat.c: Likewise.
12340 * math/w_log_compat.c: Likewise.
12341 * math/w_logf_compat.c: Likewise.
12342 * math/w_logl_compat.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12348 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12349 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12350 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12351 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12352 * sysdeps/ieee754/k_standardl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12355 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12364 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12365 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12366 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12370 * math/w_ilogb_template.c: Include <fenv.h> instead of
12371 <fenv_private.h>.
12372 * math/w_llogb_template.c: Likewise.
12373 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12374 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12375
70e2ba33
JM
123762018-09-03 Joseph Myers <joseph@codesourcery.com>
12377
12378 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12379 * math/fromfp.h: Include <fenv_private.h>.
12380 * math/math-narrow.h: Likewise.
12381 * math/s_cexp_template.c: Likewise.
12382 * math/s_csin_template.c: Likewise.
12383 * math/s_csinh_template.c: Likewise.
12384 * math/s_ctan_template.c: Likewise.
12385 * math/s_ctanh_template.c: Likewise.
12386 * math/s_iseqsig_template.c: Likewise.
12387 * math/w_acos_compat.c: Likewise.
12388 * math/w_acosf_compat.c: Likewise.
12389 * math/w_acosl_compat.c: Likewise.
12390 * math/w_asin_compat.c: Likewise.
12391 * math/w_asinf_compat.c: Likewise.
12392 * math/w_asinl_compat.c: Likewise.
12393 * math/w_ilogb_template.c: Likewise.
12394 * math/w_j0_compat.c: Likewise.
12395 * math/w_j0f_compat.c: Likewise.
12396 * math/w_j0l_compat.c: Likewise.
12397 * math/w_j1_compat.c: Likewise.
12398 * math/w_j1f_compat.c: Likewise.
12399 * math/w_j1l_compat.c: Likewise.
12400 * math/w_jn_compat.c: Likewise.
12401 * math/w_jnf_compat.c: Likewise.
12402 * math/w_llogb_template.c: Likewise.
12403 * math/w_log10_compat.c: Likewise.
12404 * math/w_log10f_compat.c: Likewise.
12405 * math/w_log10l_compat.c: Likewise.
12406 * math/w_log2_compat.c: Likewise.
12407 * math/w_log2f_compat.c: Likewise.
12408 * math/w_log2l_compat.c: Likewise.
12409 * math/w_log_compat.c: Likewise.
12410 * math/w_logf_compat.c: Likewise.
12411 * math/w_logl_compat.c: Likewise.
12412 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12413 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12414 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12415 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12440 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12441 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12442 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12444 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12445 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12446 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12447 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12448 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12449 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12450 * sysdeps/ieee754/k_standardl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12476 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12481 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12482 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12487 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12488 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12489 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12490 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12491 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12492 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12493 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12494 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12495 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12496 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12497 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12498 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12499 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12500 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12501 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12502 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12503 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12504 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12505 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12506 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12507 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12508 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12509 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12510 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12511 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12512 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12513 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12514 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12515 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12516 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12517 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12518 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12519 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12520 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12521 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12522
a6e8926f
PP
125232018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12524
12525 [BZ #20271]
12526 * include/stdio.h (__libc_fatal): Mention newline in comment.
12527 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12528 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12530 * nss/nsswitch.c (__nss_next2): Likewise.
12531 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12532 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12533 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12534 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12535 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12536 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12537 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12538 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12539 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12540 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12541 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12542 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12543 (__netlink_assert_response): Likewise.
12544
2bbd06bc
JM
125452018-08-31 Joseph Myers <joseph@codesourcery.com>
12546
12547 * conform/glibcconform.py: New file.
12548 * conform/list-header-symbols.py: Likewise.
12549 * conform/list-header-symbols.pl: Remove.
12550 * conform/Makefile (tests-special): Only add linknamespace tests
12551 if [PYTHON].
12552 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12553
81b9d87b
L
125542018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12555
12556 [BZ #23597]
12557 * support/Makefile (libsupport-routines): Add
12558 support_copy_file_range and xcopy_file_range.
12559 * support/support.h: Include <sys/types.h>.
12560 (support_copy_file_range): New prototype.
12561 * support/support_copy_file_range.c: New file. Copied and
12562 modified from io/copy_file_range-compat.c.
12563 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12564 instead of copy_file_range.
12565 * support/xcopy_file_range.c: New file.
12566 * support/xunistd.h (xcopy_file_range): New prototype.
12567
d330f31a
CD
125682018-08-30 Carlos O'Donell <carlos@redhat.com>
12569
12570 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12571 xpthread_create and xpthread_join.
12572
2bda273a
FW
125732018-08-30 Florian Weimer <fweimer@redhat.com>
12574
12575 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12576
3bad2358
SL
125772018-08-30 Stefan Liebler <stli@linux.ibm.com>
12578
12579 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12580 if malloc fails.
12581
09c12efc
JM
125822018-08-29 Joseph Myers <joseph@codesourcery.com>
12583
12584 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12585 and minus_oflow as non-finite.
12586
ff6b2450
JM
125872018-08-28 Joseph Myers <joseph@codesourcery.com>
12588
12589 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12590 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12591 moved to fenv_private.h except for ...
12592 (TOINT_INTRINSICS): Kept in math_private.h.
12593 (roundtoint): Likewise.
12594 (converttoint): Likewise.
12595 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12596 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12597 * sysdeps/arm/math_private.h: Remove.
12598 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12599 ....
12600 * sysdeps/generic/math_private.h: ... this file. Include
12601 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12602 Include <fenv_private.h>. Remove functions and macros moved to
12603 fenv_private.h.
12604 * sysdeps/i386/fpu/math_private.h: Remove.
12605 * sysdeps/mips/math_private.h: Move to ....
12606 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12607 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12608 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12609 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12610 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12611 * sysdeps/powerpc/fpu/math_private.h: Do not include
12612 <fenv_private.h>.
12613 * sysdeps/riscv/rvf/math_private.h: Move to ....
12614 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12615 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12616 <fenv_private.h>.
12617 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12618 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12619 * sysdeps/sparc/fpu/math_private.h: Remove.
12620 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12621 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12622 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12623 <fenv_private.h>.
12624 * sysdeps/x86_64/fpu/math_private.h: Do not include
12625 <sysdeps/i386/fpu/fenv_private.h>.
12626
761404b7
FW
126272018-08-28 Florian Weimer <fweimer@redhat.com>
12628
12629 [BZ #23578]
12630 * posix/tst-regcomp-truncated.c: New file.
12631 * posix/Makefile (tests): Add it.
12632 (tst-regcomp-truncated.out): Depend on generated locales.
12633
d6c44c3d
FW
126342018-08-28 Florian Weimer <fweimer@redhat.com>
12635
12636 * support/test-container.c (main): Treat unshare failure with
12637 EPERM as an unsupported test.
12638
745664bd
FW
126392018-08-28 Florian Weimer <fweimer@redhat.com>
12640
12641 [BZ #23520]
12642 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12643 * nscd/netgroupcache.c
12644 (addgetnetgrentX): Add tofreep parameter. Do not free
12645 heap-allocated buffer.
12646 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12647 (addgetnetgrentX_ignore): New function.
12648 (addgetnetgrent): Call it.
12649 (readdgetnetgrent): Likewise.
12650
c8dd67e7
RS
126512018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12652
12653 * string/memmem.c: Use memcmp for first match.
12654
5abedf97
RL
126552018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12656
12657 [BZ #17426]
12658 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12659
86de0499
DD
126602018-08-27 DJ Delorie <dj@redhat.com>
12661
12662 * support/Makefile (others): Don't list programs explicitly as a
12663 dependency of "others".
12664
c3ab2110
JM
126652018-08-27 Joseph Myers <joseph@codesourcery.com>
12666
12667 * sysdeps/generic/math-tests-trap-force.h: New file.
12668 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12669 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12670 * sysdeps/powerpc/math-tests.h: Remove file.
12671 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12672
6b5c8607
TS
126732018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12674 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
12675
12676 [BZ #23538]
12677 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12678 Update r to include the set wake-request flag if waiters are
12679 remaining after spinning.
12680
4061791f
JM
126812018-08-27 Joseph Myers <joseph@codesourcery.com>
12682
12683 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12684
bc680b33
PE
126852018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12686
761404b7 12687 [BZ #23578]
bc680b33
PE
12688 regex: fix uninitialized memory access
12689 I introduced this bug into gnulib in commit
12690 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12691 eventually it was merged into glibc. The bug was found by
12692 project-repo <bugs@feusi.co> and reported here:
12693 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12694 Diagnosis and draft fix reported by Assaf Gordon here:
12695 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12696 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12697 * posix/regex_internal.c (build_wcs_upper_buffer):
12698 Fix bug when mbrtowc returns 0.
12699
02458a52
CD
127002018-08-24 Carlos O'Donell <carlos@redhat.com>
12701
12702 * po/be.po: Update translation.
12703
acc2842a
DD
127042018-08-24 DJ Delorie <dj@delorie.com>
12705
12706 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12707 $(libunwind).
12708
6c3a8a9d
PP
127092018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12710
b39d961c
TS
12711 [BZ #23400]
12712 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12713 create temporary files in source tree.
6c3a8a9d 12714
895ef79e
JM
127152018-08-24 Joseph Myers <joseph@codesourcery.com>
12716
12717 * sysdeps/generic/math-tests-trap.h: New file.
12718 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12719 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12720 * sysdeps/aarch64/math-tests.h: Remove file.
12721 * sysdeps/arm/math-tests.h: Likewise.
12722 * sysdeps/riscv/math-tests.h: Likewise.
12723 * sysdeps/aarch64/math-tests-trap.h: New file.
12724 * sysdeps/arm/math-tests-trap.h: Likewise.
12725 * sysdeps/riscv/math-tests-trap.h: Likewise.
12726
ca3aac57
WD
127272018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12728
12729 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12730 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12731 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12732 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12733 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12734 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12738 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12739 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12740 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12741 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12742 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12743 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12744 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12745 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12746 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12747
60bcac09
JM
127482018-08-23 Joseph Myers <joseph@codesourcery.com>
12749
12750 * sysdeps/generic/math-tests-exceptions.h: New file.
12751 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12752 (EXCEPTION_TESTS_float): Do not define here.
12753 (EXCEPTION_TESTS_double): Likewise.
12754 (EXCEPTION_TESTS_long_double): Likewise.
12755 (EXCEPTION_TESTS_float128): Likewise.
12756 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12757 Likewise.
12758 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12759 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12760 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12761 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12762 * sysdeps/mips/math-tests.h: Likewise.
12763 * sysdeps/nios2/math-tests.h: Likewise.
12764 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12765 (EXCEPTION_TESTS_float): Do not define here.
12766 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12767 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12768 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12769
3bded567
WD
127702018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12771
12772 * NEWS: Move optimized sinf entry to 2.29.
12773
900fb446
WD
127742018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12775
12776 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12777
561b0bec
DD
127782018-08-22 DJ Delorie <dj@redhat.com>
12779
12780 * Makefile (testroot.pristine): New rules to initialize the
12781 test-in-container "testroot".
12782 * Makerules (all-testsuite): Add tests-container.
12783 * Rules (tests-expected): Add tests-container.
12784 (binaries-all-tests): Likewise.
12785 (tests-container): New, run these tests in the testroot container.
12786 * support/Makefile (others): Add *-container, support_paths.c,
12787 xmkdirp, and links-dso-program.
12788 * support/links-dso-program-c.c: New.
12789 * support/links-dso-program.cc: New.
12790 * support/test-container.c: New.
12791 * support/shell-container.c: New.
12792 * support/echo-container.c: New.
12793 * support/true-container.c: New.
12794 * support/xmkdirp.c: New.
12795 * support/xsymlink.c: New.
12796 * support/support_paths.c: New.
12797 * support/support.h: Add support paths prototypes.
12798 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12799
12800 * nss/tst-nss-test3.c: Convert to test-in-container.
12801 * nss/tst-nss-test3.root/: New.
12802
b35d3509
PE
128032018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12804
12805 regex: port Gnulib code to z/OS POSIX environment
12806 Problem reported by Arnold Robbins in:
12807 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12808 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12809 Undef.
12810
16a25138
JM
128112018-08-22 Joseph Myers <joseph@codesourcery.com>
12812
debc4c98
JM
12813 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12814 (ROUNDING_TESTS_double): Remove.
12815 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12816 (ROUNDING_TESTS_double): Remove.
12817 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12818 (ROUNDING_TESTS_double): Remove.
12819 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12820 (ROUNDING_TESTS_float): Remove.
12821 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12822 (ROUNDING_TESTS_float): Remove.
12823 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12824 (ROUNDING_TESTS_float): Remove.
12825 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12826 !TEST_MATHVEC here.
12827 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12828 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12829
16a25138
JM
12830 * sysdeps/generic/math-tests-rounding.h: New file.
12831 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12832 (ROUNDING_TESTS_float): Do not define here.
12833 (ROUNDING_TESTS_double): Likewise.
12834 (ROUNDING_TESTS_long_double): Likewise.
12835 (ROUNDING_TESTS_float128): Likewise.
12836 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12837 (ROUNDING_TESTS_double): Undefine before defining.
12838 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12839 (ROUNDING_TESTS_double): Undefine before defining.
12840 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12841 (ROUNDING_TESTS_double): Undefine before defining.
12842 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12843 (ROUNDING_TESTS_float): Undefine before defining.
12844 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12845 (ROUNDING_TESTS_float): Undefine before defining.
12846 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12847 (ROUNDING_TESTS_float): Undefine before defining.
12848 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12849 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12850 not define here.
12851 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12852 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12853 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12854 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12855 (ROUNDING_TESTS_float): Do not define here.
12856 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12857 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12858 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12859 (ROUNDING_TESTS_float): Likewise.
12860 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12861 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12862 * sysdeps/mips/math-tests.h [__mips_soft_float]
12863 (ROUNDING_TESTS_float): Likewise.
12864 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12865 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12866 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12867 (ROUNDING_TESTS_double): Likewise.
12868 (ROUNDING_TESTS_long_double): Likewise.
12869
38b0593e
TK
128702018-08-21 Tobias Klauser <tklauser@distanz.ch>
12871
12872 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12873 (PF_XDP): New macro.
12874 (AF_XDP): New macro.
12875 (SOL_XDP): New macro.
12876
5cd7dbde
JM
128772018-08-21 Joseph Myers <joseph@codesourcery.com>
12878
12879 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12880 (TCP_INQ): Likewise.
12881 (TCP_CM_INQ): Likewise.
12882 (TCP_REPAIR_ON): Likewise.
12883 (TCP_REPAIR_OFF): Likewise.
12884 (TCP_REPAIR_OFF_NO_WP): Likewise.
12885 (struct tcp_zerocopy_receive): New type.
12886
aa42b3db
FW
128872018-08-21 Florian Weimer <fweimer@redhat.com>
12888
12889 * support/support.h (support_descriptor_supports_holes): Declare.
12890 * support/Makefile (libsupport-routines): Add
12891 support_descriptor_supports_holes.
12892 * support/support_descriptor_supports_holes.c: New file.
12893 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12894 and stop testing if holes are not supported.
12895 * io/test-lfs.c (do_prepare): Likewise.
12896 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12897 Likewise.
12898 * timezone/tst-tzset.c (create_tz_file): Likewise.
12899 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12900 variable.
12901 (do_prepare): Set it.
12902 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12903
c7627f41
FW
129042018-08-21 Florian Weimer <fweimer@redhat.com>
12905
12906 [BZ #17248]
12907 * Makeconfig (+cflags): Do not sort (and deduplicate).
12908
ef939d92
FW
129092018-08-21 Florian Weimer <fweimer@redhat.com>
12910
12911 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12912 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12913
88ffb39d
FW
129142018-08-20 Florian Weimer <fweimer@redhat.com>
12915
12916 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12917 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12918
17419540
JM
129192018-08-20 Joseph Myers <joseph@codesourcery.com>
12920
e6edd40d
JM
12921 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12922 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12923 and ssi_arch members.
12924
17419540
JM
12925 * elf/elf.c (NT_VMCOREDD): New macro.
12926 (AT_MINSIGSTKSZ): Likewise.
12927
fa78896b
RS
129282018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12929
12930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12931 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12932 s_cosf-ppc64 and s_cosf-power8.
12933 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12934 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12935 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12936 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12943 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12944 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12945
86a6c75a
FW
129462018-08-17 Florian Weimer <fweimer@redhat.com>
12947
12948 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12949
35cfefd9
FW
129502018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12951
12952 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12953
6413fcde
FW
129542018-08-16 Florian Weimer <fweimer@redhat.com>
12955
12956 * configure.ac: Add --with-nonshared-cflags option.
12957 * config.make.in (extra-nonshared-cflags): Set variable.
12958 * Makeconfig (CFLAGS-.oS): Use it.
12959 * manual/install.texi (Configuring and compiling): Document
12960 --with-nonshared-cflags.
12961 * configure: Regenerate.
12962 * INSTALL: Likewise.
12963
93a2584c
FW
129642018-08-16 Florian Weimer <fweimer@redhat.com>
12965
12966 * Makeconfig (ASFLAGS): Always append required assembler flags.
12967
f6f275d2 129682018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
12969
12970 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12971 (malloc_consolidate): Likewise.
12972
30a17d8c
PC
129732018-08-16 Pochang Chen <johnchen902@gmail.com>
12974
12975 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12976
953a5a4a
SP
129772018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12978
34f86d61
SP
12979 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12980 every strlen call.
12981
953a5a4a
SP
12982 * benchtests/bench-strlen.c: Print performance numbers in json.
12983
7793ad7a
RS
129842018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12985
12986 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12987 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12988 only for little endian.
12989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12990 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12991 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12992 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12993 Add check for little endian.
12994 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12995 (__strcmp_power9): Add check for little endian.
12996 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12997 Add check for little endian.
12998 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12999 (__strncmp_power9): Add check for little endian.
13000 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13001 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13002 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13003 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13004 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13005
436e4d5b
SP
130062018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13007
13008 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13009 [!STRLEN](STRLEN): Set to __strlen.
13010 * sysdeps/aarch64/multiarch/strlen.c: New file.
13011 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13012 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13013 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13014 (__libc_ifunc_impl_list): Add strlen.
13015 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13016 strlen_generic and strlen_asimd.
13017
126c4e3f
WD
130182018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13019
13020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13021 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13022 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13023
49acec17
WD
130242018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13025
13026 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13027
fdb16de3
FW
130282018-08-14 Florian Weimer <fweimer@redhat.com>
13029
13030 [BZ #23519]
13031 * include/stdio.h (__vfxprintf): Declare.
13032 * stdio-common/fxprintf.c (__vfxprintf): New function.
13033 (__fxprintf): Call it.
13034 * misc/err.c (convert_and_print): Remove function.
13035 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13036 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13037 * misc/Makefile (tests): Add tst-warn-wide.
13038 * misc/tst-warn-wide.c: New file.
13039
599cf397
WD
130402018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13041 Szabolcs Nagy <szabolcs.nagy@arm.com>
13042
13043 * NEWS: Mention sinf, cosf, sincosf.
13044 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13045 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13046 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13047 constants rather than including generic sincosf.h.
13048 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13049 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13050 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13051 (reduced_cos): Remove.
13052 (sinf_poly): New function.
13053 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13054
e95c6f61
FW
130552018-08-14 Florian Weimer <fweimer@redhat.com>
13056
13057 [BZ #23521]
13058 [BZ #23522]
13059 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13060 processing, bail out if no room, and close the stream before
13061 returning ERANGE.
13062 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13063 (tst-nss-files-alias-leak): Link with libdl.
13064 (tst-nss-files-alias-leak.out): Depend on nss_files.
13065
13066 * nss/tst-nss-files-alias-leak.c: New file.
13067
2d7acfac
FW
130682018-08-14 Florian Weimer <fweimer@redhat.com>
13069
13070 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13071 server_user, stat_user.
13072
f3cd0904
JM
130732018-08-13 Joseph Myers <joseph@codesourcery.com>
13074
17b26500
JM
13075 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13076 version to 4.18.
13077 (io_pgetevents): New syscall.
13078 (rseq): Likewise.
13079
3c1622eb
JM
13080 * manual/install.texi (Configuring and compiling): Do not list
13081 tools used for testing pretty printers here.
13082 (Tools for Compilation): List Python, PExpect and GDB here.
13083 Update descriptions of uses of Perl and Python.
13084 * INSTALL: Regenerate.
13085
f3cd0904
JM
13086 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13087 version to 4.18.
13088
b7b52b9d
FW
130892018-08-13 Florian Weimer <fweimer@redhat.com>
13090
13091 * misc/error.c (error): Add missing va_end call.
13092 (error_at_line): Likewise.
13093
01780188
FW
130942018-08-13 Florian Weimer <fweimer@redhat.com>
13095
13096 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13097
44727aec
SP
130982018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13099
8cac1f26
SP
13100 * benchtests/scripts/benchout.schema.json (properties): Add
13101 new properties.
13102
44727aec
SP
13103 * benchtests/bench-skeleton.c (main): Add duration and
13104 iterations attributes.
13105
c77bf91b
PE
131062018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13107
13108 regex: Gnulib unibyte RRI uses bytes not chars
13109 Adjust the non-glibc code to agree with what Gawk needs for
13110 rational range interpretation (RRI) for regular expression ranges.
13111 In unibyte locales, Gawk wants ranges to use the underlying byte
13112 rather than the character code point. This change does not affect
13113 glibc proper.
13114 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13115 In unibyte locales, use the byte value rather than
13116 running it through btowc.
13117
2ce7ba7d
JM
131182018-08-10 Joseph Myers <joseph@codesourcery.com>
13119
13120 * sysdeps/generic/math-tests-snan.h: New file.
13121 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13122 (SNAN_TESTS_float): Do not define here.
13123 (SNAN_TESTS_double): Likewise.
13124 (SNAN_TESTS_long_double): Likewise.
13125 (SNAN_TESTS_float128): Likewise.
13126 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13127 * sysdeps/i386/fpu/math-tests.h: Remove file.
13128 * sysdeps/ia64/math-tests-snan.h: New file.
13129 * sysdeps/ia64/math-tests.h: Remove file.
13130 * sysdeps/x86/math-tests.h: Likewise.
13131 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13132
ea5c662c
WD
131332018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13134 Szabolcs Nagy <szabolcs.nagy@arm.com>
13135
13136 * math/Makefile: Add s_sincosf_data.c.
13137 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13138 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13139 (sincosf_poly): Likewise.
13140 (reduce_small): Likewise.
13141 (reduce_large): Likewise.
13142 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13143 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13144 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13145 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13146
43cfdf8f
SN
131472018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13148 Szabolcs Nagy <szabolcs.nagy@arm.com>
13149
13150 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13151 (converttoint): Use lround.
13152 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13153 document the semantics when TOINT_INTRINSICS is set.
13154 (converttoint): Likewise.
13155 (TOINT_RINT): Remove.
13156 (TOINT_SHIFT): Remove.
13157 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13158 path.
13159
69065288
FW
131602018-08-10 Florian Weimer <fweimer@redhat.com>
13161
13162 [BZ #23497]
13163 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13164 function.
13165 (__old_getdents64): Use getdents64. Convert entries without
13166 moving them.
13167 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13168 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13169 tst-readdir64-compat.
13170
8f135efc
IL
131712018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13172
13173 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13174 Fix unwind.
13175
71c01af5
IL
131762018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13177
13178 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13179 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13180 code to s390x-mcount.h and #include it.
13181 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13182 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13183 (__fentry__): Add.
13184
8d997d22
IL
131852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13186
13187 * stdlib/Versions: Remove __fentry__.
13188 * sysdeps/i386/Versions: Add __fentry__.
13189 * sysdeps/x86_64/Versions: Add __fentry__.
13190
69e2444a
IL
131912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13192
13193 * sysdeps/s390/Makefile: Register the new tests.
13194 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13195 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13196 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13197 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13198 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13199 * sysdeps/s390/tst-dl-runtime.c: New file.
13200
bde6320f
IL
132012018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13202
13203 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13204 Do not clobber R0.
13205
5755f5e4
IL
132062018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13207
13208 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13209 Do not clobber R0.
13210
c8ad8522
IL
132112018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13212
13213 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13214 Do not clobber R0.
13215
b215eee1
IL
132162018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13217
13218 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13219 Do not clobber R0.
13220
329c6fec
IL
132212018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13222
13223 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13224 Use symbolic offsets for stack variables.
13225
0fb7afa2
IL
132262018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13227
13228 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13229 Use symbolic offsets for stack variables.
13230
6954059a
IL
132312018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13232
13233 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13234 Use symbolic offsets for stack variables.
13235
c7099673
IL
132362018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13237
13238 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13239 Use symbolic offsets for stack variables.
13240
2813e41e
JM
132412018-08-09 Joseph Myers <joseph@codesourcery.com>
13242
13243 * math/gen-libm-test.py: New file.
13244 * math/gen-libm-test.pl: Remove.
13245 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13246 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13247 gen-libm-test.pl.
13248 ($(libm-test-c-noauto-obj)): Likewise.
13249 ($(libm-test-c-auto-obj)): Likewise.
13250 ($(libm-test-c-narrow-obj)): Likewise.
13251 (regen-ulps): Likewise.
13252 * math/README.libm-test: Update references to gen-libm-test.pl.
13253 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13254 referencing gen-libm-test.pl.
13255 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13256 * math/libm-test-support.c: Likewise.
13257 * math/libm-test-support.h: Likewise.
13258 * sysdeps/generic/libm-test-ulps: Likewise.
13259
be64b194
SP
132602018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13261
13262 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13263 Fix value.
13264
140137fb
JM
132652018-08-08 Joseph Myers <joseph@codesourcery.com>
13266
13267 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13268 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13269
b5403eca
ST
132702018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13271
13272 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13273 symbols.
8ac0f9e6
ST
13274 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13275 __pthread_setspecific): Add hidden proto.
13276 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13277 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 13278
014efdd7
SP
132792018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13280
13281 * benchtests/bench-string.h (buf1_size, buf2_size): New
13282 variables.
13283 (init_sizes): New function.
13284 (test_init): Use it.
13285 (alloc_buf, exit_error): New functions.
13286 (alloc_bufs): Use ALLOC_BUF.
13287 (realloc_bufs): Remove.
13288 * benchtests/bench-memcmp.c (do_test): Adjust.
13289 * benchtests/bench-memset-large.c (do_test): Likewise.
13290 * benchtests/bench-memset-walk.c (do_test): Likewise.
13291 * benchtests/bench-memset.c (do_test): Likewise.
13292 * benchtests/bench-strncmp.c (do_test): Likewise.
13293
92a4cba7
AS
132942018-08-06 Andreas Schwab <schwab@suse.de>
13295
13296 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13297 of CONST_THREAD_AREA.
13298
fb4c32ae
L
132992018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13300
13301 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13302 (STATE_SAVE_MASK): Likewise.
13303 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13304 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13305 (STATE_SAVE_MASK): Likewise.
13306 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13307 instead of <cpu-features.h>.
13308
bf418187
DD
133092018-08-03 DJ Delorie <dj@redhat.com>
13310
13311 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 13312 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 13313
bb17621a
DD
13314 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13315
ea705eb5
JM
133162018-08-03 Joseph Myers <joseph@codesourcery.com>
13317
13318 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13319 after TEST_* calls.
13320 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13321 * math/libm-test-logb.inc (logb_test_data): Likewise.
13322
284f42bc
WD
133232018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13324
13325 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13326 * string/strstr.c (AVAILABLE): Likewise.
13327
430388d5
L
133282018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13329
13330 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13331 <init-arch.h>.
13332 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13333 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13334 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13335
c5760aa9
CD
133362018-08-03 Carlos O'Donell <carlos@redhat.com>
13337
13338 * po/be.po: Update translation.
13339
6b535b84
CD
13340 * po/be.po: Update translation.
13341
ae67f2e5
L
133422018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13343
13344 * sysdeps/x86/cpu-features-offsets.sym
13345 (rtld_global_ro_offsetof): Removed.
13346 (CPU_FEATURES_SIZE): Likewise.
13347 (CPUID_OFFSET): Likewise.
13348 (CPUID_SIZE): Likewise.
13349 (CPUID_EAX_OFFSET): Likewise.
13350 (CPUID_EBX_OFFSET): Likewise.
13351 (CPUID_ECX_OFFSET): Likewise.
13352 (CPUID_EDX_OFFSET): Likewise.
13353 (FAMILY_OFFSET): Likewise.
13354 (MODEL_OFFSET): Likewise.
13355 (FEATURE_OFFSET): Likewise.
13356 (FEATURE_SIZ): Likewise.
13357 (COMMON_CPUID_INDEX_1): Likewise.
13358 (COMMON_CPUID_INDEX_7): Likewise.
13359 (FEATURE_INDEX_1): Likewise.
13360 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13361
6b5c8607 133622018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
13363
13364 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13365 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13366 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13367 (install-locales): Depend on install-locale-archive.
13368 (install-locale-archive): Define.
7b7adbd8 13369 (install-locale-files): Define.
08a5ee14
CD
13370 (build-one-locale): Define macro.
13371 * manual/install.texi (Running make install): Document.
13372 * manual/INSTALL: Regenerate.
13373
525691bd
SP
133742018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13375
d67d634b
SP
13376 * benchtests/scripts/compare_strings.py: Import traceback.
13377 (parse_file): Pretty-print error.
13378
525691bd
SP
13379 * NEWS: Mention the change.
13380 * elf/dl-tunables.list: Rename tune namespace to cpu.
13381 * sysdeps/powerpc/dl-tunables.list: Likewise.
13382 * sysdeps/x86/dl-tunables.list: Likewise.
13383 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13384 cpu.name.
13385 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13386 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13387 * manual/README.tunables: Likewise.
13388 * manual/tunables.texi: Likewise.
13389 * sysdeps/powerpc/cpu-features.c: Likewise.
13390 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13391 (init_cpu_features): Likewise.
13392 * sysdeps/x86/cpu-features.c: Likewise.
13393 * sysdeps/x86/cpu-features.h: Likewise.
13394 * sysdeps/x86/cpu-tunables.c: Likewise.
13395 * sysdeps/x86_64/Makefile: Likewise.
13396 * sysdeps/x86/dl-cet.c: Likewise.
13397
506d7fb1
JM
133982018-08-02 Joseph Myers <joseph@codesourcery.com>
13399
13400 [BZ #23479]
13401 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13402 [__mips_hard_float].
13403 (FE_UNDERFLOW): Likewise.
13404 (FE_OVERFLOW): Likewise.
13405 (FE_DIVBYZERO): Likewise.
13406 (FE_INVALID): Likewise.
13407 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13408 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13409 (FE_UPWARD): Likewise.
13410 (FE_DOWNWARD): Likewise.
13411 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13412 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13413 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13414 [__mips_hard_float].
13415 (FP_ROUNDMODE): Likewise.
13416 (FP_RND_NEAREST): Likewise.
13417 (FP_RND_ZERO): Likewise.
13418 (FP_RND_PINF): Likewise.
13419 (FP_RND_MINF): Likewise.
13420 (FP_EX_INVALID): Likewise.
13421 (FP_EX_OVERFLOW): Likewise.
13422 (FP_EX_UNDERFLOW): Likewise.
13423 (FP_EX_DIVZERO): Likewise.
13424 (FP_EX_INEXACT): Likewise.
13425 (FP_INIT_ROUNDMODE): Likewise.
13426 * sysdeps/mips/nofpu/fesetenv.c: New file.
13427 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13428
f6dcefbe
JM
134292018-08-01 Joseph Myers <joseph@codesourcery.com>
13430
13431 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13432 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13433 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13434 conditional on [FE_UPWARD].
13435
fa67ba06
PE
134362018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13437
13438 regex: fix memory leak in Gnulib
13439 Problem and fix reported by Assaf Gordon in:
13440 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13441 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13442 range_ends members too, as they are defined in 'struct
13443 re_charset_t' even if not _LIBC. This affects only Gnulib.
13444
82c80ac2
L
134452018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13446
13447 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13448 ...
13449 (get_common_indices): This.
13450 (init_cpu_features): Updated.
13451
c0e7e2c1
JM
134522018-08-01 Joseph Myers <joseph@codesourcery.com>
13453
46f8cf57
JM
13454 * sysdeps/generic/math-tests-snan-payload.h: New file.
13455 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13456 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13457 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13458 * sysdeps/generic/math-tests.h: Include
13459 <math-tests-snan-payload.h>.
13460 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13461 * sysdeps/hppa/math-tests.h: Remove file.
13462 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13463 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13464 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13465 Likewise.
13466
c0e7e2c1
JM
13467 * sysdeps/generic/math-tests-snan-cast.h: New file.
13468 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13469 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13470 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13471 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13472
e6855a3b 134732018-08-01 Carlos O'Donell <carlos@redhat.com>
74939c83 13474
b029723b
CD
13475 * version.h (RELEASE): Set to "development".
13476 (VERSION): Set to "2.28.9000".
13477 * NEWS (2.29): New section.
13478
3c03baca
CD
13479 * version.h (RELEASE): Set to "stable".
13480 (VERSION): Set to "2.28".
13481 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13482 * NEWS: Add the list of bugs fixed in 2.28.
13483
74939c83
CD
13484 * po/ca.po: Update to latest version.
13485 * po/cs.po: Likewise
13486 * po/da.po: Likewise
13487 * po/el.po: Likewise
13488 * po/eo.po: Likewise
13489 * po/es.po: Likewise
13490 * po/fi.po: Likewise
13491 * po/fr.po: Likewise
13492 * po/gl.po: Likewise
13493 * po/hu.po: Likewise
13494 * po/ia.po: Likewise
13495 * po/id.po: Likewise
13496 * po/it.po: Likewise
13497 * po/ja.po: Likewise
13498 * po/ko.po: Likewise
13499 * po/lt.po: Likewise
13500 * po/nb.po: Likewise
13501 * po/nl.po: Likewise
13502 * po/pt_BR.po: Likewise
13503 * po/ru.po: Likewise
13504 * po/rw.po: Likewise
13505 * po/sk.po: Likewise
13506 * po/sl.po: Likewise
13507 * po/tr.po: Likewise
13508 * po/zh_CN.po: Likewise
13509 * po/zh_TW.po: Likewise
13510
d4b54bdf
ST
135112018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13512
13513 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13514 initialization...
13515 (init): ... before initializing libpthread.
13516
42fc12ef
ST
13517 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13518 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13519 (__mach_setup_tls): ... new function.
13520 (mach_setup_tls): New alias.
13521 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13522 __mach_setup_thread.
13523 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13524 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13525 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13526 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13527
6cca855e
CD
135282018-07-31 Carlos O'Donell <carlos@redhat.com>
13529
f650932b
CD
13530 * manual/install.texi: Update versions.
13531 * INSTALL: Regenerate.
13532
6cca855e
CD
13533 * manual/contrib.texi (Contributors): Update contributions.
13534
07fdea47
CD
135352018-07-31 Carlos O'Donell <carlos@redhat.com>
13536
13537 * po/be.po: Update translations.
13538
63d5fad4
AZ
135392018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13540
13541 * sysdeps/sh/libm-test-ulps: Update.
13542
1ff712a6
CD
135432018-07-30 Carlos O'Donell <carlos@redhat.com>
13544
13545 * po/bg.po: Update translations.
13546 * po/de.po: Likewise.
13547 * po/hr.po: Likewise.
13548 * po/pt_BR.po: Likewise.
13549 * po/sv.po: Likewise.
13550 * po/vi.po: Likewise.
13551
98864ed0
L
135522018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13553
13554 [BZ #23467]
13555 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13556 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13557 (CFLAGS-tst-cet-property-1.o): New.
13558 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13559 ($(objpfx)tst-cet-property-2): Likewise.
13560 ($(objpfx)tst-cet-property-2.out): Likewise.
13561 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13562 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13563 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13564 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13565 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13566
c92a00d8
L
135672018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13568
13569 [BZ #23458]
13570 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13571
99bc6241
ST
135722018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13573
13574 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13575 __sbrk): Do not set attribute_hidden.
af86087f 13576 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
13577 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13578 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13579
bcb1c4af
CD
135802018-07-27 Carlos O'Donell <carlos@redhat.com>
13581
13582 * po/uk.po: Update translations.
13583 * po/cs.po: Likewise.
13584 * po/pl.po: Likewise.
13585
4591b7db
L
135862018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13587
13588 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13589 parse beyond the note end.
13590
2c6da2f4
AZ
135912018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13592
13593 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13594 kernel does not support OFD locks.
13595 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13596
20365a31
ST
135972018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13598
13599 * sysdeps/mach/hurd/Versions (libc): Make __access and
13600 __access_noerrno external so they can override the ld symbols.
13601 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13602 __writev, __open64, __access_noerrno extern so they can be overrided.
13603 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13604 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13605
cb1a43db
CD
136062018-07-26 Carlos O'Donell <carlos@redhat.com>
13607
13608 * po/libc.pot: Regenerate.
13609
74759ae5
JM
136102018-07-26 Joseph Myers <joseph@codesourcery.com>
13611
13612 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13613
da80612d
L
136142018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13615
13616 [BZ #23459]
13617 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13618 function.
13619 (init_cpu_features): Call get_extended_indices for both Intel
13620 and AMD CPUs.
13621 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13622 Remove "for AMD" comment.
13623
65d87ade
L
136242018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13625
13626 [BZ # 23456]
13627 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13628 COMMON_CPUID_INDEX_80000001.
13629
c9dc4d51
SL
136302018-07-26 Stefan Liebler <stli@linux.ibm.com>
13631
13632 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13633 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13634
cfba5dbb
FW
136352018-07-26 Florian Weimer <fweimer@redhat.com>
13636
13637 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13638 aliases for symbols not in the implementation namespace.
13639
6b5c8607 136402018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
13641
13642 [BZ #23393]
13643 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13644 lowercase in LATIN script.
13645 * localedata/Makefile (test-input): Add en_US.UTF-8.
13646 * localedata/en_US.UTF-8.in: New file.
13647 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13648 and restore old tests.
13649 * posix/tst-regexloc.c (do_test): Add back range expression test.
13650
3fb455b3
L
136512018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13654
d6499b70
AZ
136552018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13656
13657 * nptl/threads.h: Move to ...
13658 * sysdeps/nptl/threads.h: ... here.
13659 * sysdeps/hurd/stdc-predef.h: New file.
13660
08ac6bed
L
136612018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13662
13663 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13664 tst-cet-setcontext-1 if CET is enabled.
13665 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13666 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13667
9faaf938
AZ
136682018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13669
13670 * include/threads.h: Move to ...
13671 * sysdeps/nptl/threads.h: ... here.
13672 * sysdeps/htl/threads.h: New file.
13673 * conform/Makefile (linknamespace-libs-ISO11): Use
13674 static-thread-library instead of linking libpthread.
13675 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13676
d6b8f847
FW
136772018-07-25 Florian Weimer <fweimer@redhat.com>
13678
13679 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13680 nanoseconds into seconds.
13681 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13682 (do_test): Likewise.
13683 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13684 (do_test): Likewise. Avoid nanosecond overflow and spurious
13685 timeouts due to system load.
13686 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13687 (child_wait): Increment it.
13688 (do_test): Wait as long as necessary until all expected threads
13689 have arrived.
13690
25123a1c
L
136912018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13692 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13695 __ssp.
13696 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13697 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13698 (__push___start_context): New.
13699 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13700 <asm/prctl.h>.
13701 (__getcontext): Record the current shadow stack base. Save the
13702 caller's shadow stack pointer and base.
13703 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13704 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13705 (__push___start_context): New prototype.
13706 (__makecontext): Call __push___start_context to allocate a new
13707 shadow stack, push __start_context onto the new stack as well
13708 as the new shadow stack.
13709 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13710 <asm/prctl.h>.
13711 (__setcontext): Restore the target shadow stack.
13712 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13713 <asm/prctl.h>.
13714 (__swapcontext): Record the current shadow stack base. Save
13715 the caller's shadow stack pointer and base. Restore the target
13716 shadow stack.
13717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13718 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13719 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13720
375a4844
L
137212018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13724 tst-setcontext8 and tst-setcontext9.
13725 * stdlib/tst-setcontext6.c: New file.
13726 * stdlib/tst-setcontext7.c: Likewise.
13727 * stdlib/tst-setcontext8.c: Likewise.
13728 * stdlib/tst-setcontext9.c: Likewise.
13729
bd4f7903
L
137302018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13731
13732 * stdlib/Makefile ((tests): Add tst-setcontext5.
13733 * stdlib/tst-setcontext5.c: New file.
13734
7e28f203
L
137352018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13736
13737 * stdlib/Makefile (tests): Add tst-setcontext4.
13738 * stdlib/tst-setcontext4.c: New file.
13739
8516ad2d
L
137402018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13741
13742 * stdlib/Makefile (tests): Add tst-swapcontext1.
13743 * stdlib/tst-swapcontext1.c: New test.
13744
fddcd003
L
137452018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13746
13747 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13748 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13749 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13750 and tst-cet-legacy-4c.
13751 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13752 and tst-cet-legacy-mod-4.
13753 (CFLAGS-tst-cet-legacy-2.c): New.
13754 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13755 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13756 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13757 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13758 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13759 ($(objpfx)tst-cet-legacy-1): Likewise.
13760 ($(objpfx)tst-cet-legacy-2): Likewise.
13761 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13762 ($(objpfx)tst-cet-legacy-2a): Likewise.
13763 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13764 ($(objpfx)tst-cet-legacy-4): Likewise.
13765 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13766 ($(objpfx)tst-cet-legacy-4a): Likewise.
13767 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13768 (tst-cet-legacy-4a-ENV): Likewise.
13769 ($(objpfx)tst-cet-legacy-4b): Likewise.
13770 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13771 (tst-cet-legacy-4b-ENV): Likewise.
13772 ($(objpfx)tst-cet-legacy-4c): Likewise.
13773 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13774 (tst-cet-legacy-4c-ENV): Likewise.
13775 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13776 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13777 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13778 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13779 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13780 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13781 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13782 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13783 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13784 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13785 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13786
9aa3113a
L
137872018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13788
13789 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13790 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13791 with ssp_base.
13792 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13793 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13794 with ssp_base.
13795
9c79cec8
AS
137962018-07-25 Andreas Schwab <schwab@suse.de>
13797
13798 [BZ #23442]
13799 * locale/weightwc.h (findidx): Handle the case where usrc is a
13800 prefix of cp but one character too short.
13801
969c3355
AZ
138022018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13803
13804 * NEWS: Add ISO C threads addition.
13805
e0f9c462
FW
138062018-07-24 Florian Weimer <fweimer@redhat.com>
13807
13808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13809 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13810 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13811 4.13.
13812
394df381
L
138132018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13814
13815 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13816 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13817 <sys/prctl.h> and <asm/prctl.h>.
13818 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13819 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13820 and <asm/prctl.h>.
13821 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13822 ARCH_CET_LEGACY_BITMAP.
13823 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13824 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13825 * sysdeps/x86/libc-start.c: Include <startup.h>.
13826
46545530
FW
138272018-07-24 Florian Weimer <fweimer@redhat.com>
13828
13829 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13830 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13831
6b5c8607 138322018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 13833 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
13834 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13835
13836 [BZ #14092]
9d0a979e
RJ
13837 * manual/debug.texi: Update adjacent chapter name.
13838 * manual/probes.texi: Likewise.
13839 * manual/threads.texi (ISO C Threads): New section.
13840 (POSIX Threads): Convert to a section.
13841
138422018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13843 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13844
13845 [BZ# 14092]
0a07288b
AZ
13846 * nptl/Makefile (tests): Add new test files.
13847 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13848 * nptl/tst-cnd-basic.c: Likewise.
13849 * nptl/tst-cnd-broadcast.c: Likewise.
13850 * nptl/tst-cnd-timedwait.c: Likewise.
13851 * nptl/tst-mtx-basic.c: Likewise.
13852 * nptl/tst-mtx-recursive.c: Likewise.
13853 * nptl/tst-mtx-timedlock.c: Likewise.
13854 * nptl/tst-mtx-trylock.c: Likewise.
13855 * nptl/tst-thrd-basic.c: Likewise.
13856 * nptl/tst-thrd-detach.c: Likewise.
13857 * nptl/tst-thrd-sleep.c: Likewise.
13858 * nptl/tst-tss-basic.c: Likewise.
13859
ce7528f6
AZ
138602018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13861
c6dd669b
AZ
13862 [BZ #14092]
13863 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13864 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13865 symbols.
13866 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13868 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13869 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13879 Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13881 Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13883 Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13894 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13895 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13896 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13897 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13898 Likewise.
13899 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13911 ikewise.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13914 Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13916 Likewise.
13917 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13925
78d40132
AZ
13926 [BZ #14092]
13927 * conform/data/threads.h-data (thread_local): New macro.
13928 (TSS_DTOR_ITERATIONS): Likewise.
13929 (tss_t): New type.
13930 (tss_dtor_t): Likewise.
13931 (tss_create): New function.
13932 (tss_get): Likewise.
13933 (tss_set): Likewise.
13934 (tss_delete): Likewise.
13935 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13936 tss_get, and tss_set objects.
13937 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13938 * nptl/tss_create.c: New file.
13939 * nptl/tss_delete.c: Likewise.
13940 * nptl/tss_get.c: Likewise.
13941 * nptl/tss_set.c: Likewise.
13942 * sysdeps/nptl/threads.h (thread_local): New define.
13943 (TSS_DTOR_ITERATIONS): Likewise.
13944 (tss_t): New typedef.
13945 (tss_dtor_t): Likewise.
13946 (tss_create): New prototype.
13947 (tss_get): Likewise.
13948 (tss_set): Likewise.
13949 (tss_delete): Likewise.
13950
918311a3
AZ
13951 [BZ #14092]
13952 * conform/data/threads.h-data (cnd_t): New type.
13953 (cnd_init): New function.
13954 (cnd_signal): Likewise.
13955 (cnd_broadcast): Likewise.
13956 (cnd_wait): Likewise.
13957 (cnd_timedwait): Likewise.
13958 (cnd_destroy): Likewise.
13959 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13960 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13961 object.
13962 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13963 * nptl/cnd_broadcast.c: New file.
13964 * nptl/cnd_destroy.c: Likewise.
13965 * nptl/cnd_init.c: Likewise.
13966 * nptl/cnd_signal.c: Likewise.
13967 * nptl/cnd_timedwait.c: Likewise.
13968 * nptl/cnd_wait.c: Likewise.
13969 * sysdeps/nptl/threads.h (cnd_t): New type.
13970 (cnd_init): New prototype.
13971 (cnd_signa): Likewise.
13972 (cnd_broadcast): Likewise.
13973 (cnd_wait): Likewise.
13974 (cnd_timedwait): Likewise.
13975 (cnd_destroy): Likewise.
13976
3c20a679
AZ
13977 [BZ #14092]
13978 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13979 (once_flag): New type.
13980 (call_once): New function.
13981 * nptl/Makefile (libpthread-routines): Add call_once object.
13982 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13983 * nptl/call_once.c: New file.
13984 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13985 (once_flag): New type.
13986 (call_once): New prototype.
13987
18d59c1b
AZ
13988 [BZ #14092]
13989 * conform/data/threads.h-data (mtx_plain): New constant.
13990 (mtx_recursive): Likewise.
13991 (mtx_timed): Likewise.
13992 (mtx_t): New type.
13993 (mtx_init): New function.
13994 (mtx_lock): Likewise.
13995 (mtx_timedlock): Likewise.
13996 (mtx_trylock): Likewise.
13997 (mtx_unlock): Likewise.
13998 (mtx_destroy): Likewise.
13999 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14000 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14001 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14002 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14003 * nptl/mtx_destroy.c: New file.
14004 * nptl/mtx_init.c: Likewise.
14005 * nptl/mtx_lock.c: Likewise.
14006 * nptl/mtx_timedlock.c: Likewise.
14007 * nptl/mtx_trylock.c: Likewise.
14008 * nptl/mtx_unlock.c: Likewise.
14009 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14010 (mtx_recursive): Likewise.
14011 (mtx_timed): Likewise.
14012 (mtx_t): New type.
14013 (mtx_init): New prototype.
14014 (mtx_lock): Likewise.
14015 (mtx_timedlock): Likewise.
14016 (mtx_trylock): Likewise.
14017 (mtx_unlock): Likewise.
14018 (mtx_destroy): Likewise.
14019
ce7528f6
AZ
14020 [BZ #14092]
14021 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14022 (linknamespace-libs-ISO11): Add libpthread.a.
14023 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14024 functions.
14025 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14026 * nptl/Makefile (headers): Add threads.h.
14027 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14028 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14029 thrd_yield.
14030 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14031 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14032 thrd_join, thrd_sleep, and thrd_yield symbols.
14033 * nptl/descr.h (struct pthread): Add c11 field.
14034 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14035 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14036 routine with expected function prototype.
14037 (__pthread_create_2_1): Add C11 threads check based on attribute
14038 value.
14039 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14040 * nptl/thrd_create.c: New file.
14041 * nptl/thrd_current.c: Likewise.
14042 * nptl/thrd_detach.c: Likewise.
14043 * nptl/thrd_equal.c: Likewise.
14044 * nptl/thrd_exit.c: Likewise.
14045 * nptl/thrd_join.c: Likewise.
14046 * nptl/thrd_priv.h: Likewise.
14047 * nptl/thrd_sleep.c: Likewise.
14048 * nptl/thrd_yield.c: Likewise.
14049 * include/threads.h: Likewise.
14050
e27f41ba
L
140512018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14052
14053 * bits/indirect-return.h: New file.
14054 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14055 * sysdeps/x86/bits/indirect-return.h: Likewise.
14056 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14057 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14058 (swapcontext): Add __INDIRECT_RETURN.
14059 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14060 (prepare_test_buffer): Use it.
14061
21526a50
AS
140622018-07-24 Andreas Schwab <schwab@suse.de>
14063
14064 [BZ #23448]
14065 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14066 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14067
3650e1d9
L
140682018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14071 Redefine if shadow stack is enabled.
14072 (SYSCALL_ERROR_LABEL): Likewise.
14073 (__vfork): Pop shadow stack and jump back to to caller directly
14074 when shadow stack is in use.
14075 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14076 Redefine if shadow stack is enabled.
14077 (SYSCALL_ERROR_LABEL): Likewise.
14078 (__vfork): Pop shadow stack and jump back to to caller directly
14079 when shadow stack is in use.
14080
ca027e0f
L
140812018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14082
14083 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14084 enabled.
14085 (foo): Likewise.
14086 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14087 (foo): Likewise.
14088
b99f1c95
JM
140892018-07-20 Joseph Myers <joseph@codesourcery.com>
14090
14091 * scripts/build-many-glibcs.py (Context.checkout): Default
14092 binutils version to 2.31 branch.
14093
c8fabb84
ZL
140942018-07-20 Zong Li <zong@andestech.com>
14095
14096 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14097 URL of gcc's tarball.
14098
786658a0
FW
140992018-07-20 Florian Weimer <fweimer@redhat.com>
14100
14101 [BZ #23396]
14102 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14103 not compare an extra byte after the end of the weights.
14104
46f2474e
ST
141052018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14106
14107 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14108 to 1.
8ba1520e
ST
14109 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14110 hidden prototypes.
14111 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14112 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
14113 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14114 list of libraries whose stack executability is expected.
14115 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14116 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14117 variable.
14118 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14119 libc.so libpthread.so.
46f2474e 14120
60088242
TS
141212018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14122
14123 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14124 SOCK_NONBLOCK.
75d5e4a0
TS
14125 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14126 and SOCK_NONBLOCK.
de195be0
TS
14127 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14128 implement __pipe2.
14129 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 14130
1cf4ae7f
LS
141312018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14132
14133 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14134 library to improve command line parsing.
14135 (__main__): make schema file as optional parameter (--schema),
14136 defaulting to benchtests/scripts/benchout.schema.json.
14137 (main): move out of the parsing stuff to __main_  and leave it
14138 only as caller of main comparison functions.
14139
e84bd851
L
141402018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 * NEWS: Add a note for Intel CET status.
14143 * manual/install.texi: Likewise.
14144 * INSTALL: Regenerated.
14145
df467d22
QP
141462018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14147
14148 [BZ #23140]
14149 * localedata/locales/oc_FR (mon): Rename to...
14150 (alt_mon): This, then update October (typo fix).
14151 (mon): New content (genitive case, month names preceded by
14152 "de" or "d’").
14153
14154 [BZ #23422]
14155 * localedata/locales/oc_FR (abday): Update all items.
14156 (day): Update Wednesday and Saturday (typo fixes).
14157 (abmon): Update all items, except May.
14158 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14159 (LC_IDENTIFICATION): Bump the revision number and date.
14160 Keep the "category" entries in alphabetic order.
14161 (LC_ADDRESS): Remove no longer needed comment.
14162 (LC_COLLATE): Use “copy "ca_ES"”.
14163 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14164 "name_mrs".
14165
5c112f1b
JM
141662018-07-18 Joseph Myers <joseph@codesourcery.com>
14167
14168 * grp/tst_fgetgrent.c: Include <unistd.h>.
14169 (main): Use mkstemp instead of tmpnam.
14170 * io/test-utime.c (main): Likewise.
14171 * posix/annexc.c (macrofile): Change to modifiable array.
14172 (main): Remove macrofile here.
14173 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14174 macrofile here.
14175 (check_header): Do not remove macrofile here.
14176 * posix/bug-getopt1.c: Include <stdlib.h>.
14177 (do_test): Use mkstemp instead of tmpnam.
14178 * posix/bug-getopt2.c: Include <stdlib.h>.
14179 (do_test): Use mkstemp instead of tmpnam.
14180 * posix/bug-getopt3.c: Include <stdlib.h>.
14181 (do_test): Use mkstemp instead of tmpnam.
14182 * posix/bug-getopt4.c: Include <stdlib.h>.
14183 (do_test): Use mkstemp instead of tmpnam.
14184 * posix/bug-getopt5.c: Include <stdlib.h>.
14185 (do_test): Use mkstemp instead of tmpnam.
14186 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14187 (main): Use mkstemp instead of tmpnam.
14188 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14189 (main): Use mkstemp instead of tmpnam.
14190 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14191 (main): use mkstemp instead of tmpnam.
14192 * stdlib/isomac.c (macrofile): Change to modifiable array.
14193 (main): Remove macrofile here.
14194 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14195 macrofile here.
14196 (check_header): Do not remove macrofile here.
14197
6d90776d
L
141982018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14201 glibc.tune.x86_shstk.
14202
e6c69509
L
142032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 * NEWS: Mention --enable-cet.
14206 * manual/install.texi: Document --enable-cet.
14207 * INSTALL: Regenerated.
14208
e2d40a88
L
142092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14212 Add _CET_NOTRACK before indirect jump to jump table.
14213
77a8ae09
L
142142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14215
14216 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14217 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14218 to jump table.
14219
90d15dc5
L
142202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14223 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14224 to jump table.
14225
f1574581
L
142262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14227
14228 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14229 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14230 to jump table.
14231
7fb61336
L
142322018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14235 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14236 to jump table.
14237
0a899af0
L
142382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14239
14240 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14241 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14242 to jump table.
14243 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14244
177824e2
L
142452018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14248 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14249 to jump table.
14250
00e7b76a
L
142512018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14252
14253 * sysdeps/i386/i686/multiarch/memset-sse2.S
14254 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14255 to jump table.
14256
7e119cd5
L
142572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14258
14259 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14260 indirect jump to jump table.
14261
03aaf49b
L
142622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14263
14264 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14265 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14266 to jump table.
14267 (MEMCPY): Likewise.
14268
811e9e52
L
142692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14270
14271 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14272 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14273 to jump table.
14274 (MEMCPY): Likewise.
14275
8817df42
L
142762018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14277
14278 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14279 _CET_NOTRACK before indirect jump to jump table.
14280
921595d1
L
142812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14282
14283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14284 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14285 to jump table.
14286
4ef60d95
L
142872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14290 indirect jump to jump table.
14291
61c4aad7
VT
142922018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14293
14294 [BZ #22241]
14295 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14296 (LOCALES): Likewise.
14297 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14298 * localedata/locales/sah_RU: New file.
14299 * localedata/sah_RU.UTF-8.in: New file.
14300
be9ccd27
L
143012018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14302
14303 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14304 "sysdep.h".
14305 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14306 _CET_ENDBR to indirect jump targets and adjust jump destination
14307 for _CET_ENDBR.
14308 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14309 "sysdep.h".
14310 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14311 _CET_ENDBR to indirect jump targets and adjust jump destination
14312 for _CET_ENDBR.
14313 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14314 "sysdep.h".
14315 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14316 _CET_ENDBR to indirect jump targets and adjust jump destination
14317 for _CET_ENDBR.
14318
5efc6777
L
143192018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14322 _CET_ENDBR.
14323
562837c0
L
143242018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14325
14326 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14327 _CET_ENDBR.
14328 (_dl_tlsdesc_undefweak): Likewise.
14329 (_dl_tlsdesc_dynamic): Likewise.
14330 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14331 (_dl_tlsdesc_resolve_rel): Likewise.
14332 (_dl_tlsdesc_resolve_rela): Likewise.
14333 (_dl_tlsdesc_resolve_hold): Likewise.
14334 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14335 (_dl_tlsdesc_undefweak): Likewise.
14336 (_dl_tlsdesc_dynamic): Likewise.
14337 (_dl_tlsdesc_resolve_rela): Likewise.
14338 (_dl_tlsdesc_resolve_hold): Likewise.
14339
124bcde6
L
143402018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14343 (_fini): Likewise.
14344 * sysdeps/x86_64/crti.S (_init): Likewise.
14345 (_fini): Likewise.
14346
9145f033
RL
143472018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
14348
14349 [BZ #23140]
14350 * localedata/locales/os_RU (mon): Rename to...
14351 (alt_mon): This.
14352 (mon): Import from CLDR (genitive case).
14353
ba2ea23d
L
143542018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14355
14356 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14357 cet-tunables.h> when CET is enabled.
14358
f753fa7d
L
143592018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14360
6b5c8607 14361 [BZ #21598]
f753fa7d
L
14362 * configure.ac: Add --enable-cet.
14363 * configure: Regenerated.
14364 * elf/Makefille (all-built-dso): Add a comment.
14365 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14366 Include <dl-prop.h>.
14367 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14368 segment.
14369 * elf/dl-open.c: Include <dl-prop.h>.
14370 (dl_open_worker): Call _dl_open_check.
14371 * elf/rtld.c: Include <dl-prop.h>.
14372 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14373 _rtld_main_check.
14374 * sysdeps/generic/dl-prop.h: New file.
14375 * sysdeps/i386/dl-cet.c: Likewise.
14376 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14377 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14378 * sysdeps/x86/cet-tunables.h: Likewise.
14379 * sysdeps/x86/check-cet.awk: Likewise.
14380 * sysdeps/x86/configure: Likewise.
14381 * sysdeps/x86/configure.ac: Likewise.
14382 * sysdeps/x86/dl-cet.c: Likewise.
14383 * sysdeps/x86/dl-procruntime.c: Likewise.
14384 * sysdeps/x86/dl-prop.h: Likewise.
14385 * sysdeps/x86/libc-start.h: Likewise.
14386 * sysdeps/x86/link_map.h: Likewise.
14387 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14388 _CET_ENDBR.
14389 (_dl_runtime_profile): Likewise.
14390 (_dl_runtime_resolve_shstk): New.
14391 (_dl_runtime_profile_shstk): Likewise.
14392 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14393 if CET is enabled.
14394 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14395 (CFLAGS-.os): Likewise.
14396 (CFLAGS-.op): Likewise.
14397 (CFLAGS-.oS): Likewise.
14398 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14399 is enabled.
14400 (tests-special): Add $(objpfx)check-cet.out.
14401 (cet-built-dso): New.
14402 (+$(cet-built-dso:=.note)): Likewise.
14403 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14404 ($(objpfx)check-cet.out): New.
14405 (generated): Add check-cet.out.
14406 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14407 <cet-tunables.h>.
14408 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14409 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14410 (init_cpu_features): Call get_cet_status to check CET status
14411 and update dl_x86_feature_1 with CET status. Call
14412 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14413 (set_x86_shstk). Disable and lock CET in libc.a.
14414 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14415 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14416 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14417 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14418 (_CET_ENDBR): Define if not defined.
14419 (ENTRY): Add _CET_ENDBR.
14420 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14421 x86_shstk.
14422 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14423 _CET_ENDBR.
14424 (_dl_runtime_profile): Likewise.
14425
52b2a80f
RA
144262018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14427
14428 [BZ #21895]
14429 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14430 restore r2 on longjmp.
14431 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14432 test list.
14433 Added rules to build test tst-setjmp-bug21895-static.
14434 Added module setjmp-bug21895 and rules to build a shared object from it.
14435 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14436 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14437
3ae725df
WD
144382018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14439
14440 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14441 * benchtests/bench-strstr.c: Likewise.
14442 * string/memmem.c (FASTSEARCH): Define.
14443 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14444 Add support for FASTSEARCH.
14445 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14446 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14447 (FASTSEARCH): Define.
14448 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14449 * string/test-strstr.c: Likewise.
14450
31e422ca
L
144512018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14452
14453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14454 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14455
faaee1f0
L
144562018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14457 H.J. Lu <hongjiu.lu@intel.com>
14458
14459 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14460 (__longjmp): Restore shadow stack pointer if shadow stack is
14461 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14462 isn't defined for __longjmp_cancel.
14463 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14464 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14465 and SHADOW_STACK_POINTER_OFFSET is defined.
14466 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14467 (setjmp): Save shadow stack pointer if shadow stack is enabled
14468 and SHADOW_STACK_POINTER_OFFSET is defined.
14469 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14470 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14471 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14472 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14473 <jmp_buf-ssp.h>.
14474 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14475 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14476 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14477 Remove jmp_buf-ssp.sym.
14478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14479 <jmp_buf-ssp.h>.
14480 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14481 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14482 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14483 jmp_buf-ssp.sym.
14484 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14485 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14486 (__longjmp): Restore shadow stack pointer if shadow stack is
14487 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14488 isn't defined for __longjmp_cancel.
14489 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14490 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14491 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14492
ebff9c5c
L
144932018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14494
14495 [BZ #22563]
14496 * nptl/pthread_create.c: Include <tls-setup.h>.
14497 (__pthread_create_2_1): Call tls_setup_tcbhead.
14498 * sysdeps/generic/tls-setup.h: New file.
14499 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14500 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14501 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14502 Likewise.
14503 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14504 to feature_1.
14505 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14506 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14507 (X86_FEATURE_1_SHSTK): Likewise.
14508 (CET_ENABLED): Likewise.
14509 (IBT_ENABLED): Likewise.
14510 (SHSTK_ENABLED): Likewise.
14511
0a83bad2
RL
145122018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
14513
14514 [BZ #23208]
14515 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14516 (LOCALES): Likewise.
14517 * localedata/dsb_DE.UTF-8.in: New file.
14518 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14519
046bfed9
FW
145202018-07-12 Florian Weimer <fweimer@redhat.com>
14521
14522 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14523 __mprotect, not mprotect.
14524
93304f5f
FW
145252018-07-11 Florian Weimer <fweimer@redhat.com>
14526
14527 * io/Makefile (headers): Add bits/statx.h.
14528
4beefeeb
MF
145292018-07-10 Mike FABIAN <mfabian@redhat.com>
14530
14531 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14532 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14533 and headers.
14534 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14535 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14536 for utf8_gen.py
14537
fd70af45
FW
145382018-07-10 Florian Weimer <fweimer@redhat.com>
14539
14540 * io/Makefile (routines): Add statx.
14541 (tests-internal): Add tst-statx.
14542 * io/Versions (GLIBC_2.28): Export statx.
14543 * io/bits/statx.h: New file.
14544 * io/sys/stat.h [__USE_GNU]: Include it.
14545 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14546 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14547 Define.
14548 * io/statx.c: New file.
14549 * io/statx_generic.: Likewise.
14550 * io/tst-statx.: Likewise.
14551 * include/bits/statx.h: Likewise.
14552 * sysdeps/unix/sysv/linux/kernel-features.h
14553 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14554 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14555 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14556 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14557 Undefine.
14558 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14559 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14560 * sysdeps/unix/sysv/linux/statx.c: New file.
14561 * manual/filesys.texi: Note that statx is undocumented.
14562 * sysdeps/**/libc*.abilist: Update.
14563
b444e8f7
AZ
145642018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14565
14566 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14567 a kernel issue which lead to test failure in some cases.
14568
7b2f4ced
FW
145692018-07-10 Florian Weimer <fweimer@redhat.com>
14570
14571 [BZ #23036]
14572 * posix/regexec.c (check_node_accept_bytes): When comparing
14573 weights, do not compare an extra byte after the end of the
14574 weights.
14575
4fa34da6
FW
145762018-07-10 Florian Weimer <fweimer@redhat.com>
14577
14578 * libio/readline.c: Fix copyright year.
14579 * libio/tst-readline.c Likewise.
14580 * nss/tst-nss-files-hosts-getent.c: Likewise.
14581
916124ed
FW
145822018-07-06 Florian Weimer <fweimer@redhat.com>
14583
14584 [BZ #18991]
14585 * nss/nss_files/files-XXX.c (internal_getent): Use
14586 __libc_readline_unlocked. Seek back to the start of the line if
14587 parsing failes with ERANGE.
14588 (get_contents_ret, get_contents): Remove.
14589 * nss/tst-nss-files-hosts-getent.c: New file.
14590 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14591 (tst-nss-files-hosts-getent): Link with -ldl.
14592
3f5e3f5d
FW
145932018-07-06 Florian Weimer <fweimer@redhat.com>
14594
14595 * include/stdio.h (__libc_readline_unlocked): Declare.
14596 (__ftello64, __fseeko64): Declare aliases.
14597 * libio/readline.c: New file.
14598 * libio/tst-readline.c: Likewise.
14599 (routines): Add readline.
14600 (tests-internal): Add tst-readlime.
14601 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14602 __libc_readline_unlocked.
14603 * libio/fseeko.c (__fseeko): Rename from fseeko.
14604 (fseeko): Add alias.
14605 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14606 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14607 (fseeko64): Add alias.
14608 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14609 * libio/ftello64.c (__ftello64): Rename from ftello64.
14610 (ftello64): Add alias.
14611
397c54c1
SN
146122018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14613
14614 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14615 HWCAP_ATOMICS.
14616
d0cd7980
SN
146172018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14618
14619 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14620 Use dl_hwcap without masking.
14621 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14622 Remove HWCAP_CPUID.
14623
ddb3c626
FW
146242018-07-06 Florian Weimer <fweimer@redhat.com>
14625
14626 * conform/conformtest.pl (checknamespace): Escape literal braces
14627 in regular expressions.
14628
bce5911b
AP
146292018-07-06 Amit Pawar <amit.pawar@amd.com>
14630
14631 * sysdeps/x86/cpu-features.c (get_common_indeces):
14632 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14633 * sysdeps/x86/cpu-features.c (init_cpu_features):
14634 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14635
3a885c1f
FW
146362018-07-05 Florian Weimer <fweimer@redhat.com>
14637
14638 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14639 protector.
14640 (CFLAGS-elf-init.oS): Likewise.
14641
38cade0c
FW
146422018-07-05 Florian Weimer <fweimer@redhat.com>
14643 Carlos O'Donell <carlos@redhat.com>
14644
14645 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14646 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14647 with stack protector enabled because there is no risk of infinite
14648 recursion.
14649
9449a295
MR
146502018-07-05 Maciej W. Rozycki <macro@mips.com>
14651
14652 [BZ #19818]
14653 [BZ #23307]
14654 * libc-abis (ABSOLUTE): New ABI.
14655 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14656 * NEWS: Mention the new ABI.
14657
d6da5cb6
FW
146582018-07-05 Florian Weimer <fweimer@redhat.com>
14659
14660 [BZ # 17662]
14661 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14662 (RENAME_WHITEOUT): Define.
14663 [__USE_GNU] (renameat2): Declare.
14664 * stdio-common/Makefile (routines): Add renameat2.
14665 (tests): Add tst-renameat2.
14666 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14667 * stdio-common/renameat2.c: New file.
14668 * stdio-common/tst-renameat2.c: Likewise.
14669 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14670 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14671 undocumented.
14672 * sysdeps/unix/sysv/linux/kernel-features.h
14673 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14674 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14675 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14677 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14678 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14679 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14680 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14681 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14682 * include/stdio.h (__renameat): Add alias for renameat.
14683 * stdio-common/renameat.c (__renameat): Rename from renameat.
14684 Add hidden definition and alias.
14685 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14686 * sysdeps/mach/hurd/renameat.c: Likewise.
14687 * sysdeps/**/libc*.abilist: Add renameat2.
14688
1002d708
AZ
146892018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14690
14691 * posix/bug-regex33.c: Fix build after regex sync.
14692
34fdb893
CD
146932018-07-04 Carlos O'Donell <carlos@redhat.com>
14694
14695 [BZ #23164]
14696 * localedata/tst-langinfo-setlocale.c: New file.
14697 * localedata/tst-langinfo-setlocale-static.c: New file.
14698 * localedata/tst-langinfo-newlocale.c: New file.
14699 * localedata/tst-langinfo-newlocale-static.c: New file.
14700 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14701 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14702 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14703 (tests-static): Remove tst-langinfo-static. Add
14704 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14705 (tests-special): Remove $(objpfx)tst-langinfo.out,
14706 $(objpfx)tst-langinfo-static.out. Add
14707 $(objpfx)tst-langinfo-setlocale.out,
14708 $(objpfx)tst-langinfo-newlocale.out,
14709 $(objpfx)tst-langinfo-setlocale-static.out,
14710 $(objpfx)tst-langinfo-newlocale-static.out.
14711 ($(objpfx)tst-langinfo.out): Remove.
14712 ($(objpfx)tst-langinfo-static.out): Remove.
14713 ($(objpfx)tst-langinfo-newlocale.out): New target.
14714 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14715 (test-xfail-tst-langinfo-newlocale-static): Add.
14716 ($(objpfx)tst-langinfo-setlocale.out): New target.
14717 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14718 * localedata/tst-langinfo.c: Call test_locale.
14719 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14720 data.
14721
f2873d2d
FW
147222018-07-04 Florian Weimer <fweimer@redhat.com>
14723
14724 testrun.sh: Implement --tool=strace, --tool=valgrind
14725 * Makefile (testrun-script): Define variable.
14726 (testrun.sh): Use variable.
14727 * manual/install.texi (Tools for Compilation): make 4.0 or later
14728 is required.
14729 * configure.ac: Check for make 4.0 or later.
14730 * INSTALL: Regenerate.
14731 * configure: Likewise.
14732
eb04c213
AZ
147332018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14734
14735 [BZ #23233]
14736 [BZ #21163]
14737 [BZ #18986]
14738 [BZ #13762]
14739 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14740 * posix/PCRE.tests: Remove invalid test.
14741 * posix/bug-regex28.c: Fix expected values for used syntax.
14742 * posix/bug-regex37.c: New file.
14743 * posix/bug-regex38.c: Likewise.
14744 * posix/regcomp.c: Sync with gnulib.
14745 * posix/regex.c: Likewise.
14746 * posix/regex.h: Likewise.
14747 * posix/regex_internal.c: Likewise.
14748 * posix/regex_internal.h: Likewise.
14749 * posix/regexec.c: Likewise.
14750
b11643c2
MF
147512018-06-26 Mike FABIAN <mfabian@redhat.com>
14752
14753 [BZ #23308]
14754 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14755 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14756 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14757 * localedata/unicode-gen/PropList.txt: likewise.
14758 * localedata/unicode-gen/UnicodeData.txt: likewise.
14759 * localedata/charmaps/UTF-8: Regenerate.
14760 * localedata/locales/i18n_ctype: likewise.
14761 * localedata/locales/tr_TR: likewise.
14762 * localedata/locales/translit_circle: likewise.
14763 * localedata/locales/translit_cjk_compat: likewise.
14764 * localedata/locales/translit_combining: likewise.
14765 * localedata/locales/translit_compat: likewise.
14766 * localedata/locales/translit_font: likewise.
14767 * localedata/locales/translit_fraction: likewise.
14768
5a357506
FW
147692018-07-03 Florian Weimer <fweimer@redhat.com>
14770
14771 [BZ #23363]
14772 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14773 * stdio-common/tst-printf.sh: Adjust expected output.
14774 * LICENSES: Update.
14775
7279af00
AZ
147762018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14777
14778 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14779 symbol.
14780
b7b88cea
GG
147812018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14782
14783 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14784 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14785 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14786 * stdio-common/tst-printfsz-islongdouble.c: New file.
14787 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14788 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14789 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14790 [subdir == stdio-common] (tests-internal): Add
14791 test-printf-size-ieee128, and test-printf-size-ibm128.
14792 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14793 (CFLAGS-test-printf-size-ibm128.c): New variables.
14794 [subdir == stdio-common] (tests-special): Add
14795 $(objpfx)test-printf-size-ieee128.out and
14796 $(objpfx)test-printf-size-ibm128.out.
14797 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14798 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14799 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14800 __printf_sizeieee128.
14801 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14802 New file.
14803 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14804 Likewise.
14805 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14806 Likewise.
14807
2b445206
SN
148082018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14809
14810 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14811 (exp2f_inline): Likewise.
14812 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14813 (__math_uflowf): Likewise.
14814 (__math_may_uflowf): Likewise.
14815 (__math_divzerof): Likewise.
14816 (__math_invalidf): Likewise.
14817 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14818 (__math_oflowf): Likewise.
14819 (__math_uflowf): Likewise.
14820 (__math_may_uflowf): Likewise.
14821 (__math_divzerof): Likewise.
14822 (__math_invalidf): Likewise.
14823
2827ab99
CD
148242018-06-29 DJ Delorie <dj@redhat.com>
14825 Carlos O'Donell <carlos@redhat.com>
14826
14827 [BZ #23329]
14828 * include/libc-symbols.h: Comment the freeres framework.
14829 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14830 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14831 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14832 * dlfcn/dlerror.c: Include libc-symbols.h
14833 (__dlerror_main_freeres): New function.
14834 * dlfcn/dlfreeres.c: New file.
14835 * dlfcn/sdlfreeres.c: New file.
14836 * include/dlfcn.h: Declare __dlerror_main_freeres.
14837 * malloc/set-freeres.c: Declare __libdl_freeres, and
14838 __libpthread_freeres.
14839 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14840 the releavant libraries are loaded.
14841 * malloc/thread-freeres.c: Add comments.
14842 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14843 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14844 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14845 (__free_stacks): Rename to...
14846 (free_stacks): ...this. Mark static.
14847 (queue_stack): Call free_stacks.
14848 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14849 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14850 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14851 ptr_freeres element from struct.
14852 (pthread_functions): Remove .ptr_freeres from struct initializer.
14853 [SHARED] (nptl_freeres): Remove.
14854 * nptl/nptlfreeres.c: New file.
14855 * nptl/pthreadP.h
14856 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14857 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14858 attribute_hidden.
14859 (__free_stacks): Rename to...
14860 (__nptl_stacks_freeres): ...this.
14861 (__shm_directory_freeres): Declare.
14862 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14863 (__nptl_unwind_freeres): ...this.
14864 * resolv/res-close.c: Add comment.
14865 * resolv/resolv_conf.c: Include libc-symbols.h.
14866 * string/strerror_l.c: Include libc-symbols.h.
14867 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14868 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14869 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14870 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14871
37d3d244
RS
148722018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14873
14874 * stdlib/tst-strfmon_l.c: Add tests for long double.
14875
a1e0c5fa
MW
148762018-06-29 Michael Wolf <milupo@sorbzilla.de>
14877
14878 [BZ #23208]
14879 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14880 * localedata/locales/dsb_DE: New file.
14881
2e0c5de6
RL
148822018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14883
14884 [BZ #23140]
14885 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14886 genitive case).
14887 (alt_mon): New entry, import from CLDR (nominative case).
14888
cdb52c71
SL
148892018-06-29 Sylvain Lesage <severo@rednegra.net>
14890
14891 [BZ #22996]
14892 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14893
ce76a5cb
SP
148942018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14895
0aec4c1d
SP
14896 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14897 Use vector registers.
14898
ce76a5cb
SP
14899 * sysdeps/aarch64/multiarch/memmove_falkor.S
14900 (__memcpy_falkor): Use vector registers.
14901
7e8989d0
MS
149022018-06-29 Martin Sebor <msebor@redhat.com>
14903
14904 * manual/stdio.texi (Customizing Printf): Mention interaction
14905 with GCC built-ins.
14906
bac15a72
MR
149072018-06-29 Maciej W. Rozycki <macro@mips.com>
14908
14909 [BZ #23307]
14910 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14911 `st_value' is 0 if `st_shndx' is SHN_ABS.
14912 * elf/tst-absolute-zero.c: New file.
14913 * elf/tst-absolute-zero-lib.c: New file.
14914 * elf/tst-absolute-zero-lib.lds: New file.
14915 * elf/Makefile (tests): Add `tst-absolute-zero'.
14916 (modules-names): Add `tst-absolute-zero-lib'.
14917 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14918 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14919 ($(objpfx)tst-absolute-zero: New dependency.
14920
e69d994a
ZW
149212018-06-29 Zack Weinberg <zackw@panix.com>
14922
14923 * configure.ac: New command-line option --disable-crypt.
14924 Force --disable-nss-crypt when --disable-crypt is given, with a
14925 warning if it was explicitly enabled.
14926 * configure: Regenerate.
14927 * config.make.in: New boolean substitution variable $(build-crypt).
14928 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14929 when $(build-crypt).
14930 * manual/install.texi: Document --disable-crypt.
14931 * INSTALL: Regenerate.
14932
14933 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14934 which is never set.
14935 * conform/Makefile: Only include libcrypt.a in
14936 linknamespace-libs-xsi and linknamespace-libs-XPG4
14937 when $(build-crypt).
14938 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14939 USE_CRYPT to 1 when $(build-crypt).
14940 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14941 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14942 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14943
841785ba
ZW
149442018-06-29 Zack Weinberg <zackw@panix.com>
14945
14946 * crypt/crypt.h, posix/unistd.h: Update comments and
14947 prototypes for crypt and crypt_r.
14948
14949 * manual/crypt.texi (Cryptographic Functions): New initial
14950 exposition.
14951 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14952 (Unpredictable Bytes): Improve initial exposition. Clarify error
14953 behavior of getentropy and getrandom.
14954 * manual/examples/genpass.c: Generate a salt using getentropy
14955 instead of the current time. Use hash $5$ (SHA-2-256).
14956 * manual/examples/testpass.c: Demonstrate validation against
14957 hashes generated with three different one-way functions.
14958
14959 * manual/intro.texi: crypt.texi does not need an overview
14960 anymore.
14961
14962 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14963 * manual/terminal.texi: Consistently refer to "passphrases"
14964 * instead of "passwords", and to the "user database" instead
14965 * of the "password database".
14966 * manual/users.texi: Similarly. Add notes about how actual
14967 passphrase hashes are now stored in the shadow database.
14968 Remove 20-year-old junk todo note.
14969
6ab902e4
ZW
149702018-06-29 Zack Weinberg <zackw@panix.com>
14971
14972 * manual/crypt.texi: Use a normal top-level @node declaration.
14973 Move most of the introductory text to the 'crypt' section.
14974 Move the example programs below the @deftypefun for 'crypt_r'.
14975 Move the 'getpass' section...
14976 * manual/terminal.texi: ...here.
14977
b10a0acc
ZW
149782018-06-29 Zack Weinberg <zackw@panix.com>
14979 Florian Weimer <fweimer@redhat.com>
14980
14981 * posix/unistd.h: Do not declare encrypt.
14982 (_XOPEN_CRYPT): Remove macro definition.
14983 (crypt): Declare only for _USE_MISC.
14984 * stdlib/stdlib.h: Do not declare setkey.
14985 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14986 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14987
14988 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14989 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14990 into compat symbols. Don't define initial_perm if it's not
14991 going to be used.
14992 * crypt/cert.c: Link explicitly with the expected versions for
14993 setkey and encrypt. If they are not available at all, mark
14994 the test as unsupported.
14995
14996 * sunrpc/des_crypt.c: Unconditionally block linkage with
14997 cbc_crypt and ecb_crypt for new binaries.
14998 * sunrpc/des_soft.c: Unconditionally block linkage with
14999 des_setparity for new binaries.
15000
15001 * manual/crypt.texi: Remove the entire "DES Encryption"
15002 section. Also remove the paragraph talking about FIPS 140-2
15003 from the introduction.
15004 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15005 of libgcrypt for "real" encryption, not DES.
15006 * manual/conf.texi (Constants for Sysconf): Mention that
15007 _XOPEN_CRYPT is no longer impelemented.
15008
15009 * conform/data/unistd.h-data: Remove crypt function declaration.
15010
524d796d
FW
150112018-06-29 Florian Weimer <fweimer@redhat.com>
15012
15013 [BZ #23351]
15014 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15015 (disallow_malloc_check): Remove variable.
15016 (__malloc_check_init): Adjust.
15017 (malloc_set_state): Update comment.
15018 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15019 declarations.
15020
339124ab
RL
150212018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15022
15023 [BZ #23140]
15024 * localedata/locales/ast_ES (mon): Rename to...
15025 (alt_mon): This.
15026 (mon): Import from CLDR (genitive case).
15027
c1f86a33
DA
150282018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15029 Jakub Sitnicki <jkbs@redhat.com>
15030
15031 [BZ #21812]
15032 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15033 on NLM_F_DUMP_INTR.
15034
0b11b649
SN
150352018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15036
15037 * manual/llio.texi: Remove spurious space.
15038
c1c2848b
FW
150392018-06-28 Florian Weimer <fweimer@redhat.com>
15040
15041 [BZ #23349]
15042 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15043 _STRUCT_TIMESPEC.
15044
86a0f561
RS
150452018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15046
15047 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 15048 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
15049 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15050 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15051 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15052 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15053 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15054
780684eb
MR
150552018-06-27 Maciej W. Rozycki <macro@mips.com>
15056
15057 [BZ #23266]
15058 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15059 Copy and null-terminate entries that are not terminated, in
15060 addition to empty ones.
15061
c49e1822
FW
150622018-06-27 Florian Weimer <fweimer@redhat.com>
15063
15064 [BZ #18023]
b39d961c
TS
15065 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15066 (extend_alloca_account): Remove.
c49e1822
FW
15067 * manual/stdio.texi (Variable Arguments Output): Update comment.
15068
a833e627
JM
150692018-06-27 Joseph Myers <joseph@codesourcery.com>
15070
15071 * nptl/sockperf.c: Remove file.
15072
92d6aa85
FW
150732018-06-27 Florian Weimer <fweimer@redhat.com>
15074
15075 [BZ #18023]
15076 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15077 scratch_buffer instead of extend_alloca.
15078
890c2ced
FW
150792018-06-27 Florian Weimer <fweimer@redhat.com>
15080
15081 [BZ #18023]
15082 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15083 scratch_buffer instead of extend_alloca. Update comments.
15084
4272059d
FW
150852018-06-27 Florian Weimer <fweimer@redhat.com>
15086
15087 [BZ #18023]
15088 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15089 instead of extend_alloca.
15090
27f10a09
JM
150912018-06-26 Joseph Myers <joseph@codesourcery.com>
15092
15093 [BZ #13888]
15094 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15095 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15096 /tmp.
15097 * scripts/test-installation.pl: Put temporary files in build
15098 directory, not /tmp.
15099 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15100 (CFLAGS-bug4.c): Likewise.
15101 (CFLAGS-bug5.c): Likewise.
15102 (CFLAGS-test-fseek.c): Likewise.
15103 (CFLAGS-test-popen.c): Likewise.
15104 (CFLAGS-test_rdwr.c): Likewise.
15105 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15106 /tmp.
15107 * stdio-common/bug4.c (main): Likewise.
15108 * stdio-common/bug5.c (main): Likewise.
15109 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15110 * stdio-common/test-popen.c (do_test): Likewise.
15111 * stdio-common/test_rdwr.c (main): Likewise.
15112
05598a09
PF
151132018-06-26 Patsy Franklin <pfrankli@redhat.com>
15114
15115 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15116 (sem_open): Set sem.newsem.pad to zero for valgrind.
15117
06ab719d
AZ
151182018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15119
15120 [BZ #20251]
15121 * NEWS: Mention fcntl64 addition.
15122 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15123 * login/utmp_file.c: Likewise.
15124 * sysdeps/posix/fdopendir.c: Likewise.
15125 * sysdeps/posix/opendir.c: Likewise.
15126 * sysdeps/unix/pt-fcntl.c: Likewise.
15127 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15128 __fcntl64_nocancel_adjusted): New prototype.
15129 (__fcntl_nocancel_adjusted): Remove prototype.
15130 * io/Makefile (routines): Add fcntl64.
15131 (CFLAGS-fcntl64.c): New rule.
15132 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15133 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15134 * io/fcntl.h (fcntl64): Add prototype and redirect if
15135 __USE_FILE_OFFSET64 is defined.
15136 * io/fcntl64.c: New file.
15137 * manual/llio.text: Add a note for which commands fcntl acts a
15138 cancellation point.
15139 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15140 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15141 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15142 New symbols.
15143 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15144 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15145 non-LFS case.
15146 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15147 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15148 to __fcntl64_nocancel.
15149 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15150 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15151 to __fcntl64_nocancel.
15152 * sysdeps/generic/not-cancel.h: Likewise.
15153 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15154 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15155 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15156 (fcntl64): New symbol.
15157 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15168 fcntl64): Likewise.
15169 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15171 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15179 Likewise.
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15181 Likewise.
15182 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15185
124e0258
FW
151862018-06-26 Florian Weimer <fweimer@redhat.com>
15187
15188 Run thread shutdown functions in an explicit order.
15189 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15190 definition.
15191 (__libc_thread_freeres): Call thread shutdown functions
15192 explicitly.
15193 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15194 * include/string.h (__strerror_thread_freeres): Declare.
15195 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15196 arena_thread_freeres. No longer static. Remove thread shutdown
15197 hook registration.
15198 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15199 Declare.
15200 * resolv/res-close.c (__res_thread_freeres): Renamed from
15201 res_thread_freeres. No longer static. Remove thread shutdown
15202 hook registration.
15203 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15204 * resolv/resolv_conf.c (freeres): Remove incorrect section
15205 attribute and use libc_freeres_fn.
15206 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15207 strerror_thread_freeres. No longer static. Remove thread
15208 shutdown hook registration.
15209 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15210 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15211 shutdown hook registration.
15212 * Makerules (shlib.lds): Do not provide section boundary symbols
15213 for __libc_thread_subfreeres.
15214 * manual/memory.texi (Basic Allocation): Update comment.
15215
935d920e
FW
152162018-06-26 Florian Weimer <fweimer@redhat.com>
15217
15218 Remove always-defined _RPC_THREAD_SAFE_ macro.
15219 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15220 Do not define _RPC_THREAD_SAFE_.
15221 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15222 conditional.
15223 * sunrpc/clnt_perr.c: Likewise.
15224 * sunrpc/clnt_raw.c: Likewise.
15225 * sunrpc/clnt_simp.c: Likewise.
15226 * sunrpc/key_call.c: Likewise.
15227 * sunrpc/rpc_common.c: Likewise.
15228 * sunrpc/rpc_main.c: Likewise.
15229 * sunrpc/rpc_thread.c: Likewise.
15230 * sunrpc/svc.c: Likewise.
15231 * sunrpc/svc_raw.c: Likewise.
15232 * sunrpc/svc_simple.c: Likewise.
15233 * sumrpc/svcauth_des.c: Likewise.
15234
29055464
FW
152352018-06-26 Florian Weimer <fweimer@redhat.com>
15236
15237 * libio/Makefile (tests-internal): Add tst-vtables,
15238 tst-vtables-interposed.
15239 * libio/tst-vtables.c: New file.
15240 * libio/tst-vtables-common.c: Likewise.
15241 * libio/tst-vtables-interposed.c: Likewise.
15242
5c0202af
FW
152432018-06-26 Florian Weimer <fweimer@redhat.com>
15244
15245 * support/support_test_main.c (support_test_main): Only call
15246 setvbuf if not disables.
15247 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15248 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15249
c402355d
FW
152502018-06-26 Florian Weimer <fweimer@redhat.com>
15251
15252 [BZ #23313]
15253 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15254
43b1048a
FW
152552018-06-25 Florian Weimer <fweimer@redhat.com>
15256
15257 [BZ #18023]
15258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15259 Use struct scratch_buffer instead of extend_alloca.
15260
1599ed4e
FW
152612018-06-25 Florian Weimer <fweimer@redhat.com>
15262
15263 [BZ #18023]
15264 * nss/getent.c (initgroups_keys): Use dynarray instead of
15265 extend_alloca.
15266
a26fe163
FW
152672018-06-25 Florian Weimer <fweimer@redhat.com>
15268
15269 [BZ #18023]
15270 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15271 Use struct scratch_buffer instead of extend_alloca.
15272
90d9d9ce
FW
152732018-06-25 Florian Weimer <fweimer@redhat.com>
15274
15275 [BZ #18023]
15276 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15277 back to malloc directly, without stack allocations.
15278
6b7b2aba
FW
152792018-06-25 Florian Weimer <fweimer@redhat.com>
15280
15281 [BZ #18023]
15282 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15283 of extend_alloca.
15284
2f9f0d18
FW
152852018-06-25 Florian Weimer <fweimer@redhat.com>
15286
15287 [BZ #18023]
15288 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15289 of extend_alloca.
15290 * nscd/hstcache.c (addhstbyX): Likewise.
15291 * nscd/pwdcache.c (addpwbyX): Likewise.
15292 * nscd/servicescache.c (addservbyX): Likewise.
15293
318bad78
FW
152942018-06-25 Florian Weimer <fweimer@redhat.com>
15295
15296 [BZ #18023]
15297 * nscd/connections.c (read_cmdline): New function.
15298 (restart): Use it. Update comment.
15299
189699ab
RL
153002018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15301
15302 [BZ #23140]
15303 * localedata/locales/csb_PL (mon): Rename to...
15304 (alt_mon): This.
15305 (abmon): Rename to...
15306 (ab_alt_mon): This.
15307 (mon): Add with proper genitive forms, copy from Wikipedia.
15308 (abmon): Likewise.
15309
0ea3f13c
RL
153102018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15311
15312 [BZ #19485]
15313 * localedata/locales/csb_PL (mon): Fix typos:
15314 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15315 (yesstr): Add, value is "jo".
15316 (nostr): Add, value is "nié".
15317
d93f4ff1
TMQMF
153182018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15319
15320 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15321 all log1p and significand functions on m680x0.
15322 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15323 of s_significand.c..
15324 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15325 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15326 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15327 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15328 s_log1p.c and include it..
15329
f6299d2a
VC
153302018-06-21 Vincent Chen <vincentc@andestech.com>
15331
15332 * elf/elf.h (R_NDS32_NONE): New define.
15333 (R_NDS32_32_RELA): Likewise.
15334 (R_NDS32_COPY): Likewise.
15335 (R_NDS32_GLOB_DAT): Likewise.
15336 (R_NDS32_JUMP_SLOT): Likewise.
15337 (R_NDS32_RELATIVE): Likewise.
15338 (R_NDS32_TLS_TPOFF): Likewise.
15339 (R_NDS32_TLS_DESC): Likewise.
15340
61ab61c2
MW
153412018-06-21 Mark Wielaard <mark@klomp.org>
15342
15343 * elf/elf.h (R_BPF_MAP_FD): Removed.
15344 (R_BPF_64_64, R_BPF_64_32): New.
15345
f496b28e
FW
153462018-06-21 Florian Weimer <fweimer@redhat.com>
15347
15348 [BZ #23253]
15349 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15350 Renamed from libc_feholdsetround_ctx.
15351 (default_libc_feresetround_ctx): Renamed from
15352 libc_feresetround_ctx.
15353 (default_libc_feholdsetround_noex_ctx): Renamed from
15354 libc_feholdsetround_noex_ctx.
15355 (default_libc_feresetround_noex_ctx): Renamed from
15356 libc_feresetround_noex_ctx.
15357 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15358 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15359 forwardning to the old implementations under the new names.
15360 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15361 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15362 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15363 (libc_feresetround_ctx): Forward to default implements for i386
15364 and MATH_SET_BOTH_ROUNDING_MODES.
15365 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15366 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15367
1760daad
JM
153682018-06-20 Joseph Myers <joseph@codesourcery.com>
15369
99c7adf9
JM
15370 * string/tst-cmp.c: Include <libc-diag.h>.
15371 (strncmp_max): Disable -Wstringop-overflow= around call to
15372 strncmp.
15373 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15374 strncasecmp.
15375
1760daad
JM
15376 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15377 (main): Disable -Wunused-value around call to strpbrk.
15378 * string/bug-strspn1.c: Include <libc-diag.h>.
15379 (main): Disable -Wunused-value around call to strspn.
15380
209ae17c
TMQMF
153812018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15382 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15383
15384 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15385 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15386
badba23c
TMQMF
153872018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15388
5e79e029
TMQMF
15389 * math/Makefile (libm-calls): Move s_significandF to...
15390 (gen-libm-calls): ... here.
15391 * math/s_significand_template.c: New file.
15392 * math/s_significand.c: Removed.
15393 * math/s_significandf.c: Removed.
15394 * math/s_significandl.c: Removed.
15395 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15396 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15397
badba23c
TMQMF
15398 * math/e_exp2_template.c (declare_mgen_finite_alias,
15399 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15400 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15401 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15402
2d1c89a5
FW
154032018-06-20 Florian Weimer <fweimer@redhat.com>
15404
15405 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15406
646c2833
JM
154072018-06-19 Joseph Myers <joseph@codesourcery.com>
15408
15409 [BZ #23280]
15410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15411 floating-point number to strtod functions rather than possibly
15412 negating result of those functions.
15413 * stdio-common/tst-scanf-round.c: New file.
15414 * stdio-common/Makefile (tests): Add tst-scanf-round.
15415 ($(objpfx)tst-scanf-round): Depend on $(libm).
15416
c77e4dc0
ST
154172018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15418
15419 * sysdeps/mach/hurd/localplt.data: Move to...
15420 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15421 R_386_GLOB_DAT like on Linux i386.
15422
91b2f3e5
JM
154232018-06-18 Joseph Myers <joseph@codesourcery.com>
15424
f2857da7
JM
15425 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15426 (SHM_STAT_ANY): New macro.
15427 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15428 (SHM_STAT_ANY): Likewise.
15429 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15430 (SHM_STAT_ANY): Likewise.
15431 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15432 (SHM_STAT_ANY): Likewise.
15433 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15434 (SHM_STAT_ANY): Likewise.
15435 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15436 (SHM_STAT_ANY): Likewise.
15437 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15438 (SHM_STAT_ANY): Likewise.
15439 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15440 (SHM_STAT_ANY): Likewise.
15441 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15442 (SHM_STAT_ANY): Likewise.
15443 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15444 (SHM_STAT_ANY): Likewise.
15445 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15446 (SHM_STAT_ANY): Likewise.
15447 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15448 (SHM_STAT_ANY): Likewise.
15449
176c7fee
JM
15450 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15451 (SEM_STAT_ANY): New macro.
15452 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15453 (SEM_STAT_ANY): Likewise.
15454 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15455 (SEM_STAT_ANY): Likewise.
15456 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15457 (SEM_STAT_ANY): Likewise.
15458 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15459 (SEM_STAT_ANY): Likewise.
15460 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15461 (SEM_STAT_ANY): Likewise.
15462 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15463 (SEM_STAT_ANY): Likewise.
15464 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15465 (SEM_STAT_ANY): Likewise.
15466 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15467 (SEM_STAT_ANY): Likewise.
15468 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15469 (SEM_STAT_ANY): Likewise.
15470
86bf0019
JM
15471 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15472 (MSG_STAT_ANY): New macro.
15473 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15474 (MSG_STAT_ANY): Likewise.
15475 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15476 (MSG_STAT_ANY): Likewise.
15477 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15478 (MSG_STAT_ANY): Likewise.
15479 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15480 (MSG_STAT_ANY): Likewise.
15481 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15482 (MSG_STAT_ANY): Likewise.
15483 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15484 (MSG_STAT_ANY): Likewise.
15485 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15486 (MSG_STAT_ANY): Likewise.
15487 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15488 (MSG_STAT_ANY): Likewise.
15489 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15490 (MSG_STAT_ANY): Likewise.
15491
91b2f3e5
JM
15492 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15493 (MAP_TYPE): Change value to 0x2b.
15494
3fe8fc79
FW
154952018-06-18 Florian Weimer <fweimer@redhat.com>
15496
15497 [BZ #15722]
15498 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15499 socket with SOCK_CLOEXEC.
15500
809dc95d
JM
155012018-06-18 Joseph Myers <joseph@codesourcery.com>
15502
15503 [BZ #23303]
15504 * sysdeps/powerpc/powerpc64/le/Makefile
15505 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15506 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15507 (gnulib-tests): Also add $(f128-loader-link) for
15508 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15509
298a8b59
ST
155102018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15511
15512 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15513 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15514 of sendfile.
15515 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15516 (sendfile64): New strong alias.
faf7bbc2
ST
15517 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15518 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15519 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
15520 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15521 attribute.
15522 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15523 ___pthread_get_cleanup_stack.
932d05f0 15524 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
15525 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15526 * mach/shortcut.awk: Make syscall stubs include
15527 <mach-shortcuts-hidden.h> and add hidden definition.
15528 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
15529 (__mach_msg): Add hidden prototype.
15530 * mach/msg.c: Include <mach.h>.
15531 (__mach_msg): Add hidden definition.
b0344cf5
ST
15532 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15533 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15534 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15535 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
15536 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15537 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
15538 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15539 prototype and definition.
15540 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15541 hidden target for _hurd_self_sigstate.
298a8b59 15542
b12c1e79
JM
155432018-06-15 Joseph Myers <joseph@codesourcery.com>
15544
15545 [BZ #23007]
15546 * stdlib/tst-strtod-nan-sign-main.c: New file.
15547 * stdlib/tst-strtod-nan-sign.c: Likewise.
15548 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15549 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15550 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15551 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15552 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15553
b0debe14
HB
155542018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15555
15556 [BZ #23007]
15557 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15558 appropriate sign.
15559
14beef75
FW
155602018-06-14 Florian Weimer <fweimer@redhat.com>
15561
15562 [BZ #23290]
15563 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15564 that the result stays within the ISO-8859-1 range.
15565 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15566 characters are defined in IBM273.
15567
c596630b
ST
155682018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15569
15570 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15571 __mach_task_self): Remove attribute_hidden.
15572
35ebb6b0
JM
155732018-06-14 Joseph Myers <joseph@codesourcery.com>
15574
15575 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15576 ignore -Wrestrict for one test.
15577
3c7b9f1f
SE
155782018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15579 Szabolcs Nagy <szabolcs.nagy@arm.com>
15580
15581 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15582
c59ee916
FW
155832018-06-14 Florian Weimer <fweimer@redhat.com>
15584
15585 * scripts/update-abilist.sh: Accept empty list of files to patch.
15586
43b5ff50
ST
155872018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15588
15589 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15590 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
15591 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15592 __libc_read and __libc_write to __read and __write.
c8c6e6d6 15593 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
15594 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15595 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15596 __thread_switch, __evc_wait): Move declarations to...
15597 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15598 attribute_hidden.
06d1a826
ST
15599 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15600 use PLT to call _hurd_self_sigstate.
43b5ff50 15601
fcd6b5ac
JM
156022018-06-13 Joseph Myers <joseph@codesourcery.com>
15603
15604 [BZ #23279]
15605 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15606 MAX_EXP as overflowing.
15607 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15608 overflow flag.
15609 (round_str): Output also whether result overflows in each rounding
15610 mode.
15611 * stdlib/tst-strtod-round-data: Add more tests.
15612 * stdlib/tst-strtod-round-data.h: Regenerated.
15613 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15614 (TEST): Handle extra arguments for overflow flags.
15615 (struct test_overflow): New type.
15616 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15617 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15618 (test_in_one_mode): Take argument with overflow information.
15619 (do_test): Update calls to test_in_one_mode.
15620
35df5a77
CD
156212018-06-12 Carlos O'Donell <carlos@redhat.com>
15622
a745c837
CD
15623 * elf/dl-load (_dl_dst_substitute): Correct comment.
15624 (_dl_dst_count): Likewise.
15625
35df5a77
CD
15626 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15627 lll_futex_timed_wait.
15628
48b12ed5
JM
156292018-06-12 Joseph Myers <joseph@codesourcery.com>
15630
15631 [BZ #23277]
15632 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15633 attribute.
15634 * math/test-nan-const.c: New file.
15635 * math/Makefile (tests): Add test-nan-const.
15636 (CFLAGS-test-nan-const.c): New variable.
15637
cb8f6aff
L
156382018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15639
15640 * benchtests/scripts/compare_strings.py (process_results): Add
15641 funcs argument. Compare only functions which are selected.
15642 (main): Check if base function is among selected functions.
15643 Pass selected functions to process_results.
15644 (__main__): Add -f/--functions argument.
15645
fc2ba803
HZ
156462018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15647 Hongbo Zhang <hongbo.zhang@linaro.org>
15648
15649 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15650 __memcpy_falkor for phecda core.
15651 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15652 __memmove_falkor for phecda core.
15653 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15654 __memset_falkor for phecda core.
15655 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15656 for phecda core.
15657 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15658 macro to identify phecda core.
15659
5aad5f61
CD
156602018-06-12 Carlos O'Donell <carlos@redhat.com>
15661 Andreas Schwab <schwab@suse.de>
15662 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 15663 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
15664
15665 [BZ #23102]
15666 [BZ #21942]
15667 [BZ #18018]
15668 [BZ #23259]
15669 CVE-2011-0536
15670 * elf/dl-dst.h: Remove DL_DST_COUNT.
15671 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15672 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15673 (is_dst): Comment. Support ELF gABI.
15674 (_dl_dst_count): Comment. Simplify and count DSTs.
15675 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15676 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15677 locals.
15678
329ea513
ZW
156792018-06-12 Zack Weinberg <zackw@panix.com>
15680
15681 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15682 * sysdeps/unix/sysv/linux/dl-sysdep.c
15683 Include not-cancel.h. Use __close_nocancel instead of __close,
15684 __open64_nocancel instead of __open, __read_nocancel instead of
15685 __libc_read, and __write_nocancel instead of __libc_write.
15686
15687 * csu/check_fds.c (check_one_fd)
15688 * sysdeps/posix/fdopendir.c (__fdopendir)
15689 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 15690 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
15691
15692 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15693 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 15694 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
15695 Use __open64_nocancel instead of __open_nocancel.
15696
15697 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15698 hidden_proto declarations to the end and issue them if either
15699 IS_IN(libc) or IS_IN(rtld).
15700 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15701 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15702 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15703 read_nocancel, waitpid_nocancel, write_nocancel.
15704
b39d961c
TS
15705 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15706 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15707 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 15708
b39d961c
TS
15709 * nptl/pt-fcntl.c: New file.
15710 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15711 (libpthread-routines): Add pt-fcntl.
15712 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15713 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
15714 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15715 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 15716 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
15717 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15718 to fcntl_nocancel.c.
15719 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15722 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15723
15724 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15725 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15726 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15727 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15728 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15729 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15730 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15731 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15732 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15733 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15734 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15735 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15736 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15737 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15738 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15739 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15740 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15741 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15742 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15743 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15744
b39d961c
TS
15745 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15746 libpthread-routines.
15747 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15748 defines nothing.
329ea513 15749
b39d961c
TS
15750 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15751 __libc_read, and __write instead of __libc_write. Define
15752 __open64 in addition to __open.
329ea513 15753
0221ce2a
L
157542018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15755
15756 [BZ #23250]
15757 [BZ #10686]
15758 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15759 to _private_tm[3] and add __glibc_reserved2.
15760 Add _Static_assert of offset of __private_ss == 0x30.
15761 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15762 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15763
e826574c
FW
157642018-06-12 Florian Weimer <fweimer@redhat.com>
15765
15766 x86: Make strncmp usable from rtld.
15767 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15768 __strncmp_ia32 if in libc (and not in rtld).
15769 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15770 strncmp if not in libc (and not to __strncmp_sse2).
15771
c4ad5782
RL
157722018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15773
15774 [BZ #23140]
15775 * localedata/locales/gd_GB (mon): Rename to...
15776 (alt_mon): This.
15777 (mon): Import from CLDR (genitive case).
15778 * localedata/locales/hsb_DE (mon): Rename to...
15779 (alt_mon): This.
15780 (mon): Import from CLDR (genitive case).
15781 * localedata/locales/wa_BE (mon): Rename to...
15782 (alt_mon): This.
15783 (mon): Add, fill with the proper genitive forms, but CLDR data
15784 is incomplete; completed according to the comments in this file.
15785 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15786
15787 * localedata/locales/wa_BE (country_name): Reword
15788 "Beljike" -> "Beldjike".
15789
ca121b11
JM
157902018-06-11 Joseph Myers <joseph@codesourcery.com>
15791
15792 [BZ #23272]
15793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15794 cases of non-finite arguments.
15795 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15796
2b69fecb
JDA
157972018-06-10 John David Anglin <danglin@gcc.gnu.org>
15798
15799 [BZ #23174]
15800 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15801
283d9851
AZ
158022018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15803
15804 [BZ #23264]
15805 * include/unistd.h (__execvpex): New prototype.
15806 * posix/Makefile (tests): Add tst-spawn4.
15807 (tests-internal): Add tst-spawn4-compat.
15808 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15809 * posix/tst-spawn4-compat.c: New file.
15810 * posix/tst-spawn4.c: Likewise.
15811 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15812 binaries as shell scripts.
15813 * sysdeps/posix/spawni.c (__spawni): Likewise.
15814
67c05796
L
158152018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15816
15817 [BZ #23145]
15818 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15819 ($(all-built-dso:=.dynsym): New target.
15820 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15821 ($(objpfx)check-initfini.out): New target.
15822 (generated): Add check-initfini.out.
15823 * scripts/check-initfini.awk: New file.
15824 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15825 (_fini): Likewise.
15826 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15827 (_fini): Likewise.
15828 * sysdeps/arm/crti.S (_init): Mark as hidden.
15829 (_fini): Likewise.
15830 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15831 (_fini): Likewise.
15832 * sysdeps/i386/crti.S (_init): Mark as hidden.
15833 (_fini): Likewise.
15834 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15835 (_fini): Likewise.
15836 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15837 (_fini): Likewise.
15838 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15839 (_fini): Likewise.
15840 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15841 (_fini): Likewise.
15842 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15843 (_fini): Likewise.
15844 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15845 (_fini): Likewise.
15846 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15847 (_fini): Likewise.
15848 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15849 (_fini): Likewise.
15850 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15851 (_fini): Likewise.
15852 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15853 (_fini): Likewise.
15854 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15855 (_fini): Likewise.
15856 * sysdeps/sh/crti.S (_init): Mark as hidden.
15857 (_fini): Likewise.
15858 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15859 (_fini): Likewise.
15860 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15861 (_fini): Likewise.
15862
1c09524e
TMQMF
158632018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15864
15865 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15866 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15867 and TF redirection to KFtype and KF only when the default
15868 long double type is not the IEEE 128-bit floating point type.
15869
0e0577c9
JM
158702018-06-05 Joseph Myers <joseph@codesourcery.com>
15871
0c1c33b2
JM
15872 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15873 macro.
15874 (HWCAP_USCAT): Likewise.
15875 (HWCAP_ILRCPC): Likewise.
15876 (HWCAP_FLAGM): Likewise.
15877 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15878 Increase to 28.
15879 (_dl_aarch64_cap_flags): Add new flag names.
15880
bef1cbf4
JM
15881 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15882 (MAP_FIXED_NOREPLACE): New macro.
15883 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15884 (MAP_FIXED_NOREPLACE): Likewise.
15885 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15886 (MAP_FIXED_NOREPLACE): Likewise.
15887 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15888 (MAP_FIXED_NOREPLACE): Likewise.
15889 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15890 (MAP_FIXED_NOREPLACE): Likewise.
15891 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15892 (MAP_FIXED_NOREPLACE): Likewise.
15893 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15894 (MAP_FIXED_NOREPLACE): Likewise.
15895 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15896 (MAP_FIXED_NOREPLACE): Likewise.
15897 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15898 (MAP_FIXED_NOREPLACE): Likewise.
15899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15900 (MAP_FIXED_NOREPLACE): Likewise.
15901 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15902 (MAP_FIXED_NOREPLACE): Likewise.
15903 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15904 (MAP_FIXED_NOREPLACE): Likewise.
15905 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15906 (MAP_FIXED_NOREPLACE): Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15908 (MAP_FIXED_NOREPLACE): Likewise.
15909 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15910 (MAP_FIXED_NOREPLACE): Likewise.
15911
0e0577c9
JM
15912 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15913 version to 4.17.
15914
ab3a0da0
JM
159152018-06-04 Joseph Myers <joseph@codesourcery.com>
15916
15917 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15918 version to 4.17
15919
d2d9dfb6
ST
159202018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15921
15922 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15923 int.
15924 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15925
a650b05e
LS
159262018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15927
15928 * benchtests/scripts/compare_string.py: (process_results) Catch
15929 exception in non-existent base_func and catch exception in
15930 non-existent attribute.
15931 (parse_file) Catch exception if input file does not exist.
15932
195abbf4
LS
159332018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15934
15935 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15936 options to avoid diff calculation and omit header, respectively.
15937 (main): process --no-diff and --no-header
15938
14570163
LS
159392018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15940 H.J. Lu <hongjiu.lu@intel.com>
15941
15942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15943 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15944 wcsncmp-sse2.
15945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15946 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15947 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15948 and __wcsncmp_sse2.
15949 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15950 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15951 AVX unaligned load is fast and vzeroupper is preferred.
15952 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15953 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15954 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15955 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15956 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15957 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15958 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15959 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15960 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15961 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15962 is undefined.
15963
e02c026f
FW
159642018-06-01 Florian Weimer <fweimer@redhat.com>
15965
15966 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15967 configuring with --disable-multi-arch, building with
15968 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15969 Haswell-era CPU.
15970
d8c19275
FW
159712018-06-01 Florian Weimer <fweimer@redhat.com>
15972
15973 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15974 results from building with “-march=x86-64 -mtune=generic
15975 -mfpmath=sse” and running on a Haswell-era CPU.
15976
0d2163eb
JM
159772018-06-01 Joseph Myers <joseph@codesourcery.com>
15978
15979 [BZ #18473]
15980 * soft-fp/sqrttf2.c: Remove file.
15981 * soft-fp/sqrtdf2.c: Move to ....
15982 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15983 <shlib-compat.h>.
15984 (__sqrtdf2): Make conditional on
15985 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15986 symbol.
15987 * soft-fp/sqrtsf2.c: Move to ....
15988 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15989 <shlib-compat.h>.
15990 (__sqrtsf2): Make conditional on
15991 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15992 symbol.
15993 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15994 (gcc-double-routines): Remove sqrtdf2.
15995 (gcc-quad-routines): Remove sqrttf2.
15996 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15997 Do not filter out sqrtsf2 and sqrtdf2.
15998 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15999 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16000
10450210
FW
160012018-06-01 Florian Weimer <fweimer@redhat.com>
16002
16003 * sysdeps/generic/libcidn.abilist: Remove file.
16004
4e8a6346
FW
160052018-06-01 Florian Weimer <fweimer@redhat.com>
16006
16007 [BZ #23236]
16008 * libio/strfile.h (struct _IO_str_fields): Rename members to
16009 discourage their use and add comment.
16010 (_IO_STR_DYNAMIC): Remove unused macro.
16011 * libio/strops.c (_IO_str_init_static_internal): Do not use
16012 callback pointers. Call malloc and free.
16013 (_IO_str_overflow): Do not use callback pointers. Call malloc
16014 and free.
16015 (enlarge_userbuf): Likewise.
16016 (_IO_str_finish): Call free.
16017 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16018 _allocate_buffer_unused.
16019 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16020 and free.
16021 (enlarge_userbuf): Likewise.
16022 (_IO_wstr_finish): Call free.
16023 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16024 _allocate_buffer_unused, _free_buffer_unused.
16025 * libio/memstream.c (__open_memstream): Likewise.
16026 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16027 * libio/wmemstream.c (open_wmemstream): Likewise.
16028
50d004c9
PP
160292018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16030
16031 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16032 AMD Ryzen 7 1800X.
16033
2c93fce7
RS
160342018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16035
16036 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16037 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16038 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16039 New file.
16040 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16041 Likewise.
16042 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16043
0ce2fa69
FW
160442018-05-29 Florian Weimer <fweimer@redhat.com>
16045
16046 * support/Makefile (libsupport-routines): Add
16047 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16048 xpthread_barrierattr_setpshared.
16049 * support/xpthread_barrierattr_destroy.c: New file.
16050 * support/xpthread_barrierattr_init.c: Likewise.
16051 * support/xpthread_barrierattr_setpshared.c: Likewise.
16052
7f7b5d8d
L
160532018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16054
16055 [BZ #23206]
16056 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16057 _r_debug and update DT_DEBUG for debugger.
16058
e4890300
FW
160592018-05-29 Florian Weimer <fweimer@redhat.com>
16060
16061 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16062 (tst-strtod5i.out): Likewise.
16063
2c753f3e
JM
160642018-05-25 Joseph Myers <joseph@codesourcery.com>
16065
b5453d9f
JM
16066 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16067 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16068 (sparc64-quad-routines): New variable. Moved from ....
16069 [$(subdir) = soft-fp] (sysdep_routines): Add
16070 $(sparc64-quad-routines). Moved from ....
16071 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16072 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16073 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16074 moved from ....
16075 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16076 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16077 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16078 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16079 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16080 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16081 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16082 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16083 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16084 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16085 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16086 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16087 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16088 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16089 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16090 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16091 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16092 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16093 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16094 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16095 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16096 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16097 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16098 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16099 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16100 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16101 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16102 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16103 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16104 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16105 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16106 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16107 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16108 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16109 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16110 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16111 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16112 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16113 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16114 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16115 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16116 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16117 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16118 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16119 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16120 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16121 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16122 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16123 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16124 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16125 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16126 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16127 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16128 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16129 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16130 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16131 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16132 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16133
2c753f3e
JM
16134 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16135 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16136 (sparc32-quad-routines): New variable. Moved from ....
16137 [$(subdir) = soft-fp] (sysdep_routines): Add
16138 $(sparc32-quad-routines). Moved from ....
16139 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16140 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16141 moved from ....
16142 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16143 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16144 * sysdeps/sparc/sparc32/q_add.c: ... here.
16145 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16146 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16147 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16148 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16149 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16150 * sysdeps/sparc/sparc32/q_div.c: ... here.
16151 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16152 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16153 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16154 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16155 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16156 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16157 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16158 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16159 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16160 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16161 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16162 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16163 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16164 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16165 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16166 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16167 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16168 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16169 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16170 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16171 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16172 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16173 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16174 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16175 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16176 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16177 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16178 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16179 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16180 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16181 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16182 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16183 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16184 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16185 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16186 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16187 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16188 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16189 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16190 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16191 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16192 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16193 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16194 * sysdeps/sparc/sparc32/q_util.c: ... here.
16195 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16196 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16197 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16198 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16199
c1dc1e1b
TMQMF
162002018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16201 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16202
16203 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16204 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16205 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16206 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16207
14186e8d
JM
162082018-05-24 Joseph Myers <joseph@codesourcery.com>
16209
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16211 powerpc/soft-fp.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16213 Likewise.
16214 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16215 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16216
fb0e10b8
GG
162172018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16218
16219 [BZ #23171]
16220 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16221 double version.
16222
1dfeb17e
JM
162232018-05-23 Joseph Myers <joseph@codesourcery.com>
16224
16225 * sysdeps/sh/Implies: Remove sh/soft-fp.
16226 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16227 * sysdeps/sh/sfp-machine.h: ... here.
16228
727b38df
L
162292018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16230
16231 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16232 (__mempcpy_erms): Skip zero length.
16233 (__memmove_erms): Likewise.
16234 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16235 (__memset_erms): Likewise.
16236
2834fb46
JM
162372018-05-23 Joseph Myers <joseph@codesourcery.com>
16238
16239 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16240 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16241 Add functions moved from ....
16242 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16243 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16244 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16245 from ....
16246 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16247 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16248 * sysdeps/alpha/e_sqrtl.c: ... here.
16249 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16250 * sysdeps/alpha/local-soft-fp.h: ... here.
16251 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16252 * sysdeps/alpha/ots_add.c: ... here.
16253 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16254 * sysdeps/alpha/ots_cmp.c: ... here.
16255 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16256 * sysdeps/alpha/ots_cmpe.c: ... here.
16257 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16258 * sysdeps/alpha/ots_cvtqux.c: ... here.
16259 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16260 * sysdeps/alpha/ots_cvtqx.c: ... here.
16261 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16262 * sysdeps/alpha/ots_cvttx.c: ... here.
16263 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16264 * sysdeps/alpha/ots_cvtxq.c: ... here.
16265 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16266 * sysdeps/alpha/ots_cvtxt.c: ... here.
16267 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16268 * sysdeps/alpha/ots_div.c: ... here.
16269 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16270 * sysdeps/alpha/ots_mul.c: ... here.
16271 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16272 * sysdeps/alpha/ots_nintxq.c: ... here.
16273 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16274 * sysdeps/alpha/ots_sub.c: ... here.
16275 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16276 * sysdeps/alpha/sfp-machine.h: ... here.
16277
7f9f1ecb
FW
162782018-05-23 Florian Weimer <fweimer@redhat.com>
16279
16280 [BZ #19728]
16281 [BZ #19729]
16282 [BZ #22247]
16283 CVE-2016-6261
16284 CVE-2016-6263
16285 CVE-2017-14062
16286 Switch to extern IDNA implementation (libidn2).
16287 * libidn: Remove subdirectory.
16288 * LICENSES: Do not mention licensing conditions for the removed
16289 libidn code.
16290 * config.h.in (HAVE_LIBIDN): Remove.
16291 * include/dlfcn.h (__libc_dlopen): Update comment.
16292 * include/idna.h: Remove file.
16293 * inet/Makefile (routines): Add idna.
16294 (tests-static, tests-internal): Add tst-idna_name_classify.
16295 (LOCALES): Generate locales for tests.
16296 (tst-idna_name_classify.out): Depend on generated locales.
16297 * inet/idna_name_classify.c: New file.
16298 * inet/tst-idna_name_classify.c: Likewise.
16299 * inet/net-internal.h (__idna_to_dns_encoding)
16300 (__idna_from_dns_encoding): Declare.
16301 * inet/net-internal.h (enum idna_name_classification): Define.
16302 (__idna_name_classify): Declare.
16303 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16304 __idna_from_dns_encoding.
16305 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16306 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16307 name as a fallback in case of encoding errors.
16308 (getnameinfo): Use DEPRECATED_NI_IDN.
16309 * inet/idna.c: New file.
16310 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16311 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16312 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16313 (modules-names): Add tst-no-libidn2.
16314 (extra-test-objs): Add tst-no-libidn2.os.
16315 (LDFLAGS-tst-no-libidn2.so): Set soname.
16316 (LOCALES): Set, and generate locales.
16317 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16318 (tst-resolv-ai_idn-latin1): Likewise.
16319 (tst-resolv-ai_idn-nolibidn2): Likewise.
16320 (tst-resolv-ai_idn.out): Depend on locales.
16321 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16322 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16323 tst-no-libidn2.so.
16324 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16325 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16326 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16327 * resolv/tst-resolv-ai_idn.c: New file.
16328 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16329 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16330 * resolv/tst-no-libidn2.c: Likewise.
16331 * support/support_format_addrinfo.c (format_ai_flags): Do not
16332 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16333 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16334 (gaih_inet): Call __idna_to_dns_encoding and
16335 __idna_from_dns_encoding, and use the original (punycode) name if
16336 __idna_from_dns_encoding fails due to an encoding error.
16337 (getaddrinfo): Use DEPRECATED_AI_IDN.
16338 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16339 * sysdeps/unix/inet/configure: Remove file.
16340 * sysdeps/unix/inet/configure.ac: Likewise.
16341
5f7b841d
FW
163422018-05-23 Florian Weimer <fweimer@redhat.com>
16343
16344 Implement allocate_once.
16345 * include/allocate_once.h: New file.
16346 * misc/allocate_once.c: Likewise.
16347 * misc/tst-allocate_once.c: Likewise.
16348 * misc/Makefile (routines): Add allocate_once.
16349 (tests-internal): Add tst-allocate_once.
16350 (generated): Add tst-allocate_once.mtrace,
16351 tst-allocate_once-mem.out.
16352 (tests-special): Add tst-allocate_once-mem.out.
16353 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16354 (tst-allocate_once-mem.out): Call mtrace.
16355 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16356
ed983107
L
163572018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16358
16359 [BZ #23196]
16360 * string/test-memcpy.c (do_test1): New function.
16361 (test_main): Call it.
16362
9aaaab7c
AS
163632018-05-23 Andreas Schwab <schwab@suse.de>
16364
16365 [BZ #23196]
16366 CVE-2018-11237
16367 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16368 (L(preloop_large)): Save initial destination pointer in %r11 and
16369 use it instead of %rax after the loop.
16370 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16371
5c5c0dd7
JM
163722018-05-22 Joseph Myers <joseph@codesourcery.com>
16373
8f145c77
JM
16374 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16375 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16376 -I../soft-fp. Moved from ....
16377 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16378 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16379 * sysdeps/aarch64/e_sqrtl.c: ... here.
16380 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16381 * sysdeps/aarch64/sfp-machine.h: ... here.
16382
3d6302a5
JM
16383 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16384 -Wmaybe-uninitialized around access to fq[0].
16385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16386 Likewise.
16387
5c5c0dd7
JM
16388 [BZ #18471]
16389 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16390 aliases for non-libc case of versioned symbols.
16391 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16392 (llseek): Define as compat symbol if
16393 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16394 with link warning.
16395 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16396 Make into a compat symbol, disabled for minimum symbol version
16397 GLIBC_2.28 and later.
16398 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16399
ed0d6988
FW
164002018-05-22 Florian Weimer <fweimer@redhat.com>
16401
16402 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16403 not add -mpreferred-stack-boundary=4.
16404 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16405 (stack-align-test-flags): Likewise.
16406 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16407 Likewise.
16408 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16409 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16410 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16411 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16412 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16413 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16414 (CFLAGS-tst-align2.c): Likewise.
16415
e28e9b1e
L
164162018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16417
16418 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16419 (index_arch_Prefer_FSRM): Likewise.
16420 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16421 Also check Prefer_FSRM.
16422 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16423 Also return OPTIMIZE (erms) for Prefer_FSRM.
16424
1af30adc
L
164252018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16426
16427 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16428 (index_cpu_FSRM): Likewise.
16429 (reg_FSRM): Likewise.
16430
78274dc8
JM
164312018-05-18 Joseph Myers <joseph@codesourcery.com>
16432
7c67e6e8
JM
16433 * math/gen-tgmath-tests.py: Import sys.
16434 (Tests.__init__): Initialize macros_seen.
16435 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16436 if requested to do so for this macro.
16437 (Tests.add_all_tests): Take argument for macro for which to
16438 generate tests.
16439 (Tests.check_macro_list): New function.
16440 (main): Handle check-list argument and argument specifying macro
16441 for which to generate tests.
16442 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16443 [PYTHON] (tgmath3-macro-tests): Likewise.
16444 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16445 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16446 not test-tgmath3.c.
16447 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16448 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16449 to CFLAGS.
16450 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16451 [PYTHON] ($(foreach
16452 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16453 rule.
16454 [PYTHON] (tests-special): Add
16455 $(objpfx)test-tgmath3-macro-list.out.
16456 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16457
ebc129fd
JM
16458 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16459 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16460 later.
16461
78274dc8
JM
16462 [BZ #22639]
16463 * time/tzset.c (SECSPERDAY): Cast to time_t.
16464 * time/tst-y2039.c: New file.
16465 * time/Makefile (tests): Add tst-y2039.
16466
6f7fdeeb
LS
164672018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16468
16469 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16470 (PREFETCH_ONE_SET): Remove duplicate line.
16471
e363a91c
FW
164722018-05-17 Florian Weimer <fweimer@redhat.com>
16473
16474 * sysdeps/generic/math-type-macros-double.h: Include
16475 <math-nan-payload-double.h> after <libm-alias-double.h>.
16476 * sysdeps/generic/math-type-macros-float.h: Include
16477 <math-nan-payload-float.h> after <libm-alias-float.h>.
16478 * sysdeps/generic/math-type-macros-float128.h: Include
16479 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16480 * sysdeps/generic/math-type-macros-ldouble.h: Include
16481 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16482
dae6c43c
AS
164832018-05-17 Andreas Schwab <schwab@suse.de>
16484
16485 * resolv/res_send.c (__res_context_send): Don't set errno when
16486 returing error after malloc failure.
16487
0068c085
L
164882018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16489
16490 * nptl/allocatestack.c (allocate_stack): Remove the
16491 !__ASSUME_PRIVATE_FUTEX paths.
16492 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16493 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16494 Likewise.
16495 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16496 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16497 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16498 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16499 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16500 !__ASSUME_PRIVATE_FUTEX path.
16501 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16502 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16503 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16504 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16505 !__ASSUME_PRIVATE_FUTEX macros.
16506 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16507 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16509 * sysdeps/unix/sysv/linux/kernel-features.h
16510 (__ASSUME_PRIVATE_FUTEX): Removed.
16511
632a6cbe
JM
165122018-05-17 Joseph Myers <joseph@codesourcery.com>
16513
16514 * math/Makefile (libm-narrow-fns): Add div.
16515 (libm-test-funcs-narrow): Likewise.
16516 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16517 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16518 * math/gen-auto-libm-tests.c (test_functions): Add div.
16519 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16520 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16521 (NARROW_DIV_TRIVIAL): Likewise.
16522 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16523 macro.
16524 (__ddivl): Likewise.
16525 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16526 ddiv.
16527 (CFLAGS-nldbl-ddiv.c): New variable.
16528 (CFLAGS-nldbl-fdiv.c): Likewise.
16529 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16530 __nldbl_ddivl.
16531 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16532 prototype.
16533 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16534 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16535 * math/auto-libm-test-in: Add tests of div.
16536 * math/auto-libm-test-out-narrow-div: New generated file.
16537 * math/libm-test-narrow-div.inc: New file.
16538 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16540 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16541 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16542 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16543 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16544 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16545 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16546 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16547 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16548 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16549 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16550 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16551 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16552 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16553 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16554 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16555 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16557 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16558 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16559 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16560 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16561 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16562 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16563 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16564 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16565 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16566 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16567 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16568 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16569 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16574 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16575 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16576 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16577 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16578 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16579 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16580 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16581 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16582
8c78faa9
AZ
165832018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16584
16585 [BZ #23178]
16586 * nscd/nscd-client.h (sendfileall): Remove prototype.
16587 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16588 (handle_request): Use writeall instead of sendfileall.
16589 * nscd/aicache.c (addhstaiX): Likewise.
16590 * nscd/grpcache.c (cache_addgr): Likewise.
16591 * nscd/hstcache.c (cache_addhst): Likewise.
16592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16593 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16594 * nscd/pwdcache.c (cache_addpw): Likewise.
16595 * nscd/servicescache.c (cache_addserv): Likewise.
16596 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16597 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16598 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16599 Remove define.
16600
04958880
L
166012018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16602
16603 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16604 Include <string/strncat.c>.
16605 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16606 alias.
16607 (__GI___strncat): New hidden alias.
16608
c9992d13
JM
166092018-05-16 Joseph Myers <joseph@codesourcery.com>
16610
16611 * sysdeps/mips/mips32/libm-test-ulps: Update.
16612 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16613
2afece36
FW
166142018-05-16 Florian Weimer <fweimer@redhat.com>
16615
16616 * support/Makefile (libsupport-routines): Add support_quote_blob,
16617 support_test_compare_blob.
16618 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16619 * support/check.h (TEST_COMPARE_BLOB): Define.
16620 (support_test_compare_blob): Declare.
16621 * support/support.h (support_quote_blob): Declare.
16622 * support/support_quote_blob.c: New file.
16623 * support/support_test_compare_blob.c: Likewise.
16624 * support/tst-support_quote_blob.c: Likewise.
16625 * support/tst-test_compare_blob.c: Likewise.
16626
9761bf4d
FW
166272018-05-16 Florian Weimer <fweimer@redhat.com>
16628
16629 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16630 of <strtod_nan_double.h>.
16631 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16632 instead of SET_MANTISSA.
16633 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16634 of include <strtod_nan_float.h>.
16635 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16636 instead of <strtod_nan_ldouble.h>.
16637 * stdlib/strtod_nan_double.h: Move to ...
16638 * sysdeps/generic/math-nan-payload-double.h: ... here.
16639 (FLOAT): Remove definition.
16640 (SET_MANTISSA): Rename to ...
16641 (SET_NAN_PAYLOAD): ... this.
16642 * stdlib/strtod_nan_float.h: Move to ...
16643 * sysdeps/generic/math-nan-payload-float.h: ... here.
16644 (FLOAT): Remove definition.
16645 (SET_MANTISSA): Rename to ...
16646 (SET_NAN_PAYLOAD): ... this.
16647 * sysdeps/generic/math-type-macros-double.h: Include
16648 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16649 instead of <math-svid-compat.h>.
16650 * sysdeps/generic/math-type-macros-float.h: Include
16651 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16652 instead of <math-svid-compat.h>.
16653 * sysdeps/generic/math-type-macros-float128.h: Include
16654 <math-nan-payload-float128.h>.
16655 * sysdeps/generic/math-type-macros-ldouble.h: Include
16656 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16657 instead of <math-svid-compat.h>.
16658 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16659 check for definition.
16660 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16661 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16662 Include <ieee754_float128.h>.
16663 (FLOAT): Remove definition.
16664 (SET_MANTISSA): Rename to ...
16665 (SET_NAN_PAYLOAD): ... this.
16666 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16667 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16668 Do not include <float128_private.h>.
16669 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16671 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16672 (FLOAT): Remove definition.
16673 (SET_MANTISSA): Rename to ...
16674 (SET_NAN_PAYLOAD): ... this.
16675 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16676 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16677 (FLOAT): Remove definition.
16678 (SET_MANTISSA): Rename to ...
16679 (SET_NAN_PAYLOAD): ... this.
16680 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16681 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16682 (FLOAT): Remove definition.
16683 (SET_MANTISSA): Rename to ...
16684 (SET_NAN_PAYLOAD): ... this.
16685 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16686 of "../stdlib/strtod_nan_double.h".
16687 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16688 of "../stdlib/strtod_nan_float.h".
16689 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16690 instead of "../stdlib/strtod_nan_ldouble.h".
16691 * manual/arith.texi (Parsing of Floats): Adjust comment.
16692
69a01461
JM
166932018-05-16 Joseph Myers <joseph@codesourcery.com>
16694
16695 * math/Makefile (libm-narrow-fns): Add mul.
16696 (libm-test-funcs-narrow): Likewise.
16697 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16698 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16699 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16700 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16701 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16702 (NARROW_MUL_TRIVIAL): Likewise.
16703 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16704 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16705 macro.
16706 (__dmull): Likewise.
16707 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16708 dmul.
16709 (CFLAGS-nldbl-dmul.c): New variable.
16710 (CFLAGS-nldbl-fmul.c): Likewise.
16711 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16712 __nldbl_dmull.
16713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16714 prototype.
16715 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16716 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16717 * math/auto-libm-test-in: Add tests of mul.
16718 * math/auto-libm-test-out-narrow-mul: New generated file.
16719 * math/libm-test-narrow-mul.inc: New file.
16720 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16721 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16722 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16723 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16724 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16725 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16731 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16732 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16733 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16734 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16735 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16736 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16737 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16739 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16740 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16741 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16742 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16743 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16744 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16745 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16746 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16747 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16748 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16749 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16750 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16751 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16756 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16757 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16760 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16762 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16763 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16764
a15529fd
L
167652018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16766
16767 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16768 with *%eax in call.
16769
98ee36c7
L
167702018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16771
16772 * sysdeps/i386/ldsodefs.h: Removed.
16773 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16774 * sysdeps/x86/ldsodefs.h: This.
16775 (La_i86_regs): New.
16776 (La_i86_retval): Likewise.
16777 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16778 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16779
e322ec32
L
167802018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16781
16782 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16783 unnecessary testl.
16784
0937e209
AM
167852018-05-13 Alan Modra <amodra@gmail.com>
16786
16787 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16788 R_PARISC_TLS_DTPOFF32 reloc addend.
16789
5db7d705
TMQMF
167902018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16791
16792 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16793 * math/math.h: Restrict the prototype definition for the functions
16794 issignaling(_Float128) and iszero(_Float128); and template
16795 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16796 __HAVE_FLOAT128_UNLIKE_LDBL.
16797 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16798 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16799 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16800 __f128() constants; define the type _Float128 as long double;
16801 and reuse long double in __CFLOAT128.
16802
b4d5b8b0
JM
168032018-05-11 Joseph Myers <joseph@codesourcery.com>
16804
16805 * sysdeps/generic/math_private.h: Do not include
16806 <math-barriers.h>.
16807 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16808 <math_private.h>.
16809 * math/fromfp.h: Include <math-barriers.h>.
16810 * math/math-narrow.h: Likewise.
16811 * math/s_nextafter.c: Likewise.
16812 * math/s_nexttowardf.c: Likewise.
16813 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16814 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16815 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16816 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16817 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16818 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16819 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16824 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16826 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16827 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16828 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16829 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16830 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16832 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16834 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16835 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16836 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16837 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16838 * sysdeps/ieee754/k_standardl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16849 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16852 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16859 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16860 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16861
fc79706a
FW
168622018-05-11 Florian Weimer <fweimer@redhat.com>
16863
16864 Use 64-bit epoch values in the time zone file parser.
16865 * include/time.h (internal_time_t): Define.
16866 (__tzfile_compute): Use it.
16867 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16868 member.
16869 (transitions): Switch to internal_time_t.
16870 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16871 types.
16872 (__tzfile_compute): Use internal_time_t for timer argument. Check
16873 for truncation before calling __offtime.
16874
89aacb51
FW
168752018-05-11 Florian Weimer <fweimer@redhat.com>
16876
16877 [BZ #23166]
16878 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16879 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16880 Likewise.
16881 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16882 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16883 export without --enable-obsolete-rpc.
16884 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16885 symbol. This should not have been exported, ever.
16886
bb066cb8
RL
168872018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16888
16889 [BZ #23152]
16890 * localedata/locales/gd_GB (abmon): Fix typo in May:
16891 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16892
70c97f84
SP
168932018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16894
db725a45
SP
16895 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16896 Use multiple registers to copy data in loop tail.
16897
70c97f84
SP
16898 * sysdeps/aarch64/multiarch/memmove_falkor.S
16899 (__memmove_falkor): Use multiple registers to move data in
16900 loop tail.
16901
8f5b00d3
JM
169022018-05-10 Joseph Myers <joseph@codesourcery.com>
16903
16904 * math/math-underflow.h: New file.
16905 * sysdeps/generic/math_private.h: Do not include <float.h>.
16906 (fabs_tg): Remove macro. Moved to math-underflow.h.
16907 (min_of_type_f): Likewise.
16908 (min_of_type_): Likewise.
16909 (min_of_type_l): Likewise.
16910 (min_of_type_f128): Likewise.
16911 (min_of_type): Likewise.
16912 (math_check_force_underflow): Likewise.
16913 (math_check_force_underflow_nonneg): Likewise.
16914 (math_check_force_underflow_complex): Likewise.
16915 * math/e_exp2_template.c: Include <math-underflow.h>.
16916 * math/k_casinh_template.c: Likewise.
16917 * math/s_catan_template.c: Likewise.
16918 * math/s_catanh_template.c: Likewise.
16919 * math/s_ccosh_template.c: Likewise.
16920 * math/s_cexp_template.c: Likewise.
16921 * math/s_clog10_template.c: Likewise.
16922 * math/s_clog_template.c: Likewise.
16923 * math/s_csin_template.c: Likewise.
16924 * math/s_csinh_template.c: Likewise.
16925 * math/s_csqrt_template.c: Likewise.
16926 * math/s_ctan_template.c: Likewise.
16927 * math/s_ctanh_template.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16930 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16931 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16932 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16933 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16934 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16936 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16937 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16938 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16939 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16940 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16941 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16942 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16943 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16945 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16947 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16948 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16949 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16950 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16951 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16952 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16953 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16954 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16955 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16956 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16957 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16959 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16996 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16998 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16999 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17000 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17005 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17006 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17007 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17008 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17012
9ed2e15f
JM
170132018-05-09 Joseph Myers <joseph@codesourcery.com>
17014
17015 * sysdeps/generic/math-barriers.h: New file.
17016 * sysdeps/generic/math_private.h [!math_opt_barrier]
17017 (math_opt_barrier): Move to math-barriers.h.
17018 [!math_opt_barrier] (math_force_eval): Likewise.
17019 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17020 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17021 math-barriers.h.
17022 (math_force_eval): Likewise.
17023 * sysdeps/alpha/fpu/math-barriers.h: New file.
17024 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17025 math-barriers.h.
17026 (math_force_eval): Likewise.
17027 * sysdeps/x86/fpu/math-barriers.h: New file.
17028 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17029 math-barriers.h.
17030 (math_force_eval): Likewise.
17031 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17032 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17033 multiple-include guard for rename.
17034 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17035 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17036 math-barriers.h.
17037 (math_force_eval): Likewise.
17038
5460617d
PP
170392018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17040
17041 [BZ #22786]
43d4f3d5 17042 CVE-2018-11236
5460617d
PP
17043 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17044 computation.
17045 * stdlib/Makefile (test-bz22786): New test.
17046 * stdlib/test-bz22786.c: New test.
17047
aaee3cd8
JM
170482018-05-09 Joseph Myers <joseph@codesourcery.com>
17049
17050 * include/math-narrow-eval.h: New file. Contents moved from ....
17051 * sysdeps/generic/math_private.h: ... here.
17052 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17053 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17054 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17055 * stdlib/strtod_l.c: Likewise.
17056 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17057 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17058 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17071 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17072 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17073 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17074 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17075 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17076 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17077 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17078 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17080 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17081 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17082 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17083 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17084 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17085
0555c477
AS
170862018-05-08 Andreas Schwab <schwab@suse.de>
17087
17088 * sysdeps/nptl/internaltypes.h: Fix comment.
17089
50d7d351
L
170902018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17091
17092 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17093 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17094 hidden.
17095
543477f7
SP
170962018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17097
17098 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17099 of I into loop header.
17100 * benchtests/bench-memmove-walk.c
17101 (test_main): Likewise.
17102
171032018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
17104
17105 Revert:
17106 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17107 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17108
0065aaaa
PP
171092018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17110
17111 [BZ #20419]
17112 * elf/dl-load.c (open_verify): Fix stack overflow.
17113 * elf/Makefile (tst-big-note): New test.
17114 * elf/tst-big-note-lib.S: New.
17115 * elf/tst-big-note.c: New.
17116
b289cd9d
JM
171172018-05-04 Joseph Myers <joseph@codesourcery.com>
17118
17119 * scripts/abilist.awk: Ignore absolute symbols.
17120 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17121 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17122 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17123 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17124 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17125 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17126 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17127 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17128 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17129 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17130 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17131 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17132 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17133 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17134 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17135 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17136 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17137 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17138 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17139 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17140 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17141 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17142 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17143 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17144 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17145 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17146 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17147 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17148 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17149 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17150 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17151 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17152 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17153 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17154 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17155 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17156 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17157 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17158 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17159 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17160 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17161 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17162 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17163 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17164 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17165 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17166 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17167 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17179 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17183 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17184 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17185 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17187 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17188 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17194 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17196 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17197 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17198 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17199 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17201 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17202 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17206 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17207 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17210 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17211 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17212 Likewise.
17213 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17214 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17215 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17216 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17217 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17219 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17220 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17221 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17222 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17223 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17224 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17225 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17226 Likewise.
17227 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17228 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17229 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17230 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17232 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17233 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17234 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17235 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17241 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17247 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17248 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17254 Likewise.
17255 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17260 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17261 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17262 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17264 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17265 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17267 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17268 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17269 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17270 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17271 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17272 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17273 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17274 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17275 Likewise.
17276 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17277 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17278 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17279 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17280 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17281 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17282 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17283 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17284 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17286 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17290 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17291 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17296 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17297 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17299 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17300 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17301 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17308 Likewise.
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17314 Likewise.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17316 Likewise.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17319 Likewise.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17322 Likewise.
17323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17324 Likewise.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17328 Likewise.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17330 Likewise.
17331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17332 Likewise.
17333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17337 Likewise.
17338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17344 Likewise.
17345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17347 Likewise.
17348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17349 Likewise.
17350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17351 Likewise.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17353 Likewise.
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17357 Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17359 Likewise.
17360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17361 Likewise.
17362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17365 Likewise.
17366 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17380 Likewise.
17381 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17393 Likewise.
17394 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17419 Likewise.
17420 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17430 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17433 Likewise.
17434 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17442 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17443 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17444 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17445 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17446 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17447 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17448 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17449 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17450 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17451 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17452 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17453 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17454 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17455 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17456 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17457 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17458 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17465 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17472
16609018
SL
174732018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17474
17475 [BZ #23137]
17476 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17477 Use atomic_load_acquire to load __tid.
17478
556f5c46
L
174792018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17482 Restore the pointer into %rdx, after syscall and use %rdx,
17483 instead of %rsi, to restore context.
17484
8b8f32b2
L
174852018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17486
17487 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17488 Pop the pointer into %rdx after syscall and use %rdx, instead
17489 of %rsi, to restore context.
17490
d6cc1829
L
174912018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17492
17493 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17494 handlers after setjmp.
17495 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17496 defined.
17497 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17498 <libc-pointer-arith.h>.
17499 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17500 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17501 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17502 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17503 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17504 * sysdeps/x86/__longjmp_cancel.S: New file.
17505 * sysdeps/x86/longjmp.c: Likewise.
17506 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17507
cf2478d5
AZ
175082018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17509
17510 * NEWS: Add ustat.h deprecation entry.
17511 * bits/ustat.h: Remove file.
17512 * misc/sys/ustat.h: Likewise.
17513 * misc/ustat.h: Likewise.
17514 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17515 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17516 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17517 compatibility mode.
17518 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17519 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17520 generic Linux implementation.
17521
dc115e1c
TMQMF
175222018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17523
17524 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17525 * math/w_expl_compat.c: Likewise.
17526 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17527
6b5c8607 175282018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
17529
17530 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17531
c57bf7c1
AZ
175322018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17533
17534 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17535 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17536 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17537 Remove.
17538 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17540 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17541 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17542 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17543 and SYSCALL_LL64.
17544
06135c33
TMQMF
175452018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17546
33927914
TMQMF
17547 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17548
06135c33
TMQMF
17549 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17550 * math/w_asin_template.c: Likewise.
17551 * math/w_atanh_template.c: Likewise.
17552
3a33b069
GG
175532018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17554
17555 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17556 to powerpc/powerpc64/be for big-endian.
17557 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17558 little-endian.
17559
17560 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17561 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17562 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17563 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17564 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17565 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17566 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17567 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17568 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17569 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17570 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17571 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17572 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17573 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17574 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17575 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17576 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17577 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17578 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17579 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17580 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17581 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17582 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17583 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17584 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17585 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17586 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17587 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17588 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17589 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17590 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17591 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17592
17593 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17594 adjusted to imply powerpc64 and older processors on powerpc64/be.
17595 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17596 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17597 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17598 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17599 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17600 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17601 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17602 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17603 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17604 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17605 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17606 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17607 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17608 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17609 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17610 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17611 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17612 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17613 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17614 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17615 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17616 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17617 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17618 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17619 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17620 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17621 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17622 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17623 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17624 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17625 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17626
17627 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17628 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17629 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17630 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17631
17632 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17633 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17634 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17635 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17636
17637 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17638 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17639 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17640 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17641 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17642 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17643 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17644 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17645 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17646 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17647 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17648
17649 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17650 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17651 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17652 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17653 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17654 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17655 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17656 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17657 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17658 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17659 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17660
17661 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17662 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17663 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17664 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17665 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17666 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17667 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17668 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17669 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17670 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17671 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17672 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17673
17674 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17675 and adjusted to imply olders processors.
17676 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17677 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17678 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17679 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17680 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17681 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17682 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17683 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17684 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17685 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17686 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17687
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17689 powerpc64/le.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17692
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17694 powerpc64le.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17697
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17699 powerpc64/be.
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17703
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17705 powerpc64 and adjusted.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17709 Likewise.
17710
a3fb6b6b
JM
177112018-04-27 Joseph Myers <joseph@codesourcery.com>
17712
17713 * sysdeps/tile: Remove.
17714 * sysdeps/unix/sysv/linux/tile: Likewise.
17715 * README (tilegx-*-linux-gnu): Remove from list of supported
17716 configurations.
17717 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17718 contribution of support for generic Linux kernel syscall
17719 interface.
17720 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17721 tilegx configurations.
17722 (Config.install_linux_headers): Do not handle tile.
17723 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17724 in comment.
17725 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17726 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17727 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17728 conditional undefine and redefine.
17729 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17730 in comment.
17731 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17732 conditional undefine and redefine.
17733
7a6f7478
AJ
177342018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17735
17736 * signal/tst-sigaction.c: New file to test BZ #23069.
17737 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17738
81b49e96
TMQMF
177392018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17740
17741 [BZ #22766]
17742 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17743 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17744 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17745 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17746
7d80f48e
AZ
177472018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17748
17749 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17750 _DIRENT_MATCHES_DIRENT64 is not defined.
17751 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17752 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17753 is defined.
17754 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17755 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17756
42a2bf58
JM
177572018-04-25 Joseph Myers <joseph@codesourcery.com>
17758
17759 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17760 version to GCC 8 branch.
17761
9320ca88
JM
177622018-04-24 Joseph Myers <joseph@codesourcery.com>
17763
5e14bb97
JM
17764 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17765 (check_no_hidden): Use type of original function when declaring
17766 alias.
17767
9320ca88
JM
17768 * sysdeps/unix/sysv/linux/sys/ptrace.h
17769 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17770 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17771 (struct __ptrace_seccomp_metadata): New type.
17772 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17773 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17774 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17775 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17776 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17777 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17779 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17781 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17782 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17783 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17784 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17785 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17786 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17787 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17788
af7e376b
AZ
177892018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17790
17791 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17792 defined.
17793 * dirent/versionsort.c (versionsort): Likewise.
17794 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17795 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17796 * dirent/versionsort64.c (versionsort64): Likewise.
17797 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17798 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17799 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17800 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17801 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17802 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17803 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17804 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17805 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17806 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17809 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17810 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17811
da5e0361
JM
178122018-04-23 Joseph Myers <joseph@codesourcery.com>
17813
17814 * elf/elf.h (NT_PPC_PKEY): New macro.
17815
6b5c8607 178162018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
17817
17818 [BZ #23094]
17819 * localedata/locales/hr_HR: fix thousands_sep and
17820 mon_thousands_sep
17821
573963e3
JM
178222018-04-20 Joseph Myers <joseph@codesourcery.com>
17823
17824 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17825 (XTABS): Define to TAB3.
17826
c0123b3b
AZ
178272018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17828
0900a849
AZ
17829 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17830
c0123b3b
AZ
17831 * dirent/scandir-tail-common.c: New file.
17832 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17833 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17834 * dirent/scandir.c: Use scandir-tail-common.c.
17835 * dirent/scandirat.c: Likewise.
17836 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17837 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17838 if _DIRENT_MATCHES_DIRENT64 is defined.
17839 * dirent/scandirat64.c (scandirat64): Likewise.
17840 * include/dirent.h (__scandir_tail): Only define iff
17841 _DIRENT_MATCHES_DIRENT64 is not defined.
17842 (__scandir64_tail): Define regardless.
17843 (__scandirat, scandirat64): Remove libc_hidden_proto.
17844 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17845 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17847 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17849 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17850 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17851
458b94f6
JM
178522018-04-20 Joseph Myers <joseph@codesourcery.com>
17853
17854 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17855 New macro.
17856 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17857 Increase to 24.
17858 (_dl_aarch64_cap_flags): Add asimdfhm.
17859
9f0437e8
CLT
178602018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17861
17862 * sysdeps/nios2/libm-test-ulps: Update.
17863
298d0e31
AZ
178642018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17865
50511ca4
AZ
17866 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17867 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17868
298d0e31
AZ
17869 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17870 requirements.
6b5c8607 17871 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
17872 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17873 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17874 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17875 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17876 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17877 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17878 use getdents64 syscalls as base.
17879 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17880 symbol if required.
17881 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17882 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17883 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17884 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17885 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17887 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17888 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17890 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17891 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17892
0085be14
SL
178932018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17894
17895 * scripts/test_printers_common.py (init_test): Disable lock elision.
17896
da796524
SL
178972018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17898
17899 * math/test-tgmath.c (count_double, count_float,
17900 count_ldouble, count_cdouble, count_cfloat,
17901 count_cldouble): Use volatile int.
17902
0dd25301
ST
179032018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17904
17905 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17906 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 17907 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
17908 i386-gnu.
17909 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17910 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17911 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17912 msqid_ds.msg_lrpid): Likewise.
17913 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17914 Likewise.
17915 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17916 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
17917 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17918 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17919 unsigned int.
17920 (struct statvfs64): Likewise.
f55a4fde
ST
17921 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17922 Likewise.
77b93390
ST
17923 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17924 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17925 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17926 instead of wait_queue.
17927 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17928 instead of vm_area_struct.
5cd2931a
ST
17929 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17930 struct sched_param definition to it.
e60c3f2b
ST
17931 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17932 * bits/types/struct_sched_param.h: New file.
17933 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17934 <bits/types/struct_sched_param.h> instead of <sched.h>.
17935 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
17936 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17937 generic version but include <bits/pthreadtypes.h> to make struct
17938 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
17939 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17940 non-compliant.
a564872d
ST
17941 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17942 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17943 [__USE_XOPEN] (OFDEL): New macro.
17944 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 17945 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
17946 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17947 prototypes.
17948 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17949 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
17950 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17951 non-compliant.
17952 * sysdeps/i386/sys/ucontext.h: Likewise.
17953 * sysdeps/m68k/sys/ucontext.h: Likewise.
17954 * sysdeps/mips/sys/ucontext.h: Likewise.
17955 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
17956 * sysdeps/mach/hurd/i386/Makefile
17957 (test-xfail-POSIX/fcntl.h/conform): Add.
17958 (test-xfail-POSIX/signal.h/conform): Add.
17959 (test-xfail-POSIX/semaphore.h/conform): Add.
17960 (test-xfail-POSIX/regex.h/conform): Add.
17961 (test-xfail-POSIX/aio.h/conform): Add.
17962 (test-xfail-POSIX/mqueue.h/conform): Add.
17963 (test-xfail-POSIX/sys/types.h/conform): Add.
17964 (test-xfail-UNIX98/fcntl.h/conform): Add.
17965 (test-xfail-UNIX98/netdb.h/conform): Add.
17966 (test-xfail-UNIX98/signal.h/conform): Add.
17967 (test-xfail-UNIX98/semaphore.h/conform): Add.
17968 (test-xfail-UNIX98/regex.h/conform): Add.
17969 (test-xfail-UNIX98/aio.h/conform): Add.
17970 (test-xfail-UNIX98/ftw.h/conform): Add.
17971 (test-xfail-UNIX98/mqueue.h/conform): Add.
17972 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17973 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17974 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17975 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17976 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17977 (test-xfail-UNIX98/sys/types.h/conform): Add.
17978 (test-xfail-UNIX98/stdlib.h/conform): Add.
17979 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17980 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17981 (test-xfail-POSIX2008/netdb.h/conform): Add.
17982 (test-xfail-POSIX2008/signal.h/conform): Add.
17983 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17984 (test-xfail-POSIX2008/regex.h/conform): Add.
17985 (test-xfail-POSIX2008/aio.h/conform): Add.
17986 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17987 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17988 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17989 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17990 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17991 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17992 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17993 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17994 (test-xfail-XOPEN2K/signal.h/conform): Add.
17995 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17996 (test-xfail-XOPEN2K/regex.h/conform): Add.
17997 (test-xfail-XOPEN2K/aio.h/conform): Add.
17998 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17999 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18000 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18001 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18002 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18003 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18004 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18005 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18006 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18007 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18008 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18009 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18010 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18011 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18012 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18013 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18014 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18015 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18016 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18017 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18018 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18019 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18020 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18021 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18022 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18023 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
18024 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18025 i386-gnu.
18026 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18027 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 18028
d6397de3
JM
180292018-04-18 Joseph Myers <joseph@codesourcery.com>
18030
18031 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18032 --enable-obsolete for powerpc-linux-gnuspe.
18033
8323a902
ST
180342018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18035
3dc0814c 18036 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 18037 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 18038 prototypes.
c5896a45
ST
18039 * sysdeps/mach/include/mach.h: Likewise.
18040 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18041 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 18042
743b9c2a
AZ
180432018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18044
18045 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18046 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18047 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18048 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18049
326e74e7
AS
180502018-04-16 Andreas Schwab <schwab@suse.de>
18051
18052 [BZ #19527]
18053 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18054
6b5c8607 180552018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
18056
18057 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18058 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18059
a700e7cb
DD
180602018-04-12 DJ Delorie <dj@redhat.com>
18061
18062 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18063 version to 4.16.
18064
d8abfab7
SL
180652018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18066
18067 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18068 (struct kernel_sigaction): Use the same definition on 31bit as is used
18069 on 64bit.
18070
583a27d5
FW
180712018-04-09 Florian Weimer <fweimer@redhat.com>
18072
18073 [BZ #23037]
18074 * resolv/res_send.c (send_dg): Use designated initializers instead
18075 of assignment to zero-initialize other fields of struct mmsghdr.
18076
243f59e5
AZ
180772018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18078
942de61a
AZ
18079 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18080 __READDIR_ALIAS): Undefine after usage.
18081 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18082 __READDIR_R_ALIAS): Likewise.
18083 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18084 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18085 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18086 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18087 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18088 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18089 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18090 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18091 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18092 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18093 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18094 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18095 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18096 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18097 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18098 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18099 * sysdeps/unix/sysv/linux/readdir.c: New file.
18100 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18101 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18102 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18103
243f59e5
AZ
18104 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18105
690c3475
AS
181062018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18107
18108 * manual/charset.texi (Converting a Character): Fix typo.
18109
6b5c8607 181102018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 18111
bbc2062a
AZ
18112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18113
fa7c6199
AZ
18114 * sysdeps/arm/libm-test-ulps: Update.
18115
b4a5d26d
AZ
18116 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18117 as base implementation.
18118 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18119 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18122 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18123 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18124 remove unrequired definitions and update comments.
18125 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18126 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18127 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18128 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18129 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18130 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18131 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18132 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18133 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18134 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18135 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18136 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18137 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18138 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18139 and RESET_SA_RESTORER hooks.
18140
db9e55ff
SL
181412018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18142
18143 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18144
cf138b0c
FW
181452018-04-05 Florian Weimer <fweimer@redhat.com>
18146
18147 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18148 integer overflow, memory leak on error, and indeterminate errno
18149 value. Add a null wide character to terminate the result string.
18150 * manual/charset.texi (Converting a Character): Mention embedded
18151 null bytes in the mbrtowc input string. Explain what happens in
18152 the -2 result case. Do not claim that mbrtowc is simple or
18153 obvious to use. Adjust the description of the code example. Use
18154 @code, not @var, for concrete variables.
18155
0f339252
FW
181562018-04-05 Florian Weimer <fweimer@redhat.com>
18157
18158 * manual/examples/mbstouwcs.c: New file.
18159 * manual/charset.texi (Converting a Character): Include it.
18160
e5f9508a
ST
181612018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18162
c120981d
ST
18163 * include/dirent.h (dirfd): Add hidden proto.
18164 * dirent/dirfd.c (dirfd): Add hidden def.
18165 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18166 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 18167
b2fd61ca
TMQMF
181682018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18169
18170 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18171 sin, cos and sincos to 1 ULP.
18172
10a446dd
MR
181732018-04-04 Maciej W. Rozycki <macro@mips.com>
18174
e7feec37
MR
18175 [BZ #19818]
18176 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18177 symbols.
18178 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18179 * elf/tst-absolute-sym.c: New file.
18180 * elf/tst-absolute-sym-lib.c: New file.
18181 * elf/tst-absolute-sym-lib.lds: New file.
18182 * elf/Makefile (tests): Add `tst-absolute-sym'.
18183 (modules-names): Add `tst-absolute-sym-lib'.
18184 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18185 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18186 ($(objpfx)tst-absolute-sym): New dependency.
18187
10a446dd
MR
18188 [BZ #19818]
18189 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18190 parameter.
18191 (SYMBOL_ADDRESS): New macro.
18192 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18193 SYMBOL_ADDRESS for symbol address calculation.
18194 * elf/dl-runtime.c (_dl_fixup): Likewise.
18195 (_dl_profile_fixup): Likewise.
18196 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18197 * elf/rtld.c (dl_main): Likewise.
18198 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18199 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18200 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18201 (elf_machine_rela): Likewise.
18202 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18203 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18204 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18205 (elf_machine_rela): Likewise.
18206 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18207 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18208 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18209 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18210 Likewise.
18211 (elf_machine_reloc): Likewise.
18212 (elf_machine_got_rel): Likewise.
18213 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18214 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18215 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18216 Likewise.
18217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18218 Likewise.
18219 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18221 Likewise.
18222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18223 Likewise.
18224 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18226 Likewise.
18227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18228 Likewise.
18229 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18230 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18231
9185f86d
ZW
182322018-04-04 Zack Weinberg <zackw@panix.com>
18233
18234 * sysdeps/generic/internal-signals.h: Include signal.h,
18235 sigsetops.h, and stdbool.h.
18236 (__libc_signal_block_all): Actually block all signals.
18237 (__libc_signal_block_app): Likewise.
18238 (__libc_signal_restore_set): Actually restore the signal mask.
18239
b07367bc
FW
182402018-04-04 Florian Weimer <fweimer@redhat.com>
18241
18242 inet: Actually build and run tst-deadline.
18243 * inet/Makefile (tests-internal): Add tst-deadline and do not
18244 overwrite the variable.
18245 (tests-static-internal): Remove variable.
18246
f2652643
L
182472018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18248
18249 [BZ #22947]
18250 * bits/uio-ext.h (RWF_APPEND): New.
18251 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18252 * manual/llio.texi: Document RWF_APPEND.
18253 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18254 (RWF_SUPPORTED): Add RWF_APPEND.
18255
6b5c8607 182562018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
18257
18258 [BZ #22391]
18259 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18260 check for internal nptl signals.
18261 * nptl/sigaction.c (__sigaction): Likewise.
18262 * signal/sigaddset.c (sigaddset): Likewise.
18263 * signal/sigdelset.c (sigdelset): Likewise.
18264 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18265 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18266 value.
18267 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18268 to filter out internal nptl signals.
18269 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18270 also check realtime signals using standard macros.
18271 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18272 __is_internal_signal, __libc_signal_block_all,
18273 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18274 * sysdeps/nptl/sigfillset.c: Remove file.
18275 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18276 Change return to bool.
18277 (__clear_internal_signals): Remove SIGTIMER clean since it is
18278 equal to SIGCANEL on Linux.
18279 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18280 signal set was constructed using standard functions.
18281
511ed56f
ST
182822018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18283
92846492
ST
18284 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18285 ifname is too long.
e8ef51b1
ST
18286 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18287 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
18288 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18289 hidden def.
18290 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
18291 * signal/sigaddset.c: Include <sigsetopts.h>.
18292 * signal/sigdelset.c: Likewise.
511ed56f 18293
e88ecbbf
WD
182942018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18295
18296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18297 (__cos): Likewise.
18298 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18299 logic as sin and cos.
18300
aef3e255
WD
183012018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18302
18303 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18304 inputs. Return correct sign.
18305 (do_sincos): Remove small input check before do_sin, let do_sin set
18306 the sign.
18307 (__sin): Likewise.
18308 (__cos): Likewise.
18309
72f6e9a3
WD
183102018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18311
18312 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18313 (do_cos_slow): Likewise.
18314 (do_sin_slow): Likewise.
18315 (reduce_and_compute): Likewise.
18316 (slow): Likewise.
18317 (slow1): Likewise.
18318 (slow2): Likewise.
18319 (sloww): Likewise.
18320 (sloww1): Likewise.
18321 (sloww2): Likewise.
18322 (bslow): Likewise.
18323 (bslow1): Likewise.
18324 (bslow2): Likewise.
18325 (cslow2): Likewise.
18326
64909583
WD
183272018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18328
18329 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18330 (do_cos): Remove corp parameter and calculations.
18331 (do_sin): Likewise.
18332 (do_sincos): Remove cor variable.
18333 (__sin): Use do_sincos for huge inputs.
18334 (__cos): Likewise.
18335 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18336 (reduce_and_compute_sincos): Remove unused function.
18337
d9469deb
WD
183382018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18339
18340 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18341 reduce_sincos, improve accuracy to 136 bits.
18342 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18343 (__sin): Use improved reduction and simplified do_sincos calculation.
18344 (__cos): Likewise.
18345 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18346
7a5640f2
WD
183472018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18348
18349 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18350 (do_sincos_2): Likewise.
18351 (__sin): Remove middle range reduction case.
18352 (__cos): Likewise.
18353 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18354 reduction case.
18355
19a8b9a3
WD
183562018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18357
18358 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18359 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18360 inputs.
18361 (__cos): Likewise.
18362 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18363
f72aa11d
JM
183642018-04-03 Joseph Myers <joseph@codesourcery.com>
18365
18366 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 18367 version to 4.16
f72aa11d 18368
8e4754ed
AZ
183692018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18370
18371 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18372 Remove definitions.
18373 (opendir_oflags): Use O_DIRECTORY regardless.
18374 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18375 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18376
8e2666ea
ST
183772018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18378
18379 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18380 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18381 macros.
18382 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18383 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18384 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18385 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
18386 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18387 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 18388
ad2b41bf
ST
18389 * htl/Makefile: Bump licence to LGPL 2.1+.
18390 * htl/alloca_cutoff.c: Likewise.
18391 * htl/cthreads-compat.c: Likewise.
18392 * htl/lockfile.c: Likewise.
18393 * htl/pt-alloc.c: Likewise.
18394 * htl/pt-cancel.c: Likewise.
18395 * htl/pt-cleanup.c: Likewise.
18396 * htl/pt-create.c: Likewise.
18397 * htl/pt-dealloc.c: Likewise.
18398 * htl/pt-detach.c: Likewise.
18399 * htl/pt-exit.c: Likewise.
18400 * htl/pt-getattr.c: Likewise.
18401 * htl/pt-initialize.c: Likewise.
18402 * htl/pt-internal.h: Likewise.
18403 * htl/pt-join.c: Likewise.
18404 * htl/pt-self.c: Likewise.
18405 * htl/pt-setcancelstate.c: Likewise.
18406 * htl/pt-setcanceltype.c: Likewise.
18407 * htl/pt-sigmask.c: Likewise.
18408 * htl/pt-spin-inlines.c: Likewise.
18409 * htl/pt-testcancel.c: Likewise.
18410 * htl/pt-yield.c: Likewise.
18411 * htl/tests/test-1.c: Likewise.
18412 * htl/tests/test-10.c: Likewise.
18413 * htl/tests/test-11.c: Likewise.
18414 * htl/tests/test-12.c: Likewise.
18415 * htl/tests/test-13.c: Likewise.
18416 * htl/tests/test-14.c: Likewise.
18417 * htl/tests/test-15.c: Likewise.
18418 * htl/tests/test-16.c: Likewise.
18419 * htl/tests/test-17.c: Likewise.
18420 * htl/tests/test-2.c: Likewise.
18421 * htl/tests/test-3.c: Likewise.
18422 * htl/tests/test-4.c: Likewise.
18423 * htl/tests/test-5.c: Likewise.
18424 * htl/tests/test-6.c: Likewise.
18425 * htl/tests/test-7.c: Likewise.
18426 * htl/tests/test-8.c: Likewise.
18427 * htl/tests/test-9.c: Likewise.
18428 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18429 * sysdeps/htl/bits/cancelation.h: Likewise.
18430 * sysdeps/htl/bits/pthread-np.h: Likewise.
18431 * sysdeps/htl/bits/pthread.h: Likewise.
18432 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18433 * sysdeps/htl/bits/semaphore.h: Likewise.
18434 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18435 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18436 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18437 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18438 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18439 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18440 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18441 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18442 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18443 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18444 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18445 * sysdeps/htl/old_pt-atfork.c: Likewise.
18446 * sysdeps/htl/pt-atfork.c: Likewise.
18447 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18448 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18449 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18450 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18451 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18452 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18453 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18454 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18455 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18456 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18457 * sysdeps/htl/pt-attr-init.c: Likewise.
18458 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18459 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18460 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18461 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18462 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18463 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18464 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18465 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18466 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18467 * sysdeps/htl/pt-attr.c: Likewise.
18468 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18469 * sysdeps/htl/pt-barrier-init.c: Likewise.
18470 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18471 * sysdeps/htl/pt-barrier.c: Likewise.
18472 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18473 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18474 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18475 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18476 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18477 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18478 * sysdeps/htl/pt-cond-init.c: Likewise.
18479 * sysdeps/htl/pt-cond-signal.c: Likewise.
18480 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18481 * sysdeps/htl/pt-cond-wait.c: Likewise.
18482 * sysdeps/htl/pt-cond.c: Likewise.
18483 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18484 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18485 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18486 * sysdeps/htl/pt-condattr-init.c: Likewise.
18487 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18488 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18489 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18490 * sysdeps/htl/pt-equal.c: Likewise.
18491 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18492 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18493 * sysdeps/htl/pt-getschedparam.c: Likewise.
18494 * sysdeps/htl/pt-getspecific.c: Likewise.
18495 * sysdeps/htl/pt-init-specific.c: Likewise.
18496 * sysdeps/htl/pt-key-create.c: Likewise.
18497 * sysdeps/htl/pt-key-delete.c: Likewise.
18498 * sysdeps/htl/pt-key.h: Likewise.
18499 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18500 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18501 * sysdeps/htl/pt-mutex-init.c: Likewise.
18502 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18503 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18504 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18505 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18506 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18507 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18508 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18509 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18510 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18511 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18512 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18513 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18514 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18515 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18516 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18517 * sysdeps/htl/pt-mutexattr.c: Likewise.
18518 * sysdeps/htl/pt-once.c: Likewise.
18519 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18520 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18521 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18522 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18523 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18524 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18525 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18526 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18527 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18528 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18529 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18530 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18531 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18532 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18533 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18534 * sysdeps/htl/pt-setschedparam.c: Likewise.
18535 * sysdeps/htl/pt-setschedprio.c: Likewise.
18536 * sysdeps/htl/pt-setspecific.c: Likewise.
18537 * sysdeps/htl/pt-spin.c: Likewise.
18538 * sysdeps/htl/pt-startup.c: Likewise.
18539 * sysdeps/htl/pthread.h: Likewise.
18540 * sysdeps/htl/sem-close.c: Likewise.
18541 * sysdeps/htl/sem-destroy.c: Likewise.
18542 * sysdeps/htl/sem-getvalue.c: Likewise.
18543 * sysdeps/htl/sem-init.c: Likewise.
18544 * sysdeps/htl/sem-open.c: Likewise.
18545 * sysdeps/htl/sem-post.c: Likewise.
18546 * sysdeps/htl/sem-timedwait.c: Likewise.
18547 * sysdeps/htl/sem-trywait.c: Likewise.
18548 * sysdeps/htl/sem-unlink.c: Likewise.
18549 * sysdeps/htl/sem-wait.c: Likewise.
18550 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18551 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18552 * sysdeps/mach/htl/pt-block.c: Likewise.
18553 * sysdeps/mach/htl/pt-spin.c: Likewise.
18554 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18555 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18556 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18557 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18558 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18559 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18560 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18561 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18562 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18563 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18564 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18565 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18566 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18567 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18568 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18569 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18570 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18571 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18572 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18573 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18574 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18575 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18576 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18577 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18578 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18579 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18580 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18581 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18582 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18583 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18584 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18585 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18586 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18587 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18588 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18589 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18590 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18591 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18592 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18593 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18594 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18595 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18596 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18597
fb03b04b
ST
18598 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18599 * README: Remove the mention of out-of-tree patches needed for
18600 GNU/Hurd.
18601
fa9e1555
ST
18602 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18603 (UTIME_NOW, UTIME_OMIT): Define macros.
18604
f6fb29d2
ST
18605 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18606 instead of pthread_detach.
18607 (__cthread_fork): Call __pthread_create instead of pthread_create.
18608 (__cthread_keycreate): Call __pthread_key_create instead of
18609 pthread_key_create.
18610 (__cthread_getspecific): Call __pthread_getspecific instead of
18611 pthread_getspecific.
18612 (__cthread_setspecific): Call __pthread_setspecific instead of
18613 pthread_setspecific.
18614 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18615 __pthread_mutex_unlock instead of pthread_mutex_lock and
18616 pthread_mutex_unlock.
18617 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18618 ___pthread_get_cleanup_stack.
18619 (__pthread_get_cleanup_stack): New strong alias.
18620 * htl/pt-create.c: Include <pthreadP.h>.
18621 (entry_point): Call __pthread_exit instead of pthread_exit.
18622 (pthread_create): Rename to __pthread_create.
18623 (pthread_create): New strong alias.
18624 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18625 (pthread_detach): New strong alias.
18626 (__pthread_detach): Call __pthread_cond_broadcast instead of
18627 pthread_cond_broadcast.
fe9748cc
ST
18628 * htl/pt-exit.c: Include <pthreadP.h>.
18629 (__pthread_exit): Call __pthread_setcancelstate and
18630 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18631 __pthread_get_cleanup_stack.
f6fb29d2
ST
18632 * htl/pt-testcancel.c: Include <pthreadP.h>.
18633 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18634 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18635 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18636 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18637 pthread_attr_getstacksize.
18638 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18639 Rename to __pthread_attr_getstackaddr.
18640 (pthread_attr_getstackaddr): New strong alias.
18641 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18642 Rename to __pthread_attr_getstacksize.
18643 (pthread_attr_getstacksize): New strong alias.
18644 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18645 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18646 (pthread_attr_setstack): New strong alias.
18647 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18648 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18649 pthread_attr_getstacksize, pthread_attr_setstacksize and
18650 pthread_attr_setstackaddr.
18651 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18652 Rename to __pthread_attr_setstackaddr.
18653 (pthread_attr_setstackaddr): New strong alias.
18654 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18655 Rename to __pthread_attr_setstacksize.
18656 (pthread_attr_setstacksize): New strong alias.
18657 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18658 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18659 pthread_exit.
18660 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18661 (__pthread_key_create): New hidden def.
18662 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18663 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18664 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18665 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18666 __pthread_setspecific, __pthread_setcancelstate,
18667 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18668 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18669 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18670 declarations.
18671 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18672 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18673 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18674 (pthread_attr_setstackaddr): New strong alias.
18675 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18676 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18677 (pthread_attr_setstacksize): New strong alias.
18678 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18679 (call_exit): Call __pthread_exit instead of pthread_exit.
18680 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18681 (_pthread_mutex_init): New hidden definition.
18682 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18683 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18684 instead of pthread_attr_init and pthread_attr_setstack.
18685
dba2bdbe
ST
18686 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18687 __vm_deallocate instead of vm_allocate and vm_deallocate.
18688 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18689 setenv.
18690 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18691 of geteuid.
18692 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18693 strdup.
18694 * hurd/siginfo.c: Include <libioP.h>.
18695 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18696 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18697 munmap.
dba2bdbe
ST
18698 * mach/devstream.c: Include <libioP.h>.
18699 (dealloc_ref): Call __mach_port_deallocate instead of
18700 mach_port_deallocate.
18701 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18702 Call __mach_port_deallocate instead of mach_port_deallocate.
18703 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18704 pathconf.
18705 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18706 munmap.
18707 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18708 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18709 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18710 of munmap.
18711 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18712 of close.
18713 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18714 instead of sysconf.
18715 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18716 __clock_gettime instead of clock_gettime.
18717 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18718 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18719 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18720 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18721 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18722 tcgetattr.
18723 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18724 __clock_gettime and __nanosleep instead of clock_gettime and
18725 nanosleep.
7a8f45e3
ST
18726 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18727 __hurd_catch_signal.
18728 (hurd_catch_signal): New strong alias.
18729 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18730 __hurd_catch_signal instead of hurd_catch_signal.
18731 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18732 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18733 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18734 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18735 (_hurd_thread_sigstate): Add hidden def.
18736 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18737 mutex_unlock.
18738 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18739 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18740 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18741 __hurd_file_name_path_lookup.
18742 (hurd_file_name_path_lookup): New strong alias.
18743 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18744 hurd_file_name_path_lookup.
18745 * mach/errstring.c (mach_error_type): Add hidden def.
18746 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18747 * mach/mutex-init.c (__mutex_init): Add hidden def.
18748 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18749 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18750 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18751 * sysdeps/mach/hurd/getcwd.c
18752 (_hurd_canonicalize_directory_name_internal): Rename to
18753 __hurd_canonicalize_directory_name_internal.
18754 (_hurd_canonicalize_directory_name_internal): New strong alias.
18755 (__canonicalize_directory_name_internal, __getcwd): Call
18756 __hurd_canonicalize_directory_name_internal instead of
18757 _hurd_canonicalize_directory_name_internal.
18758 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18759 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18760 hidden defs.
18761 * sysdeps/hurd/include/hurd.h: New file.
18762 * sysdeps/hurd/include/hurd/fd.h: New file.
18763 * sysdeps/hurd/include/hurd/signal.h: New file.
18764 * sysdeps/mach/include/lock-intern.h: New file.
18765 * sysdeps/mach/include/mach.h: New file.
18766 * sysdeps/mach/include/mach/mig_support.h: New file.
18767 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
18768 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18769 prototype.
18770 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18771 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18772 _HEADER_H_HIDDEN_DEF macro.
18773 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18774 _hurd_fd_error_signal): Add hidden prototype.
18775 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18776 hidden def.
82dbf555
ST
18777 * libio/iolibio.h (_IO_puts): New hidden prototype.
18778 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
18779 * sysdeps/mach/hurd/localplt.data: New file.
18780
33574c17 187812018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
18782 Amos Jeffries <squid3@treenet.co.nz>
18783 David Michael <fedora.dm0@gmail.com>
18784 Marco Gerards <marco@gnu.org>
18785 Marcus Brinkmann <marcus@gnu.org>
18786 Neal H. Walfield <neal@gnu.org>
18787 Pino Toscano <toscano.pino@tiscali.it>
18788 Richard Braun <rbraun@sceen.net>
18789 Roland McGrath <roland@gnu.org>
18790 Samuel Thibault <samuel.thibault@ens-lyon.org>
18791 Thomas DiModica <ricinwich@yahoo.com>
18792 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
18793
18794 * htl: New directory.
18795 * sysdeps/htl: New directory.
18796 * sysdeps/hurd/htl: New directory.
18797 * sysdeps/i386/htl: New directory.
18798 * sysdeps/mach/htl: New directory.
18799 * sysdeps/mach/hurd/htl: New directory.
18800 * sysdeps/mach/hurd/i386/htl: New directory.
18801 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18802 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18803 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18804
03e2aa50
ST
188052018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18806
18807 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18808 signals in thread created for runing timers.
18809
1aa52ced
FW
188102018-04-01 Florian Weimer <fweimer@redhat.com>
18811
18812 * support/support_format_addrinfo.c (support_format_addrinfo):
18813 Include unknown error number in formatted result.
18814
4d76d3e5
FW
188152018-03-29 Florian Weimer <fweimer@redhat.com>
18816
18817 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18818 capture SIGBUS.
18819
d39c0a45
AZ
188202018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18821
18822 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18823 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18824 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18825 (__ASSUME_CLONE_BACKWARDS): Define.
18826
cc8a1620
JH
188272018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18828
57408435 18829 [BZ #23024]
cc8a1620
JH
18830 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18831 early when linux sentinel value is set.
18832
8bfd94d0
ST
188332018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18834
18835 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18836
f178e59f
AS
188372018-03-27 Andreas Schwab <schwab@suse.de>
18838
18839 [BZ #23005]
18840 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18841 allocation of private copy of nsaddr_list fails.
18842
5f45f96a
JM
188432018-03-26 Joseph Myers <joseph@codesourcery.com>
18844
18845 [BZ #16552]
18846 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18847 * sysdeps/unix/sysv/linux/umount.c: ... here.
18848 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18849 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18850 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18851 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18853 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18854 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18855
3dfd23eb
AS
188562018-03-26 Andreas Schwab <schwab@suse.de>
18857
18858 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18859 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18860 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18861 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18862 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18863 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18864 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18865 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18866 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18867 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18868 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18869 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18870 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18871 (R_RISCV_NUM): Define.
18872
fa97d2ab
ST
188732018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18874
18875 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18876 TLS declaration of errno.
37be82a0
ST
18877 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18878 __libc_setup_tls.
18879 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18880 (ARCH_SETUP_TLS): Likewise.
18881 * sysdeps/mach/hurd/libc-start.h: New file copied from
18882 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
18883 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18884 instead of __libc_setup_tls.
37be82a0 18885 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
18886 __libc_setup_tls before initializing libpthread and running _hurd_init
18887 which starts the signal thread.
18888 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18889 Declare function.
2d813d7b 18890 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 18891
b8114edd
L
188922018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18893
18894 [BZ #22998]
18895 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18896 after it is defined.
18897
cd66c0e5
AS
188982018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18899 Max Horn <max@quendi.de>
18900
18901 [BZ #22644]
43d4f3d5 18902 CVE-2017-18269
cd66c0e5
AS
18903 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18904 branch conditions.
18905 * string/test-memmove.c (do_test2): New testcase.
18906
a4406139
JM
189072018-03-22 Joseph Myers <joseph@codesourcery.com>
18908
18909 * sysdeps/generic/frame.h: Remove file.
18910 * sysdeps/arm/frame.h: Likewise.
18911 * sysdeps/hppa/frame.h: Likewise.
18912 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18913 macro.
18914 (GET_FRAME): Likewise.
18915 (GET_STACK): Likewise.
18916 (CALL_SIGHANDLER): Likewise.
18917 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18918 Likewise.
18919 (GET_FRAME): Likewise.
18920 (GET_STACK): Likewise.
18921 (CALL_SIGHANDLER): Likewise.
18922 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18923 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18924 (GET_FRAME): Likewise.
18925 (GET_STACK): Likewise.
18926 (CALL_SIGHANDLER): Likewise.
18927 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18928 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18929 (GET_FRAME): Likewise.
18930 (GET_STACK): Likewise.
18931 (ADVANCE_STACK_FRAME): Likewise.
18932 (CALL_SIGHANDLER): Likewise.
18933 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18934 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18935 (GET_FRAME): Likewise.
18936 (GET_STACK): Likewise.
18937 (CALL_SIGHANDLER): Likewise.
18938 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18939 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18940 (GET_FRAME): Likewise.
18941 (GET_STACK): Likewise.
18942 (CALL_SIGHANDLER): Likewise.
18943 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18944 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18945 (GET_FRAME): Likewise.
18946 (GET_STACK): Likewise.
18947 (CALL_SIGHANDLER): Likewise.
18948 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18949 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18950 (GET_FRAME): Likewise.
18951 (GET_STACK): Likewise.
18952 (CALL_SIGHANDLER): Likewise.
18953 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18954 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18955 (GET_FRAME): Likewise.
18956 (GET_STACK): Likewise.
18957 (CALL_SIGHANDLER): Likewise.
18958 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18959 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18960 (GET_FRAME): Likewise.
18961 (GET_STACK): Likewise.
18962 (CALL_SIGHANDLER): Likewise.
18963 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18964 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18965 (GET_FRAME): Likewise.
18966 (GET_STACK): Likewise.
18967 (CALL_SIGHANDLER): Likewise.
18968 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18969 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18970 (GET_FRAME): Likewise.
18971 (GET_STACK): Likewise.
18972 (CALL_SIGHANDLER): Likewise.
18973 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18974 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18975 (GET_FRAME): Likewise.
18976 (GET_STACK): Likewise.
18977 (CALL_SIGHANDLER): Likewise.
18978 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18979 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18980 (FIRST_FRAME_POINTER): Likewise.
18981 (ADVANCE_STACK_FRAME): Likewise.
18982 (GET_STACK): Likewise.
18983 (GET_FRAME): Likewise.
18984 (CALL_SIGHANDLER): Likewise.
18985 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18986 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18987 (ADVANCE_STACK_FRAME): Likewise.
18988 (GET_STACK): Likewise.
18989 (GET_FRAME): Likewise.
18990 (CALL_SIGHANDLER): Likewise.
18991 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18992 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18993 (GET_FRAME): Likewise.
18994 (GET_STACK): Likewise.
18995 (CALL_SIGHANDLER): Likewise.
18996 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18997 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18998 (GET_FRAME): Likewise.
18999 (GET_STACK): Likewise.
19000 (CALL_SIGHANDLER): Likewise.
19001
ffec7b27
JM
190022018-03-21 Joseph Myers <joseph@codesourcery.com>
19003
19004 * sysdeps/x86_64/backtrace.c: Move to ....
19005 * debug/backtrace.c: ... here.
19006 * sysdeps/aarch64/backtrace.c: Remove file.
19007 * sysdeps/alpha/backtrace.c: Likewise.
19008 * sysdeps/hppa/backtrace.c: Likewise.
19009 * sysdeps/ia64/backtrace.c: Likewise.
19010 * sysdeps/mips/backtrace.c: Likewise.
19011 * sysdeps/nios2/backtrace.c: Likewise.
19012 * sysdeps/riscv/backtrace.c: Likewise.
19013 * sysdeps/sh/backtrace.c: Likewise.
19014 * sysdeps/tile/backtrace.c: Likewise.
19015
8a07b0c4
JM
190162018-03-20 Joseph Myers <joseph@codesourcery.com>
19017
d0c5d731
JM
19018 [BZ #22987]
19019 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19020 function.
19021 (fdimf): Likewise.
19022 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19023
8a07b0c4
JM
19024 [BZ #17343]
19025 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19026 possibly overflowing computations.
19027
ceb54b9b
ST
190282018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19029
19030 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19031 values from Linux-specific section now that it is in the GNU section.
19032 * sysdeps/gnu/errlist.c: Regenerate.
19033
8d3f9e85
JM
190342018-03-20 Joseph Myers <joseph@codesourcery.com>
19035
19036 * math/Makefile (libm-narrow-fns): Add sub.
19037 (libm-test-funcs-narrow): Likewise.
19038 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19039 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19040 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19041 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19042 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19043 (NARROW_SUB_TRIVIAL): Likewise.
19044 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19045 macro.
19046 (__dsubl): Likewise.
19047 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19048 dsub.
19049 (CFLAGS-nldbl-dsub.c): New variable.
19050 (CFLAGS-nldbl-fsub.c): Likewise.
19051 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19052 __nldbl_dsubl.
19053 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19054 prototype.
19055 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19056 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19057 * math/auto-libm-test-in: Add tests of sub.
19058 * math/auto-libm-test-out-narrow-sub: New generated file.
19059 * math/libm-test-narrow-sub.inc: New file.
19060 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19063 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19064 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19065 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19074 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19075 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19076 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19077 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19079 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19080 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19081 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19082 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19083 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19084 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19085 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19086 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19087 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19088 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19089 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19090 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19091 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19096 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19097 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19098 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19099 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19100 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19101 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19102 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19103 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19104 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19105 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19106
d473f015
JM
191072018-03-19 Joseph Myers <joseph@codesourcery.com>
19108
19109 [BZ #20079]
19110 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19111
fbce6f72
WD
191122018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19113
19114 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19115
72e7ffc3
RB
191162018-03-18 Richard Braun <rbraun@sceen.net>
19117
19118 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19119 thread reference.
19120
542c20a1
AA
191212018-03-18 Agustina Arzille <avarzille@riseup.net>
19122
19123 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19124 (__libc_cleanup_fct): Define function.
19125 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19126 __libc_cleanup_end): Rewrite implementation using
19127 __attribute__ ((__cleanup__)).
19128 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
19129 * hurd/Makefile (routines): Add hurdlock.
19130 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19131 interface.
19132 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19133 * hurd/hurdpid.c: Include <lowlevellock.h>
19134 (_S_msg_proc_newids): Use lll_wait to synchronize.
19135 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19136 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19137 * mach/Makefile (lock-headers): Remove machine-lock.h.
19138 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19139 <machine-lock.h>.
19140 (__spin_lock_t): New type.
19141 (__SPIN_LOCK_INITIALIZER): New macro.
19142 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19143 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19144 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19145 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19146 (__mutex_init): Initialize with lll.
19147 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19148 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19149 needing lll.
19150 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19151 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19152 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19153 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19154 (__setpgid): Use lll for synchronization.
19155 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19156 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19157 instead of <cthreads.h>.
19158 (_IO_lock_inexpensive): New macro
19159 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19160 (__libc_lock_self0): New declaration.
19161 (__libc_lock_owner_self): New macro.
19162 (__libc_key_t): Remove type.
19163 (_LIBC_LOCK_INITIALIZER): New macro.
19164 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19165 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19166 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19167 __libc_lock_define_initialized_recursive,
19168 __rtld_lock_define_initialized_recursive,
19169 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19170 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19171 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19172 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19173 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19174 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19175 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19176 New macros.
19177 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19178 * hurd/hurdlock.c: New file.
19179 * hurd/hurdlock.h: New file.
19180 * mach/lowlevellock.h: New file
542c20a1 19181
9a37922e
ST
191822018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19183
19184 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
19185 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19186 when opening a symlink with O_NOFOLLOW.
72103e73
ST
19187 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19188 path when flags contains O_NOFOLLOW.
19189 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19190 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
19191 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19192 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
19193 * sysdeps/mach/hurd/mlockall.c: New file.
19194 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 19195
34e6a869
ST
191962018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19197
19198 * hurd/hurdsig.c: Include <pthread.h>.
19199 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19200 get the signal thread stack layout.
dc33bef3
ST
19201 * hurd/Makefile (headers): Remove threadvar.h.
19202 (inline-headers): Remove threadvar.h.
19203 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19204 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19205 __hurd_threadvar_max, __hurd_errno_location.
19206 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19207 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19208 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19209 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19210 unless TLS is not initialized yet, in which case we do not need a
19211 critical section yet anyway.
19212 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19213 <machine-sp.h>.
19214 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19215 declarations.
19216 (__hurd_threadvar_index): Remove enum.
19217 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19218 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19219 inlines.
19220 (__hurd_reply_port0): New variable declaration.
19221 (__hurd_local_reply_port): New macro.
19222 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19223 (interrupted_reply_port_location): Add thread_t parameter. Use it
19224 with THREAD_TCB to access thread-local variables.
19225 (_hurdsig_abort_rpcs): Pass ss->thread to
19226 interrupted_reply_port_location.
19227 (_hurd_internal_post_signal): Likewise.
19228 (_hurdsig_init): Use presence of cthread_fork instead of
19229 __hurd_threadvar_stack_mask to start signal thread by hand.
19230 Remove signal thread threadvar initialization.
19231 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19232 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19233 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19234 of threadvar.
19235 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19236 __libc_lock_self0.
19237 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19238 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19239 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19240 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19241 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19242 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19243 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19244 define variables.
19245 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19246 <hurd/threadvar.h>.
19247 [IS_IN(rtld)] (rtld_errno): New variable.
19248 [IS_IN(rtld)] (__errno_location): New weak function.
19249 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19250 * sysdeps/mach/hurd/errno.c: Remove file.
19251 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19252 (__fork): Remove THREADVAR_SPACE macro and its use.
19253 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19254 variable.
19255 (init): Do not initialize threadvar.
19256 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19257 symbol.
19258 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19259 __hurd_local_reply_port instead of threadvar.
19260 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19261 _hurd_sigstate fields.
19262 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19263 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19264 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19265 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19266 instead of threadvar.
19267 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19268 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19269 (use_threadvar, global_reply_port): Remove variables.
19270 (__hurd_reply_port0): New variable.
19271 (__mig_get_reply_port): Use __hurd_local_reply_port and
19272 __hurd_reply_port0 instead of threadvar.
19273 (__mig_dealloc_reply_port): Likewise.
19274 (__mig_init): Do not initialize threadvar.
19275 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
19276 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19277 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19278 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19279 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19280 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19281 __cthread_setspecific.
19282 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19283 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19284 __cthread_t instead of cthread_fork, cthread_detach,
19285 pthread_getattr_np, pthread_attr_getstack.
19286 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19287 __cthread_keycreate.
19288 (cthread_getspecific): Rename to __cthread_getspecific.
19289 (cthread_setspecific): Rename to __cthread_setspecific.
19290 (__libc_getspecific): Use __cthread_getspecific instead of
19291 cthread_getspecific.
19292 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19293 __cthread_keycreate instead of cthread_keycreate.
19294 (__libc_setspecific): Use __cthread_setspecific instead of
19295 cthread_setspecific.
19296 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19297 Likewise.
dd28d4ba
ST
19298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19299 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19300 testing whether it is defined.
34e6a869 19301
f8baf2a2
ST
193022018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19303
19304 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19305 Define macro.
19306 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19307 * sysdeps/mach/i386/thread_state.h
19308 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19309 i386_THREAD_STATE.
19310 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19311 i386_THREAD_STATE.
19312 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19313
19314 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19315 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19316
19317 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19318 macros.
19319 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19320 descriptor instead of creating a new one.
19321 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19322
19323 * mach/setup-thread.c: Include <ldsodefs.h>.
19324 (__mach_setup_thread): Call _dl_allocate_tls, pass
19325 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19326 MACHINE_THREAD_STATE_FLAVOR, before getting
19327 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19328 MACHINE_THREAD_STATE_FLAVOR with the result.
19329 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19330 MACHINE_THREAD_STATE_FIX_NEW.
19331 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19332 too. Add original thread parameter.
19333
34ba96b8
JM
193342018-03-16 Joseph Myers <joseph@codesourcery.com>
19335
5d75b75f
JM
19336 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19337 Remove inline function.
19338
34ba96b8
JM
19339 * sysdeps/i386/fpu/libm-test-ulps: Update.
19340 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19341
22679b2c
WD
193422018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19343
19344 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19345 commit.
19346
c429a8d8
JM
193472018-03-15 Joseph Myers <joseph@codesourcery.com>
19348
19349 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19350 (__sincos_code): Remove define and undefine.
19351 [__FAST_MATH__] (__sincos): Remove inline function.
19352 [__FAST_MATH__] (__sincosf): Remove inline function.
19353 [__FAST_MATH__] (__sincosl): Remove inline function.
19354 (__atan2l): Remove inline functions.
19355 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19356 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19357 function.
19358 (floor): Remove inline function.
19359 (ceil): Likewise.
19360 [__FAST_MATH__] (__ldexp_code): Remove macro.
19361 [__FAST_MATH__] (ldexp): Remove inline function.
19362 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19363 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19364 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19365 [__USE_ISOC99] (__lrint_code): Remove macro.
19366 [__USE_ISOC99] (__llrint_code): Likewise.
19367 [__USE_ISOC99] (lrintf): Remove inline function.
19368 [__USE_ISOC99] (lrint): Likewise.
19369 [__USE_ISOC99] (lrintl): Likewise.
19370 [__USE_ISOC99] (llrint): Likewise.
19371 [__USE_ISOC99] (llrintf): Likewise.
19372 [__USE_ISOC99] (llrintl): Likewise.
19373
700593fd
WD
193742018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19375
19376 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19377 (__ieee754_sqrtf): Remove.
19378 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19379 (__ieee754_sqrtf): Remove.
19380 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19381 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19382 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19383 (__ieee754_sqrtf): Remove.
19384 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19385 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19386 (sqrtf): Remove.
19387 (sqrtl): Remove.
19388 (__ieee754_sqrt): Remove.
19389 (__ieee754_sqrtf): Remove.
19390 (__ieee754_sqrtl): Remove.
19391 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19392 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19393 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19394 (__ieee754_sqrtf): Remove.
19395 (__ieee754_sqrtl): Remove.
19396
f67a8147
WD
193972018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19398
19399 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19400 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19401 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19402 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19403 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19404 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19405 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19406 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19407 Likewise.
19408 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19409 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19410 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19411 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19412 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19413 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19414 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19415 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19416 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19417 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19418 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19419 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19420 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19421 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19422 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19423 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19424 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19425 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19426 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19427 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19430 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19432 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19437 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19438 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19439 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19440 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19441 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19443 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19444 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19445 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19446 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19447 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19448
1294b189
WD
194492018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19450
19451 * include/math.h (sqrt): Declare with asm redirect.
19452 (sqrtf): Likewise.
19453 (sqrtl): Likewise.
19454 (sqrtf128): Likewise.
19455 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19456 nonlib and libnldbl with -fmath-errno.
19457 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19458 * math/w_sqrt_template.c: Likewise.
19459 * math/w_sqrtf_compat.c: Likewise.
19460 * math/w_sqrtl_compat.c: Likewise.
19461 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19462 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19463 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19464 complex.h.
19465
f1c8185d
WD
194662018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19467
19468 * benchtests/Makefile: Define _ISOMAC.
19469 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19470 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19471 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19472 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19473 * benchtests/bench-timing.h: Define attribute_hidden.
19474
b47c3e76
SP
194752018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19476
19477 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19478 mov + lsr.
19479
807fee29
RL
194802018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19481
19482 [BZ #22963]
19483 * localedata/locales/cs_CZ (mon): Rename to...
19484 (alt_mon): This.
19485 (mon): Import from CLDR (genitive case).
19486
e7155a28
RL
194872018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19488
19489 [BZ #22937]
19490 * localedata/locales/el_CY (abmon): Rename to...
19491 (ab_alt_mon): This.
19492 (abmon): Import from CLDR (abbreviated genitive case).
19493 * localedata/locales/el_GR (abmon): Rename to...
19494 (ab_alt_mon): This.
19495 (abmon): Import from CLDR (abbreviated genitive case).
19496
71d7b121
RL
194972018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19498
19499 [BZ #22932]
19500 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19501
a00bffe8
RB
195022018-03-15 Robert Buj <robert.buj@gmail.com>
19503
19504 [BZ #22848]
19505 * localedata/locales/ca_ES (abmon): Rename to...
19506 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19507 (mon): Rename to...
19508 (alt_mon): This.
19509 (abmon): Import from CLDR (genitive case, month names preceded by
19510 "de" or "d’").
19511 (mon): Likewise.
19512 (abday): Synchronize with CLDR.
19513 (d_t_fmt): Likewise.
19514 (d_fmt): Likewise.
19515 (am_pm): Likewise.
19516
19517 (LC_TIME): Improve indentation.
19518 (LC_TELEPHONE): Likewise.
19519 (LC_NAME): Likewise.
19520 (LC_ADDRESS): Likewise.
19521
f9555d73
JM
195222018-03-14 Joseph Myers <joseph@codesourcery.com>
19523
19524 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19525 (lrintf): Remove definitions used only with old GCC.
19526 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19527 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19528 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19529 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19530 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19531 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19532 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19533 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19534 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19535 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19536 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19537 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19538 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19539 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19540 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19541 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19542 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19543 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19544 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19545 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19546 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19547 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19548 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19549 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19550 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19551 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19552 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19553 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19554
d46f84de
SP
195552018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19556
19557 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19558 instruction to unbreak builds with binutils 2.26 and older.
19559
7108f1f9
SP
195602018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19561
19562 * sysdeps/aarch64/strncmp.S (count): New macro.
19563 (strncmp): Store misaligned length in SRC1 in COUNT.
19564 (mutual_align): Adjust.
19565 (misaligned8): Load dword at a time when it is safe.
19566
2cc7bad0
ZW
195672018-03-12 Zack Weinberg <zackw@panix.com>
19568
19569 [BZ #1190]
19570 [BZ #19476]
19571 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19572 if the _IO_EOF_SEEN bit is already set; update commentary.
19573 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19574 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19575
19576 * support/support_openpty.c, support/tty.h: New files.
19577 * support/Makefile (libsupport-routines): Add support_openpty.
19578
19579 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19580 New test cases.
19581 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19582 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19583
778f1974
DL
195842018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19585
19586 * po/pt_BR.po: Update translations.
19587
6b5c8607 195882018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
19589
19590 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19591 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19592 get a port to the startup server.
19593
d3da750d
ZW
195942018-03-11 Zack Weinberg <zackw@panix.com>
19595
19596 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19597 before nldbl-compat.h.
19598
054b72cc
ZW
195992018-03-10 Zack Weinberg <zackw@panix.com>
19600
0d13dfa1
ZW
19601 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19602 math.h or math_private.h.
19603
19604 * sysdeps/alpha/fpu/s_isnan.c
19605 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19606 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19607 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19608 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19609 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19610 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19611 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19612 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19613 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19616 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19618 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19619 Include math_private.h.
19620
19621 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19622 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19623 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19624 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19625 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19626 * sysdeps/powerpc/power7/fpu/s_logb.c:
19627 Include math.h and math_private.h.
19628
054b72cc
ZW
19629 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19630 uses of $at in .set noat / .set at.
19631
6253bacd
L
196322018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19633
19634 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19635 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19636 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19637 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19638 Likewise.
19639
229855e5
FW
196402018-03-09 Florian Weimer <fweimer@redhat.com>
19641
19642 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19643 in comment.
19644
9aa5c222
AJ
196452018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19646
19647 [BZ #22919]
19648 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19649 Add nop before __startcontext, add explaining comments.
19650
3dc21497
AZ
196512018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19652
e921c89e
AZ
19653 [BZ #22926]
19654 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19655 empty for __SPE__.
19656 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19657 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19658 Do not build hardware transactional code for __SPE__.
19659 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19660 (__lll_trylock_elision): Likewise.
19661 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19662 (__lll_unlock_elision): Likewise.
19663
d9f26dab 19664 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
19665 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19666 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19667 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19668 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19669 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19670 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19671 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19672 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19673 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19674 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19675 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19676 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19677 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19678 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19679 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19680 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19681 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19682 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19683 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19684 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19685 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19686 (__ASSUME_CLONE_BACKWARDS): Define.
19687 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19688 __clone2 if __NR_clone2 is defined.
19689 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19690 (__ASSUME_CLONE_BACKWARDS): Likewise.
19691 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19692 (__ASSUME_CLONE_BACKWARDS): Likewise.
19693 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19694 (__ASSUME_CLONE2): Likewise.
19695 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19696 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19697 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19698 variants and the define architecture can use.
19699 (__ASSUME_CLONE_DEFAULT): Define as default.
19700 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19701 (__ASSUME_CLONE_BACKWARDS): Likewise.
19702 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19703 (__ASSUME_CLONE_BACKWARDS): Likewise.
19704 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19705 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19706
adc95fb0
SP
197072018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19708
4e54d918
SP
19709 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19710
30a81dae
SP
19711 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19712 time.
19713
adc95fb0
SP
19714 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19715 (do_test_limit): Likewise.
19716
19717 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19718 for every implementation.
19719 (do_test): Likewise.
19720
19721 * benchtests/bench-strncmp.c: Convert output to json.
19722
4e9066bc
ST
197232018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19724
19725 * io/futimens.c: Add missing start-of-file descriptive comment.
19726 * io/utime.c: Likewise.
19727 * misc/futimesat.c: Likewise.
19728 * misc/utimes.c: Likewise.
19729 * sysdeps/mach/hurd/futimesat.c: Likewise.
19730 * sysdeps/mach/hurd/utimes.c: Likewise.
19731 * sysdeps/posix/utime.c: Likewise.
19732 * sysdeps/posix/utimes.c: Likewise.
19733 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19734 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19735 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19736 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19737
ec1300cf
ST
197382018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19739
19740 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19741 hurd_futimes.
19742 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19743 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19744 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19745 (__futimens): Move implementation to...
19746 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19747 utime_tvalue_from_tspec): ... new helper functions.
19748 (hurd_futimens): New function.
19749 * sysdeps/mach/hurd/futimesat.c: New file.
19750 * sysdeps/mach/hurd/utimensat.c: New file.
19751
bbe762d1
FC
197522018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19753
19754 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19755 UTIME_OMIT): New macros.
19756 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19757 before reverting to converting time spec to time value and calling
19758 __file_utimes.
19759 * sysdeps/mach/hurd/utime-helper.c: New file.
19760 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19761 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19762 reverting to utime_tvalue_from_tval and __file_utimes.
19763 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19764 (__lutimes): Just call hurd_futimens after lookup.
19765 * sysdeps/mach/hurd/utimes.c: Likewise.
19766
a1ede3a4
ST
197672018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19768
19769 * bits/sigaction.h: Add include guard.
19770 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19771 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19772 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19773 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19774 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19775 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19776 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19777 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19778 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19779
6900d2ca
JM
197802018-03-05 Joseph Myers <joseph@codesourcery.com>
19781
19782 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19783 -Wmaybe-uninitialized for -Os.
19784 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19785 this disabling.
19786
68448be2
AZ
197872018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19788
5226a81f
AZ
19789 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19790 __INO_T_MATCHES_INO64_T is defined.
19791 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19792 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19793 of definition.
19794 * dirent/alphasort64.c: Likewise.
19795 * dirent/scandir.c: Likewise.
19796 * dirent/scandir64-tail.c: Likewise.
19797 * dirent/scandir64.c: Likewise.
19798 * dirent/scandirat.c: Likewise.
19799 * dirent/scandirat64.c: Likewise.
19800 * dirent/versionsort.c: Likewise.
19801 * dirent/versionsort64.c: Likewise.
19802 * include/dirent.h: Likewise.
19803
fbd01e6c
AZ
19804 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19805 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19806 for socketpair endpoint.
19807 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19808 WRITE_BUFFER_SIZE as buffer size for sending socket.
19809 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19810 issue on system where send is implemented with sendto syscall.
19811 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19812 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19813 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19814 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19815
68448be2
AZ
19816 [BZ #21269]
19817 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19818 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19819 sa_restorer for vDSO case.
19820 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19821
eb1ca47e
ST
198222018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19823
19824 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
19825 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19826 * hurd/hurd/ioctl.h: Include <mach/port.h>
19827 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
19828 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19829 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
19830 (headers): Move mach/param.h to bits/mach/param.h.
19831 * sysdeps/mach/i386/mach/param.h: Move file to ...
19832 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19833 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19834 of <mach/param.h>.
3403cb7d
ST
19835 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19836 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19837 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
19838 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19839 trivial, for C++ conformity.
44c6376c 19840 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
19841 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19842 Process mig output through $(migheadersed).
19843 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
19844 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19845 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19846 headers.
ba89615d
ST
19847 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19848 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19849 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19850 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19851 <bits/types/sigset_t.h>.
19852 [!defined __USE_GNU]: Do not #error out.
19853 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19854 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19855 Include <stddef.h> and <bits/types/sigset_t.h>
19856 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19857 instead of sighandler_t.
974393ea
ST
19858 * stdlib/errno.h (error_t): Move definition to...
19859 * bits/types/error_t.h: ... new header.
19860 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19861 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19862 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19863 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19864 * hurd/hurd.h: Include <bits/types/error_t.h>
19865 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19866 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19867 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19868 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19869 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19870 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 19871 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 19872
eaf6753f
AS
198732018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19874
19875 [BZ #22918]
19876 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19877 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19878 * nscd/gai.c (__nss_hosts_database): Readd definition.
19879 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19880 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19881 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19882
4dc23804
JM
198832018-03-02 Joseph Myers <joseph@codesourcery.com>
19884
19885 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19886 (ifunc_one): Likewise.
19887
1c81d55f
DD
198882018-03-01 DJ Delorie <dj@delorie.com>
19889
19890 [BZ #22342]
19891 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19892 key value.
19893
b717c14f
MR
198942018-03-01 Maciej W. Rozycki <macro@mips.com>
19895
19896 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19897 `match_pid' parameter.
19898 (td_ta_thr_iter): Update accordingly.
19899
1efe1358
FW
199002018-03-01 Florian Weimer <fweimer@redhat.com>
19901
19902 * nptl/Makefile (install-lib-ldscripts): Remove.
19903 (install): Remove rule.
19904 ($(inst_libdir)/libpthread.so): Likewise.
19905
a527f09c
MF
199062018-03-01 Mike FABIAN <mfabian@redhat.com>
19907
19908 [BZ #22896]
19909 * localedata/locales/an_ES: update month and day names,
19910 improve d_fmt, improve postal_fmt, add country_post,
19911 add country_isbn
19912
35d660b0
MF
199132018-03-01 Mike FABIAN <mfabian@redhat.com>
19914
19915 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19916 Ukrainian instead of Bulgarian.
19917
1a2f44a8
FW
199182018-03-01 Florian Weimer <fweimer@redhat.com>
19919
19920 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19921 reference.
19922
bd60ce86
FW
199232018-03-01 Florian Weimer <fweimer@redhat.com>
19924
19925 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19926 * nptl/Makefile (routines): Add pthread_atfork.
19927 (static-only-routines): Set to pthread_atfork.
19928 (libpthread-routines): Remove pthread_atfork.
19929 (libpthread-static-only-routines): Remove.
19930 (install): Update comment.
19931 (libpthread.so): Do not install libpthread_nonshared.a.
19932 (tests): Do not link with libpthread_nonshared.a.
19933 (generated): Remove libpthread_nonshared.a.
19934 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19935 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19936 with libpthread_nonshared.a.
19937
000f290f
JM
199382018-02-28 Joseph Myers <joseph@codesourcery.com>
19939
e2bcf6a8
JM
19940 [BZ #22902]
19941 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19942 (libc_feholdexcept_setroundf128): New macro.
19943 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19944
000f290f
JM
19945 [BZ #15105]
19946 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19947 libc_hidden_def.
19948 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19949 * include/inttypes.h: New file.
19950
02f2fead
JM
199512018-02-27 Joseph Myers <joseph@codesourcery.com>
19952
19953 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19954 -Os in two more places.
19955
874c56d7
MF
199562018-02-27 Mike FABIAN <mfabian@redhat.com>
19957
19958 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19959 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19960 be sorted correctly at the moment because of a bug.
19961
15973854
MF
199622018-02-27 Mike FABIAN <mfabian@redhat.com>
19963
19964 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19965 treat ñ as a primary different character, sync the collation
19966 for Spanish with CLDR.
19967 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19968 * localedata/Makefile: Add new test files.
19969 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19970 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19971 collation order.
19972 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19973 * localedata/am_ET.UTF-8.in: New test file.
19974 * localedata/az_AZ.UTF-8.in: Likewise.
19975 * localedata/be_BY.UTF-8.in: Likewise.
19976 * localedata/ber_DZ.UTF-8.in: Likewise.
19977 * localedata/ber_MA.UTF-8.in: Likewise.
19978 * localedata/bg_BG.UTF-8.in: Likewise.
19979 * localedata/br_FR.UTF-8.in: Likewise.
19980 * localedata/cmn_TW.UTF-8.in: Likewise.
19981 * localedata/crh_UA.UTF-8.in: Likewise.
19982 * localedata/csb_PL.UTF-8.in: Likewise.
19983 * localedata/cv_RU.UTF-8.in: Likewise.
19984 * localedata/cy_GB.UTF-8.in: Likewise.
19985 * localedata/dz_BT.UTF-8.in: Likewise.
19986 * localedata/eo.UTF-8.in: Likewise.
19987 * localedata/es_ES.UTF-8.in: Likewise.
19988 * localedata/fa_IR.UTF-8.in: Likewise.
19989 * localedata/fi_FI.UTF-8.in: Likewise.
19990 * localedata/fil_PH.UTF-8.in: Likewise.
19991 * localedata/fur_IT.UTF-8.in: Likewise.
19992 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19993 * localedata/ha_NG.UTF-8.in: Likewise.
19994 * localedata/ig_NG.UTF-8.in: Likewise.
19995 * localedata/ik_CA.UTF-8.in: Likewise.
19996 * localedata/kk_KZ.UTF-8.in: Likewise.
19997 * localedata/ku_TR.UTF-8.in: Likewise.
19998 * localedata/ky_KG.UTF-8.in: Likewise.
19999 * localedata/ln_CD.UTF-8.in: Likewise.
20000 * localedata/mi_NZ.UTF-8.in: Likewise.
20001 * localedata/ml_IN.UTF-8.in: Likewise.
20002 * localedata/mn_MN.UTF-8.in: Likewise.
20003 * localedata/mr_IN.UTF-8.in: Likewise.
20004 * localedata/mt_MT.UTF-8.in: Likewise.
20005 * localedata/nb_NO.UTF-8.in: Likewise.
20006 * localedata/om_KE.UTF-8.in: Likewise.
20007 * localedata/os_RU.UTF-8.in: Likewise.
20008 * localedata/ps_AF.UTF-8.in: Likewise.
20009 * localedata/ro_RO.UTF-8.in: Likewise.
20010 * localedata/ru_RU.UTF-8.in: Likewise.
20011 * localedata/sc_IT.UTF-8.in: Likewise.
20012 * localedata/se_NO.UTF-8.in: Likewise.
20013 * localedata/sq_AL.UTF-8.in: Likewise.
20014 * localedata/sv_SE.UTF-8.in: Likewise.
20015 * localedata/szl_PL.UTF-8.in: Likewise.
20016 * localedata/tg_TJ.UTF-8.in: Likewise.
20017 * localedata/tk_TM.UTF-8.in: Likewise.
20018 * localedata/tt_RU.UTF-8.in: Likewise.
20019 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20020 * localedata/ug_CN.UTF-8.in: Likewise.
20021 * localedata/uz_UZ.UTF-8.in: Likewise.
20022 * localedata/vi_VN.UTF-8.in: Likewise.
20023 * localedata/yi_US.UTF-8.in: Likewise.
20024 * localedata/yo_NG.UTF-8.in: Likewise.
20025 * localedata/zh_CN.UTF-8.in: Likewise.
20026 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20027 file and fix bugs in the collation.
20028 * localedata/locales/az_AZ: Likewise.
20029 * localedata/locales/be_BY: Likewise.
20030 * localedata/locales/ber_DZ: Likewise.
20031 * localedata/locales/ber_MA: Likewise.
20032 * localedata/locales/bg_BG: Likewise.
20033 * localedata/locales/br_FR: Likewise.
20034 * localedata/locales/br_FR@euro: Likewise.
20035 * localedata/locales/ca_ES: Likewise.
20036 * localedata/locales/cns11643_stroke: Likewise.
20037 * localedata/locales/crh_UA: Likewise.
20038 * localedata/locales/cs_CZ: Likewise.
20039 * localedata/locales/csb_PL: Likewise.
20040 * localedata/locales/cv_RU: Likewise.
20041 * localedata/locales/cy_GB: Likewise.
20042 * localedata/locales/da_DK: Likewise.
20043 * localedata/locales/dz_BT: Likewise.
20044 * localedata/locales/en_CA: Likewise.
20045 * localedata/locales/eo: Likewise.
20046 * localedata/locales/es_CU: Likewise.
20047 * localedata/locales/es_EC: Likewise.
20048 * localedata/locales/es_ES: Likewise.
20049 * localedata/locales/es_US: Likewise.
20050 * localedata/locales/et_EE: Likewise.
20051 * localedata/locales/fa_IR: Likewise.
20052 * localedata/locales/fi_FI: Likewise.
20053 * localedata/locales/fil_PH: Likewise.
20054 * localedata/locales/fur_IT: Likewise.
20055 * localedata/locales/gez_ER@abegede: Likewise.
20056 * localedata/locales/ha_NG: Likewise.
20057 * localedata/locales/hr_HR: Likewise.
20058 * localedata/locales/hsb_DE: Likewise.
20059 * localedata/locales/hu_HU: Likewise.
20060 * localedata/locales/ig_NG: Likewise.
20061 * localedata/locales/ik_CA: Likewise.
20062 * localedata/locales/is_IS: Likewise.
20063 * localedata/locales/iso14651_t1_pinyin: Likewise.
20064 * localedata/locales/kk_KZ: Likewise.
20065 * localedata/locales/ku_TR: Likewise.
20066 * localedata/locales/ky_KG: Likewise.
20067 * localedata/locales/ln_CD: Likewise.
20068 * localedata/locales/lt_LT: Likewise.
20069 * localedata/locales/lv_LV: Likewise.
20070 * localedata/locales/mi_NZ: Likewise.
20071 * localedata/locales/ml_IN: Likewise.
20072 * localedata/locales/mn_MN: Likewise.
20073 * localedata/locales/mr_IN: Likewise.
20074 * localedata/locales/mt_MT: Likewise.
20075 * localedata/locales/nb_NO: Likewise.
20076 * localedata/locales/om_KE: Likewise.
20077 * localedata/locales/os_RU: Likewise.
20078 * localedata/locales/pl_PL: Likewise.
20079 * localedata/locales/ps_AF: Likewise.
20080 * localedata/locales/ro_RO: Likewise.
20081 * localedata/locales/ru_RU: Likewise.
20082 * localedata/locales/ru_UA: Likewise.
20083 * localedata/locales/sc_IT: Likewise.
20084 * localedata/locales/se_NO: Likewise.
20085 * localedata/locales/si_LK: Likewise.
20086 * localedata/locales/sq_AL: Likewise.
20087 * localedata/locales/sv_FI: Likewise.
20088 * localedata/locales/sv_FI@euro: Likewise.
20089 * localedata/locales/sv_SE: Likewise.
20090 * localedata/locales/szl_PL: Likewise.
20091 * localedata/locales/tg_TJ: Likewise.
20092 * localedata/locales/ti_ER: Likewise.
20093 * localedata/locales/tk_TM: Likewise.
20094 * localedata/locales/tl_PH: Likewise.
20095 * localedata/locales/tr_TR: Likewise.
20096 * localedata/locales/tt_RU: Likewise.
20097 * localedata/locales/tt_RU@iqtelif: Likewise.
20098 * localedata/locales/ug_CN: Likewise.
20099 * localedata/locales/uk_UA: Likewise.
20100 * localedata/locales/uz_UZ: Likewise.
20101 * localedata/locales/uz_UZ@cyrillic: Likewise.
20102 * localedata/locales/vi_VN: Likewise.
20103 * localedata/locales/yi_US: Likewise.
20104 * localedata/locales/yo_NG: Likewise.
20105
ce6636b0
MF
201062018-02-27 Mike FABIAN <mfabian@redhat.com>
20107
20108 * gen-locales.mk: Make test files which contain @ modifiers in their
20109 name work.
20110 * localedata/gen-locale.sh: Likewise.
20111
ac3a3b4b
MF
201122018-02-27 Mike FABIAN <mfabian@redhat.com>
20113
20114 * posix/tst-fnmatch.input: Fix results for range expressions
20115 for non C locales.
20116 * posix/tst-regexloc.c: Do not use a range expression for
20117 de_DE.ISO-8859-1 locale.
20118
770cbe14
MF
201192018-02-27 Mike FABIAN <mfabian@redhat.com>
20120
20121 * posix/bug-regex5.c: Fix test case because with the new
20122 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20123 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20124 file.
20125
0fc355d9
MF
201262018-02-27 Mike FABIAN <mfabian@redhat.com>
20127
20128 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20129 downloaded from ISO, the collation order of @-. and space has changed.
20130 Therefore, this test file needed to be adapted.
20131 * localedata/fr_CA.UTF-8.in: Likewise.
20132 * localedata/fr_FR.UTF-8.in: Likewise.
20133 * localedata/uk_UA.UTF-8.in: Likewise.
20134
43f3893f
MF
201352018-02-27 Mike FABIAN <mfabian@redhat.com>
20136
20137 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20138 order of ȥ in the new iso14651_t1_common file.
20139 * localedata/pl_PL.UTF-8.in: Likewise.
20140
df74ef78
MF
201412018-02-27 Mike FABIAN <mfabian@redhat.com>
20142
20143 * localedata/locales/iso14651_t1_common: Add sections for various
20144 scripts to the iso14651_t1_common file.
20145
d5adfbad
MF
201462018-02-27 Mike FABIAN <mfabian@redhat.com>
20147
20148 * localedata/locales/iso14651_t1_common: Use the code point of a
20149 character in the fourth collation level instead of IGNORE for all
20150 entries which have IGNORE on all 4 levels.
20151
5f5a9610
MF
201522018-02-27 Mike FABIAN <mfabian@redhat.com>
20153
20154 * localedata/locales/iso14651_t1_common: Add some convenient collation
20155 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20156 rules similar to those in CLDR.
20157
8a97e900
MF
201582018-02-27 Mike FABIAN <mfabian@redhat.com>
20159
20160 * localedata/locales/iso14651_t1_common: The new version of this
20161 file downloaded from ISO contained several syntax errors which
20162 are fixed by this patch.
20163
bbdd2fba
MF
201642018-02-27 Mike FABIAN <mfabian@redhat.com>
20165
20166 * localedata/locales/iso14651_t1_common: replace all <U.....>
20167 with <U000.....> because glibc understands only 4 digit or 8 digit
20168
1569e551
MF
201692018-02-27 Mike FABIAN <mfabian@redhat.com>
20170
20171 * localedata/locales/iso14651_t1_common: Necessary changes
20172 to make the file downloaded from ISO usable by glibc.
20173
9479b6d5
MF
201742018-02-27 Mike FABIAN <mfabian@redhat.com>
20175
20176 [BZ #14095]
20177 * localedata/locales/iso14651_t1_common: Update file to
20178 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20179
03b540b3
ST
201802018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20181
20182 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20183 of <nptl/pthreadP.h>
20184 (thread_attr_compare): Move function to...
eb937a52 20185 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 20186 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 20187 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 20188
20602c72
JM
201892018-02-26 Joseph Myers <joseph@codesourcery.com>
20190
f54d8f73
JM
20191 * string/strcoll_l.c: Include <libc-diag.h>.
20192 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20193 declarations of seq1 and seq2.
20194
20602c72
JM
20195 [BZ #15105]
20196 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20197 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20198
f5f473a9
DL
201992018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20200
20201 [BZ #22433]
20202 [BZ #22807]
20203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20204 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20205 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20206 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20207 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20208 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20209
398c6fdd
TMQMF
202102018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20211
20212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20213 macros used in __ptrace_request.
20214
f5d1f629
L
202152018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20216
20217 [BZ #22792]
20218 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20219 to $(CC).
20220 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20221 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20222 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20223 <tcb-offsets.h>.
20224
54412d20
JM
202252018-02-23 Joseph Myers <joseph@codesourcery.com>
20226
20227 [BZ #15105]
20228 * ctype/ctype.c (tolower): Use libc_hidden_def.
20229 (toupper): Likewise.
20230 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20231 [!_ISOMAC] (toupper): Likewise.
20232
81be4b5e
MF
202332018-02-23 Mike FABIAN <mfabian@redhat.com>
20234
20235 * localedata/Makefile: Remove --quiet argument when
20236 installing locales
20237
9d5cfd8e
MF
202382018-02-23 Mike FABIAN <mfabian@redhat.com>
20239
20240 [BZ #17438]
20241 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20242 in d_fmt.
20243 * localedata/locales/pt_PT (LC_TIME): likewise
20244
6c7269f3
MF
202452018-02-23 Mike FABIAN <mfabian@redhat.com>
20246
20247 [BZ #22646]
20248 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20249 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20250 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20251
92aabad9
AZ
202522018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20253
4cdc25a4
AZ
20254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20255
27761a10
AZ
20256 * nptl/Makefile (routines): Remove unregister-atfork.
20257 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20258 (fork_handler_alloc): Remove function.
20259 (fork_handlers, fork_handler_init): New variables.
20260 (__fork_lock): Rename to atfork_lock.
20261 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20262 to use a dynamic array to add/remove atfork handlers.
20263 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20264 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20265 Remove declaration.
20266 (fork_handler): Remove next, refcntr, and need_signal member.
20267 (__run_fork_handler_type): New enum.
20268 (__run_fork_handlers): New prototype.
20269 * nptl/register-atfork.c: Remove file.
20270 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20271
92aabad9
AZ
20272 * sysdeps/nptl/nptl-signals.h: Move to ...
20273 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20274 comments.
20275 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20276 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20277 unnecessary check for SIGTIMER.
20278 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20279 remove unnecessary removal of SIGTIMER.
20280 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20281 include-signals.h rename.
20282 * nptl/pthreadP.h: Likewise.
20283 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20284 __is_internal_signal instead of __nptl_is_internal_signal.
20285
6b5c8607 202862018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 20287
7e04eb29 20288 [BZ # 22884]
fdcc6253
AW
20289 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20290 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20291 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20292 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20293
8090720a
DD
202942018-02-22 DJ Delorie <dj@delorie.com>
20295
20296 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20297
6ca24c43
SP
202982018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20299
20300 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20301 do_misaligned, not misaligned8.
20302
e9537ddd
SE
203032018-02-22 Steve Ellcey <sellcey@cavium.com>
20304
20305 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20306 Add memcpy_thunderx2.
20307 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20308 Increment to 4.
20309 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20310 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20311 and IS_THUNDERX2PA checks.
20312 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20313 Use macro to set name appropriately.
20314 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20315 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20316 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20317 New macro.
20318 (IS_THUNDERX2): New macro.
20319
6e336476
SL
203202018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20321
20322 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20323
34957904
ZW
203242018-02-21 Zack Weinberg <zackw@panix.com>
20325
30bfee26
ZW
20326 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20327 Define here, unconditionally.
20328 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20329 * libio/libioP.h: Remove #if 0 blocks.
20330 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20331 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20332 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20333
20334 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20335 Assume weak_alias is always defined.
20336
20337 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20338 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20339 Remove #if 0 and #ifdef TODO blocks.
20340 Assume text_set_element is always defined.
20341
20342 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20343 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20344 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20345
df6c012b
ZW
20346 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20347 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20348 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20349 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20350 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20351 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20352 Reformat bit flags for _flags field to make occupancy clearer.
20353 Update commentary.
20354 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20355 Keep definitions consistent with those in libio/libio.h.
20356
20357 * libio/libio.h (_IO_file_flags): Remove macro.
20358 All uses changed to _flags.
20359
177aad3f
ZW
20360 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20361 (__HAVE_COLUMN, _IO_BE): Don't define.
20362 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20363 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20364 * libio/libioP.h (EOF): Don't define.
20365 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20366 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20367 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20368 testing _IO_UNIFIED_JUMPTABLES.
20369
9964a145
ZW
20370 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20371 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20372 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20373 (_IO_size_t): Delete; all uses changed to size_t.
20374 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20375 (_IO_off_t): Delete; all uses changed to off_t.
20376 (_IO_off64_t): Delete; all uses changed to off64_t.
20377 (_IO_pid_t): Delete; all uses changed to pid_t.
20378 (_IO_uid_t): Delete; all uses changed to uid_t.
20379 (_IO_wint_t): Delete; all uses changed to wint_t.
20380 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20381 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20382 (_IO_cookie_io_functions_t): Delete; all uses changed to
20383 cookie_io_functions_t.
20384 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20385 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20386 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20387 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20388
20389 * libio/iofopncook.c: Remove unnecessary forward declarations.
20390 * libio/iolibio.h: Correct outdated commentary.
20391 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20392 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20393 Remove unnecessary casts.
20394 * stdio-common/getline.c: Use _IO_getdelim directly.
20395 Don't redefine ssize_t.
20396 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20397 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20398 Remove outdated comments.
20399 * stdio-common/vfscanf.c: Don't redefine va_list.
20400
34957904
ZW
20401 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20402 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20403 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20404 which are always true, and __cplusplus, which is always false.
20405
30ac923d
JM
204062018-02-21 Joseph Myers <joseph@codesourcery.com>
20407
039c721a
JM
20408 [BZ #15105]
20409 [BZ #19463]
20410 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20411 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20412 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20413 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20414 libc_hidden_proto.
20415 [!_ISOMAC] (putc_unlocked): Likewise.
20416 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20417 define inline if [__USE_EXTERN_INLINES].
20418 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20419 putc_unlocked.
20420
30ac923d
JM
20421 [BZ #15105]
20422 [BZ #19463]
20423 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20424 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20425 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20426 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20427 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20428 getc_unlocked.
20429 * time/tzfile.c (__tzfile_read): Likewise.
20430
7ec5f946
MF
204312018-02-21 Mike FABIAN <mfabian@redhat.com>
20432
20433 [BZ #22517]
20434 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20435
0d217f40
RJ
204362018-02-21 Rical Jasan <ricaljasan@pacific.net>
20437
20438 * io/fcntl.h: Fix a typo in a comment.
20439
862b4502
RJ
204402018-02-21 Rical Jasan <ricaljasan@pacific.net>
20441
20442 [BZ #22862]
20443 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20444 define _DEFAULT_SOURCE.
20445 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20446
999a6dab
FW
204472018-02-21 Florian Weimer <fweimer@redhat.com>
20448
20449 [BZ #20890]
20450 * elf/cache.c (save_cache): Call fsync on temporary file before
20451 renaming it.
20452 (save_aux_cache): Call fdatasync on temporary file before renaming
20453 it.
20454
52a01100
FW
204552018-02-21 Florian Weimer <fweimer@redhat.com>
20456
20457 [BZ #22787]
20458 * include/caller.h: Remove file.
20459 * elf/dl-caller.c: Likewise.
20460 * elf/Makefile (dl-routines): Remove dl-caller.
20461 (shared-only-routines): Do not add dl-caller.
20462 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20463 __check_caller.
20464 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20465 member.
20466 (dl_open_worker): Do not call __check_caller.
20467 (_dl_open): Do not set caller_dl_open member.
20468 * elf/rtld.c (_rtld_global_ro): Do not initialize
20469 _dl_check_caller member.
20470 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20471 _dl_check_caller member.
20472 (_dl_check_caller): Remove declaration.
20473 * sysdeps/unix/sysv/linux/dl-execstack.c
20474 (_dl_make_stack_executable): Do not call __check_caller.
20475
b5bf62e4
ST
204762018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20477
20478 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 20479 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 20480
e8d190b9
RJ
204812018-02-20 Rical Jasan <ricaljasan@pacific.net>
20482
20483 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20484 description.
20485
6a3962c4
RJ
204862018-02-20 Rical Jasan <ricaljasan@pacific.net>
20487
da81ae64 20488 [BZ #16335]
6a3962c4
RJ
20489 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20490 of 199606L, 200112L, and 200809L.
20491 (_XOPEN_SOURCE): Document special values of 600 and 700.
20492 (_ISOC11_SOURCE): Document macro.
20493 (_ATFILE_SOURCE): Likewise.
20494 (_FORTIFY_SOURCE): Likewise.
20495
ec481ad8
JM
204962018-02-19 Joseph Myers <joseph@codesourcery.com>
20497
20498 [BZ #15105]
20499 [BZ #19463]
20500 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20501 and define as weak alias of __ferror_unlocked. Use
20502 libc_hidden_weak.
20503 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20504 libc_hidden_proto.
20505 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20506 function if [__USE_EXTERN_INLINES].
20507 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20508 ferror_unlocked.
20509
7d15ef84
RJ
205102018-02-19 Rical Jasan <ricaljasan@pacific.net>
20511
20512 [BZ #6889]
20513 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20514
f8d79582
AJ
205152018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20516
20517 [BZ #22818]
20518 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20519 the GLIBC_2.1 version.
20520
56456a2a
AJ
205212018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20522
20523 [BZ #21508]
20524 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20525 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20526 intl/tst-gettext-de.po from po/de.po by removing the
20527 POT-Creation-Date line.
20528 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20529 ../po/de.po.
20530 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20531 ../po/de.po.
20532
13768813
ST
205332018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20534
20535 * mach/Makefile (headers): Add mach/param.h.
20536 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20537 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
20538 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20539 (__ptsname_r): Move implementation to...
20540 (__ptsname_internal): ... new function. Add filling the STP
20541 structure.
13768813 20542
6aca1b61
JDA
205432018-02-17 John David Anglin <danglin@gcc.gnu.org>
20544
20545 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20546 idouble to 1 ULP.
20547
16efad51
RJ
205482018-02-16 Rical Jasan <ricaljasan@pacific.net>
20549
20550 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20551 syntax.
20552
87245073
SL
205532018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20554
20555 * nptl/Makefile (tst-mutex8-ENV): Delete.
20556 * nptl/tst-mutex8.c (check_type):
20557 Add runtime check if mutex will be elided.
20558
7fc03cf3
JM
205592018-02-15 Joseph Myers <joseph@codesourcery.com>
20560
db9881ec
JM
20561 [BZ #20980]
20562 [BZ #21234]
20563 * manual/install.texi (Configuring and compiling): Describe
20564 passing CC and CFLAGS on configure command line, not as
20565 environment variables. Use @code markup on those variables.
20566 Specify what options go in CC and what go in CFLAGS. Note the
20567 requirement to compile with optimization.
20568 * INSTALL: Regenerated.
20569
3785b31c
JM
20570 [BZ #18124]
20571 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20572 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20573 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20574 __sigprocmask instead of sigprocmask.
20575 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20576 Likewise.
20577 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20578 __sigsetjmp and sigprocmask.
20579
055ac2a7
JM
20580 [BZ #15105]
20581 * include/argz.h (argz_next): Use libc_hidden_proto.
20582 (__argz_next): Likewise.
20583 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20584 (argz_next): Use libc_hidden_weak.
20585
e4452a2d
JM
20586 [BZ #15105]
20587 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20588 libc_hidden_proto.
20589 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20590 libc_hidden_def.
20591
499b3153
JM
20592 [BZ #15105]
20593 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20594 libc_hidden_proto.
20595 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20596
7fc03cf3
JM
20597 [BZ #15105]
20598 [BZ #19463]
20599 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20600 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20601 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20602 (__feof_unlocked): New declaration, and inline function if
20603 [__USE_EXTERN_INLINES].
20604 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20605 instead of feof_unlocked.
20606 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20607 * nss/nsswitch.c (nss_parse_file): Likewise.
20608 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20609 Likewise.
20610 * time/getdate.c (__getdate_r): Likewise.
20611 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20612 Define as macro to call __feof_unlocked.
20613
0c8a67a5
WD
206142018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20615
20616 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20617
610ee1fc
WD
206182018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20619
20620 * math/Makefile: Remove mpexp.c and mplog.c
20621 * sysdeps/i386/fpu/mpexp.c: Delete file.
20622 * sysdeps/i386/fpu/mplog.c: Likewise.
20623 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20624 * sysdeps/ia64/fpu/mplog.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20626 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20627 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20628 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20629 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20630 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20631 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20632 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20633 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20634 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20635 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20636 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20637 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20638 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20639 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20640 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20641
8e7196c8
SL
206422018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20643
20644 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20645
4f55ad0b
AZ
206462018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20647
20648 * sysdeps/sh/libm-test-ulps: Update.
20649
261a851c
TMQMF
206502018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20651
20652 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20653 idouble to 1 ULP.
20654
e16deca6
ZW
206552018-02-12 Zack Weinberg <zackw@panix.com>
20656
20657 [BZ #19239]
20658 * posix/sys/types.h: Don't include sys/sysmacros.h.
20659 * misc/sys/sysmacros.h: Remove the conditional deprecation
20660 warnings for the macros defined by this header.
20661
de800d83
SN
206622018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20663
20664 * manual/probes.texi: Remove slowexp probes.
20665 * math/Makefile: Remove slowexp.
20666 * sysdeps/generic/math_private.h (__slowexp): Remove.
20667 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20668 document error bounds.
20669 * sysdeps/i386/fpu/slowexp.c: Remove.
20670 * sysdeps/ia64/fpu/slowexp.c: Remove.
20671 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20672 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20673 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20674 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20675 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20676 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20677 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20678 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20679 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20680 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20681 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20682
c3d466cb
WD
206832018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20684
20685 [BZ #13932]
20686 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20687 * benchtests/pow-inputs: Update comment for slow path cases.
20688 * manual/probes.texi (slowpow_p10): Delete removed probe.
20689 (slowpow_p10): Likewise.
20690 * math/Makefile: Remove halfulp.c and slowpow.c.
20691 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20692 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20693 (__halfulp): Remove.
20694 (__slowpow): Remove.
20695 * sysdeps/i386/fpu/halfulp.c: Delete file.
20696 * sysdeps/i386/fpu/slowpow.c: Likewise.
20697 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20698 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20700 improve comments and add error analysis.
20701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20702 (power1): Remove function:
20703 (log1): Remove error argument, add error analysis.
20704 (my_log2): Remove function.
20705 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20706 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20707 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20708 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20709 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20710 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20711 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20712 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20713 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20714 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20715 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20716 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20717 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20718 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20719
7bb087bd
ST
207202018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20721
20722 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20723 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20724
2fd4bbaa
DL
207252018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20726
20727 [BZ #22433]
20728 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20729 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20730 and PTRACE_SETHBPREGS.
20731
402ecba4
ZW
207322018-02-10 Zack Weinberg <zackw@panix.com>
20733
20734 [BZ #22830]
20735 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20736 correctly.
20737 * malloc/tst-malloc-stats-cancellation.c: New test case.
20738 * malloc/Makefile: Add new test case.
20739
4f5b921e
WD
207402018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20741
20742 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20743
a85b70db
JM
207442018-02-10 Joseph Myers <joseph@codesourcery.com>
20745
d8742dd8
JM
20746 * math/Makefile (libm-narrow-fns): Add add.
20747 (libm-test-funcs-narrow): Likewise.
20748 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20749 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20750 * math/gen-auto-libm-tests.c (test_functions): Add add.
20751 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20752 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20753 (NARROW_ADD_TRIVIAL): Likewise.
20754 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20755 macro.
20756 (__daddl): Likewise.
20757 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20758 dadd.
20759 (CFLAGS-nldbl-dadd.c): New variable.
20760 (CFLAGS-nldbl-fadd.c): Likewise.
20761 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20762 __nldbl_daddl.
20763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20764 prototype.
20765 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20766 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20767 * math/auto-libm-test-in: Add tests of add.
20768 * math/auto-libm-test-out-narrow-add: New generated file.
20769 * math/libm-test-narrow-add.inc: New file.
20770 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20771 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20772 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20773 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20774 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20775 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20776 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20777 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20778 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20779 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20780 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20781 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20782 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20783 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20784 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20785 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20786 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20787 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20789 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20790 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20791 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20792 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20793 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20794 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20795 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20796 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20797 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20798 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20799 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20801 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20806 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20807 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20808 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20809 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20810 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20811 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20816
a85b70db
JM
20817 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20818 (f128-pairs): New variable.
20819 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20820 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20821 to CFLAGS.
20822 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20823 Also make tests add $(f128-loader-link) to gnulib-tests.
20824
6a1ff640
DD
208252018-02-09 DJ Delorie <dj@redhat.com>
20826
20827 [BZ #22827]
20828 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20829 64-bit ELF type for 64-bit ELF objects.
20830
bfd47587
JM
208312018-02-09 Joseph Myers <joseph@codesourcery.com>
20832
31958338
JM
20833 * math/libm-test-driver.c (snan_tests_arg): New variable.
20834 * math/libm-test-support.h (snan_tests_arg): New declaration.
20835 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20836
8e554659
JM
20837 * math/Makefile (test-type-pairs): New variable.
20838 (test-type-pairs-f64xf128-yes): Likewise.
20839 (tests): Add test-narrow-macros.
20840 (libm-test-funcs-narrow): New variable.
20841 (libm-test-c-narrow): Likewise.
20842 (generated): Add $(libm-test-c-narrow).
20843 (libm-tests-base-narrow): New variable.
20844 (libm-tests-narrow): Likewise.
20845 (libm-tests): Add $(libm-tests-narrow).
20846 (libm-tests-for-type): Handle $(libm-tests-narrow).
20847 (libm-test-c-narrow-obj): New variable.
20848 ($(libm-test-c-narrow-obj)): New rule.
20849 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20850 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20851 $(o-iterator) to set dependencies and CFLAGS.
20852 * math/gen-auto-libm-tests.c: Document use for narrowing
20853 functions.
20854 (output_for_one_input_case): Take argument NARROW.
20855 (generate_output): Likewise. Update call to
20856 output_for_one_input_case.
20857 (main): Take --narrow option. Update call to generate_output.
20858 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20859 (apply_lit): Update call to _apply_lit.
20860 (apply_arglit): New function.
20861 (parse_args): Handle "a" arguments.
20862 (parse_auto_input): Handle format names using ":".
20863 * math/README.libm-test: Document "a" parameter type.
20864 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20865 (ARG_TYPE_TRUE_MIN): Likewise.
20866 (ARG_TYPE_MAX): Likwise.
20867 (ARG_MIN_EXP): Likewise.
20868 (ARG_MAX_EXP): Likewise.
20869 (ARG_MANT_DIG): Likewise.
20870 (TEST_COND_arg_ibm128): Likewise.
20871 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20872 (TEST_COND_arg_fmt): New macro.
20873 (init_max_error): Update prototype.
20874 * math/libm-test-support.c (test_ibm128): New variable.
20875 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20876 instead of using [TEST_COND_ibm128] conditional.
20877 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20878 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20879 [TEST_NARROW] (TEST_MSG): New definition.
20880 (arg_plus_zero): New macro.
20881 (arg_minus_zero): Likewise.
20882 (arg_plus_infty): Likewise.
20883 (arg_minus_infty): Likewise.
20884 (arg_qnan_value_pl): Likewise.
20885 (arg_qnan_value): Likewise.
20886 (arg_snan_value_pl): Likewise.
20887 (arg_snan_value): Likewise.
20888 (arg_max_value): Likewise.
20889 (arg_min_value): Likewise.
20890 (arg_min_subnorm_value): Likewise.
20891 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20892 (RUN_TEST_LOOP_aa_f): New macro.
20893 (TEST_SUFF): New macro.
20894 (TEST_SUFF_STR): Likewise.
20895 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20896 (TEST_COND_any_ibm128): New macro.
20897 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20898 this_func. Update call to init_max_error.
20899 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20900 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20901 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20902 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20903 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20904 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20905 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20906 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20907 * math/test-math-vector.h (TEST_NARROW): Likewise.
20908 * math/test-arg-double.h: New file.
20909 * math/test-arg-float128.h: Likewise.
20910 * math/test-arg-float32x.h: Likewise.
20911 * math/test-arg-float64.h: Likewise.
20912 * math/test-arg-float64x.h: Likewise.
20913 * math/test-arg-ldouble.h: Likewise.
20914 * math/test-math-narrow.h: Likewise.
20915 * math/test-narrow-macros.c: Likewise.
20916 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20917 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20918 test-narrow-macros-ldbl-64.
20919 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20920
63716ab2
JM
20921 * math/bits/mathcalls-narrow.h: New file.
20922 * include/bits/mathcalls-narrow.h: Likewise.
20923 * math/math-narrow.h: Likewise.
20924 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20925 (__MATHCALL_NARROW_ARGS_2): Likewise.
20926 (__MATHCALL_NARROW_ARGS_3): Likewise.
20927 (__MATHCALL_NARROW_NORMAL): Likewise.
20928 (__MATHCALL_NARROW_REDIR): Likewise.
20929 (__MATHCALL_NARROW): Likewise.
20930 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20931 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20932 defined.
20933 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20934 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20935 (libm-narrow-fns): New variable.
20936 (libm-narrow-types-basic): Likewise.
20937 (libm-narrow-types-ldouble-yes): Likewise.
20938 (libm-narrow-types-float128-yes): Likewise.
20939 (libm-narrow-types-float128-alias-yes): Likewise.
20940 (libm-narrow-types): Likewise.
20941 (libm-routines): Add narrowing functions.
20942 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20943 (libc_feholdexcept_setroundf128): New macro.
20944 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20945 * sysdeps/ieee754/float128/float128_private.h: Include
20946 <math/math-narrow.h>.
20947 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20948 Undefine and redefine.
20949 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20950 (libm_alias_float_ldouble): Undefine and redefine.
20951 (libm_alias_double_ldouble): Likewise.
20952
bfd47587
JM
20953 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20954
3f8d9d58
WD
209552018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20956
20957 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20958 FPCR/FPSR.
20959
1f6676d7
RJ
209602018-02-09 Rical Jasan <ricaljasan@pacific.net>
20961
20962 * manual/creature.texi: Convert references to gcc.info to gcc.
20963 * manual/stdio.texi: Likewise.
20964 * manual/string.texi: Likewise.
20965
d80441dd
JM
209662018-02-07 Joseph Myers <joseph@codesourcery.com>
20967
15081be9
JM
20968 [BZ #17979]
20969 * posix/bits/types.h (__int_least8_t): New typedef.
20970 (__uint_least8_t): Likewise.
20971 (__int_least16_t): Likewise.
20972 (__uint_least16_t): Likewise.
20973 (__int_least32_t): Likewise.
20974 (__uint_least32_t): Likewise.
20975 (__int_least64_t): Likewise.
20976 (__uint_least64_t): Likewise.
20977 * sysdeps/generic/stdint.h (int_least8_t): Define using
20978 __int_least8_t.
20979 (int_least16_t): Define using __int_least16_t.
20980 (int_least32_t): Define using __int_least32_t.
20981 (int_least64_t): Define using __int_least64_t.
20982 (uint_least8_t): Define using __uint_least8_t.
20983 (uint_least16_t): Define using __uint_least16_t.
20984 (uint_least32_t): Define using __uint_least32_t.
20985 (uint_least64_t): Define using __uint_least64_t.
20986 * wcsmbs/uchar.h: Include <bits/types.h>.
20987 (char16_t): Define using __uint_least16_t conditional only on
20988 [!__USE_ISOCXX11].
20989 (char32_t): Define using __uint_least32_t conditional only on
20990 [!__USE_ISOCXX11].
20991 * wcsmbs/test-char-types.c: New file.
20992 * wcsmbs/Makefile (tests): Add test-char-types.
20993
d80441dd
JM
20994 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20995 version to 4.0.1.
20996
6c6c962a
ZW
209972018-02-07 Zack Weinberg <zackw@panix.com>
20998
63fb8f9a
ZW
20999 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21000 Delete all contents except for definitions of _G_HAVE_MMAP and
21001 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21002 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21003 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21004 change as above.
21005
21006 * libio/libio.h: Don't include bits/_G_config.h here.
21007 Include stddef.h with __need_wchar_t defined. Include
21008 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21009 Define _IO_iconv_t here, directly.
21010 Don't define _IO_HAVE_ST_BLKSIZE.
21011 * libio/libioP.h: Include _G_config.h here. Move include of
21012 shlib-compat.h up with rest of includes. Simplify conditionals
21013 controlling definition of _IO_JUMPS_OFFSET.
21014
21015 * csu/init.c: Remove always-true #if around entire file.
21016 Don't include stdio.h. Set _IO_stdin_used to hardwired
21017 constant 0x20001, and update commentary.
21018 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21019 Replace all uses of _G_va_list with __gnuc_va_list.
21020 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21021 instead of #if _IO_HAVE_ST_BLKSIZE.
21022 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21023 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21024 not #ifdef.
21025
6c6c962a
ZW
21026 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21027 multiple-include guard to match.
21028 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21029 into this file.
21030 Remove preprocessor conditionals that are always true and/or
21031 redundant to other preprocessor conditionals in the same nest.
21032 Include shlib-compat.h unconditionally.
21033 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21034 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21035 defined after including stdio.h.
21036 Use __BEGIN_DECLS/__END_DECLS.
21037
21038 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21039 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21040 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21041
a4fea3f2
ZW
210422018-02-07 Zack Weinberg <zackw@panix.com>
21043
21044 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21045 New single-type headers split from _G_config.h.
21046 * libio/bits/types/cookie_io_functions_t.h
21047 * libio/bits/types/struct_FILE.h
21048 New single-type headers split from libio.h.
21049
21050 * libio/Makefile: Install the above new headers. Don't install
21051 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21052 bits/libio-ldbl.h.
21053 * libio/_G_config.h, libio/libio.h: Delete file.
21054
21055 * libio/bits/libio.h: Remove improper-inclusion guard.
21056 Include stdio.h and don't repeat anything that it does.
21057 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21058 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21059 __io_read_fn as cookie_read_function_t,
21060 __io_write_fn as cookie_write_function_t,
21061 __io_seek_fn as cookie_seek_function_t,
21062 __io_close_fn as cookie_close_function_t,
21063 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21064 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21065 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 21066 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
21067 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21068 and _IO_ferror_unlocked.
21069 Move prototypes of __uflow and __overflow...
21070
21071 * libio/stdio.h: ...here. Don't include bits/libio.h.
21072 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 21073 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
21074 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21075 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21076 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21077 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21078 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21079 __ssize_t, not _IO_ssize_t. Unconditionally define
21080 BUFSIZ as 8192 and EOF as (-1).
21081
21082 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21083 macros from bits/types/struct_FILE.h instead of _IO_* macros
21084 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21085 instead of _IO_ssize_t.
21086 * libio/bits/stdio2.h: Similarly.
21087
21088 * libio/iolibio.h: Add multiple-include guard.
21089 Include bits/libio.h after stdio.h.
21090 * libio/libioP.h: Add multiple-include guard.
21091 Include stdio.h and bits/libio.h before iolibio.h.
21092
6c6c962a 21093 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
21094 * include/bits/types/cookie_io_functions_t.h
21095 * include/bits/types/struct_FILE.h: New wrappers.
21096
21097 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
21098 Get definitions of _G_fpos_t and _G_fpos64_t from
21099 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21100 respectively. Remove improper-inclusion guards.
a4fea3f2 21101
6c6c962a 21102 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 21103 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 21104 libio.h and _G_config.h.
a4fea3f2 21105
ce999220
JM
211062018-02-07 Joseph Myers <joseph@codesourcery.com>
21107
8b4a1182
JM
21108 [BZ #15105]
21109 [BZ #19463]
21110 * include/sys/sysmacros.h [!_ISOMAC]
21111 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21112 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21113 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21114 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21115 libc_hidden_proto.
21116 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21117 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21118 Likewise.
21119 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21120 Undefine and redefine to add use __gnu_dev_ prefix.
21121 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21122 Likewise.
21123 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21124 and define as hidden inline function.
21125 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21126 Likewise.
21127 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21128 Likewise.
21129 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21130 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21131 (gnu_dev_minor): Likewise.
21132 (gnu_dev_makedev): Likewise.
21133 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21134 makedev.
21135 * posix/wordexp.c (exec_comm_child): Likewise.
21136 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21137 instead of minor and __gnu_dev_major instead of major.
21138 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21139 __gnu_dev_major instead of major.
21140 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21141 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21142 instead of gnu_dev_minor.
21143 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21144 (SLAVE_P): Likewise.
21145 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21146 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21147 instead of major.
21148
ce999220
JM
21149 [BZ #21313]
21150 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21151 in another place.
21152 * locale/weightwc.h (findidx): Likewise.
21153
b7c83ca3
WD
211542018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21155
21156 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21157 (slowlog_inexact): Likewise
21158 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21159 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21160
388ff7bd
IG
211612018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21162
21163 [BZ #22797]
21164 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21165 missing second underscore to parameter name.
21166
663e7d78
JM
211672018-02-06 Joseph Myers <joseph@codesourcery.com>
21168
0d40d0ec
JM
21169 [BZ #14508]
21170 [BZ #15512]
21171 [BZ #17082]
21172 [BZ #20530]
21173 * bits/byteswap.h: Update file comment. Do not include
21174 <bits/byteswap-16.h>.
21175 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21176 constant.
21177 (__bswap_16): Define as inline function.
21178 (__bswap_constant_32): Reformat definition.
21179 (__bswap_32): Always define as inline function, not macro, using
21180 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21181 otherwise __bswap_constant_32.
21182 (__bswap_constant_64): Reformat definition. Do not use
21183 __extension__ here.
21184 (__bswap_64): Always define as inline function, not macro. Use
21185 __extension__ on function definition. Use __builtin_bswap64 if
21186 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21187 * string/test-endian-file-scope.c: New file.
21188 * string/test-endian-sign-conversion.c: Likewise.
21189 * string/Makefile (headers): Remove bits/byteswap-16.h.
21190 (tests): Add test-endian-file-scope and
21191 test-endian-sign-conversion.
21192 (CFLAGS-test-endian-sign-conversion.c): New variable.
21193 * bits/byteswap-16.h: Remove file.
21194 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21195 * sysdeps/ia64/bits/byteswap.h: Likewise.
21196 * sysdeps/m68k/bits/byteswap.h: Likewise.
21197 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21198 * sysdeps/s390/bits/byteswap.h: Likewise.
21199 * sysdeps/tile/bits/byteswap.h: Likewise.
21200 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21201 * sysdeps/x86/bits/byteswap.h: Likewise.
21202
383e87c9
JM
21203 [BZ #17721]
21204 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21205 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21206 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21207 199901L] (__restrict): Define to restrict.
21208
d92c2759
JM
21209 [BZ #19667]
21210 * string/testcopy.c: Include <support/support.h>. Do not include
21211 <malloc.h>. Use <support/test-driver.c>.
21212 (main): Rename to do_test. Make static. Use xmalloc instead of
21213 malloc.
21214
625fb764
JM
21215 [BZ #13575]
21216 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21217 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21218 (SSIZE_MAX): Define to INT_MAX.
21219 * posix/test-ssize-max.c: New file.
21220 * posix/Makefile (tests): Add test-ssize-max.
21221
02325d6c
JM
21222 [BZ #19668]
21223 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21224 <support/support.h>. Do not include <malloc.h>.
21225 (query_auxv): Use xmalloc instead of malloc.
21226
663e7d78
JM
21227 [BZ #14553]
21228 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21229 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21230 instead of loff_t.
21231
6b5c8607 212322018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
21233
21234 [BZ #18023]
21235 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21236 Use scratch_buffer instead of extend_alloca.
21237
de6da571
ZW
212382018-02-06 Zack Weinberg <zackw@panix.com>
21239
26c07172
ZW
21240 * libio/stdio.h: Don't define getc or putc as macros.
21241 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21242 not _IO_getc and _IO_putc.
21243
de6da571
ZW
21244 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21245 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21246
92669d6e
JM
212472018-02-06 Joseph Myers <joseph@codesourcery.com>
21248
c2b84df9
JM
21249 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21250 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21251
41376f8c
JM
21252 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21253
d28bf648
JM
21254 [BZ #14890]
21255 * elf/elf.h (NT_PRFPREG): New macro.
21256 (NT_S390_VXRS_LOW): Likewise.
21257 (NT_S390_VXRS_HIGH): Likewise.
21258 (NT_S390_GS_CB): Likewise.
21259 (NT_S390_GS_BC): Likewise.
21260 (NT_S390_RI_CB): Likewise.
21261
e76def72
JM
21262 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21263 (MAP_SYNC): New macro.
21264 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21265 Likewise.
21266 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21267 (MAP_SYNC): Likewise.
21268 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21269 (MAP_SYNC): Likewise.
21270 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21271 (MAP_SYNC): Likewise.
21272 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21273 (MAP_SYNC): Likewise.
21274 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21275 (MAP_SYNC): Likewise.
21276 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21277 (MAP_SYNC): Likewise.
21278 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21279 Likewise.
21280 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21281 Likewise.
21282
92669d6e
JM
21283 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21284 (MAP_SHARED_VALIDATE): New macro.
21285 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21286 (MAP_SHARED_VALIDATE): Likewise.
21287
6a5cac49
L
212882018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21289
21290 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21291 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21292 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21293
b44e0dfb
L
212942018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21295
21296 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21297 (DT_NUM): Updated to 35.
21298
f886c16c
L
212992018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21300
21301 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21302 __builtin_expect with __glibc_likely and __glibc_unlikely.
21303 (elf_machine_rela): Likewise.
21304 (elf_machine_lazy_rel): Likewise.
21305
06fbebff
L
213062018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21307
21308 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 21309 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
21310 (elf_machine_lazy_rel): Likewise.
21311
371b220f
L
213122018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 [BZ #22638]
21315 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21316 SHARED.
65805016 21317 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 21318
f649a1b8
AS
213192018-02-05 Andreas Schwab <schwab@suse.de>
21320
21321 [BZ #22761]
21322 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21323 string.
21324
9fdb340e
ST
213252018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21326
21327 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21328 not check against PTHREAD_STACK_MIN.
21329
09e56b9e
SM
213302018-02-02 Sean McKean <smckean83@gmail.com>
21331
21332 [BZ #22735]
21333 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21334
d4b4a00a
FW
213352018-02-02 Florian Weimer <fweimer@redhat.com>
21336
21337 [BZ #22753]
21338 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21339 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21340 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21341 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21342 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21343 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21344 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21345 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21346 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21347 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21348 * misc/tst-preadvwritev2.c (do_test): Call it.
21349 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21350
3dfcbfa1
SP
213512018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21352
84c94d2f
SP
21353 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21354
96e6a716
SP
21355 * benchtests/bench-memcmp.c: Print json instead of plain text.
21356
3dfcbfa1
SP
21357 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21358 every test run.
21359
049375e2
JM
213602018-02-01 Joseph Myers <joseph@codesourcery.com>
21361
39f898c6
JM
21362 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21363 version to 4.15.
21364 (s390_sthyi): New syscall.
21365
6f9a3dd8
JM
21366 * sysdeps/generic/ldbl-classify-compat.h: New file.
21367 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21368 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21369 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21370 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21371 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21372 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21373 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21374 <ldbl-classify-compat.h>.
21375 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21376 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21377 <ldbl-classify-compat.h>.
21378 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21379 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21380 <ldbl-classify-compat.h>.
21381 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21382 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21383 <ldbl-classify-compat.h>.
21384 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21386 <ldbl-classify-compat.h>.
21387 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21389 <ldbl-classify-compat.h>.
21390 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21391 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21392 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21393 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21394 * sysdeps/microblaze/math_private.h: Likewise.
21395 * sysdeps/nios2/math_private.h: Likewise.
21396 * sysdeps/sh/math_private.h: Likewise.
21397
eb65a3d5
JM
21398 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21399 * sysdeps/m68k/coldfire/math_private.h: ... here.
21400 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21401 * sysdeps/tile/math_private.h: Likewise.
21402 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21403 Remove macro.
21404 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21405 Likewise.
21406
8a6bb1d0
JM
21407 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21408 Remove macro.
21409 (libc_fetestexcept): Likewise.
21410 (libc_feupdateenv_test): Likewise.
21411 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21412 (libc_fetestexcept): Likewise.
21413 (libc_feupdateenv_test): Likewise.
21414 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21415 (libc_fetestexcept): Likewise.
21416 (libc_feupdateenv_test): Likewise.
21417 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21418 (libc_fetestexcept): Likewise.
21419 (libc_feupdateenv_test): Likewise.
21420
ae1fcb7b
JM
21421 * sysdeps/generic/math_private.h
21422 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21423 New inline function.
21424 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21425 Likewise.
21426
b1c347e2
JM
21427 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21428 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21429 * sysdeps/generic/math_private.h
21430 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21431 inline function.
21432 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21433 Likewise.
21434 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21435 Likewise.
21436 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21437 Likewise.
21438 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21439 Likewise.
21440 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21441 Likewise.
21442 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21443 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21444 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21445 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21446 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21447 (__fegetenv): Likewise.
21448 (fesetenv): Likewise.
21449 (__fesetenv): Likewise.
21450 (feupdateenv): Likewise.
21451 (__feupdateenv): Likewise.
21452 (fegetround): Likewise.
21453 (__fegetround): Likewise.
21454 (fesetround): Likewise.
21455 (__fesetround): Likewise.
21456
d23a4962
JM
21457 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21458 (feraiseexcept): New macro.
21459 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21460 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21461 Remove macro.
21462 (__feraiseexcept): Likewise.
21463 (feclearexcept): Likewise.
21464 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21465 (__feraiseexcept): Likewise.
21466 (feclearexcept): Likewise.
21467 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21468 (__feraiseexcept): Likewise.
21469 (feclearexcept): Likewise.
21470 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21471 (__feraiseexcept): Likewise.
21472 (feclearexcept): Likewise.
21473 (fetestexcept): Likewise.
21474
5f167950
JM
21475 * sysdeps/m68k/coldfire/math-tests.h: New file.
21476
ccc9035a
JM
21477 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21478 * sysdeps/m68k/bits/fenv.h: ... here.
21479 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21480 not define.
21481 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21482 Likewise.
21483 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21484 Likewise.
21485 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21486 Likewise.
21487 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21488 Likewise.
21489 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21490 Define to 0.
21491 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21492 (__FE_UNDEFINED): New enum constant.
21493 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21494 Do not define.
21495 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21496 Likewise.
21497 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21498 Likewise.
21499 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21500 to match generic bits/fenv.h.
21501 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21502 Do not define.
21503
049375e2
JM
21504 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21505 packed on bits.
21506 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21507 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21508 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21509 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21510
f1d73681
CD
215112018-02-01 Carlos O'Donell <carlos@redhat.com>
21512 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21513 Joseph Myers <joseph@codesourcery.com>
21514
21515 [BZ #21314]
21516 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21517 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21518 computation using c.
21519 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21520 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21521 computation using c.
21522
242cbc90
DL
215232018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21524
086ee48e
DL
21525 * version.h (RELEASE): Set to "development".
21526 (VERSION): Set to "2.27.9000".
21527 * NEWS (2.28): New section.
21528
23158b08
DL
21529 * version.h (RELEASE): Set to "stable".
21530 (VERSION): Set to "2.27".
21531 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21532
242cbc90
DL
21533 * NEWS: Add the list of bugs fixed in 2.27.
21534
673e2305
AZ
215352018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21536
21537 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21538 against PTHREAD_STACK_MIN.
21539
ced64e01
DL
215402018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21541
21542 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21543 New entries.
21544 (Rafal Luzynski, Andreas Schwab): Update.
21545
c10c9a5e
RL
215462018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
21547
21548 [BZ #10871]
21549 * NEWS: List the languages which actually use the alternative
21550 months feature in this release. Also explain that "alt_mon" and
21551 "ab_alt_mon" are optional.
21552
650ba77a
IM
215532018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21554
21555 [BZ #22765]
21556 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21557
93493119
DL
215582018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21559
21560 * manual/install.texi (Tools for Compilation): Update the newest
21561 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21562 * INSTALL: Regenerated.
21563
363e4519 215642018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
21565
21566 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21567 instead of __builtin_expect.
21568
d7536874
FW
215692018-01-30 Florian Weimer <fweimer@redhat.com>
21570
21571 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21572 data.
21573 * nss/tst-nss-getpwent.c (do_test): Likewise.
21574
9a1b267d
RL
215752018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
21576
21577 [BZ #10871]
21578 * localedata/locales/hr_HR (mon): Rename to...
21579 (alt_mon): This.
21580 (mon): Import from CLDR (genitive case).
21581 (d_t_fmt): Update the comment.
21582
9a179328
AS
215832018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21584
21585 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21586 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21587 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21588
e01e0ddc
ST
215892018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21590
21591 * mach/Versions: Fix version when __mach_host_self_ was added.
21592 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21593 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21594 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21595 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21596 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21597 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21598 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21599 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21600 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21601 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21602 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21603 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
21604 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21605 || to respect codestyle.
2aadb705
ST
21606 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21607 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
21608 * malloc/malloc.c: Include <assert.h>.
21609 (assert): Do not define.
21610 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
21611 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21612 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 21613 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 21614 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 21615
521877e1
PD
216162018-01-29 Darius Rad <darius@bluespec.com>
21617
21618 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21619
532cf290
PD
216202018-01-29 Palmer Dabbelt <palmer@sifive.com>
21621
21622 * sysdeps/init_array/crti.S (.section .init_array): Add
21623 PREINIT_FUNCTION when defined.
40ca951b 21624 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 21625 * config.h.in: Regenerate.
ba9e25a6
PD
21626 * manual/platform.texi: Add RISC-V documenation for
21627 __riscv_flush_icache.
c776fa11
PD
21628 * sysdeps/riscv/__longjmp.S: New file.
21629 * sysdeps/riscv/backtrace.c: Likewise.
21630 * sysdeps/riscv/bits/endian.h: Likewise.
21631 * sysdeps/riscv/bits/setjmp.h: Likewise.
21632 * sysdeps/riscv/bits/wordsize.h: Likewise.
21633 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21634 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21635 * sysdeps/riscv/dl-trampoline.S: Likewise.
21636 * sysdeps/riscv/gccframe.h: Likewise.
21637 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21638 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21639 * sysdeps/riscv/machine-gmon.h: Likewise.
21640 * sysdeps/riscv/memusage.h: Likewise.
21641 * sysdeps/riscv/setjmp.S: Likewise.
21642 * sysdeps/riscv/sys/asm.h: Likewise.
21643 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
21644 * sysdeps/riscv/dl-tls.h: New file.
21645 * sysdeps/riscv/libc-tls.c: Likewise.
21646 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21647 * sysdeps/riscv/nptl/tls.h: Likewise.
21648 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
21649 * sysdeps/riscv/bits/fenv.h: New file.
21650 * sysdeps/riscv/e_sqrtl.c: Likewise.
21651 * sysdeps/riscv/fpu_control.h: Likewise.
21652 * sysdeps/riscv/math-tests.h: Likewise.
21653 * sysdeps/riscv/nofpu/Implies: Likewise.
21654 * sysdeps/riscv/sfp-machine.h: Likewise.
21655 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
21656 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21657 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21658 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21659 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21660 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21661 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21662 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21663 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21664 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21665 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21666 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21667 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21668 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21669 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21670 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21671 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21672 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21673 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21674 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21675 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21676 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21677 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21678 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21679 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21680 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21681 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21682 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21683 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21684 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21685 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21686 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21687 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21688 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21689 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21690 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21691 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21692 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21693 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21694 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21695 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21696 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21697 * sysdeps/riscv/rvf/math_private.h: Likewise.
21698 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21699 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21700 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21701 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21702 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21703 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21704 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21705 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21706 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21707 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21708 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21709 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21710 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21711 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21712 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21713 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
21714 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21715 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21716 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21717 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
21718 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21719 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21720 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21721 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21722 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21723 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21724 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21725 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21726 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
21727 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21728 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21729 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21730 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21731 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21732 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21733 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21734 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21735 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21736 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21737 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21738 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21739 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21740 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21741 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21742 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21743 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21744 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21745 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21746 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21747 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21748 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
21749 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21750 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21751 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
21752 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21753 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21754 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21755 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21756 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21757 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21758 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21759 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21760 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21761 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21762 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21763 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21764 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21765 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
21766 * sysdeps/riscv/Implies: New file.
21767 * sysdeps/riscv/Makefile: Likewise.
21768 * sysdeps/riscv/configure: Likewise.
21769 * sysdeps/riscv/configure.ac: Likewise.
21770 * sysdeps/riscv/nptl/Makefile: Likewise.
21771 * sysdeps/riscv/preconfigure: Likewise.
21772 * sysdeps/riscv/rv64/Implies-after: Likewise.
21773 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21774 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21775 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21776 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21777 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21778 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21779 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21780 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21781 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21782 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21783 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
21784 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21785 (Config): Likewise.
532cf290 21786
cdd14619
FW
217872018-01-29 Florian Weimer <fweimer@redhat.com>
21788
21789 [BZ #22701]
21790 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21791 libnsl_hidden_proto.
21792 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21793 libnsl_hidden_proto.
21794 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21795 * nis/Makefile (libnsl-routines): Add nss-default only for
21796 build-obsolete-nsl.
21797 * nis/nis_defaults.c (__nis_default_ttl): Add
21798 libnsl_hidden_nolink_def.
21799 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21800 declaration.
21801 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21802 * nis/ypclnt.c (yp_maplist): Likewise.
21803
b7ccb5de
RN
218042018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21805
21806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21807 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21808
522623e4
JM
218092018-01-29 Joseph Myers <joseph@codesourcery.com>
21810
e3aa6999
JM
21811 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21812 clean -dxfq for git updates when replacing sources.
21813
088de7d0
JM
21814 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21815 --disable-libcilkrts unconditionally, not just for the final GCC
21816 build for Hurd.
21817
522623e4
JM
21818 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21819 version to 4.15.
21820
8b406f87
RL
218212018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21822
21823 [BZ #10871]
21824 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21825 case).
21826
105e90bd
RL
218272018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21828
21829 [BZ #10871]
21830 * localedata/locales/be_BY (mon): Rename to...
21831 (alt_mon): This, then synchronize with CLDR (nominative case).
21832 (abmon): Rename to...
21833 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21834 (mon): Import from CLDR (genitive case).
21835 (abmon): Likewise.
21836 * localedata/locales/be_BY@latin (mon): Rename to...
21837 (alt_mon): This.
21838 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21839
21840 * localedata/locales/be_BY@latin (lang_name): Reworded to
21841 "biełaruskaja mova".
21842
561cb414
RL
218432018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21844
21845 [BZ #10871]
21846 * localedata/locales/el_CY (mon): Renamed to...
21847 (alt_mon): This.
21848 (mon): Import from CLDR (genitive case).
21849 * localedata/locales/el_GR: Likewise.
21850
f7bdf30d
RL
218512018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21852
21853 [BZ #10871]
21854 * localedata/locales/ru_RU (mon): Rename to...
21855 (alt_mon): This.
21856 (abmon): Rename to...
21857 (ab_alt_mon): This.
21858 (mon): Import from CLDR (genitive case).
21859 (abmon): Copy from the old content except the 5th month which is
21860 now in the genitive case, even when abbreviated.
21861 * localedata/locales/ru_UA: Likewise.
21862 * time/tst-strptime.c (day_tests): Add an actual example of
21863 a difference between %b and %Ob in Russian.
21864
85285a0c
ST
218652018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21866
21867 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
21868 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21869 a `c' variable.
3538a4b6 21870 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
21871 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21872 <sys/wait.h>, <time.h>, <sys/uio.h>.
21873 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 21874 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
21875 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21876 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21877 return 0.
05ebfe87
ST
21878 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21879 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
21880 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21881 instead of void *.
21882 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21883 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
21884 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21885 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
21886 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21887 and make them the default for now.
903d3633
ST
21888 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21889 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
21890 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21891 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21892 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21893 MACH_IPC_COMPAT.
06fac9f5
ST
21894 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21895 __task_terminate would ever return successfully.
f8177753
ST
21896 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21897 to global scope.
41cdb1eb
ST
21898 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21899 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
21900 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21901 critical section to make code simpler and avoid warning.
21902 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21903 critical section to make code simpler and avoid warning.
844bf921
ST
21904 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21905 const char * instead of char *.
f8bee46c
ST
21906 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21907 __hurd_file_name_split, hurd_file_name_split,
21908 __hurd_directory_name_split, hurd_directory_name_split,
21909 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21910 hurd_file_name_path_lookup): Make lookup function parameter take a
21911 const char *name instead of char *name.
21912 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21913 __hurd_directory_name_split): Likewise.
21914 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21915 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
21916 * sysdeps/mach/hurd/check_native.c: New file.
21917 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
21918 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21919 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
21920 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21921 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
21922 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21923 (do_test_bz20181): Rename accordingly.
21924 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
21925 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21926 <sys/mount.h>.
28f6186f
ST
21927 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21928 version only if __USE_EXTERN_INLINES is defined.
21929 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21930 __hurd_sockfail): Likewise.
21931 (_hurd_fd_get): Always declare functions, and provide inline versions
21932 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21933 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21934 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21935 _hurd_port_set): Always declare functions, and provide inline versions
21936 only if __USE_EXTERN_INLINES and _LIBC are defined and
21937 IS_IN(libc).
21938 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21939 _hurd_critical_section_unlock): Likewise.
21940 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21941 * __hurd_threadvar_location): Likewise.
21942 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21943 _hurd_userlink_clear): Likewise.
21944 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21945 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21946 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21947 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21948 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21949 __spin_lock_locked): Likewise.
21950 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21951 __spin_lock_locked): Likewise.
21952 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21953 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21954 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21955 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21956 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
21957 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21958 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
21959 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21960 check size against PTHREAD_STACK_MIN.
625ba81e
ST
21961 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21962 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
21963 * mach/Makefile (user-interfaces): Add mach/gnumach.
21964 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21965 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
21966 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21967 instead of invalid -1.
1f89ac71
ST
21968 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21969 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21970 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21971 <net/ppp_defs.h>.
85285a0c 21972
1fd1e27c 219732018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
21974
21975 * hurd/fcntl-internal.h: New file.
21976
3854c5a8
JC
219772018-01-27 James Clarke <jrtc27@jrtc27.com>
21978
7e23a7dd
JC
21979 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21980
3854c5a8
JC
21981 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21982
5503f413
AS
219832018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21984
21985 [BZ #22701]
21986 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21987 Build only shared objects.
21988
caaf7804
CD
219892018-01-26 Carlos O'Donell <carlos@redhat.com>
21990
21991 * README: Update for hppa.
21992
1cbf818d
PM
219932018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21994
caaf7804
CD
21995 * sysdeps/sparc/fpu/libm-test-ulps: Update
21996 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 21997
caaf7804 219982018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
21999
22000 Revert:
22001
22002 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 [BZ #22563]
22005 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22006 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22007 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22008 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22009 to feature_1.
22010
22011 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22012
22013 [BZ #22563]
22014 * bits/types/__cancel_jmp_buf_tag.h: New file.
22015 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22016 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22017 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22018 * nptl/Makefile (headers): Add
22019 bits/types/__cancel_jmp_buf_tag.h.
22020 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22021 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22022 * sysdeps/nptl/pthread.h: Include
22023 <bits/types/__cancel_jmp_buf_tag.h>.
22024 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22025 __cancel_jmp_buf.
22026 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22027
65f6c94e
RL
220282018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
22029
22030 [BZ #10871]
22031 * localedata/locales/uk_UA (mon): Renamed to...
22032 (alt_mon): This.
22033 (alt_digits): "0" removed and then renamed to...
22034 (mon): This.
22035 (date_fmt): Definition changed not to use the alternative
22036 digits hack.
22037
fb58aac5
PD
220382018-01-25 Palmer Dabbelt <palmer@sifive.com>
22039
22040 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22041 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22042 * elf/elf.h (EF_RISCV_RVC): New define.
22043 (EF_RISCV_FLOAT_ABI): Likewise.
22044 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22045 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22046 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22047 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22048 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22049 define.
22050 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22051
128c43a2
AS
220522018-01-25 Andreas Schwab <schwab@suse.de>
22053
22054 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22055 single quotes.
22056 * sysdeps/gnu/configure: Regenerate.
22057 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22058 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22060 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22061 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22062 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22063 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22064 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22065
f9015003
ST
220662018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22067
48130690 22068 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 22069 URL, and run autoconf, make it the default for now.
f9015003 22070
91b2cffa
JM
220712018-01-24 Joseph Myers <joseph@codesourcery.com>
22072
3005b705
JM
22073 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22074 soft-float ColdFire configuration.
22075
69231fab
JM
22076 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22077 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22078 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22079
d4c7e1d0
JM
22080 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22081 MicroBlaze file.
22082
0cfe5be5
JM
22083 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22084 ....
22085 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22086 ... here.
22087 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22088 New file.
22089
91b2cffa
JM
22090 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22091 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22092 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22093 file.
22094
c739e191
SN
220952018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22096
22097 [BZ #22742]
22098 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22099 Rename to __reserved and add comment.
22100 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22101 Rename to __reserved.
22102
394b5bac
JM
221032018-01-24 Joseph Myers <joseph@codesourcery.com>
22104
22105 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22106 i686-gnu configurations.
22107 (Context.run_builds): Include mig, gnumach and hurd in components
22108 considered.
22109 (Context.checkout): Add mig, gnumach and hurd to components.
22110 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22111 hurd.
22112 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22113 (Config.build): Install gnumach headers, build mig and install
22114 hurd headers for 'gnu' OS.
22115 (Config.install_gnumach_headers): New function.
22116 (Config.install_hurd_headers): Likewise.
22117 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22118 when building for 'gnu' OS.
22119
28c3f14f
TK
221202018-01-23 Tobias Klauser <tklauser@distanz.ch>
22121
22122 * manual/tunables.texi (Hardware Capability Tunables): Fix
22123 spelling.
22124
0f5e2da1
RJ
221252018-01-22 Rical Jasan <ricaljasan@pacific.net>
22126
22127 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22128 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22129 (ALTMON_11, ALTMON_12): Improve documentation.
22130 * manual/time.texi (strftime): Likewise.
22131
7817b14a
RL
221322018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22133
22134 [BZ #10871]
22135 * localedata/locales/pl_PL: Alternative month names added,
22136 primary month names are genitive now.
22137 * time/tst-strptime.c (day_tests): Actually use a genitive case
22138 of a month name in Polish language.
22139
22390764
RL
221402018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22141
22142 [BZ #10871]
22143 * manual/locale.texi: Document ALTMON_1..12 constants for
22144 nl_langinfo. Specify when to use ALTMON instead of MON.
22145 * manual/time.texi (strftime, strptime): Document GNU extension
22146 permitting O modifier with %B and %b. Specify when to use
22147 %OB instead of %B.
22148
761a585c
RL
221492018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22150
22151 [BZ #10871]
22152 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22153 names, define them as the same as abbreviated month names explicitly.
22154 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22155 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22156 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22157 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22158 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22159 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22160 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22161 _NL_WABALTMON_12): New enum constants.
22162 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22163 wab_alt_mon, and ab_alt_mon_defined members.
22164 (time_output): Output ab_alt_mon and wab_alt_mon members.
22165 (time_read): Read them, initialize them as copies of abmon and wabmon
22166 respectively if they are missing, initialize ab_alt_mon_defined.
22167 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22168 * locale/programs/locfile-kw.h: Regenerate.
22169 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22170 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22171 and ru_RU.UTF-8.
22172 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22173 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22174 (__strftime_internal): Handle %Ob and %Oh formats.
22175 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22176 (__strptime_internal): Handle %Ob and %Oh formats.
22177 * time/tst-strptime.c (day_tests): Add more tests to parse different
22178 forms of month names including the new %Ob format specifier.
22179
95cb863a
RL
221802018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22181
22182 [BZ #10871]
22183 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22184 define them as the same as primary full month names explicitly.
22185 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22186 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22187 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22188 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22189 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22190 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22191 _NL_WALTMON_12): New enum constants.
22192 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22193 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22194 macros.
22195 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22196 walt_mon, and alt_mon_defined members.
22197 (time_output): Output alt_mon and walt_mon members.
22198 (time_read): Read them, initialize them as copies of mon and wmon
22199 respectively if they are missing, initialize alt_mon_defined.
22200 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22201 * locale/programs/locfile-kw.h: Regenerate.
22202 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22203 * localedata/tst-langinfo.c (map): Add tests for the new constants
22204 ALTMON_1 .. ALTMON_12.
22205 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22206 and pl_PL.UTF-8.
22207 * time/strftime_l.c (f_altmonth): New macro.
22208 (__strftime_internal): Handle %OB format.
22209 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22210 (__strptime_internal): Handle %OB format.
22211 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22212 of month names including the new %OB format specifier.
22213
4612268a
TMQMF
222142018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22215
22216 [BZ #22685]
22217 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22218 from ABORT_TRANSACTION.
22219 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22220 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22221 ABORT_TRANSACTION_IMPL): Likewise.
22222 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22223 Linux code, but remove the code that aborts transactions.
22224
64f63cb4
ST
222252018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22226
22227 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22228
32ac6e92
RL
222292018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
22230
22231 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22232 in date: "2004-14-09" should be "2004-09-14".
22233 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22234 "2003-15-09" should be "2003-09-15".
22235
8e448310
AS
222362018-01-18 Arjun Shankar <arjun@redhat.com>
22237
22238 [BZ #22343]
71aa429b 22239 [BZ #22774]
4590634f 22240 CVE-2018-6485
71aa429b 22241 CVE-2018-6551
8e448310
AS
22242 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22243 after padding.
22244 (_int_memalign): check for integer overflow before calling
22245 _int_malloc.
22246 * malloc/tst-malloc-too-large.c: New test.
22247 * malloc/Makefile: Add tst-malloc-too-large.
22248
e234d7cb
RL
222492018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
22250
22251 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22252 in date: "2017-24-07" should be "2017-07-24".
22253 * localedata/locales/mai_IN: Likewise.
22254 * localedata/locales/mai_NP: Likewise.
22255
48b66019
DL
222562018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22257
22258 * po/ru.po: Update translations.
22259
1eeddc58
JM
222602018-01-17 Joseph Myers <joseph@codesourcery.com>
22261
22262 [BZ #22719]
22263 * sysdeps/hppa/backtrace.c: New file.
22264
207a72e2
L
222652018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22266
22267 [BZ #22715]
22268 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22269 align La_x86_64_retval to VEC_SIZE.
22270
4942c4ea
JM
222712018-01-16 Joseph Myers <joseph@codesourcery.com>
22272
22273 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22274 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22275
10d200db
FW
222762018-01-16 Florian Weimer <fweimer@redhat.com>
22277
22278 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22279 Move tst-thread-exit-clobber ...
22280 [$(CXX)] (tests-unsupported): ... to here.
22281
953c49cc
SN
222822018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22283
22284 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22285 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22286 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22287 (_dl_aarch64_cap_flags): Update.
22288 (_DL_HWCAP_COUNT): Update.
22289
afce1991
SN
222902018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22291
22292 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22293 (_DL_HWCAP_LAST): Remove.
22294 (_DL_HWCAP_COUNT): Move to ...
22295 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22296 (_DL_HWCAP_COUNT): ... here.
22297
b725132d
FW
222982018-01-16 Florian Weimer <fweimer@redhat.com>
22299
22300 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22301 mode with GNU extensions.
22302
c9e613a7
AH
223032018-01-15 Alan Hayward <alan.hayward@arm.com>
22304
22305 * elf/elf.h (NT_ARM_SVE): Define.
22306
860b0240
FW
223072018-01-15 Florian Weimer <fweimer@redhat.com>
22308
22309 [BZ #22636]
22310 * nptl/tst-minstack-throw.cc: New file.
22311 * nptl/Makefile (tests): Add tst-minstack-throw.
22312 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22313 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22314
16d0f6ac
JM
223152018-01-15 Joseph Myers <joseph@codesourcery.com>
22316
22317 * scripts/build-many-glibcs.py (Context.checkout): Default
22318 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22319 version to 1.1.0.
22320
505d3910
CD
223212018-01-13 Carlos O'Donell <carlos@redhat.com>
22322
22323 [BZ #22707]
22324 * elf/elf.h (DF_1_STUB): Define.
22325 (DF_1_PIE): Define.
22326
af1e6be4
TMQMF
223272018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22328
22329 [BZ #22697]
22330 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22331 Do not add 0.5 to integer or out-of-range arguments.
22332
98d13ce0
DL
223332018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22334
22335 * po/bg.po: Update translations.
22336 * po/cs.po: Likewise.
22337 * po/de.po: Likewise.
22338 * po/ko.po: Likewise.
22339 * po/pl.po: Likewise.
22340 * po/sv.po: Likewise.
22341 * po/uk.po: Likewise.
22342 * po/vi.po: Likewise.
22343
3d1d7928
SN
223442018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22345
22346 * aarch64/start.S (_start): Use __wrap_main.
22347 (__wrap_main): New local symbol.
22348
52a713fd
DL
223492018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22350
22351 [BZ #22679]
22352 CVE-2018-1000001
22353 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22354 generic_getcwd if the path returned by getcwd syscall is not absolute.
22355 * io/tst-getcwd-abspath.c: New test.
22356 * io/Makefile (tests): Add tst-getcwd-abspath.
22357
249a5895
IK
223582018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22359
22360 * malloc/malloc.c (malloc_consolidate): Add size check.
22361
1a51e46e
FW
223622018-01-12 Florian Weimer <fweimer@redhat.com>
22363
22364 * support/write_message.c (write_message): Preserve errno.
22365 * support/check.c (print_failure): Likewise.
22366 * support/support_test_verify_impl.c (support_test_verify_impl):
22367 Likewise.
22368 * support/support_test_compare_failure.c
22369 (support_test_compare_failure): Likewise.
22370
9a08a366
FW
223712018-01-12 Florian Weimer <fweimer@redhat.com>
22372
22373 [BZ #22701]
22374 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22375 Prevent installation of libnsl.so.
22376 (libnsl-inhibit-o): Do not build (or install) static libraries.
22377
80647883 223782018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
22379
22380 [BZ #22657]
22381 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22382 before the day number which may produce a double space.
22383 (date_fmt): Likewise.
22384
c8924f1f
JM
223852018-01-12 Joseph Myers <joseph@codesourcery.com>
22386
22387 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22388 instead of fegetenv.
22389
da09e6fa
JM
223902018-01-11 Joseph Myers <joseph@codesourcery.com>
22391
22392 [BZ #22702]
22393 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22394 comment to say exceptions are discarded.
22395 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22396 __fegetenv.
22397 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22398 be enabled.
22399
08c6e952
FW
224002018-01-11 Florian Weimer <fweimer@redhat.com>
22401
22402 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22403 and error message.
22404
d8b77890
FW
224052018-01-11 Florian Weimer <fweimer@redhat.com>
22406
22407 [BZ #22636]
22408 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22409 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22410
b303185d
JM
224112018-01-10 Joseph Myers <joseph@codesourcery.com>
22412
22413 [BZ #22693]
22414 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22415 negative arguments in test for NaN or infinity argument.
22416
ee61d028
DL
224172018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22418
22419 * po/libc.pot: Regenerate.
22420
f993b875
FW
224212018-01-10 Florian Weimer <fweimer@redhat.com>
22422
22423 [BZ #22636]
22424 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22425 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22426
09085ede
ST
224272018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22428
22429 * hurd/hurd/fd.h: Include <fcntl.h>
22430 (__hurd_at_flags): New function.
22431 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22432 with call to __hurd_at_flags.
22433 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22434 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22435 __faccessat
22436 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22437 (__access_noerrno): Use __faccessat_common instead of access_common.
22438 (__access): Likewise.
22439 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22440 with a call to __faccessat.
22441 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22442 (__faccessat_common): ... this. Move implementation of __access into it when
22443 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22444 reauthenticate_cwdir_at helper to implement AT mechanism.
22445 (__faccessat_noerrno): New function, just calls __faccessat_common.
22446 (__faccessat): New function, just calls __faccessat_common.
22447 (faccessat): Define weak alias.
22448
12727488
JM
224492018-01-10 Joseph Myers <joseph@codesourcery.com>
22450
87faac55
JM
22451 [BZ #22691]
22452 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22453 (CFLAGS-s_fmaxmagl.c): New variable.
22454 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22455
12727488
JM
22456 [BZ #22690]
22457 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22458 long int for arguments of possibly overflowing addition or
22459 subtraction.
22460 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22461
e134ca17
JM
224622018-01-09 Joseph Myers <joseph@codesourcery.com>
22463
b2584ac2
JM
22464 [BZ #22688]
22465 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22466 (CFLAGS-e_remainderl.c): New variable.
22467
e134ca17
JM
22468 [BZ #22687]
22469 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22470 variable.
22471 (CFLAGS-s_cacoshl.c): Likewise.
22472 (CFLAGS-s_casinhl.c): Likewise.
22473 (CFLAGS-s_catanl.c): Likewise.
22474 (CFLAGS-s_catanhl.c): Likewise.
22475 (CFLAGS-s_cexpl.c): Likewise.
22476 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22477 (CFLAGS-s_csinhl.c): Likewise.
22478 (CFLAGS-s_clogl.c): Likewise.
22479 (CFLAGS-s_clog10l.c): Likewise.
22480 (CFLAGS-s_csinl.c): Likewise.
22481 (CFLAGS-s_csqrtl.c): Likewise.
22482
d31a4a48
ST
224832017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
224842017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
22485
22486 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22487 (_hurd_exec_paths): New function.
22488 * hurd/hurd.h (_hurd_exec): Deprecate function.
22489 (_hurd_exec_paths): Declare function.
22490 * hurd/Versions: Export _hurd_exec_paths.
22491 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22492 (__execve): Use __getcwd to build absolute path, and use
22493 _hurd_exec_paths instead of _hurd_exec.
22494 * sysdeps/mach/hurd/spawni.c: Likewise.
22495 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22496 _hurd_exec.
22497
d7ff3f11
DL
224982018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22499
22500 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22501 test instead of failing in case of ENOENT returned by posix_openpt.
22502
401311cf
FW
225032018-01-08 Florian Weimer <fweimer@redhat.com>
22504
22505 resolv: Support binary labels in test framework.
22506 * support/resolv_test.c (struct to_be_freed): Remove.
22507 (struct compressed_name): New.
22508 (allocate_compressed_name, ascii_tolower)
22509 (compare_compressed_name): New functions.
22510 (struct resolv_response_builder): Update type of
22511 compression_offsets for use with tsearch. Rempve to_be_freed.
22512 (response_push_pointer_to_free): Remove function.
22513 (resolv_response_add_name): Rewrite using struct compressed_name
22514 and tsearch instead of hsearch_r.
22515 (response_builder_allocate): Remove initialization of
22516 compression_offsets.
22517 (response_builder_free): Update for removal of to_be_freed. Use
22518 tdestroy instead of hdestroy_r.
22519 * resolv/Makefile (tests): Add tst-resolv-binary.
22520 (tst-resolv-binary): Link with -lresolv -lpthread.
22521
2b3aa446
FW
225222018-01-08 Florian Weimer <fweimer@redhat.com>
22523
22524 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22525 time. Pass positive flag instead of negative flag to
22526 support_test_compare_failure.
22527 (support_test_compare_failure): Change negative parameter to
22528 positive.
22529 * support/support_test_compare_failure.c (report)
22530 (support_test_compare_failure): Likewise.
22531 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22532 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22533
630f4cc3
SN
225342018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22535
22536 [BZ #22637]
22537 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22538 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22539 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22540 stacksize.
22541 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22542
c70e4e9c
L
225432018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22546 Add s_sincosf-sse2 and s_sincosf-fma.
22547 (CFLAGS-s_sincosf-fma.c): New.
22548 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22549 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22550 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22551 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22552 __sincosf is defined.
22553
579396ee
FW
225542018-01-08 Florian Weimer <fweimer@redhat.com>
22555
22556 * nptl/tst-thread-exit-clobber.cc: New file.
22557 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22558 C++11 mode.
22559 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22560 (tests): Add tst-thread-exit-clobber.
22561 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22562
dabd75b6
FW
225632018-01-08 Florian Weimer <fweimer@redhat.com>
22564
22565 * support/check.h (support_static_assert): Define.
22566 (TEST_COMPARE): Use it.
22567
c2e014cc
AJ
225682018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22569
22570 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22571 [!__RLIM_T_MATCHES_RLIM64_T]
22572 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22573 __getrlimit64. Add libc_hidden_weak.
22574
31a98837
PD
225752018-01-06 Palmer Dabbelt <palmer@sifive.com>
22576
22577 * elf/elf.h (R_RISCV_NONE): New define.
22578 (R_RISCV_32): Likewise.
22579 (R_RISCV_64): Likewise.
22580 (R_RISCV_RELATIVE): Likewise.
22581 (R_RISCV_COPY): Likewise.
22582 (R_RISCV_JUMP_SLOT): Likewise.
22583 (R_RISCV_TLS_DTPMOD32): Likewise.
22584 (R_RISCV_TLS_DTPMOD64): Likewise.
22585 (R_RISCV_TLS_DTPREL32): Likewise.
22586 (R_RISCV_TLS_DTPREL64): Likewise.
22587 (R_RISCV_TLS_TPREL32): Likewise.
22588 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
22589 * Makerules (make-link-multidir): Make directories before linking into
22590 them.
150bbac1
PD
22591 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22592 define.
22593 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
22594 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22595 in subdirectories of lib.
8e13c51b
PD
22596 * nptl/Makefile (/librt.so): Always depend on
22597 "$(shared-thread-library)".
31a98837 22598
fad7d57e
ST
225992018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22600
22601 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
22602 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22603 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22604 (___tls_get_addr).
22605 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
22606 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22607 "-O2 -march=i686".
01c7e549 22608 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
22609 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22610 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22611 * sysdeps/gnu/glob-lstat-compat.c: New file.
22612 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 22613 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 22614
3a32b716
TMQMF
226152018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22616
22617 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22618 Reserve 16 chars to reloc_addr before calling _itoa_word.
22619
24731685
AJ
226202018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22621
22622 [BZ #22678]
22623 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22624 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22625
19be56d8
AJ
22626 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22627 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22628
a6d0afb5
AJ
22629 * resource/tst-getrlimit.c: Add copyright header.
22630
8e900969
AJ
226312018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22632 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22633
22634 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22635 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22636 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22637 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22638 instead.
22639 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22640 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22641 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22642 RLIM64_INFINITY): Fix values to match the kernel ones.
22643 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22644 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22645 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22646 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22647 getrlimit64@@GLIBC_2_27.
22648 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22649 and setrlimit64.
22650 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22651 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22652 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22653 setrlimit, getrlimit64 and setrlimit64.
22654
0d0bc784
AJ
226552018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22656
22657 [BZ #22648]
22658 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22659 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22660
ba374b6d
JM
226612018-01-04 Joseph Myers <joseph@codesourcery.com>
22662
22663 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22664 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22665 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22666
4854ddd8
AZ
226672018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22668
b0a4eca2
AZ
22669 [BZ #15479]
22670 [BZ #22666]
22671 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22672 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22673
4854ddd8
AZ
22674 [BZ #15479]
22675 [BZ #22665]
22676 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22677 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22678 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22679 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22680
8a5df95f
FW
226812018-01-04 Florian Weimer <fweimer@redhat.com>
22682
22683 [BZ #22667]
22684 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22685 Align the stack before calling exit.
22686 * stdlib/tst-makecontext-align.c: New file.
22687 * stdlib/Makefile (tests): Add tst-makecontext-align.
22688
82eef55f
FW
226892018-01-04 Florian Weimer <fweimer@redhat.com>
22690
22691 Add support for calling dlvsym from libc.so.
22692 * include/dlfcn.h (__libc_dlvsym): Declare.
22693 * elf/Makefile (tests-static-internal): Add
22694 tst-libc_dlvsym-static.
22695 (tests-internal): Add tst-libc_dlvsym.
22696 (modules-names): Add tst-libc_dlvsym-dso.
22697 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22698 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22699 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22700 object tst-libc_dlvsym-dso.so needs to be built before running
22701 these tests.
22702 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22703 * elf/Versions: Export __libc_dlvsym.
22704 * elf/dl-libc.c (struct do_dlvsym_args): New.
22705 (do_dlvsym, __libc_dlvsym): New functions.
22706 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22707 (_dl_open_hook2): New variable.
22708 (__libc_register_dl_open_hook): Set it.
22709 * elf/tst-libc_dlvsym-dso.c: New file.
22710 * elf/tst-libc_dlvsym-static.c: Likewise.
22711 * elf/tst-libc_dlvsym.c: Likewise.
22712 * elf/tst-libc_dlvsym.h: Likewise.
22713
1714fc06
ST
227142018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22715
22716 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22717 include <sys/mount.h>.
22718
3c7d0312
WD
227192018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22720
22721 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22722 Add __NO_MATH_ERRNO__ check.
22723
7eff0954
JM
227242018-01-02 Joseph Myers <joseph@codesourcery.com>
22725
22726 * sysdeps/mips/mips32/libm-test-ulps: Update.
22727 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22728
77f49956
FW
227292018-01-02 Florian Weimer <fweimer@redhat.com>
22730
22731 * misc/tst-pselect.c: Add copyright header.
22732
363e4519 227332018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
22734
22735 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22736 comment.
22737 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22738 comment.
22739 (settrlimit): Rename into setrlimit.
22740 (__sttrlimit): Rename into __setrlimit.
22741
3e4226ff
AJ
22742 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22743 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22744 never defined in that case.
22745
b9256ab6
JM
227462018-01-02 Joseph Myers <joseph@codesourcery.com>
22747
28fd6a44
JM
22748 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22749
a4933a15
JM
22750 * sysdeps/arm/libm-test-ulps: Update.
22751
b9256ab6
JM
22752 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22753 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22754
4cf82d23
RS
227552018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22756
22757 * NEWS: Add cosf and sincosf to list of optimized functions.
22758
6a9dd7a7
AJ
227592018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22760
22761 [BZ #22660]
22762 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22763 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22764 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22765 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22766
dbba87d5
DL
227672018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22768
b05cb613
DL
22769 [BZ #22433]
22770 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22771
dbba87d5
DL
22772 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22773 making a copy of it.
22774
688903eb
JM
227752018-01-01 Joseph Myers <joseph@codesourcery.com>
22776
66ac23de
JM
22777 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22778 trailing whitespace removed.
22779 * scripts/config.guess: Update to version 2018-01-01.
22780 * scripts/config.sub: Update to version 2018-01-01.
22781 * scripts/move-if-change: Update from gnulib.
22782
09533208
JM
22783 * NEWS: Update copyright dates.
22784 * catgets/gencat.c (print_version): Likewise.
22785 * csu/version.c (banner): Likewise.
22786 * debug/catchsegv.sh: Likewise.
22787 * debug/pcprofiledump.c (print_version): Likewise.
22788 * debug/xtrace.sh (do_version): Likewise.
22789 * elf/ldconfig.c (print_version): Likewise.
22790 * elf/ldd.bash.in: Likewise.
22791 * elf/pldd.c (print_version): Likewise.
22792 * elf/sotruss.sh: Likewise.
22793 * elf/sprof.c (print_version): Likewise.
22794 * iconv/iconv_prog.c (print_version): Likewise.
22795 * iconv/iconvconfig.c (print_version): Likewise.
22796 * locale/programs/locale.c (print_version): Likewise.
22797 * locale/programs/localedef.c (print_version): Likewise.
22798 * login/programs/pt_chown.c (print_version): Likewise.
22799 * malloc/memusage.sh (do_version): Likewise.
22800 * malloc/memusagestat.c (print_version): Likewise.
22801 * malloc/mtrace.pl: Likewise.
22802 * manual/libc.texinfo: Likewise.
22803 * nptl/version.c (banner): Likewise.
22804 * nscd/nscd.c (print_version): Likewise.
22805 * nss/getent.c (print_version): Likewise.
22806 * nss/makedb.c (print_version): Likewise.
22807 * posix/getconf.c (main): Likewise.
22808 * scripts/test-installation.pl: Likewise.
22809 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22810
688903eb
JM
22811 * All files with FSF copyright notices: Update copyright dates
22812 using scripts/update-copyrights.
22813 * locale/programs/charmap-kw.h: Regenerated.
22814 * locale/programs/locfile-kw.h: Likewise.
22815
4f820792
ZW
228162017-12-31 Zack Weinberg <zackw@panix.com>
22817
22818 * libio/bits/libio-ldbl.h: Correct check for improper
22819 inclusion. Add own multiple include guard.
22820
3e3c904d
AJ
228212017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22822 Dmitry V. Levin <ldv@altlinux.org>
22823
22824 [BZ #22625]
31f96325 22825 CVE-2017-16997
3e3c904d
AJ
22826 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22827 string token expansion. Check for NULL pointer or empty string possibly
22828 returned by expand_dynamic_string_token.
22829 (decompose_rpath): Check for empty path after dynamic string
22830 token expansion.
22831
7e21972b
DL
228322017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22833
c48831d0
DL
22834 [BZ #22433]
22835 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22836
ac583f50
DL
22837 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22838 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22839 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22840 and PTRACE_SYSCALL.
22841 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22845 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22846 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22847
7e21972b
DL
22848 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22849 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22850 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22851 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22853 bits/ptrace-shared.h.
22854 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22855 <bits/ptrace-shared.h>.
22856 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22857 __ptrace_peeksiginfo_flags, ptrace): Remove.
22858 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22862 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22863
72f29e3a
AJ
228642017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22865
22866 [BZ #17804]
22867 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22868 end of the loop. Improve comments.
22869
54e4efc2
AJ
228702017-12-29 Zack Weinberg <zackw@panix.com>
22871
22872 [BZ #22615]
22873 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22874 might be set on success.
22875
f8aa69be
AJ
228762017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22877
22878 [BZ #22611]
22879 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22880 is unchanged on success.
22881
97f13188
DL
228822017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22883
2bd86632
DL
22884 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22885 updated.
22886 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22887 expand_dynamic_string_token): Likewise.
22888 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22889 is_path argument.
22890
1c36e1e6
DL
22891 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22892 contains ':'.
22893
97f13188
DL
22894 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22895 is set and name contains ':', and all code depending on these checks.
22896
48a8f832
ZW
228972017-12-24 Zack Weinberg <zackw@panix.com>
22898
22899 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22900 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22901 respectively.
22902 * libio/libio.h: Rename the original version of this file to
22903 libio/bits/libio.h. Error out if not included by stdio.h or the
22904 stub libio.h.
22905 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22906 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22907 if not included by bits/libio.h or the stub _G_config.h.
22908 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22909 sysdeps/unix/sysv/linux/bits. Error out if not included by
22910 bits/libio.h or the stub _G_config.h.
22911 * libio/stdio.h: Include bits/libio.h, not libio.h.
22912 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22913 well as libio.h and _G_config.h.
22914
22915 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22916 * libio/strfile.h, stdio-common/vfscanf.c
22917 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22918 Include stdio.h, not _G_config.h nor libio.h.
22919 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22920 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22921
22922 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22923
a47ad79a
DL
229242017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22925
22926 [BZ #22347]
22927 * stdlib/getrandom.c (getrandom): Fix comment.
22928 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22929
363e4519 229302017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 22931
f5c558f3
AJ
22932 [BZ #21161]
22933 * manual/arith.texi (strtoul): Fix a typo.
22934
e65a5644
AJ
22935 [BZ #22596]
22936 * manual/arith.texi (finite): Fix the description of the return
22937 value.
22938
ed8ae46b
EB
229392017-12-22 Eric Blake <ebb9@byu.net>
22940
22941 Avoid gcc warnings on cygwin
22942 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22943 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22944 Avoid unused variable.
22945
bad7a0c8
FW
229462017-12-22 Florian Weimer <fweimer@redhat.com>
22947
22948 * io/Makefile (routines): Add copy_file_range.
22949 (tests): Add tst-copy_file_range.
22950 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22951 * io/Versions (GLIBC_2.27): Export copy_file_range.
22952 * io/copy_file_range-compat.c: New file.
22953 * io/copy_file_range.c: Likewise.
22954 * io/tst-copy_file_range-compat.c: Likewise.
22955 * io/tst-copy_file_range.c: Likewise.
22956 * manual/llio.texi (Copying File Data): New section.
22957 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22958 * support/Makefile (libsupport-routines): Add support-xfstat,
22959 xftruncate, xlseek.
22960 * support/support-xfstat.c: New file.
22961 * support/xftruncate.c: Likewise.
22962 * support/xlseek.c: Likewise.
22963 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22964 * sysdeps/unix/sysv/linux/**.abilist: Update.
22965 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22966
6cb86fd2
SN
229672017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22968
22969 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22970 disable-multi-arch variant to aarch64-linux-gnu.
22971
41d11b15
JM
229722017-12-20 Joseph Myers <joseph@codesourcery.com>
22973
22974 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22975 trailing whitespace removed.
22976 * scripts/config.guess: Update to version 2017-12-17.
22977 * scripts/config.sub: Update to version 2017-11-23.
22978 * scripts/install-sh: Update to version 2017-09-23.17.
22979 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22980
4735850f
AZ
229812017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22982
8d2d239c
AZ
22983 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22984 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22985 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22986 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22987 * sysdeps/tile/crtn.S: Likewise.
22988 * sysdeps/tile/dl-start.S (_start): Likewise.
22989 * sysdeps/tile/dl-trampoline.S: Likewise.
22990 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22991 * sysdeps/tile/start.S (_start): Likewise.
22992 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22993 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22994 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22995 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22996 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22997 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22998 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22999
24d1d8ec
AZ
23000 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23001 comment.
23002 * sysdeps/tile/preconfigure: Remove tilegx folder.
23003 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23004 * sysdeps/tile/Implies: ... here.
23005 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23006 * sysdeps/tile/Makefile: ... here.
23007 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23008 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23009 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23010 * sysdeps/tile/bits/wordsize.h: ... here.
23011 * sysdeps/tile/tilegx/*: Move to ...
23012 * sysdeps/tile/*: ... here.
23013 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23014 * sysdeps/tile/tilegx32/Implies: ... here.
23015 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23016 * sysdeps/tile/tilegx64/Implies: ... here.
23017 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23018 to ...
23019 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23020 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23021 * sysdeps/unix/sysv/linux/tile/*: ... here.
23022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23023 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23025 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23026
ed95f611
AZ
23027 * README: Remove tilepro-*-linux-gnu from supported architecture.
23028 * scripts/build-many-glibcs.py: Likewise.
23029 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23030 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23031 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23032 elf_machine_matches_host, elf_machine_dynamic,
23033 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23034 howto, elf_machine_rela): Likewise.
23035 * sysdeps/tile/dl-start.S (_start): Likewise.
23036 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23037 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23038 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23039 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23040 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23041 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23042 Likewise.
23043 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23044 * sysdeps/tile/preconfigure: Likewise.
23045 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23046 POINTER_CHK_GUARD): Likewise.
23047 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23048 * sysdeps/tile/start.S (_start): Likewise.
23049 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23050 Likewise.
23051 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23052 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23053 CMOVNEZ): Remove.
23054 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23055 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23056 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23057 Likewise.
23058 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23059 * sysdeps/tile/tilepro/Implies: Remove file.
23060 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23061 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23062 * sysdeps/tile/tilepro/memchr.c: Likewise.
23063 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23064 * sysdeps/tile/tilepro/memset.c: Likewise.
23065 * sysdeps/tile/tilepro/memusage.h: Likewise.
23066 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23067 * sysdeps/tile/tilepro/strchr.c: Likewise.
23068 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23069 * sysdeps/tile/tilepro/strlen.c: Likewise.
23070 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23071 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23072 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23073 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23074 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23075 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23076 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23077 Likewise.
23078 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23079 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23080 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23081 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23082 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23083 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23084 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23085 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23086 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23087 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23088 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23089 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23090 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23091 tilepro mention in comment.
23092
4735850f
AZ
23093 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23094 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23095 * nptl/pthread_join_common.c: New file: common function used on
23096 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23097 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23098 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23099 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23100 (cleanup): Move definition to pthread_join_common.c.
23101 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23102 Remove superflous checks.
23103 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23104 Likewise.
23105
8bfb461e
SN
231062017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23107
23108 * sysdeps/aarch64/libm-test-ulps: Update.
23109
4e001969
AZ
231102017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23111
23112 * sysdeps/aarch64/memset.S (MEMSET): Define.
23113
8a26ad2a
FW
231142017-12-20 Florian Weimer <fweimer@redhat.com>
23115
23116 [BZ #22635]
23117 nptl: Provide full implementation of pthread_self in libc.so.
23118 * nptl/Makefile (routines): Add pthread_self.
23119 (libpthread-routines): Replace pthread_self with
23120 compat-pthread_self.
23121 * nptl/forward.c (pthread_self): Remove.
23122 * nptl/nptl-init.c (pthread_functions): Do not initialize
23123 ptr_pthread_self.
23124 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23125 * nptl/compat-pthread_self.c: New file.
23126 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23127 Remove ptr_pthread_self.
23128
5069ff32
AR
231292017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23130
23131 * posix/regcomp.c: Fix spelling in comments.
23132 * posix/regex.h: Likewise.
23133 * posix/regex_internal.c: Likewise.
23134 * posix/regexec.c: Likewise.
23135
c85e54ac
GG
231362017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23137
23138 [BZ #22377]
23139 * math/Makefile [C++] (tests): Add test for iseqsig.
23140 * math/math.h [C++] (iseqsig): New implementation, which does
23141 not rely on __MATH_TG/__builtin_types_compatible_p.
23142 * math/test-math-iseqsig.cc: New file.
23143 * sysdeps/powerpc/powerpc64le/Makefile
23144 (CFLAGS-test-math-iseqsig.cc): New variable.
23145
10e93d96
DL
231462017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23147
23148 * elf/dl-load.c (is_trusted_path): Remove.
23149 (fillin_rpath): Remove check_trusted argument and its use,
23150 all callers changed.
23151
ce16eb52
L
231522017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23153
23154 [BZ #22630]
23155 * Makeconfig (link-pie-before-libc): Replace -pie with
23156 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23157 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23158 (tst-dlopen-aout-no-pie): New.
23159 (LDFLAGS-tst-prelink): Removed.
23160 (tst-prelink-no-pie): New.
23161 (LDFLAGS-tst-main1): Removed.
23162 (tst-main1-no-pie): New.
23163 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23164 (tst-gmon-no-pie): New.
23165
126adc89
L
231662017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23167
23168 * manual/install.texi: Document that --enable-static-pie
23169 implies PIE.
23170 * INSTALL: Regenerated.
23171
648615e1
BE
231722017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23173
23174 [BZ #21309]
23175 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23176 unsigned.
23177
f1e00502
JM
231782017-12-19 Joseph Myers <joseph@codesourcery.com>
23179
23180 Revert:
23181
23182 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23183
23184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23185
23186 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23187
23188 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23189 <errno.h>. Include "eexp.tbl".
23190 (half): New constant.
23191 (one): Likewise.
23192 (__ieee754_exp): Rewrite.
23193 (__slowexp): Remove prototype.
23194 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23195 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23196 * sysdeps/i386/fpu/slowexp.c: Likewise.
23197 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23198 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23199 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23200 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23201 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23202 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23203 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23204 comment.
23205 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23206 (CPPFLAGS-slowexp.c): Remove variable.
23207 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23208 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23209 (CFLAGS-slowexp-fma.c): Remove variable.
23210 (CFLAGS-slowexp-fma4.c): Likewise.
23211 (CFLAGS-slowexp-avx.c): Likewise.
23212 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23213 define as macro.
23214 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23215 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23216 * math/Makefile (type-double-routines): Remove slowexp.
23217 * manual/probes.texi (slowexp_p6): Remove.
23218 (slowexp_p32): Likewise.
23219
d711a00f
AZ
232202017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23221
e184ac3a
AZ
23222 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23223 arithmetic.
23224
d711a00f
AZ
23225 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23226
6f58c10d
JM
232272017-12-19 Joseph Myers <joseph@codesourcery.com>
23228
23229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23230
6fd0a3c6
PM
232312017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23232
23233 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23234 <errno.h>. Include "eexp.tbl".
23235 (half): New constant.
23236 (one): Likewise.
23237 (__ieee754_exp): Rewrite.
23238 (__slowexp): Remove prototype.
23239 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23240 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23241 * sysdeps/i386/fpu/slowexp.c: Likewise.
23242 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23243 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23244 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23246 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23247 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23248 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23249 comment.
23250 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23251 (CPPFLAGS-slowexp.c): Remove variable.
23252 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23253 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23254 (CFLAGS-slowexp-fma.c): Remove variable.
23255 (CFLAGS-slowexp-fma4.c): Likewise.
23256 (CFLAGS-slowexp-avx.c): Likewise.
23257 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23258 define as macro.
23259 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23260 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23261 * math/Makefile (type-double-routines): Remove slowexp.
23262 * manual/probes.texi (slowexp_p6): Remove.
23263 (slowexp_p32): Likewise.
23264
3bb1ef58 232652017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 23266 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
23267
23268 [BZ #22603]
23269 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23270 addition.
23271
554e3d51
AZ
232722017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23273
23274 [BZ #22605]
23275 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23276 code.
23277
cba595c3
L
232782017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23279
23280 [BZ #22563]
23281 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23282 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23283 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23284 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23285 to feature_1.
23286
f81ddabf
L
232872017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23288
23289 [BZ #22563]
23290 * bits/types/__cancel_jmp_buf_tag.h: New file.
23291 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23292 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23293 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23294 * nptl/Makefile (headers): Add
23295 bits/types/__cancel_jmp_buf_tag.h.
23296 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23297 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23298 * sysdeps/nptl/pthread.h: Include
23299 <bits/types/__cancel_jmp_buf_tag.h>.
23300 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23301 __cancel_jmp_buf.
23302 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23303
1a49fc59
L
233042017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23305
23306 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23307 --enable-static-pie variants to x86_64, x32 and i686.
23308
8e52f573
JM
233092017-12-19 Joseph Myers <joseph@codesourcery.com>
23310
66425185
JM
23311 [BZ #22631]
23312 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23313 argument for attrubutes. All callers changed.
23314 (__inline_mathop1): Likewise. All callers changed.
23315 (__inline_mathop): Likewise. All callers changed.
23316 [__USE_MISC] (scalbn): Use __inline_forward instead of
23317 __inline_forward_c.
23318 [__USE_ISOC99] (scalbln): Likewise.
23319 [__USE_ISOC99] (nearbyint): Likewise.
23320 [__USE_ISOC99] (lrint): Likewise.
23321 [__USE_MISC] (scalbnf): Likewise.
23322 [__USE_ISOC99] (scalblnf): Likewise.
23323 [__USE_ISOC99] (nearbyintf): Likewise.
23324 [__USE_ISOC99] (lrintf): Likewise.
23325 [__USE_MISC] (scalbnl): Likewise.
23326 [__USE_ISOC99] (scalblnl): Likewise.
23327 [__USE_ISOC99] (nearbyintl): Likewise.
23328 [__USE_ISOC99] (lrintl): Likewise.
23329 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23330 __inline_mathop and __m81_defun changed.
23331
8e52f573
JM
23332 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23333 CPU or FPU for ARM hard-float configurations.
23334
1421f39b
JM
233352017-12-18 Joseph Myers <joseph@codesourcery.com>
23336
40c4162d
JM
23337 * nptl/tst-attr3.c: Include <libc-diag.h>.
23338 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23339
5983df32
JM
23340 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23341
1421f39b
JM
23342 * string/tester.c (test_strncat): Also disable -Warray-bounds
23343 warnings for two tests.
23344
00c714df
L
233452017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23346
23347 [BZ #22614]
23348 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23349 $(cc-pie-default) == yes.
23350 * config.make.in (cc-pie-default): New.
23351 * configure.ac (libc_cv_pie_default): Renamed to ...
23352 (libc_cv_cc_pie_default): This.
23353 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23354 * configure: Regenerated.
23355
8e1472d2
FW
233562017-12-18 Florian Weimer <fweimer@redhat.com>
23357
23358 [BZ #20204]
23359 ld.so: Harden dl-libc/libdl hooks.
23360 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23361 (rtld_active): New function.
23362 * dlfcn/dladdr.c (__dladdr): Call it.
23363 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23364 * dlfcn/dlclose.c (__dlcose): Likewise.
23365 * dlfcn/dlerror.c (__dlerror): Likewise.
23366 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23367 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23368 * dlfcn/dlopen.c (__dlopen): Likewise.
23369 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23370 * dlfcn/dlsym.c (__dlsym): Likewise.
23371 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23372 * libio/vtables.c (_IO_vtable_check): Likewise.
23373 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23374 (__libc_dlclose): Likewise.
23375 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23376 assignment.
23377
49b036bc
JM
233782017-12-18 Joseph Myers <joseph@codesourcery.com>
23379
23380 [BZ #22446]
23381 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23382 buffers for readlink input and output.
23383
368b6c8d
ST
233842017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23385
c85c564d
ST
23386 [BZ #22624]
23387 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23388 inhibit_stack_protector.
23389
368b6c8d
ST
23390 [BZ #22624]
23391 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23392 inhibit_stack_protector.
23393
bb195224
DL
233942017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23395
23396 [BZ #22627]
23397 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23398 code and invocation.
23399
14d886ed
SN
234002017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23401
23402 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23403
7d38eb38
AJ
234042017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23405
23406 [BZ #22505]
23407 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23408
2e77deef
RS
234092017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23410
23411 * sysdeps/s390/fpu/libm-test-ulps: Update.
23412
0b9bef6d
RS
234132017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23414
23415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23416
984ae996
RS
234172017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23418
23419 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23420 constants to s_sincosf.h file.
23421 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23422 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23423 implementation.
23424 * sysdeps/ieee754/flt-32/s_sincosf.h:
23425 New file.
23426
363e4519 234272017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
23428
23429 [BZ #14681]
23430 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23431 before mtrace.
23432
9d7a3741
L
234332017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23434
23435 [BZ #19574]
23436 * INSTALL: Regenerated.
23437 * Makeconfig (real-static-start-installed-name): New.
23438 (pic-default): Updated for --enable-static-pie.
23439 (pie-default): New for --enable-static-pie.
23440 (default-pie-ldflag): Likewise.
23441 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23442 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23443 Replace $(static-start-installed-name) with
23444 $(real-static-start-installed-name).
23445 (+prectorT): Updated for --enable-static-pie.
23446 (+postctorT): Likewise.
23447 (CFLAGS-.o): Add $(pie-default).
23448 (CFLAGS-.op): Likewise.
23449 * NEWS: Mention --enable-static-pie.
23450 * config.h.in (ENABLE_STATIC_PIE): New.
23451 * configure.ac (--enable-static-pie): New configure option.
23452 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23453 (have-static-pie): Likewise.
23454 Enable static PIE if linker supports --no-dynamic-linker.
23455 (ENABLE_STATIC_PIE): New AC_DEFINE.
23456 (enable-static-pie): New LIBC_CONFIG_VAR.
23457 * configure: Regenerated.
23458 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23459 gr$(start-installed-name) for --enable-static-pie.
23460 (extra-objs): Likewise.
23461 (install-lib): Likewise.
23462 (extra-objs): Add static-reloc.o and static-reloc.os
23463 ($(objpfx)$(start-installed-name)): Also depend on
23464 $(objpfx)static-reloc.o.
23465 ($(objpfx)r$(start-installed-name)): New.
23466 ($(objpfx)g$(start-installed-name)): Also depend on
23467 $(objpfx)static-reloc.os.
23468 ($(objpfx)gr$(start-installed-name)): New.
23469 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23470 in libc.a.
23471 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23472 initimage.
23473 * csu/static-reloc.c: New file.
23474 * elf/Makefile (routines): Add dl-reloc-static-pie.
23475 (elide-routines.os): Likewise.
23476 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23477 (tst-tls1-static-non-pie-no-pie): New.
23478 * elf/dl-reloc-static-pie.c: New file.
23479 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23480 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23481 STATIC_PIE_BOOTSTRAP.
23482 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23483 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23484 (tests-static): Likewise.
23485 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23486 (tst-gmon-static-no-pie): New.
23487 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23488 (CRT-tst-gmon-static-pie): Likewise.
23489 (tst-gmon-static-pie-ENV): Likewise.
23490 (tests-special): Likewise.
23491 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23492 (clean-tst-gmon-static-pie-data): Likewise.
23493 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23494 * gmon/tst-gmon-static-pie.c: New file.
23495 * manual/install.texi: Document --enable-static-pie.
23496 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23497 (_dl_get_dl_main_map): Likewise.
23498 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23499 * sysdeps/x86_64/configure.ac: Likewise.
23500 * sysdeps/i386/configure: Regenerated.
23501 * sysdeps/x86_64/configure: Likewise.
23502 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23503 (ASFLAGS-.op): Likewise.
23504
95511aab
JM
235052017-12-15 Joseph Myers <joseph@codesourcery.com>
23506
23507 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23508 * posix/tst-mmap-offset.c (fname): Use /tmp.
23509 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23510
a7e3edf4
SE
235112017-12-15 Steve Ellcey <sellcey@cavium.com>
23512
23513 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23514
d232f2e1
TS
235152017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23516
23517 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23518 errno.
23519
174edbde
JM
235202017-12-15 Joseph Myers <joseph@codesourcery.com>
23521
5170fa49
JM
23522 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23523 --with-float=hard for arm-linux-gnueabihf configurations.
23524
f2da2fd8
JM
23525 [BZ #14121]
23526 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23527 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23528 ($(mo-installed)): Use $(objpfx)%.mo.
23529 (realclean): Remove rule.
23530
0c4fe28d
JM
23531 * po/Makefile (linguas): Remove rule and dependencies.
23532 (linguas.mo): Likewise.
23533 (.PHONY): Do not depend on linguas and linguas.mo.
23534 (podir): Remove variable.
23535 (pofiles): Likewise.
23536 [$(pofiles)] (%.po): Remove rule.
23537
174edbde
JM
23538 * sysdeps/sparc/sparc32/Makefile
23539 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23540 start-of-line whitespace in argument of echo.
23541 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23542 with whitespace. Generate __wrap_.udiv alias.
23543 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23544 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23545 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23546 * sysdeps/sparc/sparc32/urem.S: Likewise.
23547
1e36806f
RS
235482017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23549
23550 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23551 for aligned inputs.
23552
aa6932aa
SP
235532017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23554
5f1603c3
SP
23555 * benchtests/bench-strcmp.c: Print output in JSON format.
23556
aa6932aa
SP
23557 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23558
3ff3dfa5
FW
235592017-12-14 Florian Weimer <fweimer@redhat.com>
23560
23561 [BZ #22607]
23562 CVE-2017-1000409
23563 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23564 the expanded path string.
23565
8a0b17e4
FW
235662017-12-14 Florian Weimer <fweimer@redhat.com>
23567
23568 [BZ #22606]
23569 CVE-2017-1000408
23570 * elf/dl-load.c (system_dirs): Update comment.
23571 (nsystem_dirs_len): Use array_length.
23572 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23573
f58bd7f0
FW
235742017-12-14 Florian Weimer <fweimer@redhat.com>
23575
23576 Simplify compiling most of support/ outside of glibc.
23577 * support/check_addrinfo.c: Include <string.h>.
23578 * support/check_dns_packet.c: Likewise.
23579 * support/check_hostent.c: Likewise.
23580 * support/support_can_chroot.c: Include <support/xunistd.h>.
23581 * support/support_format_addrinfo.c: Include <stdlib.h>
23582 * support/support_format_dns_packet.c: Include <stdbool.h>.
23583 * support/support_format_hostent.c: Include <stdlib.h>.
23584 * support/support_format_netent.c: Likewise.
23585 * support/support_write_string.c: Include <support/xunistd.h>.
23586 * support/xdlfcn.c: Include <stddef.h>.
23587
4ca945e9
L
235882017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23591
1b6e07f8
PM
235922017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23593 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23594
e6a1c5dc
PM
23595 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23596 (sysdeps_routines): Add memset-niagara7.
23597 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23598 Likewise.
23599 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23600 file.
23601 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23602 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23603 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23604 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23605 Add niagara7 option.
23606 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23607 memset.
23608
1b6e07f8
PM
23609 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23610 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23611 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23612 Likewise.
23613 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23614 New file.
23615 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23616 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23617 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23618 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23619 and __memmove_niagara7.
23620 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23621 Add niagara7 option.
23622 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23623 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23624 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23625 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23626 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23627
bfb7bf22
JM
236282017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23629
767a26d6
JM
23630 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23631 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23632 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23633 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23634
bfb7bf22
JM
23635 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23636 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23637 _dl_sparc_cap_flags array.
23638 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23639
2bce01eb
SP
236402017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23641
23642 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23643 time whenever possible.
23644
363e4519 236452017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
23646
23647 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23648 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23649
6f7c0092
JM
236502017-12-12 Joseph Myers <joseph@codesourcery.com>
23651
23652 * soft-fp/fmadf4.c: Move to ....
23653 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23654 * soft-fp/fmasf4.c: Move to ....
23655 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23656 * soft-fp/fmatf4.c: Move to ....
23657 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23658 * sysdeps/ieee754/soft-fp/Makefile: New file.
23659 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23660 * sysdeps/arm/preconfigure: Regenerated.
23661 * sysdeps/arm/nofpu/Implies: New file.
23662 * sysdeps/arm/s_fma.c: Remove file.
23663 * sysdeps/arm/s_fmaf.c: Likewise.
23664 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23665 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23666 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23667 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23668 * sysdeps/microblaze/s_fma.c: Remove file.
23669 * sysdeps/microblaze/s_fmaf.c: Likewise.
23670 * sysdeps/mips/mips32/nofpu/Implies: New file.
23671 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23672 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23673 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23674 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23675 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23676 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23677 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23678 implementation.
23679 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23680 * sysdeps/nios2/s_fma.c: Remove file.
23681 * sysdeps/nios2/s_fmaf.c: Likewise.
23682 * sysdeps/sh/nofpu/Implies: New file.
23683 * sysdeps/sh/s_fma.c: Remove file.
23684 * sysdeps/sh/s_fmaf.c: Likewise.
23685 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23686 * sysdeps/tile/s_fma.c: Remove file.
23687 * sysdeps/tile/s_fmaf.c: Likewise.
23688
ac817e08
L
236892017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23690
23691 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23692 Add s_cosf-sse2 and s_cosf-fma.
23693 (CFLAGS-s_cosf-fma.c): New.
23694 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23695 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23696 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23697
eb428576
SE
236982017-12-12 Steve Ellcey <sellcey@cavium.com>
23699
23700 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23701
c80acdc3
AZ
237022017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23703
cc683f7e
AZ
23704 * libio/Makefile (tests): Add tst-bz22415.
23705 (tst-bz22415-ENV): New rule.
23706 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23707 (tests-special): Add tst-bz22415-mem.out.
23708 ($(objpfx)tst-bz22415-mem.out): New rule.
23709 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23710 in case of a successful seek operation.
23711 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23712 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23713 buffer is required.
23714 * libio/tst-bz22415.c: New test.
23715
c80acdc3
AZ
23716 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23717
363e4519 237182017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
23719
23720 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23721 __IPC_64 to 0 to avoid IPC_64 being set.
23722
4e0dca54
SN
237232017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23724
23725 [BZ #22593]
23726 * math/bits/mathcalls.h (nextafter): Remove const.
23727 (nexttoward): Likewise.
23728
8df5d347
JM
237292017-12-12 Joseph Myers <joseph@codesourcery.com>
23730
23731 * configure.ac (--with-fp): Remove configure option.
23732 (with_fp_cond): New variable.
23733 (libc_cv_with_fp): New configure test. Use this variable instead
23734 of with_fp.
23735 * configure: Regenerated.
23736 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23737 * manual/install.texi (Configuring and compiling): Remove
23738 --without-fp.
23739 * INSTALL: Regenerated.
23740 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23741 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23742 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23743 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23744 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23745 use --without-fp to configure glibc.
23746
0cee1257
RJ
237472017-12-12 Rical Jasan <ricaljasan@pacific.net>
23748
23749 * manual/locale.texi (nl_langinfo): Fix a typo.
23750
363e4519 237512017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
23752
23753 [BZ #22588]
23754 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23755
36975e8e
L
237562017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23757
23758 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23759 (CFLAGS-argp-parse.c): Likewise.
23760 (CFLAGS-argp-fmtstream.c): Likewise.
23761 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23762 (CPPFLAGS-sha512-crypt.c): Likewise.
23763 (CPPFLAGS-md5-crypt.c): Likewise.
23764 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23765 (CFLAGS-stack_chk_fail_local.c): Likewise.
23766 (CFLAGS-backtrace.c): Likewise.
23767 (CFLAGS-sprintf_chk.c): Likewise.
23768 (CFLAGS-snprintf_chk.c): Likewise.
23769 (CFLAGS-vsprintf_chk.c): Likewise.
23770 (CFLAGS-vsnprintf_chk.c): Likewise.
23771 (CFLAGS-asprintf_chk.c): Likewise.
23772 (CFLAGS-vasprintf_chk.c): Likewise.
23773 (CFLAGS-obprintf_chk.c): Likewise.
23774 (CFLAGS-dprintf_chk.c): Likewise.
23775 (CFLAGS-vdprintf_chk.c): Likewise.
23776 (CFLAGS-printf_chk.c): Likewise.
23777 (CFLAGS-fprintf_chk.c): Likewise.
23778 (CFLAGS-vprintf_chk.c): Likewise.
23779 (CFLAGS-vfprintf_chk.c): Likewise.
23780 (CFLAGS-gets_chk.c): Likewise.
23781 (CFLAGS-fgets_chk.c): Likewise.
23782 (CFLAGS-fgets_u_chk.c): Likewise.
23783 (CFLAGS-fread_chk.c): Likewise.
23784 (CFLAGS-fread_u_chk.c): Likewise.
23785 (CFLAGS-swprintf_chk.c): Likewise.
23786 (CFLAGS-vswprintf_chk.c): Likewise.
23787 (CFLAGS-wprintf_chk.c): Likewise.
23788 (CFLAGS-fwprintf_chk.c): Likewise.
23789 (CFLAGS-vwprintf_chk.c): Likewise.
23790 (CFLAGS-vfwprintf_chk.c): Likewise.
23791 (CFLAGS-fgetws_chk.c): Likewise.
23792 (CFLAGS-fgetws_u_chk.c): Likewise.
23793 (CFLAGS-read_chk.c): Likewise.
23794 (CFLAGS-pread_chk.c): Likewise.
23795 (CFLAGS-pread64_chk.c): Likewise.
23796 (CFLAGS-recv_chk.c): Likewise.
23797 (CFLAGS-recvfrom_chk.c): Likewise.
23798 (CFLAGS-tst-longjmp_chk.c): Likewise.
23799 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23800 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23801 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23802 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23803 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23804 (CFLAGS-tst-chk1.c): Likewise.
23805 (CFLAGS-tst-chk2.c): Likewise.
23806 (CFLAGS-tst-chk3.c): Likewise.
23807 (CFLAGS-tst-chk4.cc): Likewise.
23808 (CFLAGS-tst-chk5.cc): Likewise.
23809 (CFLAGS-tst-chk6.cc): Likewise.
23810 (CFLAGS-tst-lfschk1.c): Likewise.
23811 (CFLAGS-tst-lfschk2.c): Likewise.
23812 (CFLAGS-tst-lfschk3.c): Likewise.
23813 (CFLAGS-tst-lfschk4.cc): Likewise.
23814 (CFLAGS-tst-lfschk5.cc): Likewise.
23815 (CFLAGS-tst-lfschk6.cc): Likewise.
23816 (CFLAGS-tst-ssp-1.c): Likewise.
23817 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23818 (CFLAGS-scandir64.c): Likewise.
23819 (CFLAGS-scandir-tail.c): Likewise.
23820 (CFLAGS-scandir64-tail.c): Likewise.
23821 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23822 (CFLAGS-dl-tunables.c): Likewise.
23823 (CFLAGS-dl-runtime.c): Likewise.
23824 (CFLAGS-dl-lookup.c): Likewise.
23825 (CFLAGS-dl-iterate-phdr.c): Likewise.
23826 (CFLAGS-vismain.c): Likewise.
23827 (CFLAGS-tst-linkall-static.c): Likewise.
23828 (CFLAGS-tst-linkall-static.c): Likewise.
23829 (CPPFLAGS-dl-load.c): Likewise.
23830 (CFLAGS-ldconfig.c): Likewise.
23831 (CFLAGS-dl-cache.c): Likewise.
23832 (CFLAGS-cache.c): Likewise.
23833 (CFLAGS-rtld.c): Likewise.
23834 (CFLAGS-multiload.c): Likewise.
23835 (CFLAGS-filtmod1.c): Likewise.
23836 (CFLAGS-tst-align.c): Likewise.
23837 (CFLAGS-tst-align2.c): Likewise.
23838 (CFLAGS-tst-alignmod.c): Likewise.
23839 (CFLAGS-tst-alignmod2.c): Likewise.
23840 (CPPFLAGS-tst-execstack.c): Likewise.
23841 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23842 (CFLAGS-tst-latepthreadmod.c): Likewise.
23843 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23844 (CFLAGS-getgrnam_r.c): Likewise.
23845 (CFLAGS-getgrent_r.c): Likewise.
23846 (CFLAGS-getgrent.c): Likewise.
23847 (CFLAGS-fgetgrent.c): Likewise.
23848 (CFLAGS-fgetgrent_r.c): Likewise.
23849 (CFLAGS-putgrent.c): Likewise.
23850 (CFLAGS-initgroups.c): Likewise.
23851 (CFLAGS-getgrgid.c): Likewise.
23852 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23853 (CFLAGS-getsgent.c): Likewise.
23854 (CFLAGS-fgetsgent.c): Likewise.
23855 (CFLAGS-fgetsgent_r.c): Likewise.
23856 (CFLAGS-putsgent.c): Likewise.
23857 (CFLAGS-getsgnam.c): Likewise.
23858 (CFLAGS-getsgnam_r.c): Likewise.
23859 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23860 (CFLAGS-iconv_charmap.c): Likewise.
23861 (CFLAGS-dummy-repertoire.c): Likewise.
23862 (CFLAGS-charmap.c): Likewise.
23863 (CFLAGS-linereader.c): Likewise.
23864 (CFLAGS-simple-hash.c): Likewise.
23865 (CFLAGS-gconv_conf.c): Likewise.
23866 (CFLAGS-iconvconfig.c): Likewise.
23867 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23868 (CFLAGS-gethstbyad.c): Likewise.
23869 (CFLAGS-gethstbynm_r.c): Likewise.
23870 (CFLAGS-gethstbynm.c): Likewise.
23871 (CFLAGS-gethstbynm2_r.c): Likewise.
23872 (CFLAGS-gethstbynm2.c): Likewise.
23873 (CFLAGS-gethstent_r.c): Likewise.
23874 (CFLAGS-gethstent.c): Likewise.
23875 (CFLAGS-rcmd.c): Likewise.
23876 (CFLAGS-getnetbynm_r.c): Likewise.
23877 (CFLAGS-getnetbynm.c): Likewise.
23878 (CFLAGS-getnetbyad_r.c): Likewise.
23879 (CFLAGS-getnetbyad.c): Likewise.
23880 (CFLAGS-getnetent_r.c): Likewise.
23881 (CFLAGS-getnetent.c): Likewise.
23882 (CFLAGS-getaliasent_r.c): Likewise.
23883 (CFLAGS-getaliasent.c): Likewise.
23884 (CFLAGS-getrpcent_r.c): Likewise.
23885 (CFLAGS-getrpcent.c): Likewise.
23886 (CFLAGS-getservent_r.c): Likewise.
23887 (CFLAGS-getservent.c): Likewise.
23888 (CFLAGS-getprtent_r.c): Likewise.
23889 (CFLAGS-getprtent.c): Likewise.
23890 (CFLAGS-either_ntoh.c): Likewise.
23891 (CFLAGS-either_hton.c): Likewise.
23892 (CFLAGS-getnetgrent.c): Likewise.
23893 (CFLAGS-getnetgrent_r.c): Likewise.
23894 (CFLAGS-tst-checks-posix.c): Likewise.
23895 (CFLAGS-tst-sockaddr.c): Likewise.
23896 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23897 (CFLAGS-tst-translit.c): Likewise.
23898 (CFLAGS-tst-gettext2.c): Likewise.
23899 (CFLAGS-tst-codeset.c): Likewise.
23900 (CFLAGS-tst-gettext3.c): Likewise.
23901 (CFLAGS-tst-gettext4.c): Likewise.
23902 (CFLAGS-tst-gettext5.c): Likewise.
23903 (CFLAGS-tst-gettext6.c): Likewise.
23904 * io/Makefile (CFLAGS-open.c): Likewise.
23905 (CFLAGS-open64.c): Likewise.
23906 (CFLAGS-creat.c): Likewise.
23907 (CFLAGS-creat64.c): Likewise.
23908 (CFLAGS-fcntl.c): Likewise.
23909 (CFLAGS-poll.c): Likewise.
23910 (CFLAGS-ppoll.c): Likewise.
23911 (CFLAGS-lockf.c): Likewise.
23912 (CFLAGS-statfs.c): Likewise.
23913 (CFLAGS-fstatfs.c): Likewise.
23914 (CFLAGS-statvfs.c): Likewise.
23915 (CFLAGS-fstatvfs.c): Likewise.
23916 (CFLAGS-fts.c): Likewise.
23917 (CFLAGS-fts64.c): Likewise.
23918 (CFLAGS-ftw.c): Likewise.
23919 (CFLAGS-ftw64.c): Likewise.
23920 (CFLAGS-lockf.c): Likewise.
23921 (CFLAGS-posix_fallocate.c): Likewise.
23922 (CFLAGS-posix_fallocate64.c): Likewise.
23923 (CFLAGS-fallocate.c): Likewise.
23924 (CFLAGS-fallocate64.c): Likewise.
23925 (CFLAGS-read.c): Likewise.
23926 (CFLAGS-write.c): Likewise.
23927 (CFLAGS-test-stat.c): Likewise.
23928 (CFLAGS-test-lfs.c): Likewise.
23929 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23930 (CFLAGS-fputc.c): Likewise.
23931 (CFLAGS-fputwc.c): Likewise.
23932 (CFLAGS-freopen64.c): Likewise.
23933 (CFLAGS-freopen.c): Likewise.
23934 (CFLAGS-fseek.c): Likewise.
23935 (CFLAGS-fseeko64.c): Likewise.
23936 (CFLAGS-fseeko.c): Likewise.
23937 (CFLAGS-ftello64.c): Likewise.
23938 (CFLAGS-ftello.c): Likewise.
23939 (CFLAGS-fwide.c): Likewise.
23940 (CFLAGS-genops.c): Likewise.
23941 (CFLAGS-getc.c): Likewise.
23942 (CFLAGS-getchar.c): Likewise.
23943 (CFLAGS-getwc.c): Likewise.
23944 (CFLAGS-getwchar.c): Likewise.
23945 (CFLAGS-iofclose.c): Likewise.
23946 (CFLAGS-iofflush.c): Likewise.
23947 (CFLAGS-iofgetpos64.c): Likewise.
23948 (CFLAGS-iofgetpos.c): Likewise.
23949 (CFLAGS-iofgets.c): Likewise.
23950 (CFLAGS-iofgetws.c): Likewise.
23951 (CFLAGS-iofputs.c): Likewise.
23952 (CFLAGS-iofputws.c): Likewise.
23953 (CFLAGS-iofread.c): Likewise.
23954 (CFLAGS-iofsetpos64.c): Likewise.
23955 (CFLAGS-iofsetpos.c): Likewise.
23956 (CFLAGS-ioftell.c): Likewise.
23957 (CFLAGS-iofwrite.c): Likewise.
23958 (CFLAGS-iogetdelim.c): Likewise.
23959 (CFLAGS-iogetline.c): Likewise.
23960 (CFLAGS-iogets.c): Likewise.
23961 (CFLAGS-iogetwline.c): Likewise.
23962 (CFLAGS-ioputs.c): Likewise.
23963 (CFLAGS-ioseekoff.c): Likewise.
23964 (CFLAGS-ioseekpos.c): Likewise.
23965 (CFLAGS-iosetbuffer.c): Likewise.
23966 (CFLAGS-iosetvbuf.c): Likewise.
23967 (CFLAGS-ioungetc.c): Likewise.
23968 (CFLAGS-ioungetwc.c): Likewise.
23969 (CFLAGS-oldfileops.c): Likewise.
23970 (CFLAGS-oldiofclose.c): Likewise.
23971 (CFLAGS-oldiofgetpos64.c): Likewise.
23972 (CFLAGS-oldiofgetpos.c): Likewise.
23973 (CFLAGS-oldiofsetpos64.c): Likewise.
23974 (CFLAGS-oldiofsetpos.c): Likewise.
23975 (CFLAGS-peekc.c): Likewise.
23976 (CFLAGS-putc.c): Likewise.
23977 (CFLAGS-putchar.c): Likewise.
23978 (CFLAGS-putwc.c): Likewise.
23979 (CFLAGS-putwchar.c): Likewise.
23980 (CFLAGS-rewind.c): Likewise.
23981 (CFLAGS-wfileops.c): Likewise.
23982 (CFLAGS-wgenops.c): Likewise.
23983 (CFLAGS-oldiofopen.c): Likewise.
23984 (CFLAGS-iofopen.c): Likewise.
23985 (CFLAGS-iofopen64.c): Likewise.
23986 (CFLAGS-oldtmpfile.c): Likewise.
23987 (CFLAGS-tst_putwc.c): Likewise.
23988 * locale/Makefile (CFLAGS-md5.c): Likewise.
23989 (CFLAGS-charmap.c): Likewise.
23990 (CFLAGS-locfile.c): Likewise.
23991 (CFLAGS-charmap-dir.c): Likewise.
23992 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23993 (CFLAGS-getpt.c): Likewise.
23994 (CFLAGS-pt_chown.c): Likewise.
23995 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23996 (CFLAGS-obstack.c): Likewise.
23997 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23998 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23999 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24000 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24001 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24002 (CFLAGS-test-tgmath.c): Likewise.
24003 (CFLAGS-test-tgmath2.c): Likewise.
24004 (CFLAGS-test-tgmath-ret.c): Likewise.
24005 (CFLAGS-test-powl.c): Likewise.
24006 (CFLAGS-test-snan.c): Likewise.
24007 (CFLAGS-test-signgam-finite.c): Likewise.
24008 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24009 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24010 (CFLAGS-test-signgam-uchar.c): Likewise.
24011 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24012 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24013 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24014 (CFLAGS-test-signgam-uint.c): Likewise.
24015 (CFLAGS-test-signgam-uint-init.c): Likewise.
24016 (CFLAGS-test-signgam-uint-static.c): Likewise.
24017 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24018 (CFLAGS-test-signgam-ullong.c): Likewise.
24019 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24020 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24021 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24022 (CFLAGS-test-math-cxx11.cc): Likewise.
24023 (CFLAGS-test-math-isinff.cc): Likewise.
24024 (CFLAGS-test-math-iszero.cc): Likewise.
24025 (CFLAGS-test-math-issignaling.cc): Likewise.
24026 (CFLAGS-test-math-iscanonical.cc): Likewise.
24027 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24028 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24029 (CFLAGS-test-flt-eval-method.c): Likewise.
24030 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24031 (CFLAGS-test-finite-macros.c): Likewise.
24032 * misc/Makefile (CFLAGS-select.c): Likewise.
24033 (CFLAGS-tsearch.c): Likewise.
24034 (CFLAGS-lsearch.c): Likewise.
24035 (CFLAGS-pselect.c): Likewise.
24036 (CFLAGS-readv.c): Likewise.
24037 (CFLAGS-writev.c): Likewise.
24038 (CFLAGS-preadv.c): Likewise.
24039 (CFLAGS-preadv64.c): Likewise.
24040 (CFLAGS-pwritev.c): Likewise.
24041 (CFLAGS-pwritev64.c): Likewise.
24042 (CFLAGS-preadv2.c): Likewise.
24043 (CFLAGS-preadv64v2.c): Likewise.
24044 (CFLAGS-pwritev2.c): Likewise.
24045 (CFLAGS-pwritev64v2.c): Likewise.
24046 (CFLAGS-usleep.c): Likewise.
24047 (CFLAGS-syslog.c): Likewise.
24048 (CFLAGS-error.c): Likewise.
24049 (CFLAGS-getpass.c): Likewise.
24050 (CFLAGS-mkstemp.c): Likewise.
24051 (CFLAGS-mkstemp64.c): Likewise.
24052 (CFLAGS-getsysstats.c): Likewise.
24053 (CFLAGS-getusershell.c): Likewise.
24054 (CFLAGS-err.c): Likewise.
24055 (CFLAGS-tst-tsearch.c): Likewise.
24056 (CFLAGS-msync.c): Likewise.
24057 (CFLAGS-fdatasync.c): Likewise.
24058 (CFLAGS-fsync.c): Likewise.
24059 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24060 (CFLAGS-unwind.c): Likewise.
24061 (CFLAGS-unwind-forcedunwind.c): Likewise.
24062 (CFLAGS-pthread_cancel.c): Likewise.
24063 (CFLAGS-pthread_setcancelstate.c): Likewise.
24064 (CFLAGS-pthread_setcanceltype.c): Likewise.
24065 (CFLAGS-cancellation.c): Likewise.
24066 (CFLAGS-libc-cancellation.c): Likewise.
24067 (CFLAGS-pthread_exit.c): Likewise.
24068 (CFLAGS-forward.c): Likewise.
24069 (CFLAGS-pthread_testcancel.c): Likewise.
24070 (CFLAGS-pthread_join.c): Likewise.
24071 (CFLAGS-pthread_timedjoin.c): Likewise.
24072 (CFLAGS-pthread_once.c): Likewise.
24073 (CFLAGS-pthread_cond_wait.c): Likewise.
24074 (CFLAGS-sem_wait.c): Likewise.
24075 (CFLAGS-sem_timedwait.c): Likewise.
24076 (CFLAGS-fcntl.c): Likewise.
24077 (CFLAGS-lockf.c): Likewise.
24078 (CFLAGS-pread.c): Likewise.
24079 (CFLAGS-pread64.c): Likewise.
24080 (CFLAGS-pwrite.c): Likewise.
24081 (CFLAGS-pwrite64.c): Likewise.
24082 (CFLAGS-wait.c): Likewise.
24083 (CFLAGS-waitpid.c): Likewise.
24084 (CFLAGS-sigwait.c): Likewise.
24085 (CFLAGS-msgrcv.c): Likewise.
24086 (CFLAGS-msgsnd.c): Likewise.
24087 (CFLAGS-tcdrain.c): Likewise.
24088 (CFLAGS-open.c): Likewise.
24089 (CFLAGS-open64.c): Likewise.
24090 (CFLAGS-pause.c): Likewise.
24091 (CFLAGS-recv.c): Likewise.
24092 (CFLAGS-send.c): Likewise.
24093 (CFLAGS-accept.c): Likewise.
24094 (CFLAGS-sendto.c): Likewise.
24095 (CFLAGS-connect.c): Likewise.
24096 (CFLAGS-recvfrom.c): Likewise.
24097 (CFLAGS-recvmsg.c): Likewise.
24098 (CFLAGS-sendmsg.c): Likewise.
24099 (CFLAGS-close.c): Likewise.
24100 (CFLAGS-read.c): Likewise.
24101 (CFLAGS-write.c): Likewise.
24102 (CFLAGS-nanosleep.c): Likewise.
24103 (CFLAGS-sigsuspend.c): Likewise.
24104 (CFLAGS-msync.c): Likewise.
24105 (CFLAGS-fdatasync.c): Likewise.
24106 (CFLAGS-fsync.c): Likewise.
24107 (CFLAGS-pt-system.c): Likewise.
24108 (CFLAGS-tst-cleanup2.c): Likewise.
24109 (CFLAGS-tst-cleanupx2.c): Likewise.
24110 (CFLAGS-flockfile.c): Likewise.
24111 (CFLAGS-ftrylockfile.c): Likewise.
24112 (CFLAGS-funlockfile.c): Likewise.
24113 (CFLAGS-tst-initializers1.c): Likewise.
24114 (CFLAGS-tst-initializers1-c89.c): Likewise.
24115 (CFLAGS-tst-initializers1-c99.c): Likewise.
24116 (CFLAGS-tst-initializers1-c11.c): Likewise.
24117 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24118 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24119 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24120 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24121 (CFLAGS-nscd_getgr_r.c): Likewise.
24122 (CFLAGS-nscd_gethst_r.c): Likewise.
24123 (CFLAGS-nscd_getai.c): Likewise.
24124 (CFLAGS-nscd_initgroups.c): Likewise.
24125 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24126 (CFLAGS-pause.c): Likewise.
24127 (CFLAGS-pread.c): Likewise.
24128 (CFLAGS-pread64.c): Likewise.
24129 (CFLAGS-pwrite.c): Likewise.
24130 (CFLAGS-pwrite64.c): Likewise.
24131 (CFLAGS-sleep.c): Likewise.
24132 (CFLAGS-wait.c): Likewise.
24133 (CFLAGS-waitid.c): Likewise.
24134 (CFLAGS-waitpid.c): Likewise.
24135 (CFLAGS-getopt.c): Likewise.
24136 (CFLAGS-wordexp.c): Likewise.
24137 (CFLAGS-sysconf.c): Likewise.
24138 (CFLAGS-pathconf.c): Likewise.
24139 (CFLAGS-fpathconf.c): Likewise.
24140 (CFLAGS-spawn.c): Likewise.
24141 (CFLAGS-spawnp.c): Likewise.
24142 (CFLAGS-spawni.c): Likewise.
24143 (CFLAGS-glob.c): Likewise.
24144 (CFLAGS-glob64.c): Likewise.
24145 (CFLAGS-getconf.c): Likewise.
24146 (CFLAGS-nanosleep.c): Likewise.
24147 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24148 (CFLAGS-getpwent.c): Likewise.
24149 (CFLAGS-getpw.c): Likewise.
24150 (CFLAGS-fgetpwent_r.c): Likewise.
24151 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24152 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24153 (CFLAGS-mq_timedreceive.c): Likewise.
24154 (CFLAGS-mq_timedsend.c): Likewise.
24155 (CFLAGS-clock_nanosleep.c): Likewise.
24156 (CFLAGS-librt-cancellation.c): Likewise.
24157 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24158 (CFLAGS-getspent.c): Likewise.
24159 (CFLAGS-fgetspent.c): Likewise.
24160 (CFLAGS-fgetspent_r.c): Likewise.
24161 (CFLAGS-putspent.c): Likewise.
24162 (CFLAGS-getspnam.c): Likewise.
24163 (CFLAGS-getspnam_r.c): Likewise.
24164 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24165 (CFLAGS-sigsuspend.c): Likewise.
24166 (CFLAGS-sigtimedwait.c): Likewise.
24167 (CFLAGS-sigwait.c): Likewise.
24168 (CFLAGS-sigwaitinfo.c): Likewise.
24169 (CFLAGS-sigreturn.c): Likewise.
24170 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24171 (CFLAGS-vfwprintf.c): Likewise.
24172 (CFLAGS-tmpfile.c): Likewise.
24173 (CFLAGS-tmpfile64.c): Likewise.
24174 (CFLAGS-tempname.c): Likewise.
24175 (CFLAGS-psignal.c): Likewise.
24176 (CFLAGS-vprintf.c): Likewise.
24177 (CFLAGS-cuserid.c): Likewise.
24178 (CFLAGS-errlist.c): Likewise.
24179 (CFLAGS-siglist.c): Likewise.
24180 (CFLAGS-scanf15.c): Likewise.
24181 (CFLAGS-scanf17.c): Likewise.
24182 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24183 (CFLAGS-msort.c): Likewise.
24184 (CFLAGS-qsort.c): Likewise.
24185 (CFLAGS-system.c): Likewise.
24186 (CFLAGS-fmtmsg.c): Likewise.
24187 (CFLAGS-strfmon.c): Likewise.
24188 (CFLAGS-strfmon_l.c): Likewise.
24189 (CFLAGS-strfromd.c): Likewise.
24190 (CFLAGS-strfromf.c): Likewise.
24191 (CFLAGS-strfroml.c): Likewise.
24192 (CFLAGS-tst-bsearch.c): Likewise.
24193 (CFLAGS-tst-qsort.c): Likewise.
24194 (CFLAGS-tst-makecontext2.c): Likewise.
24195 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24196 (CFLAGS-xnlm_prot.c): Likewise.
24197 (CFLAGS-xrstat.c): Likewise.
24198 (CFLAGS-xyppasswd.c): Likewise.
24199 (CFLAGS-xklm_prot.c): Likewise.
24200 (CFLAGS-xrex.c): Likewise.
24201 (CFLAGS-xsm_inter.c): Likewise.
24202 (CFLAGS-xmount.c): Likewise.
24203 (CFLAGS-xrusers.c): Likewise.
24204 (CFLAGS-xspray.c): Likewise.
24205 (CFLAGS-xnfs_prot.c): Likewise.
24206 (CFLAGS-xrquota.c): Likewise.
24207 (CFLAGS-xkey_prot.c): Likewise.
24208 (CFLAGS-auth_unix.c): Likewise.
24209 (CFLAGS-key_call.c): Likewise.
24210 (CFLAGS-pmap_rmt.c): Likewise.
24211 (CFLAGS-clnt_perr.c): Likewise.
24212 (CFLAGS-openchild.c): Likewise.
24213 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24214 (CFLAGS-msgsnd.c): Likewise.
24215 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24216 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24217 (CFLAGS-tzset.c): Likewise.
24218 (CFLAGS-getdate.c): Likewise.
24219 (CFLAGS-test_time.c): Likewise.
24220 (CPPFLAGS-tst-tzname.c): Likewise.
24221 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24222 (CFLAGS-zic.c): Likewise.
24223 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24224 (CFLAGS-wcswidth.c): Likewise.
24225 (CFLAGS-wcstol.c): Likewise.
24226 (CFLAGS-wcstoul.c): Likewise.
24227 (CFLAGS-wcstoll.c): Likewise.
24228 (CFLAGS-wcstoull.c): Likewise.
24229 (CFLAGS-wcstod.c): Likewise.
24230 (CFLAGS-wcstold.c): Likewise.
24231 (CFLAGS-wcstof128.c): Likewise.
24232 (CFLAGS-wcstof.c): Likewise.
24233 (CFLAGS-wcstol_l.c): Likewise.
24234 (CFLAGS-wcstoul_l.c): Likewise.
24235 (CFLAGS-wcstoll_l.c): Likewise.
24236 (CFLAGS-wcstoull_l.c): Likewise.
24237 (CFLAGS-wcstod_l.c): Likewise.
24238 (CFLAGS-wcstold_l.c): Likewise.
24239 (CFLAGS-wcstof128_l.c): Likewise.
24240 (CFLAGS-wcstof_l.c): Likewise.
24241 (CPPFLAGS-tst-wchar-h.c): Likewise.
24242 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 24243
f4b2aea6
PC
242442017-12-11 Paul A. Clarke <pc@us.ibm.com>
24245
24246 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24247
c9cd7b0c
AZ
242482017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24249 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24250
24251 * manual/tunables.texi (Hardware Capability Tunables): Document
24252 glibc.tune.cached_memopt.
24253 * sysdeps/powerpc/cpu-features.c: New file.
24254 * sysdeps/powerpc/cpu-features.h: New file.
24255 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24256 _dl_powerpc_cpu_features.
24257 * sysdeps/powerpc/dl-tunables.list: New file.
24258 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24259 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24260 (INIT_ARCH): Initialize use_aligned_memopt.
24261 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24262 IS_IN(rtld))]: Restrict dl_platform_init availability and
24263 initialize CPU features used by tunables.
24264 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24265 Add memcpy-power8-cached.
24266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24267 __memcpy_power8_cached.
24268 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24269 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24270 New file.
24271
e70c6fee
L
242722017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24273
24274 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24275 (CFLAGS-noinl-tester.c): Likewise.
24276 (CFLAGS-tst-strlen.c): Likewise.
24277 (CFLAGS-stratcliff.c): Likewise.
24278 (CFLAGS-test-ffs.c): Likewise.
24279 (CFLAGS-tst-inlcall.c): Likewise.
24280 (CFLAGS-tst-xbzero-opt.c): Likewise.
24281 (CFLAGS-memcpy.c): Likewise.
24282 (CFLAGS-wordcopy.c): Likewise.
24283
dee94366
SL
242842017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24285
24286 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24287 Store r15 on stack and add cfi rule.
24288 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24289 Likewise.
24290
363e4519 242912017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
24292
24293 [BZ #22577]
24294 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24295 call.
24296
9d0ffa60
L
242972017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24298
24299 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24300 Add s_sinf-sse2 and s_sinf-fma.
24301 (CFLAGS-s_sinf-fma.c): New.
24302 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24303 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24304 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24305
9574c7b6
L
243062017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24307
24308 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24309
d15e83c5
JM
243102017-12-07 Joseph Myers <joseph@codesourcery.com>
24311
24312 [BZ #22568]
24313 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24314 part of result to imaginary part of argument if it is zero and the
24315 real part of the argument is not finite.
24316 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24317 of result to real part of argument if it is zero and the imaginary
24318 part of the argument is not finite.
24319
d89756eb
MF
243202017-12-07 Mike FABIAN <mfabian@redhat.com>
24321
24322 [BZ #22524]
24323 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24324 and to the list of locales to be built for testing.
24325 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24326 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24327 and build the collation rules upon that.
24328
1f9055ce
JM
243292017-12-07 Joseph Myers <joseph@codesourcery.com>
24330
24331 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24332 * manual/math.texi (Mathematics): Document support for _Float32.
24333 * math/Makefile (test-types): Add float32.
24334 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24335 * stdlib/Versions (GLIBC_2.27): Likewise.
24336 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24337 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24339 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24340 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24341 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24342 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24343 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24344 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24345 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24346 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24347 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24348 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24349 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24350 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24351 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24352 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24353 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24354 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24355 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24357 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24358 Likewise.
24359 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24360 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24361 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24362 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24363 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24365 Likewise.
24366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24367 Likewise.
24368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24369 Likewise.
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24371 Likewise.
24372
24373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24374 Likewise.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24376 Likewise.
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24378 Likewise.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24380 Likewise.
24381 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24382 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24383 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24384 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24385 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24386 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24387 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24388 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24389 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24390 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24392 Likewise.
24393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24394 Likewise.
24395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24396 Likewise.
24397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24398 Likewise.
24399 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24400 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24401 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24403 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24404 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24405 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24406 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24407
5244527d
JM
244082017-12-06 Joseph Myers <joseph@codesourcery.com>
24409
fb1ca2aa
JM
24410 * stdlib/strtof.c: Include <bits/floatn.h>
24411 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24412 and later undefine as macro. Define as weak alias if
24413 [!USE_WIDE_CHAR].
24414 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24415 and later undefine as macro. Define as weak alias if
24416 [USE_WIDE_CHAR].
24417 * stdlib/strtof_l.c: Include <bits/floatn.h>
24418 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24419 and later undefine as macro. Define as weak alias if
24420 [!USE_WIDE_CHAR].
24421 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24422 and later undefine as macro. Define as weak alias if
24423 [USE_WIDE_CHAR].
24424
fc10cc3f
JM
24425 * stdlib/strfromf.c: Include <bits/floatn.h>.
24426 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24427 and later undefine as macro and define as weak alias.
24428
e420d228
JM
24429 * math/test-float32.h: New file.
24430
26007a2f
JM
24431 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24432 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24433 (libm_alias_float_other_r): Create f32 alias.
24434 (libm_alias_float_r): Use semicolon before call to
24435 libm_alias_float_other_r.
24436
c191f64c
JM
24437 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24438 second argument to libm_alias_float_other.
24439 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24440 second argument to libm_alias_float_other.
24441 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24442 argument to libm_alias_float_other.
24443
5244527d
JM
24444 [BZ #22561]
24445 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24446 real part of result for argument 0 + i * NaN.
24447 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24448 results for tests of 0 + i * NaN.
24449
d73fac82
AZ
244502017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24451
24452 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24453
7ec094e8
DM
244542017-12-06 David S. Miller <davem@davemloft.net>
24455
24456 * sysdeps/sparc/fpu/libm-test-ulps: Update
24457 exp_{downward,towardzero,upward} ulps.
24458
53994f12
JM
244592017-12-06 Joseph Myers <joseph@codesourcery.com>
24460
1dbe6f64
JM
24461 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24462 variables static.
24463
53994f12
JM
24464 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24465 (Y0_2D): Likewise.
24466 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24467 (Y0_2D): Likewise.
24468 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24469 (Y0_2D): Likewise.
24470 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24471 (Y0_2D): Likewise.
24472
62ea2193
MF
244732017-12-06 Mike FABIAN <mfabian@redhat.com>
24474
24475 [BZ #22515]
24476 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24477 and to the list of locales to be built for testing.
24478 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24479 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24480 and build the collation rules upon that.
24481
87235d70
RS
244822017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24483
24484 * NEWS: Add sinf to list of optimized functions.
24485
0d93b7fd
JM
244862017-12-06 Joseph Myers <joseph@codesourcery.com>
24487
24488 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24489 (__HAVE_FLOAT32X): Likewise.
24490 * manual/math.texi (Mathematics): Document support for _Float64
24491 and _Float32x.
24492 * math/Makefile (test-types): Add float64 and float32x.
24493 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24494 functions.
24495 * stdlib/Versions (GLIBC_2.27): Likewise.
24496 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24497 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24498 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24499 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24500 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24501 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24502 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24503 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24504 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24505 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24506 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24507 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24508 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24509 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24510 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24511 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24512 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24514 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24516 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24517 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24518 Likewise.
24519 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24520 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24522 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24523 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24525 Likewise.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24527 Likewise.
24528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24529 Likewise.
24530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24531 Likewise.
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24533 Likewise.
24534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24535 Likewise.
24536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24537 Likewise.
24538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24539 Likewise.
24540 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24541 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24542 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24543 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24544 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24545 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24546 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24547 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24548 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24549 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24551 Likewise.
24552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24553 Likewise.
24554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24555 Likewise.
24556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24557 Likewise.
24558 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24559 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24560 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24561 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24562 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24563 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24564 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24565 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24566
f7787234
JM
245672017-12-05 Joseph Myers <joseph@codesourcery.com>
24568
24569 * bits/floatn-common.h: Include <bits/long-double.h>.
24570 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24571 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24572 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24573 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24574 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24575 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24576 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24577 (__builtin_huge_valf64): Use __builtin_huge_vall.
24578 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24579 (__builtin_inff64): Use __builtin_infl.
24580 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24581 (__builtin_nanf64): Use __builtin_nanl.
24582 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24583 (__builtin_nansf64): Use __builtin_nansl.
24584
363e4519
DL
245852017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24586 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
e6855a3b 24587 Carlos O'Donell <carlos@redhat.com>
07ed18d2
RA
24588
24589 * elf/dl-tunables.list: Add elision parameters.
24590 * manual/tunables.texi: Add entries about elision tunable.
24591 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24592 Add callback functions to dynamically enable/disable elision.
24593 Add multiple callbacks functions to set elision parameters.
24594 Deleted __libc_enable_secure check.
24595 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24596 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24597 * configure: Regenerated.
24598 * configure.ac: Option enable_lock_elision was deleted.
24599 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24600 * config.make.in: Remove references to enable_lock_elision.
24601 * manual/install.texi: Elision configure option was removed.
24602 * INSTALL: Regenerated to remove enable_lock_elision.
24603 * nptl/Makefile:
24604 Disable elision so it can verify error case for destroying a mutex.
24605 * sysdeps/powerpc/nptl/elide.h:
24606 Cleanup ENABLE_LOCK_ELISION check.
24607 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24608 * sysdeps/s390/configure: Regenerated.
24609 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24610 * nptl/tst-mutex8.c:
24611 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24612 * sysdeps/powerpc/powerpc32/sysdep.h:
24613 Deleted all ENABLE_LOCK_ELISION checks.
24614 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24615 * sysdeps/powerpc/sysdep.h: Likewise.
24616 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24617 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24618 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24619 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24620 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24621 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24622 enable-lock-elision.
24623
a5a2a76b
JM
246242017-12-05 Joseph Myers <joseph@codesourcery.com>
24625
24626 * stdlib/strtod.c: Include <bits/floatn.h>.
24627 (BUILD_DOUBLE): New macro.
24628 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24629 (strtof64): Define and later undefine as macro. Define as weak
24630 alias if [!USE_WIDE_CHAR].
24631 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24632 (wcstof64): Define and later undefine as macro. Define as weak
24633 alias if [USE_WIDE_CHAR].
24634 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24635 (strtof32x): Define and later undefine as macro. Define as weak
24636 alias if [!USE_WIDE_CHAR].
24637 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24638 (wcstof32x): Define and later undefine as macro. Define as weak
24639 alias if [USE_WIDE_CHAR].
24640 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24641 (BUILD_DOUBLE): New macro.
24642 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24643 (strtof64_l): Define and later undefine as macro. Define as weak
24644 alias if [!USE_WIDE_CHAR].
24645 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24646 (wcstof64_l): Define and later undefine as macro. Define as weak
24647 alias if [USE_WIDE_CHAR].
24648 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24649 (strtof32x_l): Define and later undefine as macro. Define as weak
24650 alias if [!USE_WIDE_CHAR].
24651 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24652 (wcstof32x_l): Define and later undefine as macro. Define as weak
24653 alias if [USE_WIDE_CHAR].
24654
94d80dfc
AZ
246552017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24656
24657 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24658 (reduced): Use ones as double instead of integer.
24659
00d54af7
SN
246602017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24661
24662 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24663
f2d64d62
JM
246642017-12-05 Joseph Myers <joseph@codesourcery.com>
24665
1f70eae4
JM
24666 * stdlib/strfromd.c: Include <bits/floatn.h>.
24667 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24668 and later undefine as macro and define as weak alias.
24669 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24670 Likewise.
24671
e2c4dce5
JM
24672 * math/test-float32x.h: New file.
24673 * math/test-float64.h: Likewise.
24674
f2d64d62
JM
24675 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24676 (libm_alias_double_other_r_f64): New macro.
24677 (libm_alias_double_other_r_f32x): Likewise.
24678 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24679 libm_alias_double_other_r_f32x.
24680 (libm_alias_double_r): Use semicolon before call to
24681 libm_alias_double_other_r.
24682 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24683 <bits/floatn.h>.
24684 (libm_alias_double_other_r_f64): New macro.
24685 (libm_alias_double_other_r_f32x): Likewise.
24686 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24687 libm_alias_double_other_r_f32x.
24688
91c318e7
L
246892017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24690
24691 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24692 int.
24693 (SINF_FUNC): Likewise. Replace floor with simple casts.
24694
de9661d6
MF
246952017-12-05 Mike FABIAN <mfabian@redhat.com>
24696
24697 [BZ #22517]
24698 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24699 and to the list of locales to be built for testing.
24700 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24701 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24702 and build the collation rules upon that.
24703
f18b8dc7
CM
247042017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24705
24706 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24707 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24708 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24709 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24710 instead of __insn__xxx.
24711 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24712 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24713 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24714 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24715 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24716 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24717
446d22e9
FW
247182017-12-05 Florian Weimer <fweimer@redhat.com>
24719
24720 Linux: Implement interfaces for memory protection keys
24721 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24722 xsignal, xsysconf.
24723 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24724 * support/xunistd.h (xsysconf): Declare.
24725 * support/xraise.c: New file.
24726 * support/xsigaction.c: Likewise.
24727 * support/xsignal.c: Likewise.
24728 * support/xsysconf.c: Likewise.
24729 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24730 pkey_set, pkey_get, pkey_mprotect.
24731 [misc] (tests): Add tst-pkey.
24732 (tst-pkey): Link with -lpthread.
24733 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24734 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24735 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24736 (PKEY_DISABLE_WRITE): Define.
24737 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24738 Declare.
24739 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24740 (SEGV_PKUERR): Add.
24741 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24742 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24743 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24744 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24745 Add.
24746 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24747 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24748 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24749 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24750 * sysdeps/unix/sysv/linux/**.abilist: Update.
24751
da616c14
FW
247522017-12-05 Florian Weimer <fweimer@redhat.com>
24753
24754 * support/tst-test_compare.c (subprocess): Use long long instead
24755 of long argument for consistent type width across 32-bit and
24756 64-bit architectures.
24757 (do_test): Adjust expected output.
24758
216933b2
JM
247592017-12-05 Joseph Myers <joseph@codesourcery.com>
24760
24761 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24762 (cosf): Define using libm_alias_float.
24763 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24764 (fabsf): Define using libm_alias_float.
24765 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24766 (fmaf): Define using libm_alias_float.
24767 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24768 (rintf): Define using libm_alias_float.
24769 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24770 (sinf): Define using libm_alias_float.
24771 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24772 <libm-alias-float.h>.
24773 (modff): Define using libm_alias_float.
24774 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24775 <libm-alias-float.h>.
24776 (logbf): Define using libm_alias_float.
24777 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24778 <libm-alias-float.h>.
24779 (ceilf): Define using libm_alias_float.
24780 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24781 <libm-alias-float.h>.
24782 (copysignf): Define using libm_alias_float.
24783 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24784 <libm-alias-float.h>.
24785 (floorf): Define using libm_alias_float.
24786 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24787 <libm-alias-float.h>.
24788 (llrintf): Define using libm_alias_float.
24789 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24790 <libm-alias-float.h>.
24791 (llroundf): Define using libm_alias_float.
24792 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24793 <libm-alias-float.h>.
24794 (lrintf): Define using libm_alias_float.
24795 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24796 <libm-alias-float.h>.
24797 (lroundf): Define using libm_alias_float.
24798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24799 <libm-alias-float.h>.
24800 (nearbyintf): Define using libm_alias_float.
24801 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24802 <libm-alias-float.h>.
24803 (rintf): Define using libm_alias_float.
24804 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24805 <libm-alias-float.h>.
24806 (roundf): Define using libm_alias_float.
24807 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24808 <libm-alias-float.h>.
24809 (truncf): Define using libm_alias_float.
24810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24811 Include <libm-alias-float.h>.
24812 (ceilf): Define using libm_alias_float.
24813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24814 Include <libm-alias-float.h>.
24815 (copysignf): Define using libm_alias_float.
24816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24817 Include <libm-alias-float.h>.
24818 (floorf): Define using libm_alias_float.
24819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24820 Include <libm-alias-float.h>.
24821 (llrintf): Define using libm_alias_float.
24822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24823 Include <libm-alias-float.h>.
24824 (llroundf): Define using libm_alias_float.
24825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24826 Include <libm-alias-float.h>.
24827 (logbf): Define using libm_alias_float.
24828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24829 Include <libm-alias-float.h>.
24830 (lrintf): Define using libm_alias_float.
24831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24832 Include <libm-alias-float.h>.
24833 (lroundf): Define using libm_alias_float.
24834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24835 Include <libm-alias-float.h>.
24836 (modff): Define using libm_alias_float.
24837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24838 Include <libm-alias-float.h>.
24839 (roundf): Define using libm_alias_float.
24840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24841 Include <libm-alias-float.h>.
24842 (truncf): Define using libm_alias_float.
24843 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24844 <libm-alias-float.h>.
24845 (llrintf): Define using libm_alias_float.
24846 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24847 <libm-alias-float.h>.
24848 (llroundf): Define using libm_alias_float.
24849 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24850 <libm-alias-float.h>.
24851 (ceilf): Define using libm_alias_float.
24852 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24853 <libm-alias-float.h>.
24854 (floorf): Define using libm_alias_float.
24855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24856 <libm-alias-float.h>.
24857 (llroundf): Define using libm_alias_float.
24858 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24859 <libm-alias-float.h>.
24860 (lroundf): Define using libm_alias_float.
24861 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24862 <libm-alias-float.h>.
24863 (roundf): Define using libm_alias_float.
24864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24865 <libm-alias-float.h>.
24866 (truncf): Define using libm_alias_float.
24867 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24868 <libm-alias-float.h>.
24869 (copysignf): Define using libm_alias_float.
24870 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24871 <libm-alias-float.h>.
24872 (llrintf): Define using libm_alias_float.
24873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24874 <libm-alias-float.h>.
24875 (llroundf): Define using libm_alias_float.
24876 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24877 <libm-alias-float.h>.
24878 (lrintf): Define using libm_alias_float.
24879 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24880 <libm-alias-float.h>.
24881 (lroundf): Define using libm_alias_float.
24882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24883 <libm-alias-float.h>.
24884 (ceilf): Define using libm_alias_float.
24885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24886 <libm-alias-float.h>.
24887 (copysignf): Define using libm_alias_float.
24888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24889 <libm-alias-float.h>.
24890 (cosf): Define using libm_alias_float.
24891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24892 <libm-alias-float.h>.
24893 (floorf): Define using libm_alias_float.
24894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24895 <libm-alias-float.h>.
24896 (llrintf): Define using libm_alias_float.
24897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24898 <libm-alias-float.h>.
24899 (llroundf): Define using libm_alias_float.
24900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24901 <libm-alias-float.h>.
24902 (logbf): Define using libm_alias_float.
24903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24904 <libm-alias-float.h>.
24905 (modff): Define using libm_alias_float.
24906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24907 <libm-alias-float.h>.
24908 (roundf): Define using libm_alias_float.
24909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24910 <libm-alias-float.h>.
24911 (sinf): Define using libm_alias_float.
24912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24913 <libm-alias-float.h>.
24914 (truncf): Define using libm_alias_float.
24915 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24916 <libm-alias-float.h>.
24917 (ceilf): Define using libm_alias_float.
24918 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24919 <libm-alias-float.h>.
24920 (copysignf): Define using libm_alias_float.
24921 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24922 <libm-alias-float.h>.
24923 (floorf): Define using libm_alias_float.
24924 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24925 <libm-alias-float.h>.
24926 (llrintf): Define using libm_alias_float.
24927 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24928 <libm-alias-float.h>.
24929 (llroundf): Define using libm_alias_float.
24930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24931 <libm-alias-float.h>.
24932 (nearbyintf): Define using libm_alias_float.
24933 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24934 <libm-alias-float.h>.
24935 (rintf): Define using libm_alias_float.
24936 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24937 <libm-alias-float.h>.
24938 (roundf): Define using libm_alias_float.
24939 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24940 <libm-alias-float.h>.
24941 (truncf): Define using libm_alias_float.
24942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24943 <libm-alias-float.h>.
24944 (ceilf): Define using libm_alias_float.
24945 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24946 <libm-alias-float.h>.
24947 (floorf): Define using libm_alias_float.
24948 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24949 <libm-alias-float.h>.
24950 (llroundf): Define using libm_alias_float.
24951 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24952 <libm-alias-float.h>.
24953 (roundf): Define using libm_alias_float.
24954 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24955 <libm-alias-float.h>.
24956 (truncf): Define using libm_alias_float.
24957 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24958 <libm-alias-float.h>.
24959 (copysignf): Define using libm_alias_float.
24960 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24961 <libm-alias-float.h>.
24962 (llrintf): Define using libm_alias_float.
24963 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24964 <libm-alias-float.h>.
24965 (llroundf): Define using libm_alias_float.
24966 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24967 <libm-alias-float.h>.
24968 (cosf): Define using libm_alias_float.
24969 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24970 <libm-alias-float.h>.
24971 (llrintf): Define using libm_alias_float.
24972 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24973 <libm-alias-float.h>.
24974 (llroundf): Define using libm_alias_float.
24975 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24976 <libm-alias-float.h>.
24977 (sinf): Define using libm_alias_float.
24978
93485524
FW
249792017-12-04 Florian Weimer <fweimer@redhat.com>
24980
24981 * support/check.h (TEST_COMPARE): Define.
24982 (support_test_compare_failure): Declare.
24983 * support/Makefile (libsupport-routines): Add
24984 support_test_compare_failure.
24985 (tests): Add tst-test_compare.
24986 * support /support_test_compare_failure.c: New file.
24987 * support/tst-test_compare.c: Likewise.
24988
96b06a19
MF
249892017-12-04 Mike FABIAN <mfabian@redhat.com>
24990
24991 [BZ #22527]
24992 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24993 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24994 available, this rewrite of the collation rules does reproduce
24995 the test file in the same order.
24996
1f6d91f3
MF
249972017-12-04 Mike FABIAN <mfabian@redhat.com>
24998
24999 [BZ #10580]
25000 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25001 digraphs in the month and day names. Using single code points for
25002 digraphs is deprecated. While there are dedicated Unicode
25003 codepoints, for the digraphs, these are included for backwards
25004 compatibility and modern texts use a sequence of Basic Latin
25005 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25006 This makes the month and day names agree exactly with CLDR now,
25007 CLDR does not use the single code points for the digraphs either.
25008
2e49fed8
CM
250092017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25010
25011 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25012
73895b49
JM
250132017-12-04 Joseph Myers <joseph@codesourcery.com>
25014
25015 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25016 of floor.
25017
4c1d801a
SP
250182017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25019
25020 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25021 Define only for libc.so.
25022
478593e6
SL
250232017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25024
25025 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25026 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 25027 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
25028 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25030
7863a711
RS
250312017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25032
25033 [BZ #5997]
25034 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25035
800a496a
JDA
250362017-12-02 John David Anglin <danglin@gcc.gnu.org>
25037
b3f7fb12
JDA
25038 [BZ libc/19170]
25039 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25040 PREINIT_FUNCTION_WEAK is nonzero.
25041 (gmon_initializer): New function. Put procedure label for it in
25042 .init_array section.
25043 (_init): Don't call PREINIT_FUNCTION.
25044 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25045 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25046 value when map argument is null.
25047
800a496a
JDA
25048 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25049 depi instruction from PIC pc-relative sequence.
25050 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25051 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25052 (elf_machine_load_address): Likewise.
25053 (elf_machine_runtime_setup): Likewise.
25054
d17542d2
JM
250552017-12-02 Joseph Myers <joseph@codesourcery.com>
25056
25057 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25058 <libm-alias-double.h>.
25059 (logb): Define using libm_alias_double.
25060 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25061 <libm-alias-double.h>.
25062 (copysign): Define using libm_alias_double.
25063 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25064 <libm-alias-double.h>.
25065 (llrint): Define using libm_alias_double.
25066 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25067 <libm-alias-double.h>.
25068 (llround): Define using libm_alias_double.
25069 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25070 <libm-alias-double.h>.
25071 (lrint): Define using libm_alias_double.
25072 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25073 <libm-alias-double.h>.
25074 (lround): Define using libm_alias_double.
25075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25076 Include <libm-alias-double.h>.
25077 (copysign): Define using libm_alias_double.
25078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25079 Include <libm-alias-double.h>.
25080 (llrint): Define using libm_alias_double.
25081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25082 Include <libm-alias-double.h>.
25083 (llround): Define using libm_alias_double.
25084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25085 <libm-alias-double.h>.
25086 (logb): Define using libm_alias_double.
25087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25088 Include <libm-alias-double.h>.
25089 (lrint): Define using libm_alias_double.
25090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25091 Include <libm-alias-double.h>.
25092 (lround): Define using libm_alias_double.
25093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25094 <libm-alias-double.h>.
25095 (llrint): Define using libm_alias_double.
25096 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25097 <libm-alias-double.h>.
25098 (llround): Define using libm_alias_double.
25099 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25100 <libm-alias-double.h>.
25101 (llround): Define using libm_alias_double.
25102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25103 <libm-alias-double.h>.
25104 (lround): Define using libm_alias_double.
25105 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25106 <libm-alias-double.h>.
25107 (copysign): Define using libm_alias_double.
25108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25109 <libm-alias-double.h>.
25110 (llrint): Define using libm_alias_double.
25111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25112 <libm-alias-double.h>.
25113 (llround): Define using libm_alias_double.
25114 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25115 <libm-alias-double.h>.
25116 (lrint): Define using libm_alias_double.
25117 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25118 <libm-alias-double.h>.
25119 (lround): Define using libm_alias_double.
25120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25121 <libm-alias-double.h>.
25122 (copysign): Define using libm_alias_double.
25123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25124 <libm-alias-double.h>.
25125 (llrint): Define using libm_alias_double.
25126 (lrint): Likewise.
25127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25128 <libm-alias-double.h>.
25129 (llround): Define using libm_alias_double.
25130 (lround): Likewise.
25131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25132 <libm-alias-double.h>.
25133 (logb): Define using libm_alias_double.
25134 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25135 <libm-alias-double.h>.
25136 (copysign): Define using libm_alias_double.
25137 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25138 <libm-alias-double.h>.
25139 (llrint): Define using libm_alias_double.
25140 (lrint): Likewise.
25141 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25142 <libm-alias-double.h>.
25143 (llround): Define using libm_alias_double.
25144 (lround): Likewise.
25145 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25146 <libm-alias-double.h>.
25147 (llround): Define using libm_alias_double.
25148 (lround): Likewise.
25149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25150 <libm-alias-double.h>.
25151 (copysign): Define using libm_alias_double.
25152 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25153 <libm-alias-double.h>.
25154 (llrint): Define using libm_alias_double.
25155 (lrint): Likewise.
25156 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25157 <libm-alias-double.h>.
25158 (llround): Define using libm_alias_double.
25159 (lround): Likewise.
25160 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25161 <libm-alias-double.h>.
25162 (llrint): Define using libm_alias_double.
25163 (lrint): Likewise.
25164 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25165 <libm-alias-double.h>.
25166 (llround): Define using libm_alias_double.
25167 (lround): Likewise.
25168
ec2cf3f4
JM
251692017-12-01 Joseph Myers <joseph@codesourcery.com>
25170
0ddde474
JM
25171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25172 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25173 compat symbol based on llround.
25174
0d5ba561
JM
25175 * sysdeps/powerpc/power7/fpu/s_logb.c
25176 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25177 symbol based on __logb, not on logb.
25178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25179 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25181 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25182
51ea3b20
JM
25183 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25184 (rint): Define using libm_alias_double.
25185 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25186 <libm-alias-double.h>.
25187 (modf): Define using libm_alias_double.
25188 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25189 <libm-alias-double.h>.
25190 (ceil): Define using libm_alias_double.
25191 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25192 <libm-alias-double.h>.
25193 (floor): Define using libm_alias_double.
25194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25195 <libm-alias-double.h>.
25196 (nearbyint): Define using libm_alias_double.
25197 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25198 <libm-alias-double.h>.
25199 (rint): Define using libm_alias_double.
25200 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25201 <libm-alias-double.h>.
25202 (round): Define using libm_alias_double.
25203 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25204 <libm-alias-double.h>.
25205 (trunc): Define using libm_alias_double.
25206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25207 <libm-alias-double.h>.
25208 (ceil): Define using libm_alias_double.
25209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25210 Include <libm-alias-double.h>.
25211 (floor): Define using libm_alias_double.
25212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25213 <libm-alias-double.h>.
25214 (modf): Define using libm_alias_double.
25215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25216 Include <libm-alias-double.h>.
25217 (round): Define using libm_alias_double.
25218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25219 Include <libm-alias-double.h>.
25220 (trunc): Define using libm_alias_double.
25221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25222 <libm-alias-double.h>.
25223 (ceil): Define using libm_alias_double.
25224 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25225 <libm-alias-double.h>.
25226 (floor): Define using libm_alias_double.
25227 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25228 <libm-alias-double.h>.
25229 (round): Define using libm_alias_double.
25230 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25231 <libm-alias-double.h>.
25232 (trunc): Define using libm_alias_double.
25233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25234 <libm-alias-double.h>.
25235 (ceil): Define using libm_alias_double.
25236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25237 <libm-alias-double.h>.
25238 (floor): Define using libm_alias_double.
25239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25240 <libm-alias-double.h>.
25241 (modf): Define using libm_alias_double.
25242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25243 <libm-alias-double.h>.
25244 (round): Define using libm_alias_double.
25245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25246 <libm-alias-double.h>.
25247 (trunc): Define using libm_alias_double.
25248 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25249 <libm-alias-double.h>.
25250 (ceil): Define using libm_alias_double.
25251 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25252 <libm-alias-double.h>.
25253 (floor): Define using libm_alias_double.
25254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25255 <libm-alias-double.h>.
25256 (nearbyint): Define using libm_alias_double.
25257 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25258 <libm-alias-double.h>.
25259 (rint): Define using libm_alias_double.
25260 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25261 <libm-alias-double.h>.
25262 (round): Define using libm_alias_double.
25263 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25264 <libm-alias-double.h>.
25265 (trunc): Define using libm_alias_double.
25266 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25267 <libm-alias-double.h>.
25268 (ceil): Define using libm_alias_double.
25269 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25270 <libm-alias-double.h>.
25271 (floor): Define using libm_alias_double.
25272 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25273 <libm-alias-double.h>.
25274 (round): Define using libm_alias_double.
25275 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25276 <libm-alias-double.h>.
25277 (trunc): Define using libm_alias_double.
25278
ec2cf3f4
JM
25279 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25280 (fabs): Define using libm_alias_double.
25281 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25282 (fma): Define using libm_alias_double.
25283 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25284 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25286 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25287
5b7bd975
AZ
252882017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25289
0594b13f
AZ
25290 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25291
dbdfcf3b
AZ
25292 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25293 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25294 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25295
5b7bd975
AZ
25296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25297 due redirect macro.
25298
ef9ecfa6
AS
252992017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25300
25301 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25302
5b4e5e78
AZ
253032017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25304
2a14526b
AZ
25305 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25306 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25307 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25308 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25309
dbeb74ef 25310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
25311 (libm-sysdep_routines): Add s_nearbyintf-generic and
25312 s_nearbyint-generic.
25313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25314 New file.
25315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25317 Likewise.
25318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25319 Likewise.
25320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25321 file.
25322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25323 Likewise.
25324
25325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
25326 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25328 file.
25329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25331 Likewise.
25332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25335
fa7ded96
AZ
25336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25337 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25339 file.
25340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25342 Likewise.
25343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25346
e240cf0e
AZ
25347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25348 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25350 file.
25351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25353 Likewise.
25354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25357
5b4e5e78
AZ
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25359 (sysdep_calls): New rule.
25360 (sysdep_routines): Use sysdep_calls as base.
25361 (libm-sysdep_routines): Add generic rule for symbols shared with
25362 libc. Add s_copysign-generic and s_copysign-generic objects.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25364 New file.
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25367 Likewise.
25368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25371
d985adae
MF
253722017-12-01 Mike FABIAN <mfabian@redhat.com>
25373
25374 [BZ #22519]
25375 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25376 the list of locales to be built for testing.
25377 * localedata/is_IS.UTF-8.in: New file.
25378 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25379 on iso14651_t1.
25380
ff84a0e0
JM
253812017-12-01 Joseph Myers <joseph@codesourcery.com>
25382
25383 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25384 <libm-alias-float.h>.
25385 (fabsf): Define using libm_alias_float.
25386
ef5d8b43
L
253872017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25388
25389 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25390
c0535adf
JM
253912017-11-30 Joseph Myers <joseph@codesourcery.com>
25392
f938b397
JM
25393 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25394 <libm-alias-float.h>.
25395 (fabsf): Define using libm_alias_float.
25396 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25397 <libm-alias-float.h>.
25398 (lrintf): Define using libm_alias_float.
25399 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25400 <libm-alias-float.h>.
25401 (rintf): Define using libm_alias_float.
25402
2251fad0
JM
25403 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25404 <libm-alias-double.h>.
25405 (fabs): Define using libm_alias_double.
25406 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25407 <libm-alias-double.h>.
25408 (lrint): Define using libm_alias_double.
25409 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25410 <libm-alias-double.h>.
25411 (rint): Define using libm_alias_double.
25412
e53df1de
JM
25413 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25414 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25415 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25416 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25417 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25418 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25419 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25420 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25421 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25422 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25423 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25424 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25425 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25426 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25427 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25428 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25429 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25430 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25431 s_atan_template.c.
25432 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25433 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25434 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25435 s_ceil_template.c.
25436 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25437 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25438 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25439 s_cos_template.c.
25440 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25441 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25442 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25443 s_expm1_template.c.
25444 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25445 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25446 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25447 s_fabs_template.c.
25448 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25449 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25450 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25451 s_floor_template.c.
25452 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25453 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25454 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25455 s_frexp_template.c.
25456 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25457 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25458 s_lrint_template.c.
25459 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25460 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25461 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25462 s_modf_template.c.
25463 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25464 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25465 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25466 s_nearbyint_template.c.
25467 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25468 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25469 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25470 s_remquo_template.c.
25471 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25472 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25473 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25474 s_rint_template.c.
25475 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25476 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25477 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25478 s_sin_template.c.
25479 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25480 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25481 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25482 s_sincos_template.c.
25483 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25484 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25485 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25486 s_tan_template.c.
25487 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25488 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25489 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25490 s_tanh_template.c.
25491 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25492 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25493 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25494 s_trunc_template.c.
25495 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25496 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25497 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25498 s_atan.c instead of including s_atan.c.
25499 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25500 s_atanf.c instead of including s_atanf.c.
25501 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25502 s_atanl.c instead of including s_atanl.c.
25503 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25504 instead of s_atan.c.
25505 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25506 instead of s_atanf.c.
25507 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25508 instead of s_atanl.c.
25509
c0535adf
JM
25510 * scripts/update-copyrights: Do not handle intl/plural.c
25511 specially.
25512
1faaf703
JB
255132017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25514
25515 [BZ #22432]
25516 * configure.ac (BISON): Require to be present.
25517 * configure: Regenerated.
25518 * intl/Makefile (generated): Add plural.c.
25519 [$(BISON) != no]: Make code unconditional.
25520 (plural.c): Change rule to $(objpfx)plural.c.
25521 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25522 * intl/plural.c: Remove.
25523 * manual/install.texi (Tools for Compilation): Document bison as
25524 required.
25525 * INSTALL: Regenerated.
25526
faec6323
JM
255272017-11-30 Joseph Myers <joseph@codesourcery.com>
25528
bd6ea9ed
JM
25529 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25530 <libm-alias-double.h>.
25531 (llrint): Define using libm_alias_double.
25532 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25533 <libm-alias-float.h>.
25534 (llrintf): Define using libm_alias_float.
25535 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25536 <libm-alias-ldouble.h>.
25537 (llrintl): Define using libm_alias_ldouble.
25538
faec6323
JM
25539 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25540 declare_mgen_alias instead of weak_alias.
25541 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25542 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25543 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25544
023cade3
AZ
255452017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25546
9e2279a0
AZ
25547 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25548 Add add_n-generic.
25549 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25550 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25551 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25552
75f37c71
AZ
25553 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25554 Add submul_1-generic.
25555 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25556 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25557 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25558
b70cbbfc 25559 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
25560 Add addmul_1-generic.
25561 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25562 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25563 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25564
25565 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
25566 Add sub_n-generic.
25567 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25568 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25569 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25570
023cade3
AZ
25571 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25572 Add mul_1-generic.
25573 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25574 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25575 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25576
fbb5fd03
MF
255772017-11-30 Mike FABIAN <mfabian@redhat.com>
25578
25579 According to CLDR, collation rules for Serbian and Bosnian
25580 should be the same as for Croatian.
25581
25582 [BZ #22534]
25583 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25584 and to the list of locales to be built for testing.
25585 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25586 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25587 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25588 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25589
5e56e937
MF
255902017-11-30 Mike FABIAN <mfabian@redhat.com>
25591
25592 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25593 to make test case pass.
25594 * localedata/hr_HR.UTF-8.in: Add more test strings.
25595
cf4341ca
MF
255962017-11-30 Mike FABIAN <mfabian@redhat.com>
25597
25598 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25599
363e4519 256002017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
25601
25602 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25603 the list of locales to built for testing.
25604 * localedata/hr_HR.UTF-8.in: New file.
25605
363e4519 256062017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
25607
25608 [BZ #10580]
25609 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25610 iso14651_t1.
25611 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25612 CLDR (except use ligatures for the digraphs, CLDR does not use
25613 the ligatures), add first_workday, some fixes in the date and time
25614 formats.
25615 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25616 for Đ and đ.
25617 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25618 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25619 Add int_p_cs_precedes and int_n_cs_precedes.
25620 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25621 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25622 LC_MONETARY now).
25623 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25624 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25625 name_miss.
25626 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25627 and lang_lib. Change postal_fmt.
25628
f33632cc
L
256292017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25630
25631 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25632 <setjmp.h>.
25633 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25634 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25635 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25636 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25637 * sysdeps/generic/setjmpP.h: New file.
25638 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25639 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25640 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25641 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25642 Add jmp_buf-ssp.sym.
25643 (tests): Add tst-saved_mask-1.
25644
34697694
AS
256452017-11-30 Arjun Shankar <arjun@redhat.com>
25646
25647 [BZ #22375]
37ac8e63 25648 CVE-2017-17426
34697694
AS
25649 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25650 instead of request2size.
25651
3e5efdbd
JM
256522017-11-30 Joseph Myers <joseph@codesourcery.com>
25653
18305fba
JM
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25655 (__lllrint): Remove alias.
25656 (lllrint): Likewise.
25657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25658 (__lllrintf): Likewise.
25659 (lllrintf): Likewise.
25660
3e5efdbd
JM
25661 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25662 <libm-alias-float.h>.
25663 (copysignf): Define using libm_alias_float.
25664 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25665 <libm-alias-float.h>.
25666 (fabsf): Define using libm_alias_float.
25667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25668 Include <libm-alias-float.h>.
25669 (copysignf): Define using libm_alias_float.
25670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25671 <libm-alias-float.h>.
25672 (fabsf): Define using libm_alias_float.
25673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25674 <libm-alias-float.h>.
25675 (fdimf): Define using libm_alias_float.
25676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25677 <libm-alias-float.h>.
25678 (fmaf): Define using libm_alias_float.
25679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25680 <libm-alias-float.h>.
25681 (llrintf): Define using libm_alias_float.
25682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25683 Include <libm-alias-float.h>.
25684 (nearbyintf): Define using libm_alias_float.
25685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25686 <libm-alias-float.h>.
25687 (rintf): Define using libm_alias_float.
25688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25689 <libm-alias-float.h>.
25690 (llrintf): Define using libm_alias_float.
25691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25692 <libm-alias-float.h>.
25693 (lrintf): Define using libm_alias_float.
25694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25695 <libm-alias-float.h>.
25696 (nearbyintf): Define using libm_alias_float.
25697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25698 <libm-alias-float.h>.
25699 (rintf): Define using libm_alias_float.
25700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25701 <libm-alias-float.h>.
25702 (ceilf): Define using libm_alias_float.
25703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25704 <libm-alias-float.h>.
25705 (floorf): Define using libm_alias_float.
25706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25707 <libm-alias-float.h>.
25708 (fmaf): Define using libm_alias_float.
25709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25710 <libm-alias-float.h>.
25711 (lrintf): Define using libm_alias_float.
25712 (llrintf): Likewise.
25713 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25714 <libm-alias-float.h>.
25715 (nearbyintf): Define using libm_alias_float.
25716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25717 <libm-alias-float.h>.
25718 (rintf): Define using libm_alias_float.
25719 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25720 <libm-alias-float.h>.
25721 (truncf): Define using libm_alias_float.
25722 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25723 <libm-alias-float.h>.
25724 (copysignf): Define using libm_alias_float.
25725 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25726 <libm-alias-float.h>.
25727 (fabsf): Define using libm_alias_float.
25728 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25729 <libm-alias-float.h>.
25730 (lrintf): Define using libm_alias_float.
25731 (llrintf): Likewise.
25732 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25733 <libm-alias-float.h>.
25734 (nearbyintf): Define using libm_alias_float.
25735 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25736 <libm-alias-float.h>.
25737 (rintf): Define using libm_alias_float.
25738
011fba7e
JM
257392017-11-29 Joseph Myers <joseph@codesourcery.com>
25740
875cd548
JM
25741 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25742 <libm-alias-double.h>.
25743 (copysign): Define using libm_alias_double.
25744 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25745 <libm-alias-double.h>.
25746 (fabs): Define using libm_alias_double.
25747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25748 Include <libm-alias-double.h>.
25749 (copysign): Define using libm_alias_double.
25750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25751 <libm-alias-double.h>.
25752 (fabs): Define using libm_alias_double.
25753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25754 <libm-alias-double.h>.
25755 (fdim): Define using libm_alias_double.
25756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25757 <libm-alias-double.h>.
25758 (fma): Define using libm_alias_double.
25759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25760 <libm-alias-double.h>.
25761 (llrint): Define using libm_alias_double.
25762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25763 Include <libm-alias-double.h>.
25764 (nearbyint): Define using libm_alias_double.
25765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25766 <libm-alias-double.h>.
25767 (rint): Define using libm_alias_double.
25768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25769 <libm-alias-double.h>.
25770 (fabs): Define using libm_alias_double.
25771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25772 <libm-alias-double.h>.
25773 (llrint): Define using libm_alias_double.
25774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25775 <libm-alias-double.h>.
25776 (nearbyint): Define using libm_alias_double.
25777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25778 <libm-alias-double.h>.
25779 (rint): Define using libm_alias_double.
25780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25781 <libm-alias-double.h>.
25782 (ceil): Define using libm_alias_double.
25783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25784 <libm-alias-double.h>.
25785 (floor): Define using libm_alias_double.
25786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25787 <libm-alias-double.h>.
25788 (fma): Define using libm_alias_double.
25789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25790 <libm-alias-double.h>.
25791 (lrint): Define using libm_alias_double.
25792 (llrint): Likewise.
25793 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25794 <libm-alias-double.h>.
25795 (nearbyint): Define using libm_alias_double.
25796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25797 <libm-alias-double.h>.
25798 (rint): Define using libm_alias_double.
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25800 <libm-alias-double.h>.
25801 (trunc): Define using libm_alias_double.
25802 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25803 <libm-alias-double.h>.
25804 (copysign): Define using libm_alias_double.
25805 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25806 <libm-alias-double.h>.
25807 (fabs): Define using libm_alias_double.
25808 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25809 <libm-alias-double.h>.
25810 (lrint): Define using libm_alias_double.
25811 (llrint): Likewise.
25812 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25813 <libm-alias-double.h>.
25814 (nearbyint): Define using libm_alias_double.
25815 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25816 <libm-alias-double.h>.
25817 (rint): Define using libm_alias_double.
25818
cf4ebc27
JM
25819 [BZ #22229]
25820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25821 <math_ldbl_opt.h>.
25822 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25823
0c097378
JM
25824 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25825 SPARC --disable-multi-arch glibc variants.
25826
34bb10aa
JM
25827 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25828 <libm-alias-float.h>.
25829 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25830 if [SHARED].
25831 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25832 <libm-alias-float.h>.
25833 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25834 if [SHARED].
25835 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25836 <libm-alias-float.h>.
25837 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25838 if [SHARED].
25839 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25840 <libm-alias-float.h>.
25841 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25842 if [SHARED].
25843 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25844 <libm-alias-float.h>.
25845 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25846 if [SHARED].
25847 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25848 <libm-alias-float.h>.
25849 (ceilf): Define using libm_alias_float.
25850 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25851 <libm-alias-float.h>.
25852 (floorf): Define using libm_alias_float.
25853 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25854 <libm-alias-float.h>.
25855 (fmaf): Define using libm_alias_float.
25856 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25857 <libm-alias-float.h>.
25858 (nearbyintf): Define using libm_alias_float.
25859 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25860 <libm-alias-float.h>.
25861 (rintf): Define using libm_alias_float.
25862 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25863 <libm-alias-float.h>.
25864 (truncf): Define using libm_alias_float.
25865 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25866 (copysignf): Define using libm_alias_float.
25867 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25868 (cosf): Define using libm_alias_float.
25869 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25870 (fabsf): Define using libm_alias_float.
25871 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25872 (fmaxf): Define using libm_alias_float.
25873 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25874 (fminf): Define using libm_alias_float.
25875 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25876 (llrintf): Define using libm_alias_float.
25877 [!__ILP32__] (lrintf): Likewise.
25878 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25879 (sincosf): Define using libm_alias_float.
25880 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25881 (sinf): Define using libm_alias_float.
25882 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25883 (lrintf): Define using libm_alias_float.
25884
011fba7e
JM
25885 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25886 <libm-alias-double.h>.
25887 (atan): Define using libm_alias_double.
25888 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25889 <libm-alias-double.h>.
25890 (ceil): Define using libm_alias_double.
25891 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25892 <libm-alias-double.h>.
25893 (floor): Define using libm_alias_double.
25894 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25895 <libm-alias-double.h>.
25896 (fma): Define using libm_alias_double.
25897 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25898 <libm-alias-double.h>.
25899 (nearbyint): Define using libm_alias_double.
25900 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25901 <libm-alias-double.h>.
25902 (rint): Define using libm_alias_double.
25903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25904 <libm-alias-double.h>.
25905 (sin): Define using libm_alias_double.
25906 (cos): Likewise.
25907 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25908 <libm-alias-double.h>.
25909 (tan): Define using libm_alias_double.
25910 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25911 <libm-alias-double.h>.
25912 (trunc): Define using libm_alias_double.
25913 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25914 (copysign): Define using libm_alias_double.
25915 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25916 (fabs): Define using libm_alias_double.
25917 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25918 (fmax): Define using libm_alias_double.
25919 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25920 (fmin): Define using libm_alias_double.
25921 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25922 (llrint): Define using libm_alias_double.
25923 [!__ILP32__] (lrint): Likewise.
25924 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25925 (lrint): Define using libm_alias_double.
25926
1cbd7bfe
AZ
259272017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25928
21bfcc3d
AZ
25929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25930 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25931 objects.
25932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25938
522228dd
AZ
25939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25940 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25941 objects.
25942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25948
2a6f4fab
AZ
25949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25950 (libm-sysdep_routines): Add s_nearbyint-generic and
25951 s_nearbyintf-generic objects.
25952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25954 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25956 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25958
712b5b83
AZ
25959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25960 Add s_finitef-generic and s_finite-generic objects.
25961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25967
c96d3335
AZ
25968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25969 Add s_isinff-generic and s_isinf-generic objects.
25970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25976
c6862a23
AZ
25977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25978 Add s_isnanf-generic and s_isnan-generic objects.
25979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25985
1cbd7bfe
AZ
25986 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25987 macro.
25988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25989 rule.
25990 (sysdep_routines): Use sysdep_calls as base.
25991 (libm-sysdep_routines): Add generic rule for symbols shared with
25992 libc. Add s_signbit-generic and s_signbitf-generic objects.
25993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25999
aa1142c5
JM
260002017-11-29 Joseph Myers <joseph@codesourcery.com>
26001
26002 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26003 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26004 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26005 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26006 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26007 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26008 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26009 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26010 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26011 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26012 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26013 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26014 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26015 libm_alias_float_r.
26016 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26017 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26018 (logf): Likewise.
26019 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26020 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26021 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26022 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26023 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26024 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26025 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26026 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26027 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26028 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26029 libm_alias_float.
26030 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26031 (cosf): Likewise.
26032 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26033 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26034 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26035 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26036 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26037 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26038 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26039 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26040 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26041 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26042 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26043 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26044 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26045 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26046 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26047 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26048 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26049 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26050 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26051 libm_alias_float.
26052 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26053 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26054 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26055 * sysdeps/ia64/fpu/w_lgammaf_main.c
26056 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26057 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26058
363e4519
DL
260592017-11-28 Mike FABIAN <mfabian@redhat.com>
26060 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
26061
26062 [BZ #17750]
26063 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26064 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26065 accents sorting.
26066 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26067 sorting.
26068 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26069 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26070 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26071 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26072 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26073 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26074 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26075 instead of “ifdef DIACRIT_BACKWARD”.
26076
a55430cb
AZ
260772017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26078
26079 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26080 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26081 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26082 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26083 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26084 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26091 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26092 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26093 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26094 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26095 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26096 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26098 ($(have-as-vis3) == yes): Remove conditional.
26099 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26100 Likewise.
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26102 file.
26103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26104 file.
26105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26106 file.
26107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26108 file.
26109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26115 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26116 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26117
0609ec0a
JM
261182017-11-29 Joseph Myers <joseph@codesourcery.com>
26119
26120 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26121 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26122 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26123 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26124 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26125 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26126 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26127 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26128 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26129 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26130 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26131 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26132 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26133 libm_alias_double_r.
26134 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26135 (log): Likewise.
26136 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26137 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26138 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26139 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26140 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26141 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26142 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26143 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26144 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26145 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26146 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26147 libm_alias_double.
26148 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26149 (cos): Likewise.
26150 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26151 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26152 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26153 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26154 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26155 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26156 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26157 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26158 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26159 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26160 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26161 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26162 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26163 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26164 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26165 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26166 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26167 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26168 libm_alias_double.
26169 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26170 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26171 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26172 * sysdeps/ia64/fpu/w_lgamma_main.c
26173 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26174 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26175
d5bfa34a
JDA
261762017-11-28 John David Anglin <danglin@gcc.gnu.org>
26177
26178 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26179 address of $global$ into %dp register earlier. Use pc-relative
26180 instruction sequence for PIC case.
26181
bc4e8f9b
JM
261822017-11-28 Joseph Myers <joseph@codesourcery.com>
26183
e4602cba
JM
26184 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26185 (asinhf): Define using libm_alias_float.
26186 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26187 (atanf): Define using libm_alias_float.
26188 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26189 (cbrtf): Define using libm_alias_float.
26190 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26191 (ceilf): Define using libm_alias_float.
26192 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26193 (copysignf): Define using libm_alias_float.
26194 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26195 (expm1f): Define using libm_alias_float.
26196 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26197 (fabsf): Define using libm_alias_float.
26198 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26199 (floorf): Define using libm_alias_float.
26200 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26201 (fmaxf): Define using libm_alias_float.
26202 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26203 (fminf): Define using libm_alias_float.
26204 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26205 (frexpf): Define using libm_alias_float.
26206 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26207 (llrintf): Define using libm_alias_float.
26208 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26209 (logbf): Define using libm_alias_float.
26210 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26211 (lrintf): Define using libm_alias_float.
26212 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26213 (nearbyintf): Define using libm_alias_float.
26214 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26215 (remquof): Define using libm_alias_float.
26216 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26217 (rintf): Define using libm_alias_float.
26218 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26219 (truncf): Define using libm_alias_float.
26220 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26221 <libm-alias-float.h>.
26222 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26223 if [SHARED].
26224 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26225 <libm-alias-float.h>.
26226 (expf): Define using libm_alias_float, or libm_alias_float_other
26227 if [SHARED].
26228 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26229 <libm-alias-float.h>.
26230 (log2f): Define using libm_alias_float, or libm_alias_float_other
26231 if [SHARED].
26232 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26233 <libm-alias-float.h>.
26234 (logf): Define using libm_alias_float, or libm_alias_float_other
26235 if [SHARED].
26236 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26237 <libm-alias-float.h>.
26238 (powf): Define using libm_alias_float, or libm_alias_float_other
26239 if [SHARED].
26240 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26241 <libm-alias-float.h>.
26242 (cosf): Define using libm_alias_float.
26243 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26244 <libm-alias-float.h>.
26245 (sincosf): Define using libm_alias_float.
26246 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26247 <libm-alias-float.h>.
26248 (sinf): Define using libm_alias_float.
26249 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26250 (fmaxf): Define using libm_alias_float.
26251 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26252 (fminf): Define using libm_alias_float.
26253 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26254 <libm-alias-float.h>.
26255 (fmaf): Define using libm_alias_float.
26256
bc4e8f9b
JM
26257 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26258 (asinh): Define using libm_alias_double.
26259 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26260 (atan): Define using libm_alias_double.
26261 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26262 (cbrt): Define using libm_alias_double.
26263 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26264 (ceil): Define using libm_alias_double.
26265 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26266 (copysign): Define using libm_alias_double.
26267 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26268 (expm1): Define using libm_alias_double.
26269 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26270 (fabs): Define using libm_alias_double.
26271 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26272 (fdim): Define using libm_alias_double.
26273 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26274 (floor): Define using libm_alias_double.
26275 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26276 (fmax): Define using libm_alias_double.
26277 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26278 (fmin): Define using libm_alias_double.
26279 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26280 (frexp): Define using libm_alias_double.
26281 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26282 (llrint): Define using libm_alias_double.
26283 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26284 (logb): Define using libm_alias_double.
26285 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26286 (lrint): Define using libm_alias_double.
26287 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26288 (nearbyint): Define using libm_alias_double.
26289 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26290 (remquo): Define using libm_alias_double.
26291 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26292 (rint): Define using libm_alias_double.
26293 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26294 (trunc): Define using libm_alias_double.
26295 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26296 (fmax): Define using libm_alias_double.
26297 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26298 (fmin): Define using libm_alias_double.
26299 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26300 (fma): Define using libm_alias_double.
26301
8d81ce0c
L
263022017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26303
26304 [BZ #22370]
26305 * elf/dl-hwcaps.c (ROUND): Removed.
26306 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26307 and ELF_NOTE_NEXT_OFFSET.
26308 * elf/dl-load.c (ROUND): Removed.
26309 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26310 * elf/readelflib.c (ROUND): Removed.
26311 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26312 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26313 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26314 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26315
6940bd96
JM
263162017-11-28 Joseph Myers <joseph@codesourcery.com>
26317
313ba463
JM
26318 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26319 [!__fmaf] (fmaf): Define using libm_alias_float.
26320
6940bd96
JM
26321 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26322 [!__fma] (fma): Define using libm_alias_double.
26323 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26324
22c69b6a
MF
263252017-11-28 Mike FABIAN <mfabian@redhat.com>
26326
26327 [BZ #22336]
26328 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26329 and implement the collation rules for cs from CLDR on top of that.
26330 * Makefile: Add cs_CZ.UTF-8 to test-input.
26331 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26332
8d7d3ba8
SP
263332017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26334
26335 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26336
0422ed1e
VR
263372017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26338 Icarus Sparry <icarus.w.sparry@intel.com>
26339
26340 * benchtests/Makefile:Add BENCHSET to allow subsets of
26341 benchmarks to be run.
26342 * benchtests/README: Add documentation for: Running subsets of
26343 benchmarks.
26344
0595e360
VR
263452017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26346
d5090db3
VR
26347 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26348 range of tests names.
26349
0595e360
VR
26350 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26351 result from property and remove "max", min" and "mean" from
26352 required properties based on benchtests/bench-skeleton.c.
26353
b4c645c2
FW
263542017-11-28 Florian Weimer <fweimer@redhat.com>
26355
26356 [BZ #20826]
26357 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26358 due to Internet requirement.
26359 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26360 tst-getaddrinfo5.
26361 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26362
88684de7
AZ
263632017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26364
69056564
AZ
26365 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26366 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26367 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26368 (sysdep_routines): Add memset-ultra1.
26369 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26370 file.
26371 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26372 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26373 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26374 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26375 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26376 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26377 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26378 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26379
88684de7
AZ
26380 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26381 file.
26382 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26383 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26384 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26385 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26386 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26387 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26388 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26389 macro.
26390 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26391 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26392 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26393 (sysdep_routines): Add memcpy-ultra1.
26394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26395 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26396
d8124864
JM
263972017-11-28 Joseph Myers <joseph@codesourcery.com>
26398
f433d0b3
JM
26399 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26400 (cfloat_versions): Take function argument without trailing 'f'.
26401 Call libm_alias_float_other.
26402 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26403 * sysdeps/alpha/fpu/cargf.c: Likewise.
26404 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26405 * sysdeps/alpha/fpu/conjf.c: Likewise.
26406 * sysdeps/alpha/fpu/crealf.c: Likewise.
26407 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26408 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26409 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26410 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26411 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26412 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26413 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26414 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26415 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26416 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26417 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26418 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26419 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26420 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26421 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26422 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26423 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26424 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26425 (clog10f): Use libm_alias_float_other.
26426 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26427 (ceilf): Define using libm_alias_float.
26428 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26429 (copysignf): Define using libm_alias_float.
26430 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26431 (fabsf): Define using libm_alias_float.
26432 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26433 (floorf): Define using libm_alias_float.
26434 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26435 (fmaxf): Define using libm_alias_float.
26436 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26437 (fminf): Define using libm_alias_float.
26438 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26439 (lrintf): Define using libm_alias_float.
26440 (llrintf): Likewise.
26441 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26442 (lroundf): Define using libm_alias_float.
26443 (llroundf): Likewise.
26444 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26445 (rintf): Define using libm_alias_float.
26446 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26447 (truncf): Define using libm_alias_float.
26448
15ff4900
JM
26449 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26450 (ceilf): Define using libm_alias_float.
26451 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26452 (floorf): Define using libm_alias_float.
26453 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26454 (fmaf): Define using libm_alias_float.
26455 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26456 (fmaxf): Define using libm_alias_float.
26457 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26458 (fminf): Define using libm_alias_float.
26459 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26460 (llrintf): Define using libm_alias_float.
26461 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26462 (llroundf): Define using libm_alias_float.
26463 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26464 (lrintf): Define using libm_alias_float.
26465 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26466 (lroundf): Define using libm_alias_float.
26467 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26468 <libm-alias-float.h>.
26469 (nearbyintf): Define using libm_alias_float.
26470 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26471 (rintf): Define using libm_alias_float.
26472 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26473 (roundf): Define using libm_alias_float.
26474 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26475 (truncf): Define using libm_alias_float.
26476
5de60638
JM
26477 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26478 (ceil): Define using libm_alias_double.
26479 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26480 (copysign): Define using libm_alias_double.
26481 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26482 (fabs): Define using libm_alias_double.
26483 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26484 (floor): Define using libm_alias_double.
26485 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26486 (fmax): Define using libm_alias_double.
26487 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26488 (fmin): Define using libm_alias_double.
26489 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26490 (lrint): Define using libm_alias_double.
26491 (llrint): Likewise.
26492 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26493 (lround): Define using libm_alias_double.
26494 (llround): Likewise.
26495 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26496 (rint): Define using libm_alias_double.
26497 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26498 (trunc): Define using libm_alias_double.
26499
d8124864
JM
26500 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26501 (libm_alias_double_r): Add semicolon after weak_alias call.
26502
f07d2ec8
JM
265032017-11-27 Joseph Myers <joseph@codesourcery.com>
26504
26505 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26506 (ceil): Define using libm_alias_double.
26507 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26508 (floor): Define using libm_alias_double.
26509 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26510 (fma): Define using libm_alias_double.
26511 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26512 (fmax): Define using libm_alias_double.
26513 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26514 (fmin): Define using libm_alias_double.
26515 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26516 (llrint): Define using libm_alias_double.
26517 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26518 (llround): Define using libm_alias_double.
26519 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26520 (lrint): Define using libm_alias_double.
26521 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26522 (lround): Define using libm_alias_double.
26523 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26524 (nearbyint): Define using libm_alias_double.
26525 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26526 (rint): Define using libm_alias_double.
26527 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26528 (round): Define using libm_alias_double.
26529 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26530 (trunc): Define using libm_alias_double.
26531
4bab0224
FW
265322017-11-27 Florian Weimer <fweimer@redhat.com>
26533
26534 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26535 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26536 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26537 (tests): Add tst-mlock2.
26538 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26539 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26540 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26541 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26542 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26543 for mlock. Document mlock2.
26544
a23aa5b7
JM
265452017-11-27 Joseph Myers <joseph@codesourcery.com>
26546
26547 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26548 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26549 Likewise.
26550 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26551 Likewise.
26552 * sysdeps/x86/Makeconfig: New file.
26553 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26554 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26555 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26556 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26557 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26558 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26559 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26560 Likewise.
26561 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26562 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26563 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26564 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26565 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26566 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26567 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26568 * manual/math.texi (Mathematics): Document support for _Float64x.
26569 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26570 * stdlib/Versions (GLIBC_2.27): Likewise.
26571 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26572 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26574 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26575 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26576 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26578 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26579 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26580 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26581 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26582 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26584 Likewise.
26585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26586 Likewise.
26587 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26588 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26589 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26590 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26591 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26592 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26593 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26597 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26598 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26599 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26600 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26601
c2c299fd
AS
266022017-11-27 Andreas Schwab <schwab@suse.de>
26603
26604 * elf/Makefile (dl-routines): Add dl-sort-maps.
26605 * elf/dl-sort-maps.c: New file.
26606 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26607 (_dl_sort_maps): Declare.
26608 * elf/dl-fini.c (_dl_sort_fini): Remove.
26609 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26610 * elf/dl-close.c (_dl_close_worker): Likewise.
26611 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26612 open-coding it.
26613 * elf/dl-open.c (dl_open_worker): Likewise.
26614
9d4b0117
JM
266152017-11-24 Joseph Myers <joseph@codesourcery.com>
26616
de61465c
JM
26617 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26618 using libm_alias_float128.
26619 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26620 Likewise.
26621 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26622 Likewise.
26623 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26624 (setpayloadsigf128): Likewise.
26625 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26626 Likewise.
26627 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26628 Likewise.
26629
9ae6d171
JM
26630 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26631 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26632 -mfloat128 to CFLAGS.
26633 ($(foreach
26634 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26635 Likewise.
26636 (CFLAGS-libm-test-support-float64x.c): New variable.
26637 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26638 $(f128-loader-link) to gnulib-tests.
26639
6e70d156
JM
26640 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26641 (libm_alias_float128_other_r): If
26642 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26643 alias.
26644 (libm_alias_float128_r): Add semicolon after weak_alias call.
26645 * sysdeps/generic/libm-alias-ldouble.h
26646 (libm_alias_ldouble_other_r_f128): New macro.
26647 (libm_alias_ldouble_other_r_f64x): Likewise.
26648 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26649 and libm_alias_ldouble_other_r_f64x.
26650 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26651 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26652 (libm_alias_ldouble_other_r_f128): New macro.
26653 (libm_alias_ldouble_other_r_f64x): Likewise.
26654 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26655 and libm_alias_ldouble_other_r_f64x.
26656
df2806cd
JM
26657 * stdlib/strfroml.c: Always include <stdlib.h>.
26658 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26659 undefine as macro and define as weak alias.
26660 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26661 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26662 <stdlib.h>.
26663 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26664 Define and later undefine as macro and define as weak alias.
26665
0df4fe35
JM
26666 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26667 Define and later undefine as macro. Define as weak alias if
26668 [!USE_WIDE_CHAR].
26669 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26670 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26671 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26672 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26673 Define and later undefine as macro. Define as weak alias if
26674 [!USE_WIDE_CHAR].
26675 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26676 Define and later undefine as macro. Define as weak alias if
26677 [USE_WIDE_CHAR].
26678 * sysdeps/ieee754/float128/strtof128_l.c
26679 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26680 Define and later undefine as macro. Define as weak alias if
26681 [!USE_WIDE_CHAR].
26682 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26683 Define and later undefine as macro. Define as weak alias if
26684 [USE_WIDE_CHAR].
26685 * sysdeps/ieee754/ldbl-128/strtold_l.c
26686 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26687 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26688 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26689 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26690 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26691 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26692 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26693 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26694 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26695 * sysdeps/ieee754/ldbl-96/strtold_l.c
26696 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26697 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26698 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26699 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26700
ae7207d0
JM
26701 * math/test-float64x.h: New file.
26702 * math/Makefile (type-float64x-yes): New variable.
26703 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26704
9596fc69
JM
26705 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26706 function-like macro.
26707 (min_of_type_): Likewise.
26708 (min_of_type_l): Likewise.
26709 (min_of_type_f128): Likewise.
26710 (min_of_type): Pass () as last argument of __MATH_TG.
26711
46453c3c
JM
26712 * stdlib/tst-strtod-round-skeleton.c
26713 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26714 headers.
26715
01e659e7
JM
26716 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26717 for combinations of long double with _Float64 and _Float64x.
26718
5c60afdd
JM
26719 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26720 (__DECL_SIMD_cosf32): Likewise.
26721 (__DECL_SIMD_cosf64): Likewise.
26722 (__DECL_SIMD_cosf32x): Likewise.
26723 (__DECL_SIMD_cosf64x): Likewise.
26724 (__DECL_SIMD_cosf128x): Likewise.
26725 (__DECL_SIMD_sinf16): Likewise.
26726 (__DECL_SIMD_sinf32): Likewise.
26727 (__DECL_SIMD_sinf64): Likewise.
26728 (__DECL_SIMD_sinf32x): Likewise.
26729 (__DECL_SIMD_sinf64x): Likewise.
26730 (__DECL_SIMD_sinf128x): Likewise.
26731 (__DECL_SIMD_sincosf16): Likewise.
26732 (__DECL_SIMD_sincosf32): Likewise.
26733 (__DECL_SIMD_sincosf64): Likewise.
26734 (__DECL_SIMD_sincosf32x): Likewise.
26735 (__DECL_SIMD_sincosf64x): Likewise.
26736 (__DECL_SIMD_sincosf128x): Likewise.
26737 (__DECL_SIMD_logf16): Likewise.
26738 (__DECL_SIMD_logf32): Likewise.
26739 (__DECL_SIMD_logf64): Likewise.
26740 (__DECL_SIMD_logf32x): Likewise.
26741 (__DECL_SIMD_logf64x): Likewise.
26742 (__DECL_SIMD_logf128x): Likewise.
26743 (__DECL_SIMD_expf16): Likewise.
26744 (__DECL_SIMD_expf32): Likewise.
26745 (__DECL_SIMD_expf64): Likewise.
26746 (__DECL_SIMD_expf32x): Likewise.
26747 (__DECL_SIMD_expf64x): Likewise.
26748 (__DECL_SIMD_expf128x): Likewise.
26749 (__DECL_SIMD_powf16): Likewise.
26750 (__DECL_SIMD_powf32): Likewise.
26751 (__DECL_SIMD_powf64): Likewise.
26752 (__DECL_SIMD_powf32x): Likewise.
26753 (__DECL_SIMD_powf64x): Likewise.
26754 (__DECL_SIMD_powf128x): Likewise.
26755
9d4b0117
JM
26756 * stdlib/Versions (libc): Move entries for wcstof128 and
26757 wcstof128_l to ....
26758 * wcsmbs/Versions (libc): ... here.
26759 Include <float128-abi.h>.
26760
7911dd47
FW
267612017-11-24 Florian Weimer <fweimer@redhat.com>
26762
26763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26764 bits/mman-shared.h.
26765 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26766 <bits/mman-shared.h>.
26767 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26768 to ...
26769 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26770 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26771 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26772 <bits/mman-shared.h>.
26773
c45d78aa
AZ
267742017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26775
26776 [BZ #22457]
26777 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26778 posix_memalign/free.
26779 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26780
3ffc4cc1
MF
267812017-11-22 Mike FABIAN <mfabian@redhat.com>
26782
26783 [BZ #22469]
26784 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26785 and implement the collation rules for pl from CLDR on top of that.
26786 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26787 of locales to be built for testing.
26788 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26789
3a327316
JM
267902017-11-23 Joseph Myers <joseph@codesourcery.com>
26791
26792 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26793 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26794 libm_alias_ldouble_other.
26795 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26796 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26797 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26798 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26799 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26800 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26801 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26802 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26803 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26804 libm_alias_ldouble_r.
26805 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26806 libm_alias_ldouble_other.
26807 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26808 (log10l): Likewise.
26809 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26810 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26811 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26812 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26813 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26814 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26815 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26816 (atan2l): Likewise.
26817 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26818 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26819 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26820 libm_alias_ldouble.
26821 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26822 (cosl): Likewise.
26823 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26824 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26825 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26826 (expl): Likewise.
26827 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26828 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26829 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26830 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26831 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26832 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26833 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26834 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26835 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26836 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26837 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26838 libm_alias_ldouble.
26839 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26840 libm_alias_ldouble_other.
26841 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26842 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26843 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26844 libm_alias_ldouble.
26845 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26846 libm_alias_ldouble_other.
26847 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26848 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26849 * sysdeps/ia64/fpu/w_lgammal_main.c
26850 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26851 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26852
0a947e06
FW
268532017-11-23 Florian Weimer <fweimer@redhat.com>
26854
26855 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26856 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26857 alike. Remove freeres marker.
26858 * malloc/arena.c (arena_thread_freeres): Call
26859 tcache_thread_shutdown.
26860
67f36c79
FW
268612017-11-23 Florian Weimer <fweimer@redhat.com>
26862
26863 [BZ #22459]
26864 Export nscd hash function as __nss_hash.
26865 * include/nss.h (__nss_hash): Declare.
26866 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26867 symbol.
26868 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26869 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26870 of __nscd_hash.
26871 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26872 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26873 * nss/Makefiles (routines): Add nss_hash.
26874 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26875 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26876 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26877 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26878
cccb6d4e
FW
268792017-11-23 Florian Weimer <fweimer@redhat.com>
26880
26881 [BZ #22478]
26882 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26883 Return error code, not -1.
26884 * signal/tst-sigwait-eintr.c: New file.
26885 * signal/Makefile (tests): Add tst-sigwait-eintr.
26886
59d2cbb1
FW
268872017-11-23 Florian Weimer <fweimer@redhat.com>
26888
26889 Linux: Add memfd_create system call wrapper
26890 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26891 tst-memfd_create.
26892 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26893 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26894 [__USE_GNU] (memfd_create): Declare.
26895 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26896 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26897 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26898 * sysdeps/unix/sysv/linux/**.abilist: Update.
26899 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26900
a90d1ac2
JM
269012017-11-22 Joseph Myers <joseph@codesourcery.com>
26902
0a9d1d62
JM
26903 * localedata/gen-locale.sh: Fix typo in variable name.
26904
754034c4
JM
26905 * resolv/res_debug.c (p_secstodate): Condition definition on
26906 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26907 directly as __p_secstodate, and as a compat symbol. Do not use
26908 libresolv_hidden_def.
26909 * resolv/resolv.h (p_secstodate): Remove macro and function
26910 declaration.
26911 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26912 using p_secstodate.
26913 * include/resolv.h (__p_secstodate): Do not use
26914 libresolv_hidden_proto.
26915 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26916 (tests-internal): ... here.
26917 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26918 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26919 and declare and use __p_secstodate and use compat_symbol_reference
26920 in that case.
26921 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26922 implementation returning 77.
26923
f120cda6
JM
26924 [BZ #22463]
26925 * resolv/res_debug.c: Include <libc-diag.h>.
26926 (p_secstodate): Assert time_t at least as wide as u_long. On
26927 overflow, use integer seconds since the epoch as output, or use
26928 "<overflow>" as output and set errno to EOVERFLOW if integer
26929 seconds since the epoch would be 14 or more characters.
26930 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26931 for sprintf call.
26932 * resolv/tst-p_secstodate.c: New file.
26933 * resolv/Makefile (tests): Add tst-p_secstodate.
26934 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26935
a90d1ac2
JM
26936 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26937 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26938 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26939
0285e6bd
PE
269402017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26941
26942 * posix/regcomp.c (init_word_char): Add comments.
26943
4bae6150
JM
269442017-11-22 Joseph Myers <joseph@codesourcery.com>
26945
26946 [BZ #22447]
26947 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26948 strlen to compute length of ut_user and set trailing NUL byte of
26949 result explicitly.
26950
4b7af5fc
MF
269512017-11-21 Mike FABIAN <mfabian@redhat.com>
26952
26953 [BZ #15537]
26954 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26955 using “copy "iso14651_t1"” and then implementing the
26956 collation rules for lv from CLDR on top of that.
26957 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26958 of locales to be built for testing.
26959 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26960 sorting.
26961
922bb78c
JM
269622017-11-21 Joseph Myers <joseph@codesourcery.com>
26963
26964 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26965 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26966 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26967 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26968 [__USE_MISC] (MADV_HWPOISON): New macro.
26969 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26970
a3aaa598
AZ
269712017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26972
26973 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26974 -Wmissing-braces on GCC 4.9.
26975
8beba15d
SL
269762017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26977
26978 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26979 * sysdeps/s390/s390-32/start.S (_start): Likewise
26980 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26981 (thread_start): Likewise.
26982 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26983 (thread_start): Likewise.
26984 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26985 (__makecontext_ret): Likewise.
26986 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26987 (__makecontext_ret): Likewise.
26988
80eb52e3
SL
269892017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26990
26991 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26992 __wcschrnul): Remove attribute_hidden.
26993
567d8c1f
PE
269942017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26995
26996 regex: don't assume uint64_t or uint32_t
26997 This avoids -Werror=overflow errors for 32-bit systems in
26998 the 64-bit case. Problem reported by Joseph Myers in:
26999 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27000 Also, when this code is used in Gnulib it ports to platforms
27001 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27002 them, and on some 32-bit compilers there is no uint64_t.
27003 Problem reported by Gianluigi Tiesi in:
27004 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27005 * posix/regcomp.c (init_word_char): Don't assume that the types
27006 uint64_t and uint32_t exist. Adapted from Gnulib patch
27007 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27008 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27009
4d7632ff
SP
270102017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27011
5a67c4fa
SP
27012 * sysdeps/aarch64/memset-reg.h: New file.
27013 * sysdeps/aarch64/memset.S: Use it.
27014 (__memset): Rename to MEMSET macro.
27015 [ZVA_MACRO]: Use zva_macro.
27016 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27017 Add memset_generic and memset_falkor.
27018 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27019 (__libc_ifunc_impl_list): Add memset ifuncs.
27020 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27021 local variable zva_size.
27022 * sysdeps/aarch64/multiarch/memset.c: New file.
27023 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27024 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27025 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27026 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27027 (DCZID_DZP_MASK): New macro.
27028 (DCZID_BS_MASK): Likewise.
27029 (init_cpu_features): Read and set zva_size.
27030 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27031 (struct cpu_features): New member zva_size.
27032
eb332f9f
SP
27033 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27034 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27035 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27036
4d7632ff
SP
27037 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27038 backwards. Fix timing computation.
27039 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27040 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27041 on memset by N at a time. Fix timing computation.
27042
a465b89e
FW
270432017-11-20 Florian Weimer <fweimer@redhat.com>
27044
27045 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27046 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27047
0f74bbf5
FW
270482017-11-19 Florian Weimer <fweimer@redhat.com>
27049
27050 manual: Document mprotect
27051 * manual/memory.texi (Memory Protection): New section.
27052 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27053 documentation of PROT_* flags and reference the Memory Protection
27054 section instead.
27055
f6e965ee
FW
270562017-11-19 Florian Weimer <fweimer@redhat.com>
27057
27058 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27059 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27060 (Scatter-Gather): ... to here. Remove misleading comment.
27061
363e4519 270622017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 27063
5f9d1949
CB
27064 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27065 style.
27066
ea69a5c8
CB
27067 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27068 when /proc/<pid>/setgroups does not exist.
27069
8db7f48c
FW
270702017-11-18 Florian Weimer <fweimer@redhat.com>
27071
27072 * sysdeps/unix/sysv/linux/tst-ttyname.c
27073 (become_root_in_mount_ns): Remove.
27074 (do_in_chroot_1): Call support_enter_mount_namespace.
27075 (do_in_chroot_2): Likewise.
27076 (do_test): Call support_become_root early.
27077
273a0c49
FW
270782017-11-18 Florian Weimer <fweimer@redhat.com>
27079
27080 * support/namespace.h (support_enter_mount_namespace): Declare.
27081 * support/support_enter_mount_namespace.c: New file.
27082 * support/Makefile (libsupport-routines): Add
27083 support_enter_mount_namespace.
27084
8adfb0ee
FW
270852017-11-18 Florian Weimer <fweimer@redhat.com>
27086
27087 * support/temp_file.c (support_create_temp_directory): Use
27088 test_dir and do not rely on the presence of the XXXXXX suffix.
27089 * support/temp_file.h (support_create_temp_directory): Update
27090 comment.
27091 * support/tst-xreadlink.c (do_test): Adjust.
27092 * support/support_chroot.c (support_chroot_create): Likewise.
27093
df0c40ee
TMQMF
270942017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27095
27096 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27097 macro.
27098 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27099 htm-no-suspend.
27100
015c6dc2
JM
271012017-11-17 Joseph Myers <joseph@codesourcery.com>
27102
f58e5f48
JM
27103 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27104 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27105 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27106 (ceill): Define using libm_alias_ldouble.
27107 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27108 <libm-alias-ldouble.h>.
27109 (copysignl): Define using libm_alias_ldouble.
27110 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27111 (fabsl): Define using libm_alias_ldouble.
27112 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27113 (floorl): Define using libm_alias_ldouble.
27114 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27115 (fmaxl): Define using libm_alias_ldouble.
27116 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27117 (fminl): Define using libm_alias_ldouble.
27118 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27119 (llrintl): Define using libm_alias_ldouble.
27120 (lrintl): Likewise.
27121 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27122 <libm-alias-ldouble.h>.
27123 (nearbyintl): Define using libm_alias_ldouble.
27124 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27125 (truncl): Define using libm_alias_ldouble.
27126 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27127 <libm-alias-ldouble.h>.
27128 (lrintl): Define using libm_alias_ldouble.
27129
2ce30701
JM
27130 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27131 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27132 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27133 (asinhl): Define using libm_alias_ldouble.
27134 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27135 (atanl): Define using libm_alias_ldouble.
27136 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27137 (cbrtl): Define using libm_alias_ldouble.
27138 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27139 (ceill): Define using libm_alias_ldouble.
27140 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27141 (copysignl): Define using libm_alias_ldouble.
27142 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27143 (fabsl): Define using libm_alias_ldouble.
27144 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27145 (floorl): Define using libm_alias_ldouble.
27146 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27147 (fmaxl): Define using libm_alias_ldouble.
27148 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27149 (fminl): Define using libm_alias_ldouble.
27150 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27151 (frexpl): Define using libm_alias_ldouble.
27152 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27153 (llrintl): Define using libm_alias_ldouble.
27154 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27155 (logbl): Define using libm_alias_ldouble.
27156 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27157 (lrintl): Define using libm_alias_ldouble.
27158 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27159 (nearbyintl): Define using libm_alias_ldouble.
27160 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27161 (nextafterl): Define using libm_alias_ldouble.
27162 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27163 (remquol): Define using libm_alias_ldouble.
27164 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27165 (rintl): Define using libm_alias_ldouble.
27166 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27167 (truncl): Define using libm_alias_ldouble.
27168 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27169 (fmaxl): Define using libm_alias_ldouble.
27170 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27171 (fminl): Define using libm_alias_ldouble.
27172
015c6dc2
JM
27173 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27174 to C syntax instead of availability and properties of types.
27175 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27176 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27177 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27178 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27179 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27180 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27181
ce003e5d
FW
271822017-11-17 Florian Weimer <fweimer@redhat.com>
27183
27184 support_become_root: Enable file creation in namespaces.
27185 * support/support_become_root.c (setup_mapping): New function.
27186 (support_become_root): Call it.
27187
e7df6c5c
JM
271882017-11-17 Joseph Myers <joseph@codesourcery.com>
27189
27190 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27191 macro.
27192
58a813bf
AZ
271932017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27194
27195 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27196 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27197
f97773d1
JM
271982017-11-16 Joseph Myers <joseph@codesourcery.com>
27199
6a6aa1f3
JM
27200 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27201
f97773d1
JM
27202 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27203 version to 4.14.
27204
a306c790
SP
272052017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27206
7b0fb870
SP
27207 * INSTALL: Fix botched up regeneration.
27208
27209 * NEWS: Update sourceare link to https.
a306c790
SP
27210 * configure.ac: Likewise.
27211 * crypt/md5test-giant.c: Likewise.
27212 * dlfcn/bug-atexit1.c: Likewise.
27213 * dlfcn/bug-atexit2.c: Likewise.
27214 * localedata/README: Likewise.
27215 * malloc/tst-mallocfork.c: Likewise.
27216 * manual/install.texi: Likewise.
27217 * nptl/tst-pthread-getattr.c: Likewise.
27218 * stdio-common/tst-fgets.c: Likewise.
27219 * stdio-common/tst-fwrite.c: Likewise.
27220 * sunrpc/Makefile: Likewise.
27221 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27222 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
27223 * configure: Regenerate.
27224 * INSTALL: Regenerate.
a306c790 27225
7532837d
MS
272262017-11-15 Martin Sebor <msebor@redhat.com>
27227
27228 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27229 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27230 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27231
495a56fd
LS
272322017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27233
d9611e30
LS
27234 [BZ #22145]
27235 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27236 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27237
a09dfc19
LS
27238 [BZ #22145]
27239 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27240 Defer is_pty check until end of the function.
27241 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27242
2fbce9c2
LS
27243 [BZ #22145]
27244 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27245 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27246 (ttyname): Likewise.
27247 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27248 (__ttyname_r): Likewise.
27249
d10d6cab
LS
27250 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27251 int to bool.
27252
9b5a8750
LS
27253 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27254
495a56fd
LS
27255 * manual/terminal.texi (Is It a Terminal):
27256 Mention ENODEV for ttyname and ttyname_r.
27257
fa680dc6
JM
272582017-11-15 Joseph Myers <joseph@codesourcery.com>
27259
78cde19f
JM
27260 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27261 constant and macro.
27262
fa680dc6
JM
27263 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27264 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27265 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27266 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27267 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27268 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27269
ad4f43a2
AZ
272702017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27271
1ba1d8a4
AZ
27272 * signal/sigrelse.c (sigrelse): Optimize implementation.
27273
ad4f43a2
AZ
27274 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27275 (__sigpause): Rely on __sigsuspend to implement single thread
27276 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27277
d0212d42
JM
272782017-11-15 Joseph Myers <joseph@codesourcery.com>
27279
27280 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27281 kernel version to 4.14.
27282
2180fee1
SE
272832017-11-15 Steve Ellcey <sellcey@cavium.com>
27284
27285 [BZ #22442]
27286 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27287 Check if ifname is too long.
27288
cad7ca39
LS
272892017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27290
27291 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27292
58c9f659
MF
272932017-11-15 Mike FABIAN <mfabian@redhat.com>
27294
27295 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27296 was accidentally lost.
27297
0fa87c01
MF
272982017-11-15 Mike FABIAN <mfabian@redhat.com>
27299
27300 * localedata/locales/az_IR: Add standard copyright header.
27301
34eb4157
FW
273022017-11-15 Florian Weimer <fweimer@redhat.com>
27303
27304 [BZ #22439]
27305 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27306 not just the top one. Output a new "subheaps" statistic.
27307
7a9368a1
FW
273082017-11-15 Florian Weimer <fweimer@redhat.com>
27309
27310 [BZ #22408]
27311 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27312 under the per-arena lock.
27313 * malloc/Makefile (tests): Add tst-malloc_info.
27314 (tst-malloc_info): Link with libpthread.
27315 * malloc/tst-malloc_info.c: New file.
27316
be3a79a3
JM
273172017-11-15 Joseph Myers <joseph@codesourcery.com>
27318
27319 [BZ #21660]
27320 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27321 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27322 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27323 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27324 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27325 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27326 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27327 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27328 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27329 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27330 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27331 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27332 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27333 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27336 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27337 (__floating_type): Likewise.
27338 (__real_integer_type): Likewise.
27339 (__complex_integer_type): Likewise.
27340 (__expr_is_real): Likewise.
27341 (__tgmath_real_type_sub): Likewise.
27342 (__tgmath_real_type): Likewise.
27343 (__tgmath_complex_type_sub): Likewise.
27344 (__tgmath_complex_type): Likewise.
27345 (__TGMATH_F128): Likewise.
27346 (__TGMATH_CF128): Likewise.
27347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27348 new macros.
27349 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27351 Likewise.
27352 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27353 Likewise.
27354 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27355 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27356 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27358 Likewise.
27359 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27360 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27361 Likewise.
27362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27363 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27364 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27365 Likewise.
27366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27367 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27368 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27369 (cimag): Likewise.
27370 (creal): Likewise.
27371
ec72135e
JM
273722017-11-14 Joseph Myers <joseph@codesourcery.com>
27373
2e64ec9c
JM
27374 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27375 for stpncpy calls for GCC 8.
27376 (test_strncat): Disable -Wstringop-truncation warning for strncat
27377 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27378 strncat call for GCC 7.
27379 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27380 calls for GCC 8.
27381 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27382 trailing NUL.
27383
ec72135e
JM
27384 * string/bug-strncat1.c: Include <libc-diag.h>.
27385 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27386
363e4519 273872017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
27388
27389 [BZ #22387]
27390 * localedata/locales/aa_DJ: Improved readibility by replacing
27391 <Uxxxx> sequences in the ASCII printable range by their ASCII
27392 character equivalents.
27393 * localedata/locales/aa_ER: Likewise.
27394 * localedata/locales/aa_ER@saaho: Likewise.
27395 * localedata/locales/aa_ET: Likewise.
27396 * localedata/locales/af_ZA: Likewise.
27397 * localedata/locales/agr_PE: Likewise.
27398 * localedata/locales/ak_GH: Likewise.
27399 * localedata/locales/am_ET: Likewise.
27400 * localedata/locales/anp_IN: Likewise.
27401 * localedata/locales/ar_AE: Likewise.
27402 * localedata/locales/ar_BH: Likewise.
27403 * localedata/locales/ar_DZ: Likewise.
27404 * localedata/locales/ar_EG: Likewise.
27405 * localedata/locales/ar_IN: Likewise.
27406 * localedata/locales/ar_IQ: Likewise.
27407 * localedata/locales/ar_JO: Likewise.
27408 * localedata/locales/ar_KW: Likewise.
27409 * localedata/locales/ar_LB: Likewise.
27410 * localedata/locales/ar_LY: Likewise.
27411 * localedata/locales/ar_MA: Likewise.
27412 * localedata/locales/ar_OM: Likewise.
27413 * localedata/locales/ar_QA: Likewise.
27414 * localedata/locales/ar_SA: Likewise.
27415 * localedata/locales/ar_SD: Likewise.
27416 * localedata/locales/ar_SS: Likewise.
27417 * localedata/locales/ar_SY: Likewise.
27418 * localedata/locales/ar_TN: Likewise.
27419 * localedata/locales/ar_YE: Likewise.
27420 * localedata/locales/as_IN: Likewise.
27421 * localedata/locales/ast_ES: Likewise.
27422 * localedata/locales/ayc_PE: Likewise.
27423 * localedata/locales/az_AZ: Likewise.
27424 * localedata/locales/az_IR: Likewise.
27425 * localedata/locales/be_BY: Likewise.
27426 * localedata/locales/be_BY@latin: Likewise.
27427 * localedata/locales/bem_ZM: Likewise.
27428 * localedata/locales/ber_DZ: Likewise.
27429 * localedata/locales/ber_MA: Likewise.
27430 * localedata/locales/bg_BG: Likewise.
27431 * localedata/locales/bhb_IN: Likewise.
27432 * localedata/locales/bho_IN: Likewise.
27433 * localedata/locales/bi_VU: Likewise.
27434 * localedata/locales/bn_BD: Likewise.
27435 * localedata/locales/bn_IN: Likewise.
27436 * localedata/locales/bo_CN: Likewise.
27437 * localedata/locales/bo_IN: Likewise.
27438 * localedata/locales/br_FR: Likewise.
27439 * localedata/locales/brx_IN: Likewise.
27440 * localedata/locales/bs_BA: Likewise.
27441 * localedata/locales/byn_ER: Likewise.
27442 * localedata/locales/ca_AD: Likewise.
27443 * localedata/locales/ca_ES: Likewise.
27444 * localedata/locales/ca_FR: Likewise.
27445 * localedata/locales/ca_IT: Likewise.
27446 * localedata/locales/ce_RU: Likewise.
27447 * localedata/locales/chr_US: Likewise.
27448 * localedata/locales/cmn_TW: Likewise.
27449 * localedata/locales/crh_UA: Likewise.
27450 * localedata/locales/cs_CZ: Likewise.
27451 * localedata/locales/csb_PL: Likewise.
27452 * localedata/locales/cv_RU: Likewise.
27453 * localedata/locales/cy_GB: Likewise.
27454 * localedata/locales/da_DK: Likewise.
27455 * localedata/locales/de_AT: Likewise.
27456 * localedata/locales/de_BE: Likewise.
27457 * localedata/locales/de_CH: Likewise.
27458 * localedata/locales/de_DE: Likewise.
27459 * localedata/locales/de_IT: Likewise.
27460 * localedata/locales/de_LI: Likewise.
27461 * localedata/locales/de_LU: Likewise.
27462 * localedata/locales/doi_IN: Likewise.
27463 * localedata/locales/dv_MV: Likewise.
27464 * localedata/locales/dz_BT: Likewise.
27465 * localedata/locales/el_CY: Likewise.
27466 * localedata/locales/el_GR: Likewise.
27467 * localedata/locales/en_AG: Likewise.
27468 * localedata/locales/en_AU: Likewise.
27469 * localedata/locales/en_BW: Likewise.
27470 * localedata/locales/en_CA: Likewise.
27471 * localedata/locales/en_DK: Likewise.
27472 * localedata/locales/en_GB: Likewise.
27473 * localedata/locales/en_HK: Likewise.
27474 * localedata/locales/en_IE: Likewise.
27475 * localedata/locales/en_IL: Likewise.
27476 * localedata/locales/en_IN: Likewise.
27477 * localedata/locales/en_NG: Likewise.
27478 * localedata/locales/en_NZ: Likewise.
27479 * localedata/locales/en_PH: Likewise.
27480 * localedata/locales/en_SG: Likewise.
27481 * localedata/locales/en_US: Likewise.
27482 * localedata/locales/en_ZA: Likewise.
27483 * localedata/locales/en_ZM: Likewise.
27484 * localedata/locales/en_ZW: Likewise.
27485 * localedata/locales/eo: Likewise.
27486 * localedata/locales/es_AR: Likewise.
27487 * localedata/locales/es_BO: Likewise.
27488 * localedata/locales/es_CL: Likewise.
27489 * localedata/locales/es_CO: Likewise.
27490 * localedata/locales/es_CR: Likewise.
27491 * localedata/locales/es_CU: Likewise.
27492 * localedata/locales/es_DO: Likewise.
27493 * localedata/locales/es_EC: Likewise.
27494 * localedata/locales/es_ES: Likewise.
27495 * localedata/locales/es_GT: Likewise.
27496 * localedata/locales/es_HN: Likewise.
27497 * localedata/locales/es_MX: Likewise.
27498 * localedata/locales/es_NI: Likewise.
27499 * localedata/locales/es_PA: Likewise.
27500 * localedata/locales/es_PE: Likewise.
27501 * localedata/locales/es_PR: Likewise.
27502 * localedata/locales/es_PY: Likewise.
27503 * localedata/locales/es_SV: Likewise.
27504 * localedata/locales/es_US: Likewise.
27505 * localedata/locales/es_UY: Likewise.
27506 * localedata/locales/es_VE: Likewise.
27507 * localedata/locales/et_EE: Likewise.
27508 * localedata/locales/eu_ES: Likewise.
27509 * localedata/locales/eu_ES@euro: Likewise.
27510 * localedata/locales/fa_IR: Likewise.
27511 * localedata/locales/ff_SN: Likewise.
27512 * localedata/locales/fi_FI: Likewise.
27513 * localedata/locales/fil_PH: Likewise.
27514 * localedata/locales/fo_FO: Likewise.
27515 * localedata/locales/fr_BE: Likewise.
27516 * localedata/locales/fr_CA: Likewise.
27517 * localedata/locales/fr_CH: Likewise.
27518 * localedata/locales/fr_FR: Likewise.
27519 * localedata/locales/fr_LU: Likewise.
27520 * localedata/locales/fur_IT: Likewise.
27521 * localedata/locales/fy_DE: Likewise.
27522 * localedata/locales/fy_NL: Likewise.
27523 * localedata/locales/ga_IE: Likewise.
27524 * localedata/locales/gd_GB: Likewise.
27525 * localedata/locales/gez_ER: Likewise.
27526 * localedata/locales/gez_ET: Likewise.
27527 * localedata/locales/gl_ES: Likewise.
27528 * localedata/locales/gu_IN: Likewise.
27529 * localedata/locales/gv_GB: Likewise.
27530 * localedata/locales/ha_NG: Likewise.
27531 * localedata/locales/hak_TW: Likewise.
27532 * localedata/locales/he_IL: Likewise.
27533 * localedata/locales/hi_IN: Likewise.
27534 * localedata/locales/hif_FJ: Likewise.
27535 * localedata/locales/hne_IN: Likewise.
27536 * localedata/locales/hr_HR: Likewise.
27537 * localedata/locales/hsb_DE: Likewise.
27538 * localedata/locales/ht_HT: Likewise.
27539 * localedata/locales/hu_HU: Likewise.
27540 * localedata/locales/hy_AM: Likewise.
27541 * localedata/locales/i18n: Likewise.
27542 * localedata/locales/ia_FR: Likewise.
27543 * localedata/locales/id_ID: Likewise.
27544 * localedata/locales/ig_NG: Likewise.
27545 * localedata/locales/ik_CA: Likewise.
27546 * localedata/locales/is_IS: Likewise.
27547 * localedata/locales/it_CH: Likewise.
27548 * localedata/locales/it_IT: Likewise.
27549 * localedata/locales/iu_CA: Likewise.
27550 * localedata/locales/ja_JP: Likewise.
27551 * localedata/locales/ka_GE: Likewise.
27552 * localedata/locales/kk_KZ: Likewise.
27553 * localedata/locales/kl_GL: Likewise.
27554 * localedata/locales/kn_IN: Likewise.
27555 * localedata/locales/ko_KR: Likewise.
27556 * localedata/locales/kok_IN: Likewise.
27557 * localedata/locales/ks_IN: Likewise.
27558 * localedata/locales/ks_IN@devanagari: Likewise.
27559 * localedata/locales/ku_TR: Likewise.
27560 * localedata/locales/kw_GB: Likewise.
27561 * localedata/locales/ky_KG: Likewise.
27562 * localedata/locales/lb_LU: Likewise.
27563 * localedata/locales/lg_UG: Likewise.
27564 * localedata/locales/li_BE: Likewise.
27565 * localedata/locales/li_NL: Likewise.
27566 * localedata/locales/lij_IT: Likewise.
27567 * localedata/locales/ln_CD: Likewise.
27568 * localedata/locales/lo_LA: Likewise.
27569 * localedata/locales/lt_LT: Likewise.
27570 * localedata/locales/lv_LV: Likewise.
27571 * localedata/locales/lzh_TW: Likewise.
27572 * localedata/locales/mag_IN: Likewise.
27573 * localedata/locales/mai_IN: Likewise.
27574 * localedata/locales/mg_MG: Likewise.
27575 * localedata/locales/mhr_RU: Likewise.
27576 * localedata/locales/mi_NZ: Likewise.
27577 * localedata/locales/mk_MK: Likewise.
27578 * localedata/locales/ml_IN: Likewise.
27579 * localedata/locales/mn_MN: Likewise.
27580 * localedata/locales/mni_IN: Likewise.
27581 * localedata/locales/mr_IN: Likewise.
27582 * localedata/locales/ms_MY: Likewise.
27583 * localedata/locales/mt_MT: Likewise.
27584 * localedata/locales/my_MM: Likewise.
27585 * localedata/locales/nan_TW: Likewise.
27586 * localedata/locales/nan_TW@latin: Likewise.
27587 * localedata/locales/nb_NO: Likewise.
27588 * localedata/locales/nds_DE: Likewise.
27589 * localedata/locales/nds_NL: Likewise.
27590 * localedata/locales/ne_NP: Likewise.
27591 * localedata/locales/nhn_MX: Likewise.
27592 * localedata/locales/niu_NU: Likewise.
27593 * localedata/locales/niu_NZ: Likewise.
27594 * localedata/locales/nl_AW: Likewise.
27595 * localedata/locales/nl_BE: Likewise.
27596 * localedata/locales/nl_NL: Likewise.
27597 * localedata/locales/nn_NO: Likewise.
27598 * localedata/locales/nr_ZA: Likewise.
27599 * localedata/locales/nso_ZA: Likewise.
27600 * localedata/locales/oc_FR: Likewise.
27601 * localedata/locales/om_ET: Likewise.
27602 * localedata/locales/om_KE: Likewise.
27603 * localedata/locales/or_IN: Likewise.
27604 * localedata/locales/os_RU: Likewise.
27605 * localedata/locales/pa_IN: Likewise.
27606 * localedata/locales/pa_PK: Likewise.
27607 * localedata/locales/pap_AW: Likewise.
27608 * localedata/locales/pap_CW: Likewise.
27609 * localedata/locales/pl_PL: Likewise.
27610 * localedata/locales/ps_AF: Likewise.
27611 * localedata/locales/pt_BR: Likewise.
27612 * localedata/locales/pt_PT: Likewise.
27613 * localedata/locales/quz_PE: Likewise.
27614 * localedata/locales/raj_IN: Likewise.
27615 * localedata/locales/ro_RO: Likewise.
27616 * localedata/locales/ru_RU: Likewise.
27617 * localedata/locales/ru_UA: Likewise.
27618 * localedata/locales/rw_RW: Likewise.
27619 * localedata/locales/sa_IN: Likewise.
27620 * localedata/locales/sat_IN: Likewise.
27621 * localedata/locales/sc_IT: Likewise.
27622 * localedata/locales/sd_IN: Likewise.
27623 * localedata/locales/sd_IN@devanagari: Likewise.
27624 * localedata/locales/se_NO: Likewise.
27625 * localedata/locales/sgs_LT: Likewise.
27626 * localedata/locales/shs_CA: Likewise.
27627 * localedata/locales/si_LK: Likewise.
27628 * localedata/locales/sid_ET: Likewise.
27629 * localedata/locales/sk_SK: Likewise.
27630 * localedata/locales/sl_SI: Likewise.
27631 * localedata/locales/sm_WS: Likewise.
27632 * localedata/locales/so_DJ: Likewise.
27633 * localedata/locales/so_ET: Likewise.
27634 * localedata/locales/so_KE: Likewise.
27635 * localedata/locales/so_SO: Likewise.
27636 * localedata/locales/sq_AL: Likewise.
27637 * localedata/locales/sq_MK: Likewise.
27638 * localedata/locales/sr_ME: Likewise.
27639 * localedata/locales/sr_RS: Likewise.
27640 * localedata/locales/sr_RS@latin: Likewise.
27641 * localedata/locales/ss_ZA: Likewise.
27642 * localedata/locales/st_ZA: Likewise.
27643 * localedata/locales/sv_FI: Likewise.
27644 * localedata/locales/sv_SE: Likewise.
27645 * localedata/locales/sw_KE: Likewise.
27646 * localedata/locales/sw_TZ: Likewise.
27647 * localedata/locales/szl_PL: Likewise.
27648 * localedata/locales/ta_IN: Likewise.
27649 * localedata/locales/ta_LK: Likewise.
27650 * localedata/locales/tcy_IN: Likewise.
27651 * localedata/locales/te_IN: Likewise.
27652 * localedata/locales/tg_TJ: Likewise.
27653 * localedata/locales/th_TH: Likewise.
27654 * localedata/locales/the_NP: Likewise.
27655 * localedata/locales/ti_ER: Likewise.
27656 * localedata/locales/ti_ET: Likewise.
27657 * localedata/locales/tig_ER: Likewise.
27658 * localedata/locales/tk_TM: Likewise.
27659 * localedata/locales/tl_PH: Likewise.
27660 * localedata/locales/tn_ZA: Likewise.
27661 * localedata/locales/to_TO: Likewise.
27662 * localedata/locales/tpi_PG: Likewise.
27663 * localedata/locales/tr_CY: Likewise.
27664 * localedata/locales/tr_TR: Likewise.
27665 * localedata/locales/ts_ZA: Likewise.
27666 * localedata/locales/tt_RU: Likewise.
27667 * localedata/locales/tt_RU@iqtelif: Likewise.
27668 * localedata/locales/ug_CN: Likewise.
27669 * localedata/locales/uk_UA: Likewise.
27670 * localedata/locales/unm_US: Likewise.
27671 * localedata/locales/ur_IN: Likewise.
27672 * localedata/locales/ur_PK: Likewise.
27673 * localedata/locales/uz_UZ: Likewise.
27674 * localedata/locales/uz_UZ@cyrillic: Likewise.
27675 * localedata/locales/ve_ZA: Likewise.
27676 * localedata/locales/vi_VN: Likewise.
27677 * localedata/locales/wa_BE: Likewise.
27678 * localedata/locales/wae_CH: Likewise.
27679 * localedata/locales/wal_ET: Likewise.
27680 * localedata/locales/wo_SN: Likewise.
27681 * localedata/locales/xh_ZA: Likewise.
27682 * localedata/locales/yi_US: Likewise.
27683 * localedata/locales/yo_NG: Likewise.
27684 * localedata/locales/yue_HK: Likewise.
27685 * localedata/locales/yuw_PG: Likewise.
27686 * localedata/locales/zh_CN: Likewise.
27687 * localedata/locales/zh_HK: Likewise.
27688 * localedata/locales/zh_SG: Likewise.
27689 * localedata/locales/zh_TW: Likewise.
27690 * localedata/locales/zu_ZA: Likewise.
27691
cae87e64
FW
276922017-11-13 Florian Weimer <fweimer@redhat.com>
27693
27694 * support/next_to_fault.h, support/next_to_fault.c: New files.
27695 * support/Makefile (libsupport-routines): Add next_to_fault.
27696 * resolv/tst-inet_pton.c (struct next_to_fault)
27697 (next_to_fault_allocate, next_to_fault_free): Remove.
27698 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27699
4a306ef1
L
277002017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 * elf/dl-support.c: Include <dl-procruntime.c>.
27703 * include/link.h: Include <link_map.h>.
27704 * sysdeps/generic/dl-procruntime.c: New file.
27705 * sysdeps/generic/link_map.h: Likewise.
27706 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27707 the writable ld.so namespace.
27708
e69897bf
PE
277092017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27710
27711 timezone: pacify GCC -Wstringop-truncation
27712 Problem reported by Martin Sebor in:
27713 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27714 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27715
1ffe1ccb
FW
277162017-11-12 Florian Weimer <fweimer@redhat.com>
27717
eceed671
FW
27718 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27719 tst-xreadlink.
27720 (tests): Add tst-xreadlink.
1ffe1ccb
FW
27721 * support/support.h (xstrndup): Declare.
27722 * support/xunistd.h (xunlink, xreadlink): Declare.
27723 * support/temp_file.h (support_create_temp_directory): Declare.
27724 * support/temp_file.c (support_create_temp_directory): New function.
27725 * support/support_chroot.c (support_chroot_create): Use it.
27726 * support/xreadlink.c: New file.
27727 * support/xstrndup.c: Likewise.
27728 * support/xunlink.c: Likewise.
27729 * support/tst-xreadlink.c: Likewise.
27730
456b40a9
JDA
277312017-11-11 John David Anglin <danglin@gcc.gnu.org>
27732
27733 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27734
c0a25aa9
FW
277352017-11-11 Florian Weimer <fweimer@redhat.com>
27736
27737 [BZ #22409]
27738 [BZ #22412]
27739 * resolv/res_comp.c (printable_string, binary_hnok)
27740 (binary_leading_dash): New functions.
27741 (res_hnok): Reimplement using these functions and ns_name_pton.
27742 (res_ownok): Likewise.
27743 (res_mailok): Reimplement using printable_string, ns_name_pton and
27744 binary_hnok.
27745 (res_dnok): Reimplement using printable_string and ns_name_pton.
27746 * resolv/tst-res_hnok.c (tests): Add additional tests.
27747 (LETTERDIGITS, PRINTABLE): Define.
27748 (do_test): Adjust one_char results.
27749
9e0ad304
FW
277502017-11-11 Florian Weimer <fweimer@redhat.com>
27751
27752 [BZ #22413]
27753 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27754 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27755
e2a9fca8
FW
277562017-11-11 Florian Weimer <fweimer@redhat.com>
27757
27758 * resolv/tst-ns_name_pton.c: New file.
27759 * resolv/Makefile (tests): Add tst-ns_name_pton.
27760 (tst-ns_name_pton): Link against libresolv.
27761
5c1a6923
FW
277622017-11-11 Florian Weimer <fweimer@redhat.com>
27763
27764 * resolv/tst-res_hnok.c: New file.
27765 * resolv/Makefile (tests): Add tst-res_hnok.
27766 (tst-res_hnok): Link against libresolv.
27767
a19c0a1d
FW
277682017-11-11 Florian Weimer <fweimer@redhat.com>
27769
27770 * resolv/tst-resolv-network.c: Use test framework instead explicit
27771 main function.
27772
8cb5295d
L
277732017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27774
27775 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27776 <jmp_buf-macros.h>.
27777 [!_ISOMAC] (STR_HELPER): New.
27778 [!_ISOMAC] (STR): Likewise.
27779 [!_ISOMAC] (TEST_SIZE): Likewise.
27780 [!_ISOMAC] (TEST_ALIGN): Likewise.
27781 [!_ISOMAC] (TEST_OFFSET): Likewise.
27782 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27783 field offsets of jmp_buf as well as sigjmp_buf.
27784 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27785 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27786 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27787 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27788 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27789 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27790 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27791 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27792 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27793 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27794 Likewise.
27795 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27796 Likewise.
27797 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27799 Likewise.
27800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27801 Likewise.
27802 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27803 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27804 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27805 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27806 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27808 Likewise.
27809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27810 Likewise.
27811 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27812 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27813 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27814
58c4a161
JM
278152017-11-07 Joseph Myers <joseph@codesourcery.com>
27816
3683b423
JM
27817 * include/float.h
27818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27819 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27821 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27823 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27825 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27827 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27829 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27831 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27833 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27835 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27837 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27839 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27841 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27843 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27845 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27847 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27849 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27851 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27853 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27855 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27857 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27859 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27861 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27863 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27865 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27867 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27869 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27871 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27873 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27875 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27877 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27879 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27881 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27883 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27885 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27887 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27889 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27891 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27893 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27895 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27897 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27899 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27901 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27903 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27905 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27906
58c4a161
JM
27907 * stdlib/tst-strtod.h (F16): New macro.
27908 (F32): Likewise.
27909 (F64): Likewise.
27910 (F32X): Likewise.
27911 (F64X): Likewise.
27912 (F128X): Likewise.
27913 (IF_FLOAT16): Likewise.
27914 (IF_FLOAT32): Likewise.
27915 (IF_FLOAT64): Likewise.
27916 (IF_FLOAT32X): Likewise.
27917 (IF_FLOAT64X): Likewise.
27918 (IF_FLOAT128X): Likewise.
27919 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27920 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27921 (STRTOD_TEST_FOREACH): Likewise.
27922 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27923 (CHOOSE_f64): Likewise.
27924 (CHOOSE_f32x): Likewise.
27925 (CHOOSE_f64x): Likewise.
27926
feda96a1
AS
279272017-11-07 Andreas Schwab <schwab@suse.de>
27928
27929 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27930
1bd0cbb8
MF
279312017-11-07 Mike FABIAN <mfabian@redhat.com>
27932
27933 [BZ #22403]
27934 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27935 to be escaped.
27936 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27937 to be escaped.
27938
363e4519 279392017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
27940
27941 [BZ #22403]
27942 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27943 to be escaped.
27944 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27945 to be escaped.
27946 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27947 to be escaped.
27948
dff91cd4
AZ
279492017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27950
06be6368
AZ
27951 [BZ #22298]
27952 * nptl/allocatestack.c (allocate_stack): Check if
27953 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27954 __PTHREAD_MUTEX_HAVE_PREV is defined.
27955 * nptl/descr.h (pthread): Likewise.
27956 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27957 Likewise.
27958 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27959 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27960 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27961 * sysdeps/nptl/bits/thread-shared-types.h
27962 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27963 defines.
27964 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27965 of __WORDSIZE for internal layout.
27966 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27967 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27968 instead of __WORDSIZE whether to use an union for __spins and __list
27969 fields.
27970 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27971 case.
27972 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27974 defines.
27975 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27976 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27977 Likewise.
27978 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27979 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27980 Likewise.
27981 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27982 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27983 Likewise.
27984 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27986 Likewise.
27987 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27989 Likewise.
27990 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27992 Likewise.
27993 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27995 Likewise.
27996 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27998 Likewise.
27999 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28000 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28001 Likewise.
28002 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28003 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28004 Likewise.
28005 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28006 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28007 Likewise.
28008 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28009 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28010 Likewise.
28011 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28013 Likewise.
28014 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28015 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28016 Likewise.
28017
72b3c6ee
AZ
28018 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28019 New macros.
28020 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28021 checks for expected input type size.
28022 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28023 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28024 Likewise.
28025 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28026 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28027 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28028 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28029 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28030 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28031 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28032 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28033 superflous runtime assert check.
28034 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28035 Likewise.
28036 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28037 Likewise.
28038 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28039 Likewise.
28040 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28041 Likewise.
28042 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28043 Likewise.
28044 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28045 Likewise.
28046 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28047 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28048 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28049 Likewise.
28050 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28051 Likewise.
28052 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28053 Likewise.
28054 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28055 Likewise.
28056 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28057 Likewise.
28058 * nptl/pthread_attr_setinheritsched.c
28059 (__pthread_attr_setinheritsched): Likewise.
28060 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28061 Likewise.
28062 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28063 Likewise.
28064 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28065 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28066 __old_pthread_attr_setstack): Likewise.
28067 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28068 Likewise.
28069 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28070 Likewise.
28071 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28072 Likewise.
28073 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28074 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28075 Likewise.
28076 * nptl/tst-typesizes.c: Remove file.
28077
dff91cd4
AZ
28078 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28079 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28080 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28081 checks for internal pthread_mutex_t offsets.
28082 * sysdeps/aarch64/nptl/pthread-offsets.h
28083 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28084 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28085 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28086 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28087 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28088 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28089 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28090 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28091 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28092 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28093 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28094 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28095 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28096 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28097 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28098 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28099 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28100 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28101
b7fc95f8
FW
281022017-11-07 Florian Weimer <fweimer@redhat.com>
28103
28104 * bits/mman-linux.h: Move ...
28105 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28106 comment.
28107 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28108 outdated comment.
28109
6b860364
RS
281102017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28111
28112 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28113 Redefine STRNLEN as __strnlen_power8.
28114
802c1f16
AZ
281152017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28116
d83da3a4
AZ
28117 * signal/sighold.c (sighold): Optimize implementation.
28118
6a4235f1
AZ
28119 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28120 __NR_rt_sigqueueinfo.
28121
8b0e795a
AZ
28122 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28123 __sigtimedwait.
28124 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28125 assume __NR_rt_sigtimedwait.
28126 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28127 and add LIBC_CANCEL_HANDLED for cancellation marking.
28128 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28129
a1a638dd
AZ
28130 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28131 (sysdeps_routines): Add memchr_noneon.
28132 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28133 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28134 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28135 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28136 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28137 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28138 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28139
802c1f16
AZ
28140 * sysdeps/arm/arm-ifunc.h: New file.
28141 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28142 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28143 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28144 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28145 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28146 (__memcpy_neon): Avoid create hidden alias.
28147 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28148 (__memcpy_vfp): Likewise.
28149 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28150 (sysdep_routines): Add memcpy_arm.
28151 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28152
abcb584d
L
281532017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28154
28155 [BZ #22362]
28156 * Makerules (make-link-multidir): New.
28157 * config.make.in (multidir): New.
28158 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28159 * configure: Regenerated.
28160 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28161 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28162 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28163 New target.
28164
4e2dff67
JM
281652017-11-06 Joseph Myers <joseph@codesourcery.com>
28166
28167 [BZ #22402]
28168 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28169 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28170
a1c7cd3c
MF
281712017-11-04 Mike FABIAN <mfabian@redhat.com>
28172
28173 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28174 to be escaped.
28175
b9af29c0
FW
281762017-11-04 Florian Weimer <fweimer@redhat.com>
28177
28178 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28179
4ca70e1a
JM
281802017-11-03 Joseph Myers <joseph@codesourcery.com>
28181
28182 * math/math.h [__HAVE_DISTINCT_FLOAT16
28183 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28184 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28185 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28186 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28187 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28188 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28189 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28190 (__MATH_TG_F32): New macro.
28191 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28192 (__MATH_TG_F64X): Likewise.
28193 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28194 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28195
ba0e6668
DL
281962017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28197
28198 * po/de.po: Update translations.
28199 * po/ru.po: Likewise.
28200
bc18a6d3
FW
282012017-11-03 Florian Weimer <fweimer@redhat.com>
28202
28203 * manual/filesys.texi (Hard Links): Document linkat.
28204
97255170
JM
282052017-11-03 Joseph Myers <joseph@codesourcery.com>
28206
86ec4865
JM
28207 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28208 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28209 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28210 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28211 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28212 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28213 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28214 the same as _Float128.
28215 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28216 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28217 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28218
97255170
JM
28219 * stdlib/stdlib.h
28220 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28221 Declare.
28222 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28223 Likewise.
28224 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28225 Likewise.
28226 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28227 (strtof32x): Likewise.
28228 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28229 (strtof64x): Likewise.
28230 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28231 (strtof128x): Likewise.
28232 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28233 (strfromf16): Likewise.
28234 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28235 (strfromf32): Likewise.
28236 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28237 (strfromf64): Likewise.
28238 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28239 (strfromf32x): Likewise.
28240 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28241 (strfromf64x): Likewise.
28242 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28243 (strfromf128x): Likewise.
28244 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28245 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28246 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28247 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28248 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28249 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28250
6d58ce5e
RH
282512017-11-03 Richard Henderson <rth@twiddle.net>
28252
28253 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28254
659ca267
SN
282552017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28256
28257 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28258
94d2f0af
SN
282592017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28260
28261 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28262 DT_TLSDESC_GOT initialization.
28263 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28264 (_dl_tlsdesc_resolve_hold): Likewise.
28265 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28266 (_dl_tlsdesc_resolve_hold): Likewise.
28267 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28268 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28269
28e1ddf3
SN
282702017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28271
28272 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28273
0ca3d1d6
SN
282742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28275
28276 [BZ #18572]
28277 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28278 non-lazily for R_ARM_TLS_DESC.
28279
2c1d4e5f
SN
282802017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28281
28282 [BZ #17078]
28283 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28284 R_ARM_TLS_DESC case.
28285 (elf_machine_lazy_rel): Remove the prelink check.
28286
91c5a366
SN
282872017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28288
28289 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28290 DT_TLSDESC_GOT initialization.
28291 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28292 (_dl_tlsdesc_resolve_rela): Likewise.
28293 (_dl_tlsdesc_resolve_hold): Likewise.
28294 (_dl_tlsdesc_undefweak): Remove ldar.
28295 (_dl_tlsdesc_dynamic): Likewise.
28296 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28297 (_dl_tlsdesc_resolve_rela): Likewise.
28298 (_dl_tlsdesc_resolve_hold): Likewise.
28299 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28300 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28301 (_dl_tlsdesc_resolve_rela): Likewise.
28302 (_dl_tlsdesc_resolve_hold): Likewise.
28303
b7cf203b
SN
283042017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28305
28306 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28307 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28308
0cc5b022
SN
283092017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28310
28311 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28312 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28313
43ddff2e
JM
283142017-11-02 Joseph Myers <joseph@codesourcery.com>
28315
28316 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28317 Declare.
28318 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28319 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28320 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28321 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28322 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28323 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28324 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28325 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28326 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28327 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28328 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28329
5baac970
MF
283302017-11-02 Mike FABIAN <mfabian@redhat.com>
28331
28332 [BZ #22382]
28333 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28334 * localedata/locales/tpi_PG: Add standard header.
28335
ef11081f
FW
283362017-11-02 Florian Weimer <fweimer@redhat.com>
28337
28338 test-errno-linux: quotactl can fail with EPERM in containers.
28339 * sysdeps/unix/sysv/linux/test-errno-linux.c
28340 (LIST, LIST_FORWARD): New macros.
28341 (check_error_in_list): New function.
28342 (test_wrp_rv): Accept list of permitted error codes.
28343 (test_wrp_rv2): Remove.
28344 (test_wrp): Call test_wrp_rv with list of error codes.
28345 (test_wrp2): Accept list of error codes.
28346 (do_test): Adjust. Allow EPERM for quotactl.
28347
d10b132b
FW
283482017-11-02 Florian Weimer <fweimer@redhat.com>
28349
28350 * stdio-common/bug16.c (do_test): Use array_length.
28351 * stdio-common/errlist.c (_sys_nerr): Likewise.
28352 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28353 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28354 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28355 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28356 (do_test): Use array_length.
28357 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28358 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28359 * stdio-common/tst-printf-round.c (do_test): Likewise.
28360 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28361 (CHECK): Use array_length.
28362 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28363 * stdio-common/tstscanf.c (main): Likewise.
28364 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28365
c94a5688
FW
283662017-11-02 Florian Weimer <fweimer@redhat.com>
28367
28368 Add array_length and array_end macros.
28369 * include/array_length.h: New file.
28370
2fac6a6c
FW
283712017-11-02 Florian Weimer <fweimer@redhat.com>
28372
28373 [BZ #22332]
28374 * posix/tst-glob-tilde.c (do_noescape): New variable.
28375 (one_test): Process it.
28376 (do_test): Set do_noescape. Add unescaping test case.
28377
2f1b212e
JM
283782017-11-01 Joseph Myers <joseph@codesourcery.com>
28379
260fbd0a
JM
28380 * math/complex.h
28381 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28382 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28383 with appropriate macros defined and undefined.
28384 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28385 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28386 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28387 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28388 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28389 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28390 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28391 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28392 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28393 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28394
2f1b212e
JM
28395 * math/complex.h
28396 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28397 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28398 that for long double. Do not condition define and undefine of
28399 _Mdouble_complex_ on [__CFLOAT128].
28400
95b93c6e
L
284012017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28402
28403 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28404 of <sysdeps/generic/sysdep.h>.
28405 (ALIGNARG): Removed.
28406 (ASM_SIZE_DIRECTIVE): Likewise.
28407 (ENTRY): Likewise.
28408 (END): Likewise.
28409 (ENTRY_CHK): Likewise.
28410 (END_CHK): Likewise.
28411 (syscall_error): Likewise.
28412 (mcount): Likewise.
28413 (PSEUDO_END): Likewise.
28414 (L): Likewise.
28415 (atom_text_section): Likewise.
28416 * sysdeps/x86/sysdep.h: New file.
28417 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28418 of <sysdeps/generic/sysdep.h>.
28419 (ALIGNARG): Removed.
28420 (ASM_SIZE_DIRECTIVE): Likewise.
28421 (ENTRY): Likewise.
28422 (END): Likewise.
28423 (ENTRY_CHK): Likewise.
28424 (END_CHK): Likewise.
28425 (syscall_error): Likewise.
28426 (mcount): Likewise.
28427 (PSEUDO_END): Likewise.
28428 (L): Likewise.
28429 (atom_text_section): Likewise.
28430
1bb36539
RL
284312017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
28432
28433 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28434 category of LC_CTYPE set to "i18n:2012".
28435 * localedata/locales/i18n_ctype: Regenerate.
28436
067f5d97 284372017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 28438
87bbc4cf
YN
28439 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28440 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28441 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28442 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28443
e8681faa
YN
28444 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28445 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28447 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28448
540af6e2
JM
284492017-10-31 Joseph Myers <joseph@codesourcery.com>
28450
43e66283
JM
28451 * math/complex.h
28452 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28453 New macro.
28454 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28455 Likewise.
28456 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28457 Likewise.
28458 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28459 (CMPLXF32X): Likewise.
28460 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28461 (CMPLXF64X): Likewise.
28462 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28463 (CMPLXF128X): Likewise.
28464
540af6e2
JM
28465 * math/math.h
28466 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28467 (__MATH_EVAL_FMT2): Define to add 0.0f.
28468
58af72b4
AM
284692017-10-31 Alan Modra <amodra@gmail.com>
28470
28471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28472 include sysdep.h.
28473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28487 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28488 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28489 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28490 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28491 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28492 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28493 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28498 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28499 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28500 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28501 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28502 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28503 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28504 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28505 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28506 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28507 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28508 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28509 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28511 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28513 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28514 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28515 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28516 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28517 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28518 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28519 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28520 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28521 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28522 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28523 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28524 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28525 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28526 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28527 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28528 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28529 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28530 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28531 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28532 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28535 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28536 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28537 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28538 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28539 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28540 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28541 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28542
28543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28544 include sysdep.h and math_ldbl_opt.h.
28545
28546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28547 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28572
112f30b3
AM
285732017-10-31 Alan Modra <amodra@gmail.com>
28574
28575 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28576 string/strncase_l.c, not string/strncase.c.
28577 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28578 (libc_hidden_def): Redefine.
28579
e9e7eced
AM
285802017-10-31 Alan Modra <amodra@gmail.com>
28581
28582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28583 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28584 (__strcasecmp): Don't define.
28585
f7b465cf
AM
285862017-10-31 Alan Modra <amodra@gmail.com>
28587
28588 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28589 IS_IN (libc).
28590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28591 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28592 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28593
d46b09f9
AM
285942017-10-31 Alan Modra <amodra@gmail.com>
28595
28596 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28597 USE_AS_STPNCPY.
28598
e9b8e194
AM
285992017-10-31 Alan Modra <amodra@gmail.com>
28600
28601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28602 Redefine only when SHARED.
28603
eda162dd
JM
286042017-10-30 Joseph Myers <joseph@codesourcery.com>
28605
b61afe8c
JM
28606 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28607 Include <bits/math-finite.h> with appropriate macros defined and
28608 undefined.
28609 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28610 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28611 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28612 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28613 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28614
eda162dd
JM
28615 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28616 [!_Mlong_double_] (_Mlong_double_): Likewise.
28617 [!_Mfloat16_] (_Mfloat16_): Likewise.
28618 [!_Mfloat32_] (_Mfloat32_): Likewise.
28619 [!_Mfloat64_] (_Mfloat64_): Likewise.
28620 [!_Mfloat128_] (_Mfloat128_): Likewise.
28621 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28622 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28623 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28624 (_Mdouble_): Define without indirection through those macros.
28625 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28626 [!_Mfloat128_] (_Mfloat128_): Likewise.
28627 [_Mlong_double_] (_Mlong_double_): Likewise.
28628 (_Mdouble_): Define without indirection through those macros.
28629 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28630 not add -D_Mlong_double_=double.
28631 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28632 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28633
4ad5106e
L
286342017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28635
28636 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28637
fe326df7
L
286382017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28639
28640 * sysdeps/x86/libc-start.c: Reformat.
28641
c5cc4514
L
286422017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28643
28644 [BZ #22353]
28645 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28646 (1): Renamed to ...
28647 (L(Src0)): This.
28648 (L(Src1)): New.
28649 (L(Src2)): Likewise.
28650 (L(1)): Renamed to ...
28651 (L(Src3)): This.
28652
ce12269f
JM
286532017-10-30 Joseph Myers <joseph@codesourcery.com>
28654
28655 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28656 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28657 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28658 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28659 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28660 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28661 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28662 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28663 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28664 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28665 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28666 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28667 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28668 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28669 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28670 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28671 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28672 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28673 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28674 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28675 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28676 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28677 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28678 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28679 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28680 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28681 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28682 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28683 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28684 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28685 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28686 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28687 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28688 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28689 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28690 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28691 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28692 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28693 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28694 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28695 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28696 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28697 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28698 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28699 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28700 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28701 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28702 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28703 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28704 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28705 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28706 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28707 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28708 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28709 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28710 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28711 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28712 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28713 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28714 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28715 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28716 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28717 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28718 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28719 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28720 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28721
4484b9e2
FW
287222017-10-30 Florian Weimer <fweimer@redhat.com>
28723
28724 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28725 always defined.
28726 * io/tst-mkdirat.c (do_test): Likewise.
28727 * io/tst-mkfifoat.c (do_test): Likewise.
28728 * io/tst-mknodat.c (do_test): Likewise.
28729 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28730 * locale/programs/locale.c (select_dirs): Likewise.
28731 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28732 * posix/bug-glob2.c (my_readdir): Likewise.
28733 * posix/tst-dir.c (main): Likewise.
28734 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28735 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28736
68fe16dd
FW
287372017-10-30 Florian Weimer <fweimer@redhat.com>
28738
28739 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28740 just __USE_GNU.
28741
dadf23f0
FW
287422017-10-30 Florian Weimer <fweimer@redhat.com>
28743
28744 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28745 Convert to support/test-driver.c.
28746 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28747 New macro parameters.
28748 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28749 * posix/tst-gnuglob.c: New file.
28750 * posix/tst-gnuglob64.c: Likewise.
28751 * posix/Makefile (tests): Add tst-gnuglob64.
28752
363e4519 287532017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
28754
28755 [BZ #19485]
28756 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28757 and use a better translation for March in “mon”.
28758 * localedata/locales/csb_PL: Use more ASCII to improve the
28759 readability of the source.
28760
b110af82
MF
287612017-10-30 Mike FABIAN <mfabian@redhat.com>
28762
28763 [BZ #13953]
28764 * localedata/locales/km_KH: Use ASCII as much
28765 as possible for better readability of the source and
28766 remove useless comments.
28767 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28768 was commented out and apparently wrong anyway because it was
28769 using Lao characters. If Buddhist era should be used
28770 for km_KH, a native speaker should write the correct formaat
28771 for Khmer.
28772 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28773 (According to CLDR, the first weekday for Cambodia is Sunday).
28774 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28775 (These were using Lao characters which must be wrong. If we get
28776 the correct data from a native speaker, we could add it back, until
28777 then it is better not to have name_mr and name_mrs at all than
28778 having it wrong).
28779
f301e533
RL
287802017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28781
28782 * locale/loadlocale.c: Correct size of
28783 _nl_value_type_LC_<category> arrays.
28784
7e9d7073
JM
287852017-10-27 Joseph Myers <joseph@codesourcery.com>
28786
28787 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28788 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28789 with appropriate macros defined and undefined.
28790 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28791 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28792 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28793 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28794 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28795
63d3b468
L
287962017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28797
28798 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28799 "-O2 -march=i586".
28800
a4cc02c7
MF
288012017-10-27 Mike FABIAN <mfabian@redhat.com>
28802
28803 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28804 with lowercase letters to make it agree with CLDR.
28805
1e5971ec
MF
288062017-10-27 Mike FABIAN <mfabian@redhat.com>
28807
28808 [BZ #15260]
28809 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28810 first letters of yesstr and nostr in yesexpr and noexpr,
28811 not for the full words.
28812 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28813 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28814 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28815 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28816 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28817 first letters of yesstr and nostr in yesexpr and noexpr,
28818 until now only English was matched in yesexpr and noexpr.
28819 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28820 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28821 fil but not for tl. As tl and fil are very similar, using fil
28822 is probably better than using English.
28823
363e4519 288242017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
28825
28826 [BZ #21706]
28827 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28828 in yesstr and nostr.
28829
5d220788
JM
288302017-10-26 Joseph Myers <joseph@codesourcery.com>
28831
ecc7da5b
JM
28832 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28833 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28834 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28835 Likewise.
28836 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28837 Likewise.
28838 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28839 Likewise.
28840 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28841 Likewise.
28842 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28843 (SNANF128X): Likewise.
28844
5d220788
JM
28845 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28846 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28847 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28848 (HUGE_VAL_F32): Likewise.
28849 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28850 (HUGE_VAL_F64): Likewise.
28851 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28852 (HUGE_VAL_F32X): Likewise.
28853 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28854 (HUGE_VAL_F64X): Likewise.
28855 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28856 (HUGE_VAL_F128X): Likewise.
28857
363e4519 288582017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
28859
28860 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28861 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28862 for the br_FR locale.
28863
363e4519 288642017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
28865
28866 [BZ #21706]
28867 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28868
337ff3c5
CD
288692017-10-25 Carlos O'Donell <carlos@redhat.com>
28870
02eec681
CD
28871 * locale/programs/record-status.h: Define globals, and function
28872 prototypes. Move function bodies...
28873 * locale/programs/record-status.c: ... to here. New file.
28874 * iconv/Makefile (iconv_prog-modules): Add record-status.
28875 * locale/Makefile (lib-modules): Likewise.
28876 * iconv/iconv_prog.c: Remove verbose.
28877 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28878 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28879 record a warning about ASCII compatibility.
28880 * locale/programs/ld-monetary.c (monetary_finish): If
28881 warn_int_curr_symbol is true then record a warning about the symbol
28882 not being in our ISO 4217 list.
28883 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28884 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28885 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28886 (OPT_NO_WARN): Define.
28887 (OPT_WARN): Define.
28888 (options): Add entry for --no-warnings, and --warnings.
28889 (set_warnings): New function to enable/disable warnings.
28890 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28891 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28892 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28893 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28894 Pass flags to generate_locale.
28895 (generate_locale): Accept new flag argument and pass it to localedef
28896 invocation.
28897 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28898 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28899
56fa555a
CD
28900 * localedata/Makefile (test-input-data): Use full file name.
28901 * localedata/da_DK.in: Rename to...
28902 * localedata/da_DK.ISO-8859-1.in: ...this.
28903 * localedata/de_DE.in: Rename to...
28904 * localedata/de_DE.ISO-8859-1.in: ...this.
28905 * localedata/en_US.in: Rename to...
28906 * localedata/en_US.ISO-8859-1.in: ...this.
28907 * localedata/fr_FR.in: Rename to...
28908 * localedata/fr_FR.UTF-8.in: ... this.
28909 * localedata/hr_HR.in: Rename to...
28910 * localedata/hr_HR.ISO-8859-2.in: ...this.
28911 * localedata/hu_HU.in: Rename to...
28912 * localedata/hu_HU.UTF-8.in: ...this.
28913 * localedata/si_LK.in: Rename to...
28914 * localedata/si_LK.UTF-8.in: ...this.
28915 * localedata/sv_SE.in: Rename to...
28916 * localedata/sv_SE.ISO-8859-1.in: ...this.
28917 * localedata/tr_TR.in: Rename to...
28918 * localedata/tr_TR.UTF-8.in: ...this.
28919 * localedata/uk_UA.in: Rename to...
28920 * localedata/uk_UA.UTF-8.in: ...this.
28921 * localedata/sort-test.sh: Test file is locale name with the
28922 suffix.
28923
337ff3c5
CD
28924 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28925 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28926 file.
28927 * localedata/locales/i18n_ctype: Regenerate.
28928 * localedata/locales/tr_TR: Likewise.
28929 * localedata/locales/translit_circle: Likewise.
28930 * localedata/locales/translit_cjk_compat: Likewise.
28931 * localedata/locales/translit_combining: Likewise.
28932 * localedata/locales/translit_compat: Likewise.
28933 * localedata/locales/translit_font: Likewise.
28934 * localedata/locales/translit_fraction: Likewise.
28935
63da5cd4
RS
289362017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28937
28938 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28939 lxvd2x/stxvd2x with lvx/stvx.
28940 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28941
a122dbfb
L
289422017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28943
28944 * include/alloc_buffer.h: Replace "if if " with "if " in
28945 comments.
28946 * sysdeps/mips/memcpy.S: Likkewise.
28947 * sysdeps/mips/memset.S: Likewise.
28948 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28949 Likewise.
28950 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28951 Likewise.
28952 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28953 Likewise.
28954
9be7530c
MF
289552017-10-25 Mike FABIAN <mfabian@redhat.com>
28956
28957 [BZ #15261]
28958 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28959 yesexpr and noexpr.
28960 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28961 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28962 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28963 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28964 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28965 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28966 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28967
6ccbf6ff
MF
289682017-10-25 Mike FABIAN <mfabian@redhat.com>
28969
28970 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28971 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28972 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28973 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28974 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28975 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28976 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28977 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28978 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28979 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28980 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28981 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28982
58b1a7ea
MF
289832017-10-25 Mike FABIAN <mfabian@redhat.com>
28984
28985 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28986 as possible for better readability of the source.
28987 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28988 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28989 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28990 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28991 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28992 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28993 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28994 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28995 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28996 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28997 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28998 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28999 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29000 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29001 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29002 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29003 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29004 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29005 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29006 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29007 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29008 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29009 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29010 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29011 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29012 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29013 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29014 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29015 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29016 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29017 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29018 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29019 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29020 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29021 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29022 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29023 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29024 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29025 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29026 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29027 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29028 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29029 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29030 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29031 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29032 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29033 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29034 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29035 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29036 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29037 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29038 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29039 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29040 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29041 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29042 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29043 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29044 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29045 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29046 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29047 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29048 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29049 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29050 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29051 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29052 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29053 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29054 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29055 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29056 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29057 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29058 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29059 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29060 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29061 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29062 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29063 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29064 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29065 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29066 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29067 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29068 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29069 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29070 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29071 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29072 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29073 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29074 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29075 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29076 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29077 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29078 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29079 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29080 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29081 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29082 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29083 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29084 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29085 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29086 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29087 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29088 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29089 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29090 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29091 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29092 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29093 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29094 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29095 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29096 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29097 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29098 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29099 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29100 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29101 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29102 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29103 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29104 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29105 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29106 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29107 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29108 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29109 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29110 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29111 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29112 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29113 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29114 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29115 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29116 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29117 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29118 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29119 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29120 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29121 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29122 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29123 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29124 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29125 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29126 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29127 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29128 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29129 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29130 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29131 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29132 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29133 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29134 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29135 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29136 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29137 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29138 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29139 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29140 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29141 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29142 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29143 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29144 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29145 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29146 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29147 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29148 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29149 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29150 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29151 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29152 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29153 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29154 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29155 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29156 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29157 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29158 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29159 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29160 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29161
17e78edb
MF
291622017-10-25 Mike FABIAN <mfabian@redhat.com>
29163
29164 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29165 (Use first letters of yesstr and nostr correctly instead of using
29166 full words).
29167
74e7284f
MF
291682017-10-25 Mike FABIAN <mfabian@redhat.com>
29169
29170 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29171 (Use first letters of yesstr and nostr correctly).
29172
b41a0ff1
MF
291732017-10-25 Mike FABIAN <mfabian@redhat.com>
29174
29175 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29176 also check for the first characters of yesstr and nostr.
29177 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29178 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29179
d971f380
MF
291802017-10-25 Mike FABIAN <mfabian@redhat.com>
29181
29182 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29183 also check for Chinese characters.
29184
effc9e1d
MF
291852017-10-25 Mike FABIAN <mfabian@redhat.com>
29186
29187 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29188 match also for the contents of yesstr and nostr. As the first letter
29189 of yesstr and nostr is equal, checking only for the first letter
29190 is not enough.
29191
10320881
MF
291922017-10-25 Mike FABIAN <mfabian@redhat.com>
29193
29194 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29195 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29196
d8682a15
MF
291972017-10-25 Mike FABIAN <mfabian@redhat.com>
29198
29199 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29200 of main contributor.
29201
1bfb86ae
MF
292022017-10-25 Mike FABIAN <mfabian@redhat.com>
29203
29204 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29205 instead of using English.
29206
da33d60b
MF
292072017-10-25 Mike FABIAN <mfabian@redhat.com>
29208
29209 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29210 by including the first letters of nostr and yesexpr in the regexp.
29211 Also make it more readable by using ASCII where possible.
29212
725bbb3e
MF
292132017-10-25 Mike FABIAN <mfabian@redhat.com>
29214
29215 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29216 the first letter of nostr in the regexp. It agrees with CLDR now.
29217 Also make it more readable by using ASCII where possible.
29218
fe043d8a
MF
292192017-10-24 Mike FABIAN <mfabian@redhat.com>
29220
29221 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29222 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29223 these strings contain a U+17D6 (which somewhat looks like a colon)
29224 instead of a real colon to separate the full words for “yes”
29225 and “no” from the single letter responses.
29226
360a8df3
MF
292272017-10-24 Mike FABIAN <mfabian@redhat.com>
29228
29229 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29230 it agree with CLDR (include the first letter of yesstr).
29231 Also make it more readable by using ASCII where possible.
29232
bab7b6b0
MF
292332017-10-24 Mike FABIAN <mfabian@redhat.com>
29234
29235 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29236 and improve yesexpr and noexpr. The yesstr and nostr apparently
29237 came from CLDR. And CLDR has a bug there: these strings contain
29238 a U+0903 (which looks like a colon) instead of a real colon
29239 to separate the full words for “yes” and “no” from the single
29240 letter responses.
29241
3e79f758
MF
292422017-10-24 Mike FABIAN <mfabian@redhat.com>
29243
29244 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29245 letters of the full yesstr and nostr in yesexpr and noexpr.
29246
4960c879
MF
292472017-10-24 Mike FABIAN <mfabian@redhat.com>
29248
29249 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29250 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29251 * localedata/locales/an_ES: Make source more readable by using ASCII
29252 where possible.
29253
b06a054f
MF
292542017-10-24 Mike FABIAN <mfabian@redhat.com>
29255
29256 [BZ #20952]
29257 * localedata/locales/yuw_PG: New file.
29258 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29259 * locale/iso-639.def: Add Yau (Uruwa).
29260
905a7725
WD
292612017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29262
29263 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29264
3f6bb8a3
WD
292652017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29266
29267 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29268 (__libc_realloc): Likewise.
29269 (_mid_memalign): Likewise.
29270 (__libc_calloc): Likewise.
29271
1d479c8c
MF
292722017-10-23 Mike FABIAN <mfabian@redhat.com>
29273
29274 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29275 by adding the generic +1 and -0 as in all other locales.
29276 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29277 day names and make it more readable by using ASCII where possible.
29278
91c3985c
JM
292792017-10-24 Joseph Myers <joseph@codesourcery.com>
29280
29281 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29282 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29283
aa95a241
AZ
292842017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29285
29286 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29287 WNOHANG in waitpid call.
29288
db9bab09
SP
292892017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29290
a2e0a7f1
SP
29291 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29292 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29293
db9bab09
SP
29294 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29295 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29296 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29297 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29298 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29299 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29300 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29301 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29302 variables.
29303
5062680c
MC
293042017-10-23 Michael Collison <michael.collison@arm.com>
29305
29306 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29307 with __builtin_sqrt.
29308 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29309 with __builtin_sqrtf.
29310 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29311 with __builtin_ceil.
29312 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29313 with __builtin_ceilf.
29314 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29315 with __builtin_floor.
29316 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29317 with __builtin_floorf.
29318 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29319 with __builtin_fma.
29320 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29321 with __builtin_fmaf.
29322 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29323 with __builtin_fmax.
29324 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29325 with __builtin_fmaxf.
29326 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29327 with __builtin_fmin.
29328 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29329 with __builtin_fminf.
29330 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29331 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29332 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29333 with builtin_rint and conversion to int.
29334 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29335 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29336 with builtin_llround.
29337 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29338 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29339 with builtin_rint and conversion to long int.
29340 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29341 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29342 with builtin_lround.
29343 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29344 with builtin_lroundf.
29345 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29346 statements with __builtin_nearbyint.
29347 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29348 statements with __builtin_nearbyintf.
29349 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29350 with __builtin_rint.
29351 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29352 with __builtin_rintf.
29353 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29354 with __builtin_round.
29355 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29356 with __builtin_roundf.
29357 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29358 with __builtin_trunc.
29359 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29360 with __builtin_truncf.
be080b6c
SN
29361 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29362 and s_l[l]round[f].c too.
5062680c 29363
174935af
AM
293642017-10-23 Alan Modra <amodra@gmail.com>
29365
29366 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29367 Adjust stack after restoring regs. Add missing LR cfi_restore.
29368
750a0e49
AM
293692017-10-23 Alan Modra <amodra@gmail.com>
29370
29371 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29372 Move LR save and frame setup/teardown and LR restore to
29373 immediately around memset call. Provide cfi.
29374
5313581c
L
293752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29376
29377 * sysdeps/i386/fpu/e_powf.S: Removed.
29378 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29379 * sysdeps/i386/fpu/w_powf.c: Likewise.
29380 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29381 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29382 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29383 Add e_powf-sse2.
29384 (CFLAGS-e_powf-sse2.c): New.
29385 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29386 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29387
6089a3ee
L
293882017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * sysdeps/i386/fpu/e_log2f.S: Removed.
29391 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29392 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29393 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29394 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29395 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29396 Add e_log2f-sse2.
29397 (CFLAGS-e_log2f-sse2.c): New.
29398 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29399 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29400
80bb5935
L
294012017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29402
29403 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29404 Add e_powf-fma.
29405 (CFLAGS-e_powf-fma.c): New.
29406 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29407 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29408
5c7adbd8
L
294092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29410
29411 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29412 Add e_log2f-fma.
29413 (CFLAGS-e_log2f-fma.c): New.
29414 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29415 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29416
0ccc7153
L
294172017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29418
29419 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29420 Add e_logf-fma.
29421 (CFLAGS-e_logf-fma.c): New.
29422 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29423 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29424
fe596486
L
294252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29426
29427 * sysdeps/i386/fpu/e_logf.S: Removed.
29428 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29429 * sysdeps/i386/fpu/w_logf.c: Likewise.
29430 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29431 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29432 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29433 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29434 Add e_logf-sse2.
29435 (CFLAGS-e_logf-sse2.c): New.
29436 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29437 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29438
7eda65f6
L
294392017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29440
29441 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29442 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29443 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29444 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29445 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29446 Add e_exp2f-sse2.
29447 (CFLAGS-e_exp2f-sse2.c): New.
29448 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29449 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29450
5d15c969
L
294512017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29452
29453 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29454 Add e_exp2f-fma.
29455 (CFLAGS-e_exp2f-fma.c): New.
29456 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29457 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29458
b2f6137e
L
294592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29460
29461 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29462 * sysdeps/i386/fpu/e_expf.S: Likewise.
29463 * sysdeps/i386/fpu/math_errf.c: Likewise.
29464 * sysdeps/i386/fpu/w_expf.c: Likewise.
29465 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29467 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29468 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29469 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29470 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29471 Remove e_expf-ia32.
29472 (CFLAGS-e_expf-sse2.c): New.
29473 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29474 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29475
e1f59beb
L
294762017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29479 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29480 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29481 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29482 e_expf.c.
29483 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29484 New.
29485 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29486 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29487 Renamed to ...
29488 (__redirect_expf): This.
29489 (SYMBOL_NAME): Changed to expf.
29490 (__ieee754_expf): Renamed to ...
29491 (__expf): This.
29492 (__GI___expf): This.
29493 (__ieee754_expf): Add strong_alias.
29494 (__expf_finite): Likewise.
29495 (__expf): New.
29496 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29497
363e4519 294982017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
29499
29500 [BZ #22332]
29501 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29502 unescaping.
29503
e80fc1fc
FW
295042017-10-21 Florian Weimer <fweimer@redhat.com>
29505
29506 * posix/Makefile (tests): Add tst-glob-tilde.
29507 (tests-special): Add tst-glob-tilde-mem.out
29508 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29509 (tst-glob-tilde-mem.out): Add mtrace check.
29510 * posix/tst-glob-tilde.c: New file.
29511
797ba44b
JM
295122017-10-20 Joseph Myers <joseph@codesourcery.com>
29513
29514 * bits/floatn-common.h: New file.
29515 * math/Makefile (headers): Add bits/floatn-common.h.
29516 * bits/floatn.h: Include <bits/floatn-common.h>.
29517 * sysdeps/ia64/bits/floatn.h: Likewise.
29518 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29519 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29520 * sysdeps/powerpc/bits/floatn.h: Likewise.
29521 * sysdeps/x86/bits/floatn.h: Likewise.
29522
fe05e1cb
AZ
295232017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29524
8f6f5362
AZ
29525 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29526 indicates whether compiler emits an warning for alias for
29527 functions with incompatible types.
29528
fe05e1cb
AZ
29529 [BZ #22273]
29530 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29531 the auxiliary process is terminated by a signal before calling _exit
29532 or execve.
29533
b52b0d79
L
295342017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29535
29536 [BZ #21265]
29537 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29538 New.
29539 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29540 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29541 and bit_arch_XSAVEC_Usable if needed.
29542 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29543 and bit_arch_Use_dl_runtime_resolve_opt.
29544 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29545 Removed.
29546 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29547 (bit_arch_Prefer_No_AVX512): Updated.
29548 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29549 (bit_arch_XSAVEC_Usable): New.
29550 (STATE_SAVE_OFFSET): Likewise.
29551 (STATE_SAVE_MASK): Likewise.
29552 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29553 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29554 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29555 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29556 (index_arch_XSAVEC_Usable): New.
29557 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29558 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29559 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29560 is enabled.
29561 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29562 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29563 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29564 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29565 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29566 _dl_runtime_resolve_xsavec.
29567 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29568 Removed.
29569 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29570 instead of VEC_SIZE.
29571 (REGISTER_SAVE_BND0): Removed.
29572 (REGISTER_SAVE_BND1): Likewise.
29573 (REGISTER_SAVE_BND3): Likewise.
29574 (REGISTER_SAVE_RAX): Always defined to 0.
29575 (VMOV): Removed.
29576 (_dl_runtime_resolve_avx): Likewise.
29577 (_dl_runtime_resolve_avx_slow): Likewise.
29578 (_dl_runtime_resolve_avx_opt): Likewise.
29579 (_dl_runtime_resolve_avx512): Likewise.
29580 (_dl_runtime_resolve_avx512_opt): Likewise.
29581 (_dl_runtime_resolve_sse): Likewise.
29582 (_dl_runtime_resolve_sse_vex): Likewise.
29583 (USE_FXSAVE): New.
29584 (_dl_runtime_resolve_fxsave): Likewise.
29585 (USE_XSAVE): Likewise.
29586 (_dl_runtime_resolve_xsave): Likewise.
29587 (USE_XSAVEC): Likewise.
29588 (_dl_runtime_resolve_xsavec): Likewise.
29589 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29590 Removed.
29591 (_dl_runtime_resolve_avx512_opt): Likewise.
29592 (_dl_runtime_resolve_avx): Likewise.
29593 (_dl_runtime_resolve_avx_opt): Likewise.
29594 (_dl_runtime_resolve_sse): Likewise.
29595 (_dl_runtime_resolve_sse_vex): Likewise.
29596 (_dl_runtime_resolve_fxsave): New.
29597 (_dl_runtime_resolve_xsave): Likewise.
29598 (_dl_runtime_resolve_xsavec): Likewise.
29599
363e4519 296002017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
29601
29602 [BZ #22320]
29603 CVE-2017-15670
29604 * posix/glob.c (__glob): Fix one-byte overflow.
29605
6d43de4b
WD
296062017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29607
29608 * malloc/malloc.c (sysdep-cancel.h): Add include.
29609
a15d53e2
WD
296102017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29611
29612 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29613
b9a558e7
WH
296142017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29615
29616 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29617 (tests): Remove $(objpfx)ga_test depdendency.
29618 * resolv/ga_test.c: Remove file.
29619
b6b08b8e
MF
296202017-10-20 Mike FABIAN <mfabian@redhat.com>
29621
29622 [BZ #18812]
29623 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29624 * localedata/locales/kab_DZ: New file.
29625
9ba7e810
L
296262017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29627
29628 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29629 _dl_relocate_static_pie instead of _dl_start to compute load
29630 address in static PIE.
29631
4027a4fd
L
296322017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29633
29634 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29635
2f9314b4
MF
296362017-10-20 Mike FABIAN <mfabian@redhat.com>
29637
29638 [BZ #13605]
29639 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29640 * localedata/locales/shn_MM: New file.
29641
63b4baa4
FW
296422017-10-20 Florian Weimer <fweimer@redhat.com>
29643
29644 [BZ #22321]
29645 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29646 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29647 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29648 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29649 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29650 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29651
95ccb619
L
296522017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29653
29654 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29655
37bb78cb
JM
296562017-10-19 Joseph Myers <joseph@codesourcery.com>
29657
76f2ed92
JM
29658 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29659
37bb78cb
JM
29660 [BZ #22322]
29661 * sysdeps/mips/bits/long-double.h: Move to ....
29662 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29663
d74e6f6c
WD
296642017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29665
29666 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29667
363e4519 296682017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
29669 H.J. Lu <hongjiu.lu@intel.com>
29670
29671 [BZ #22299]
29672 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29673 GLRO(dl_platform) to NULL.
29674 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29675 (modules-names): Add tst-platformmod-1 and
29676 x86_64/tst-platformmod-2.
29677 (CFLAGS-tst-platform-1.c): New.
29678 (CFLAGS-tst-platformmod-1.c): Likewise.
29679 (CFLAGS-tst-platformmod-2.c): Likewise.
29680 (LDFLAGS-tst-platformmod-2.so): Likewise.
29681 ($(objpfx)tst-platform-1): Likewise.
29682 ($(objpfx)tst-platform-1.out): Likewise.
29683 (tst-platform-1-ENV): Likewise.
29684 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29685 * sysdeps/x86_64/tst-platform-1.c: New file.
29686 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29687 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29688
4b0fa403
MF
296892017-10-19 Mike FABIAN <mfabian@redhat.com>
29690
29691 [BZ #13994]
29692 * locale/iso-639.def: Add Karbi.
29693 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29694 * localedata/locales/mjw_IN: New file.
29695
81325b12
JM
296962017-10-18 Joseph Myers <joseph@codesourcery.com>
29697
29698 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29699 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29700 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29701 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29702 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29703 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29704 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29705 <bits/floatn.h>.
29706 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29707 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29708 * manual/math.texi (Mathematics): Document additional architecture
29709 support for _Float128.
29710 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29711 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29712 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29714 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29715 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29716 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29717 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29718 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29719 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29720 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29721 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29722 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29723 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29724 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29725
a68ba2f3
SN
297262017-10-18 Renlin Li <renlin.li@arm.com>
29727
29728 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29729 _DYNAMIC symbol to calculate load address.
29730
346729f6
PC
297312017-10-18 Paul A. Clarke <pc@us.ibm.com>
29732
29733 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29734 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29735 summary bits.
29736 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29737 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29738
508b1e71
MF
297392017-10-18 Mike FABIAN <mfabian@redhat.com>
29740
29741 [BZ #16777]
29742 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29743 and improve readability by using more ASCII.
29744 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29745 and improve readability by using more ASCII.
29746
2c2245b9
WD
297472017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29748
29749 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29750 not all targets support atomics on bool.
29751
13c92696
JM
297522017-10-17 Joseph Myers <joseph@codesourcery.com>
29753
29754 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29755 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29756 __f128.
29757 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29758 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29759 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29760 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29761 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29762 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29763
71d85045
AZ
297642017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29765
29766 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29767 defines.
29768
3381be5c
WD
297692017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29770
29771 [BZ #22159]
29772 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29773 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29774 (do_check_remalloced_chunk): Fix build bug.
29775 (do_check_malloc_state): Add assert that checks arena->top.
29776 (malloc_consolidate): Remove initialization.
29777 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 29778 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 29779
e956075a
WD
297802017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29781
29782 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29783 (have_fastchunks): Remove.
29784 (clear_fastchunks): Remove.
29785 (set_fastchunks): Remove.
29786 (malloc_state): Add have_fastchunks.
29787 (malloc_init_state): Use have_fastchunks.
29788 (do_check_malloc_state): Remove incorrect invariant checks.
29789 (_int_malloc): Use have_fastchunks.
29790 (_int_free): Likewise.
29791 (malloc_consolidate): Likewise.
29792
e4dd4ace
WD
297932017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29794
29795 * malloc/malloc.c (tcache_put): Inline.
29796 (tcache_get): Inline.
29797
5bf58bc7
AJ
297982017-10-17 Jordi Mallach <jordi@gnu.org>
29799
29800 Aurelien Jarno <aurelien@aurel32.net>
29801 [BZ #2522]
29802 * localedata/locales/ca_ES@valencia: New file.
29803 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29804
386e1c26
RN
298052017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29806
29807 [BZ #22296]
29808 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29809 < 6.x
29810
4e17c78e
AZ
298112017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29812
3d265601
AZ
29813 * scripts/build-many-glibcs.py (Context.add_all_configs):
29814 Add arm-linux-gnueabihf multiarch extra_glibcs.
29815
4e17c78e
AZ
29816 * sysdeps/generic/ifunc-init.h: New file.
29817 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29818
56a752ab
MF
298192017-10-17 Mike FABIAN <mfabian@redhat.com>
29820
29821 [BZ #22019]
29822 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29823 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29824 * stdlib/tst-strfmon_l.c: adapt test case.
29825
c38a4bfd
JM
298262017-10-16 Joseph Myers <joseph@codesourcery.com>
29827
29828 * sysdeps/generic/float128-abi.h: New file.
29829 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29830 non-__prefixed symbols to ....
29831 * math/Versions: ... here. Include <float128-abi.h>.
29832 * stdlib/Versions ... and here. Include <float128-abi.h>
29833
76009b26
FW
298342017-10-16 Florian Weimer <fweimer@redhat.com>
29835
29836 * version.h (VERSION): Switch to ".9000" as the development
29837 version suffix.
29838
7ece6cd5
FW
298392017-10-16 Florian Weimer <fweimer@redhat.com>
29840
29841 [BZ #22050]
29842 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29843 compat_symbol_reference to access non-default version.
29844
d8287b36
FW
298452017-10-16 Florian Weimer <fweimer@redhat.com>
29846
29847 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29848
3480ddc4
CD
298492017-10-16 Carlos O'Donell <carlos@redhat.com>
29850
29851 * include/shlib-compat.h (compat_symbol_reference): Update
29852 comment.
29853
02010e79
JM
298542017-10-16 Joseph Myers <joseph@codesourcery.com>
29855
596f7013
JM
29856 * math/Makefile (test-types): Add
29857 $(type-float128-$(float128-alias-fcts)).
29858 * math/test-float128.h (TYPE_STR): Define conditional on
29859 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29860 (ULP_IDX): Likewise.
29861 (ULP_I_IDX): Likewise.
29862
02010e79
JM
29863 * stdlib/strtold.c: Include <bits/floatn.h>
29864 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29865 and later undefine as macro. Define as weak alias if
29866 [!USE_WIDE_CHAR].
29867 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29868 and later undefine as macro. Define as weak alias if
29869 [USE_WIDE_CHAR].
29870 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29871 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29872 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29873 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29874 Define and later undefine as macro. Define as weak alias if
29875 [USE_WIDE_CHAR].
29876 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29877 <bits/floatn.h>.
29878 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29879 Define and later undefine as macro. Define as weak alias if
29880 [!USE_WIDE_CHAR].
29881 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29882 Define and later undefine as macro. Define as weak alias if
29883 [USE_WIDE_CHAR].
29884
ea91c315
CD
298852017-10-15 Carlos O'Donell <carlos@redhat.com>
29886
29887 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29888 record_verbose messages.
29889
8e57c943
L
298902017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29891
29892 [BZ #22052]
29893 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29894 to silence -O3 -Wall warning with GCC 7.
29895
a4777c46
L
298962017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29897
29898 * Makeconfig (+link-static-before-libc): Use the first of
29899 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29900 * gmon/Makefile (tests): Add tst-gmon-static.
29901 (tests-static): Likewise.
29902 (CFLAGS-tst-gmon-static.c): New.
29903 (CRT-tst-gmon-static): Likewise.
29904 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29905 (tst-gmon-static-ENV): Likewise.
29906 (tests-special): Likewise.
29907 ($(objpfx)tst-gmon-static.out): Likewise.
29908 (clean-tst-gmon-static-data): Likewise.
29909 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29910 * gmon/tst-gmon-static-gprof.sh: New file.
29911 * gmon/tst-gmon-static.c: Likewise.
29912
bc3821bb
CD
299132017-10-13 Carlos O'Donell <carlos@redhat.com>
29914
29915 [BZ #22295]
29916 * locale/programs/linereader.c (get_string): Don't warn on
29917 non-symbolic character.
29918
a3e23a2c
CD
29919 [BZ #22294]
29920 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29921 int_curr_symbol.
29922
f16491eb
CD
29923 [BZ #22292]
29924 * locale/programs/record-status.h: New file
29925 * locale/programs/locale.c: Add comment.
29926 * locale/programs/charmap-dir.c: Don't include error.h.
29927 (charmap_opendir): Use record_error.
29928 * locale/programs/charmap.c: Don't include error.h.
29929 (charmap_read): Use record_error, and record_warning.
29930 (parse_charmap): Likewise.
29931 * locale/programs/ld-address.c: Don't include error.h.
29932 (address_finish): Use record_error, and record_warning.
29933 * locale/programs/ld-collate.c: Don't include error.h.
29934 (collate_finish): Use record_error, and record_error_at_line.
29935 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29936 (ctype_class_new): Likewise.
29937 (ctype_map_new): Likewise.
29938 (set_one_default): Likewise.
29939 (set_class_defaults): Likewise.
29940 (translit_flatten): Likewise.
29941 (allocate_arrays): Use record_error, and record_verbose.
29942 * locale/programs/ld-identification.c: Don't include error.h.
29943 (indentation_finish): Use record_error and record_warning.
29944 * locale/programs/ld-measurement.c: Don't include error.h.
29945 (measurement_finish): Use record_error.
29946 * locale/programs/ld-messages.c
29947 (message_finish): Likewise.
29948 * locale/programs/ld-monetary.c
29949 (monetary_finish): Likewise.
29950 * locale/programs/ld-name.c (name_finish): Use record_error
29951 and record_warning.
29952 * locale/programs/ld-numeric.c
29953 (numeric_finish): Use record_error.
29954 * locale/programs/ld-paper.c: Don't include error.h.
29955 (paper_finish): Use record_error.
29956 * locale/programs/ld-telephone.c: Don't include error.h.
29957 (telephone_finish): Use record_error.
29958 * locale/programs/ld-time.c (time_finish): Likewise.
29959 * locale/programs/linereader.h (lr_error): Make inline func.
29960 * locale/programs/localedef.c: Define recorded_warning_count,
29961 and recorded_error_count.
29962 (main): Use record_error. Use recorded_error_count and
29963 recorded_warning_count to issue correct error returns.
29964 (add_to_readlist): Use record_error.
29965 (find_locale): Likewise.
29966 (load_locale): Likewise.
29967 * locale/programs/localedef.h: Remove be_quiet
29968 and WITH_CUR_LOCALE.
29969 * locale/programs/locarchive.c (compare_from_file): Use
29970 record_error.
29971 * locale/programs/locfile.c (write_locale_data): Use
29972 record_error.
29973 * locale/programs/repertoire.c: Dont include error.h.
29974 (repertoire_complain): Use record_error.
29975 * localedata/tst-fmon.sh: Expect failures from localedef.
29976 * localedata/tst-locale.sh: Likewise.
29977 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29978
8dc8be75
CD
29979 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29980 (REPORTS): Likewise.
29981 (check): Likewise.
29982 (i18n): Rename to...
29983 (i18n_ctype): ...this.
29984 (i18n-report): Rename to...
29985 (i18n_ctype-report): ...this.
29986 * localedata/locales/i18n_ctype: Regenerate.
29987 * localedata/locales/i18n: copy i18n_ctype.
29988
f8718a9e
JM
299892017-10-13 Joseph Myers <joseph@codesourcery.com>
29990
18c08b96
JM
29991 * stdlib/strfroml.c: Include <bits/floatn.h>.
29992 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29993 Define before include of <stdlib.h> and undefine afterwards, then
29994 define as weak alias.
29995
f8718a9e
JM
29996 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29997 Undefine and restore default definition. Use
29998 libm_alias_ldouble_other.
29999
e4f530da
PZ
300002017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30001
30002 [BZ #22153]
30003 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30004 in coredumps.
30005
86445888
JC
300062017-10-13 James Clarke <jrtc27@jrtc27.com>
30007
30008 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30009 Assign sym_map to be map for local symbols, as TLS relocations
30010 use sym_map to determine whether the symbol is defined and to
30011 extract the TLS information.
30012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30014
179dcdb7
TMQMF
300152017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30016
e8dbd6a3
TMQMF
30017 [BZ #22189]
30018 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30019 (math_force_eval): Add powerpc version.
30020
179dcdb7
TMQMF
30021 [BZ #22142]
30022 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30023 -DBL_MAX.
30024 (do_test): Likewise.
30025 * stdio-common/tst-printf.sh: Likewise.
30026 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30027 ifdef clause in order to set the carry bit right. Replace r0 by
30028 0 without changing the behavior.
30029
7d25d410
JM
300302017-10-13 Joseph Myers <joseph@codesourcery.com>
30031
006e7664
JM
30032 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30033 <libm-alias-ldouble.h>.
30034 (fabsl): Define using libm_alias_ldouble.
30035 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30036 <libm-alias-ldouble.h>.
30037 (fabsl): Define using libm_alias_ldouble.
30038
1def91b3
JM
30039 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30040 Remove conditional code.
30041
7d25d410
JM
30042 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30043 Rename to __clog10_internal_l.
30044 (__clog10_internal_l): Define aliases using
30045 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30046 with __clog10.
30047
077ee129
RS
300482017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30049
30050 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30051 * benchtests/sincosf-inputs: New file.
30052 * benchtests/cosf-inputs: New file.
30053 * benchtests/sinf-inputs: New file.
30054
5ba41de9
SN
300552017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30056
30057 * posix/tst-spawn.c (do_test): Wait for both children.
30058
d165ca64
L
300592017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30060
30061 [BZ #22284]
30062 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30063 tests-pie): Add tst-gmon-pie.
30064 (CFLAGS-tst-gmon-pie.c): New.
30065 (CRT-tst-gmon-pie): Likewise.
30066 (tst-gmon-pie-ENV): Likewise.
30067 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30068 ($(objpfx)tst-gmon-pie.out): Likewise.
30069 (clean-tst-gmon-pie-data): Likewise.
30070 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30071 * gmon/gmon.c [PIC]: Include <link.h>.
30072 [PIC] (callback): New function.
30073 (write_hist): Add an argument for load address. Subtract load
30074 address from PCs.
30075 (write_call_graph): Likewise.
30076 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30077 it to write_hist and write_call_graph.
7bacdcfc 30078 * gmon/tst-gmon-pie.c: New file.
d165ca64 30079
bc9620d0
JM
300802017-10-11 Joseph Myers <joseph@codesourcery.com>
30081
30082 * math/Makefile (test-types-basic): New variable.
30083 (test-types): Likewise.
30084 (libm-test-support): Use $(test-types) instead of $(types).
30085 (libm-tests-base-normal): Likewise.
30086 (libm-tests-base-finite): Likewise.
30087 (libm-tests-base-inline): Likewise.
30088 (generated): Likewise.
30089 ($(objpfx)libm-test-support-$(t).c): Likewise.
30090 (libm-tests-for-type iterator): Likewise.
30091 (libm-test-support iterator): Likewise.
30092 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30093 (ulp_idx): Use ULP_IDX.
30094 * math/test-ldouble.h: Include <float.h>.
30095 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30096 (ULP_IDX): New macro.
30097 (ULP_I_IDX): Likewise.
30098 * math/test-double.h (ULP_IDX): Likewise.
30099 (ULP_I_IDX): Likewise.
30100 * math/test-float.h (ULP_IDX): Likewise.
30101 (ULP_I_IDX): Likewise.
30102 * math/test-float128.h (ULP_IDX): Likewise.
30103 (ULP_I_IDX): Likewise.
30104
09c76a74
AZ
301052017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30106
30107 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30108 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30109 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30110 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30111 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30112 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30113 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30114 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30117 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30118 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30119 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30121 (SINGLE_THREAD_BY_GLOBAL): Define.
30122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30123 Likewise.
30124 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30125 Likewise.
30126 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30127 Likewise.
30128 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30129 Likewise.
30130 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30131 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30133 Likewise.
30134
2faa42da
AS
301352017-10-11 Andreas Schwab <schwab@suse.de>
30136
30137 * nis/Makefile (aux): Remove.
30138 * nscd/Makefile (aux): Add nscd_hash.
30139 (nscd-modules): Likewise.
30140 ($(objpfx)nscd): Don't depend on libnsl.
30141 * nscd/nscd_hash.c: New file.
30142 * nscd/nscd_hash.h: Likewise.
30143 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30144 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30145 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30146 instead of <nis/rpcsvc/nis.h>.
30147 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30148
d8425e11
FW
301492017-10-11 Florian Weimer <fweimer@redhat.com>
30150
30151 [BZ #22078]
30152 Avoid large NSS buffers with many addresses, aliases.
30153 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30154 using dynarrays and struct alloc_buffer.
30155 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30156 (tst-nss-files-hosts-multi): Link with -ldl.
30157 * nss/tst-nss-files-hosts-multi.c: New file.
30158
78e806fd
FW
301592017-10-11 Florian Weimer <fweimer@redhat.com>
30160
30161 [BZ #18023]
30162 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30163 scratch_buffer. Eliminate gotos.
30164
541f19ba
JM
301652017-10-11 Joseph Myers <joseph@codesourcery.com>
30166
0ff64d3a
JM
30167 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30168 libm_alias_ldouble_other.
30169 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30170 undefine and redefine.
30171 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30172 (exp10l): Do not define here.
30173 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30174 (weak_alias): Undefine and redefine.
30175 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30176 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30177 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30178 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30179
541f19ba
JM
30180 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30181 [!__fma] (fma): Define using libm_alias_double.
30182 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30183 [!__fmaf] (fmaf): Define using libm_alias_float.
30184 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30185 (fmal): Define using libm_alias_ldouble.
30186
24b6515d
JM
301872017-10-10 Joseph Myers <joseph@codesourcery.com>
30188
30189 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30190 New macro.
30191 (libm_alias_double_other): Likewise.
30192 (libm_alias_double_r): Use libm_alias_double_other_r.
30193 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30194 New macro.
30195 (libm_alias_float_other): Likewise.
30196 (libm_alias_float_r): Use libm_alias_float_other_r.
30197 * sysdeps/generic/libm-alias-float128.h
30198 (libm_alias_float128_other_r): New macro.
30199 (libm_alias_float128_other): Likewise.
30200 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30201 * sysdeps/generic/libm-alias-ldouble.h
30202 (libm_alias_ldouble_other_r): New macro.
30203 (libm_alias_ldouble_other): Likewise.
30204 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30205 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30206 (libm_alias_double_other_r): New macro.
30207 (libm_alias_double_other): Likewise.
30208 (libm_alias_double_r): Use libm_alias_double_other_r.
30209 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30210 (libm_alias_ldouble_other_r): New macro.
30211 (libm_alias_ldouble_other): Likewise.
30212 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30213 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30214 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30215 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30216 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30217 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30218 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30219 * math/w_exp2f.c: Use libm_alias_float_other.
30220 * math/w_expf.c: Likewise.
30221 * math/w_log2f.c: Likewise.
30222 * math/w_logf.c: Likewise.
30223 * math/w_powf.c: Likewise.
30224 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30225 [!__exp2f]: Use libm_alias_float_other.
30226 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30227 [!__expf]: Use libm_alias_float_other.
30228 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30229 [!__log2f]: Use libm_alias_float_other.
30230 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30231 [!__logf]: Use libm_alias_float_other.
30232 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30233 [!__powf]: Use libm_alias_float_other.
30234
8ed70de2
FW
302352017-10-10 Florian Weimer <fweimer@redhat.com>
30236
30237 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30238 function.
30239 (_nss_files_gethostbyname3_r): Call it.
30240
a8dce619
JM
302412017-10-09 Joseph Myers <joseph@codesourcery.com>
30242
30243 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30244 error. Remove default definition of declare_mgen_alias.
30245 [!declare_mgen_alias_r]: Likewise.
30246 * sysdeps/generic/math-type-macros-double.h
30247 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30248 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30249 (declare_mgen_alias_r): Likewise.
30250 * sysdeps/generic/math-type-macros-float128.h
30251 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30252 * sysdeps/generic/math-type-macros-ldouble.h
30253 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30254 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30255 macro.
30256 (declare_mgen_alias_r_s): Likewise.
30257 (declare_mgen_alias_r): Likewise.
30258 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30259 (lgamma_r): Define using libm_alias_double_r.
30260 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30261 (lgammaf_r): Define using libm_alias_float_r.
30262 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30263 (lgammal_r): Define using libm_alias_ldouble_r.
30264 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30265 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30266
bedac136
AZ
302672017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30268
30269 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30270 extern declaration.
30271
c7509db2
JM
302722017-10-09 Joseph Myers <joseph@codesourcery.com>
30273
30274 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30275
d6c064e9
JW
302762017-10-09 Jonathan Wakely <jwakely@redhat.com>
30277
30278 [BZ #21326]
30279 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30280 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30281 * math/Makefile (test-math-cxx11): New test.
30282 * math/test-math-cxx11.cc: New file.
30283
98e07420
CB
302842017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30285
30286 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30287
645ac9aa
CB
30288 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30289 call to allocate the slave pty file descriptor.
30290
fd3b4e7c
JM
302912017-10-06 Joseph Myers <joseph@codesourcery.com>
30292
f85a176f
JM
30293 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30294 [!__fma] (fma): Define using libm_alias_double.
30295 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30296 [!__fma] (fma): Define using libm_alias_double.
30297
fd3b4e7c
JM
30298 * sysdeps/ieee754/float128/float128_private.h: Include
30299 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30300 (libm_alias_ldouble_r): Undefine and redefine.
30301 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30302 <libm-alias-ldouble.h>.
30303 (asinhl): Define using libm_alias_ldouble.
30304 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30305 <libm-alias-ldouble.h>.
30306 (atanl): Define using libm_alias_ldouble.
30307 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30308 <libm-alias-ldouble.h>.
30309 (cbrtl): Define using libm_alias_ldouble.
30310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30311 <libm-alias-ldouble.h>.
30312 (ceill): Define using libm_alias_ldouble.
30313 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30314 <libm-alias-ldouble.h>.
30315 (copysignl): Define using libm_alias_ldouble.
30316 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30317 <libm-alias-ldouble.h>.
30318 (cosl): Define using libm_alias_ldouble.
30319 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30320 <libm-alias-ldouble.h>.
30321 (erfl): Define using libm_alias_ldouble.
30322 (erfcl): Likewise.
30323 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30324 <libm-alias-ldouble.h>.
30325 (expm1l): Define using libm_alias_ldouble.
30326 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30327 <libm-alias-ldouble.h>.
30328 (fabsl): Define using libm_alias_ldouble.
30329 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30330 <libm-alias-ldouble.h>.
30331 (floorl): Define using libm_alias_ldouble.
30332 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30333 <libm-alias-ldouble.h>.
30334 (fmal): Define using libm_alias_ldouble.
30335 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30336 <libm-alias-ldouble.h>.
30337 (frexpl): Define using libm_alias_ldouble.
30338 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30339 libm_alias_ldouble.
30340 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30341 <libm-alias-ldouble.h>.
30342 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30343 libm_alias_ldouble.
30344 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30345 <libm-alias-ldouble.h>.
30346 (getpayloadl): Define using libm_alias_ldouble.
30347 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30348 <libm-alias-ldouble.h>.
30349 (llrintl): Define using libm_alias_ldouble.
30350 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30351 <libm-alias-ldouble.h>.
30352 (llroundl): Define using libm_alias_ldouble.
30353 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30354 <libm-alias-ldouble.h>.
30355 (logbl): Define using libm_alias_ldouble.
30356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30357 <libm-alias-ldouble.h>.
30358 (lrintl): Define using libm_alias_ldouble.
30359 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30360 <libm-alias-ldouble.h>.
30361 (lroundl): Define using libm_alias_ldouble.
30362 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30363 <libm-alias-ldouble.h>.
30364 (modfl): Define using libm_alias_ldouble.
30365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30366 <libm-alias-ldouble.h>.
30367 (nearbyintl): Define using libm_alias_ldouble.
30368 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30369 <libm-alias-ldouble.h>.
30370 (nextafterl): Define using libm_alias_ldouble.
30371 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30372 <libm-alias-ldouble.h>.
30373 (nextupl): Define using libm_alias_ldouble.
30374 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30375 <libm-alias-ldouble.h>.
30376 (remquol): Define using libm_alias_ldouble.
30377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30378 <libm-alias-ldouble.h>.
30379 (rintl): Define using libm_alias_ldouble.
30380 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30381 <libm-alias-ldouble.h>.
30382 (roundevenl): Define using libm_alias_ldouble.
30383 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30384 <libm-alias-ldouble.h>.
30385 (roundl): Define using libm_alias_ldouble.
30386 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30387 using libm_alias_ldouble.
30388 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30389 <libm-alias-ldouble.h>.
30390 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30391 Define using libm_alias_ldouble.
30392 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30393 <libm-alias-ldouble.h>.
30394 (sincosl): Define using libm_alias_ldouble.
30395 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30396 <libm-alias-ldouble.h>.
30397 (sinl): Define using libm_alias_ldouble.
30398 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30399 <libm-alias-ldouble.h>.
30400 (tanhl): Define using libm_alias_ldouble.
30401 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30402 <libm-alias-ldouble.h>.
30403 (tanl): Define using libm_alias_ldouble.
30404 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30405 <libm-alias-ldouble.h>.
30406 (totalorderl): Define using libm_alias_ldouble.
30407 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30408 <libm-alias-ldouble.h>.
30409 (totalordermagl): Define using libm_alias_ldouble.
30410 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30411 <libm-alias-ldouble.h>.
30412 (truncl): Define using libm_alias_ldouble.
30413 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30414 libm_alias_ldouble.
30415 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30416 libm_alias_ldouble.
30417 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30418 <libm-alias-ldouble.h>.
30419 (weak_alias): Do not undefine and redefine.
30420 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30421 (copysignl): Define with long_double_symbol only if [IS_IN
30422 (libc)].
30423 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30424 <libm-alias-ldouble.h>.
30425 (weak_alias): Do not undefine and redefine.
30426 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30427 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30428 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30429 <libm-alias-ldouble.h>.
30430 (weak_alias): Do not undefine and redefine.
30431 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30432 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30433 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30434 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30435 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30436 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30437 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30438 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30439 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30440 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30441 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30442 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30443 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30444 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30445 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30446 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30447 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30448 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30449 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30450 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30451 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30452 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30453 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30454 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30455 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30456 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30457
1e26d351
CD
304582017-10-06 Carlos O'Donell <carlos@redhat.com>
30459
30460 [BZ #22111]
30461 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30462 (tcache_thread_freeres): Set tcache_shutting_down before
30463 freeing the tcache.
30464 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30465 * malloc/tst-malloc-tcache-leak.c: New file.
30466
d1386762
RS
304672017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30468
30469 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30470 back to powerpc32 file.
30471 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30472 (memrchr): Add __memrchr_power8 to ifunc list.
30473 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30474 extra bytes for unaligned inputs.
30475
6dff1983
JM
304762017-10-06 Joseph Myers <joseph@codesourcery.com>
30477
30478 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30479 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30480 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30481 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30482 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30483
86f9568a
JM
304842017-10-05 Joseph Myers <joseph@codesourcery.com>
30485
0db0b931
JM
30486 * sysdeps/arm/libm-test-ulps: Update.
30487
86f9568a
JM
30488 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30489 <libm-alias-ldouble.h>.
30490 (asinhl): Define using libm_alias_ldouble.
30491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30492 <libm-alias-ldouble.h>.
30493 (cbrtl): Define using libm_alias_ldouble.
30494 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30495 <libm-alias-ldouble.h>.
30496 (copysignl): Define using libm_alias_ldouble.
30497 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30498 <libm-alias-ldouble.h>.
30499 (cosl): Define using libm_alias_ldouble.
30500 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30501 <libm-alias-ldouble.h>.
30502 (erfl): Define using libm_alias_ldouble.
30503 (erfcl): Likewise.
30504 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30505 <libm-alias-ldouble.h>.
30506 (fmal): Define using libm_alias_ldouble.
30507 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30508 <libm-alias-ldouble.h>.
30509 (frexpl): Define using libm_alias_ldouble.
30510 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30511 libm_alias_ldouble.
30512 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30513 <libm-alias-ldouble.h>.
30514 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30515 libm_alias_ldouble.
30516 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30517 <libm-alias-ldouble.h>.
30518 (getpayloadl): Define using libm_alias_ldouble.
30519 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30520 <libm-alias-ldouble.h>.
30521 (llrintl): Define using libm_alias_ldouble.
30522 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30523 <libm-alias-ldouble.h>.
30524 (llroundl): Define using libm_alias_ldouble.
30525 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30526 <libm-alias-ldouble.h>.
30527 (lrintl): Define using libm_alias_ldouble.
30528 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30529 <libm-alias-ldouble.h>.
30530 (lroundl): Define using libm_alias_ldouble.
30531 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30532 <libm-alias-ldouble.h>.
30533 (modfl): Define using libm_alias_ldouble.
30534 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30535 <libm-alias-ldouble.h>.
30536 (nextupl): Define using libm_alias_ldouble.
30537 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30538 <libm-alias-ldouble.h>.
30539 (remquol): Define using libm_alias_ldouble.
30540 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30541 <libm-alias-ldouble.h>.
30542 (roundevenl): Define using libm_alias_ldouble.
30543 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30544 <libm-alias-ldouble.h>.
30545 (roundl): Define using libm_alias_ldouble.
30546 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30547 using libm_alias_ldouble.
30548 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30549 <libm-alias-ldouble.h>.
30550 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30551 <libm-alias-ldouble.h>.
30552 (setpayloadsigl): Define using libm_alias_ldouble.
30553 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30554 <libm-alias-ldouble.h>.
30555 (sincosl): Define using libm_alias_ldouble.
30556 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30557 <libm-alias-ldouble.h>.
30558 (sinl): Define using libm_alias_ldouble.
30559 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30560 <libm-alias-ldouble.h>.
30561 (tanhl): Define using libm_alias_ldouble.
30562 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30563 <libm-alias-ldouble.h>.
30564 (tanl): Define using libm_alias_ldouble.
30565 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30566 <libm-alias-ldouble.h>.
30567 (totalorderl): Define using libm_alias_ldouble.
30568 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30569 <libm-alias-ldouble.h>.
30570 (totalordermagl): Define using libm_alias_ldouble.
30571 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30572 libm_alias_ldouble.
30573 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30574 libm_alias_ldouble.
30575
9ec87fd2
SP
305762017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30577
dd5bc7f1
SP
30578 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30579 memmove_falkor.
30580 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30581 (__libc_ifunc_impl_list): Likewise.
30582 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30583 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30584
5bfb0404
SP
30585 * benchtests/bench-memmove-walk.c: New file.
30586 * benchtests/Makefile (string-benchset): Add it.
30587
36bb8edf
SP
30588 * benchtests/bench-memset-walk.c: New file.
30589 * benchtests/Makefile (string-benchset): Add it.
30590
9ec87fd2
SP
30591 * benchtests/bench-memcpy-walk.c: New file.
30592 * benchtests/Makefile (string-benchset): Add it.
30593
1e9522c6
FW
305942017-10-05 Florian Weimer <fweimer@redhat.com>
30595
30596 nscd: Eliminate compilation time dependency in the build output.
30597 * nscd/nscd_stat.c (STATDATA_VERSION)
30598 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30599 (STATDATA_VERSION_FULL): New macro definitions.
30600 (compilation): Remove.
30601 (struct statdata): Adjust version member.
30602 (send_stats): Set version from STATDATA_VERSION_FULL.
30603 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30604
644d3857
JM
306052017-10-05 Joseph Myers <joseph@codesourcery.com>
30606
30607 * configure.ac (--enable-add-ons): Remove option.
30608 (machine): Do not mention add-ons in comment.
30609 (LIBC_PRECONFIGURE): Likewise.
30610 (add_ons): Remove variable and sanity checks and logic to locate
30611 add-ons.
30612 (add_ons_automatic): Remove variable.
30613 (configured_add_ons): Likewise.
30614 (add_ons_sfx): Likewise.
30615 (add_ons_pfx): Likewise.
30616 (add_on_subdirs): Likewise.
30617 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30618 consideration of add-ons in Implies handling.
30619 (sysdeps_add_ons): Likewise.
30620 * configure: Regenerated.
30621 * libidn/configure.ac: Remove.
30622 * libidn/configure: Likewise.
30623 * sysdeps/unix/inet/configure.ac: New file.
30624 * sysdeps/unix/inet/configure: New generated file.
30625 * sysdeps/unix/inet/Subdirs: Add libidn.
30626 * Makeconfig (sysdeps-srcdirs): Remove variable.
30627 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30628 ($(common-objpfx)config.status): Do not depend on add-on files.
30629 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30630 comment.
30631 (all-subdirs): Do not include $(add-on-subdirs).
30632 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30633 * config.make.in (add-ons): Remove variable.
30634 (add-on-subdirs): Likewise.
30635 (sysdeps-add-ons): Likewise.
30636 * manual/Makefile (add-chapters): Remove.
30637 ($(objpfx)texis): Do not depend on $(add-chapters).
30638 (nonexamples): Do not handle $(add-chapters).
30639 (examples): Do not handle $(add-ons).
30640 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30641 libc-texinfo.sh.
30642 * manual/install.texi (Installation): Do not mention add-ons.
30643 (--enable-add-ons): Do not document configure option.
30644 * INSTALL: Regenerated.
30645 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30646 * manual/maint.texi (Hierarchy Conventions): Do not mention
30647 add-ons.
30648 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30649 --enable-add-ons.
30650 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30651 add-ons.
30652 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30653 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30654
19f82f35
AS
306552017-10-05 Andreas Schwab <schwab@suse.de>
30656
30657 [BZ #15142]
30658 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30659 (_IO_flush_all_lockp): Always lock list_all_lock.
30660 (_IO_flush_all_linebuffered): Likewise.
30661 (_IO_unbuffer_all): Likewise.
30662
91e7cf98
FW
306632017-10-05 Florian Weimer <fweimer@redhat.com>
30664
30665 [BZ #15436]
30666 Do not flush stdio streams on abort.
30667 * stdlib/abort.c (fflush): Remove macro definition.
30668 (abort): Remove stages related to stdio flushing.
30669
0c251257
FW
306702017-10-05 Florian Weimer <fweimer@redhat.com>
30671
30672 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30673
7ea59e3e
SL
306742017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30675
30676 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30677
84d0e6f0
FW
306782017-10-05 Florian Weimer <fweimer@redhat.com>
30679
30680 * support/support_format_hostent.c (support_format_hostent): Add
30681 more error information for NETDB_INTERNAL.
30682
ee417882
L
306832017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30684
30685 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30686 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30687 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30688 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30689 AC_DEFINE if multi-arch is enabled.
30690 * sysdeps/i386/configure: Regenerated.
30691
a67029ff
L
306922017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30693
30694 * Makeconfig (+link-static-before-libc): Use
30695 $(DEFAULT-LDFLAGS-$(@F)).
30696 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30697 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30698 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30699
5dba84b3
L
307002017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30701
30702 * elf/Makefile (tests): Add tst-main1.
30703 (modules-names): Add tst-main1mod.
30704 ($(objpfx)tst-main1): New.
30705 (CRT-tst-main1): Likewise.
30706 (LDFLAGS-tst-main1): Likewise.
30707 (LDLIBS-tst-main1): Likewise.
30708 (tst-main1mod.so-no-z-defs): Likewise.
30709 * elf/tst-main1.c: New file.
30710 * elf/tst-main1mod.c: Likewise.
30711
758f1bfa
L
307122017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30713
30714 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30715
7e16a5d1
JM
307162017-10-04 Joseph Myers <joseph@codesourcery.com>
30717
30718 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30719 (fma): Define using libm_alias_double.
30720 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30721 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30722 <math_ldbl_opt.h>.
30723 (fmal): Do not define as compat symbol here.
30724 * sysdeps/alpha/fpu/s_fma.c: New file.
30725
db4f87ba
SN
307262017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30727
30728 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30729
72d13ed1
JM
307302017-10-04 Joseph Myers <joseph@codesourcery.com>
30731
32d372d5
JM
30732 [BZ #22229]
30733 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30734 <math_ldbl_opt.h>
30735 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30736 and libc.
30737 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30738 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30739 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30740 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30742 Include <math_ldbl_opt.h>
30743 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30744 and libc.
30745 (compat_symbol): Undefine and redefine.
30746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30747 <math_ldbl_opt.h>
30748 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30749 (compat_symbol): Undefine and redefine.
30750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30751 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30752 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30753 GLIBC_2_1 for libm.
30754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30755 GLIBC_2.0 copysignl symbol.
30756 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30757 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30758
72d13ed1
JM
30759 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30760
11c4f501
FW
307612017-10-04 Florian Weimer <fweimer@redhat.com>
30762
30763 * scripts/check-local-headers.sh: Ignore nspr4 header file
30764 directory in addition to nspr.
30765
57b4af19
GT
307662017-10-04 Guido Trentalancia <guido@trentalancia.net>
30767
30768 [BZ #17956]
30769 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30770 * configure: Regenerate.
30771 * crypt/Makefile (nss-cpp-flags): New variable.
30772 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30773 (CPPFLAGS-md5-crypt.c): Use it.
30774 * scripts/check-local-headers.sh: Ignore nspr header file
30775 directory.
30776
64d1e08e
AS
307772017-10-04 Andreas Schwab <schwab@suse.de>
30778
30779 * nis/Makefile (services): Remove compat.
30780 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30781 ($(objpfx)libnss_compat.so): Remove rule.
30782 * nis/Versions (libnss_compat): Remove.
30783 * nss/Makefile (services): Add compat.
30784 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30785 * nss/Versions (libnss_compat): Define.
30786 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30787 Don't include <rpc/types.h>. Replace bool_t by bool.
30788 * nss/nss_compat/compat-initgroups.c: Likewise.
30789 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30790 instead of <rpcsrv/ypclnt.h>.
30791 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30792 yp_get_default_domain.
30793 * nss/nss_compat/compat-pwd.c: Likewise.
30794 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30795 yp_get_default_domain.
30796 * nss/nss_compat/nisdomain.c: New file.
30797 * nss/nss_compat/nisdomain.h: Likewise.
30798
86c27ade
SN
307992017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30800
30801 [BZ #22244]
30802 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30803 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30804
8f8f8ef7
SN
308052017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30806
30807 [BZ #22243]
30808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30810
95577475
L
308112017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30812
30813 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30814 "movl main@GOTOFF(%ebx), %eax".
30815
02d2d892
L
308162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30817
30818 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30819 allow undefined _DYNAMIC in PIE libc.a.
30820 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30821 Likewse.
30822
0c609d19
L
308232017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30824
30825 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30826 check _DYNAMIC.
30827
c34a19ed
L
308282017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30829
30830 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30831 check _DYNAMIC.
30832
cdd4155d
L
308332017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30834
30835 * math/test-math-iscanonical.cc (error): Replace bool with int.
30836
4699cb8b
JM
308372017-10-03 Joseph Myers <joseph@codesourcery.com>
30838
d8f619b3
JM
30839 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30840 (modf): Define using libm_alias_double, only if [!__modf].
30841 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30842 <libm-alias-double.h>.
30843 (modf): Define using libm_alias_double, only if [!__modf].
30844 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30845 compat symbol here.
30846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30847 (weak_alias): Do not undefine and redefine.
30848 (strong_alias): Likewise.
30849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30850 (weak_alias): Likewise.
30851 (strong_alias): Likewise.
30852
4699cb8b
JM
30853 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30854 (logb): Define using libm_alias_double, only if [!__logb].
30855 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30856 <libm-alias-double.h>.
30857 (logb): Define using libm_alias_double, only if [!__logb].
30858 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30860 (weak_alias): Do not undefine and redefine.
30861 (strong_alias): Likewise.
30862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30863 (weak_alias): Likewise.
30864 (strong_alias): Likewise.
30865
bcc4e4bb
L
308662017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30867
30868 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30869 Check SHARED instead PIC.
30870
39793865
JM
308712017-10-03 Joseph Myers <joseph@codesourcery.com>
30872
7f1cbdf8
JM
30873 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30874 [!__fmaf] (fmaf): Define using libm_alias_float.
30875
39793865
JM
30876 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30877 (frexp): Define using libm_alias_double.
30878 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30879 <libm-alias-double.h>.
30880 (frexp): Define using libm_alias_double.
30881 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30882 compat symbol here.
30883
aa0235df
GG
308842017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30885
30886 [BZ #22235]
30887 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30888 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30889 (CFLAGS-test-math-iscanonical.cc): New variable.
30890 * math/test-math-iscanonical.cc: New file.
30891 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30892 Provide a C++ implementation based on function overloading,
30893 rather than using __MATH_TG, which uses C-only builtins.
30894 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30895 Likewise.
30896 * sysdeps/powerpc/powerpc64le/Makefile
30897 (CFLAGS-test-math-iscanonical.cc): New variable.
30898
a1132b5e
JM
308992017-10-03 Joseph Myers <joseph@codesourcery.com>
30900
30901 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30902 (ceil): Define using libm_alias_double.
30903 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30904 (floor): Define using libm_alias_double.
30905 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30906 <libm-alias-double.h>.
30907 (llround): Define using libm_alias_double.
30908 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30909 <libm-alias-double.h>.
30910 (lround): Define using libm_alias_double.
30911 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30912 <libm-alias-double.h>.
30913 (nearbyint): Define using libm_alias_double.
30914 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30915 <libm-alias-double.h>.
30916 (remquo): Define using libm_alias_double.
30917 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30918 (rint): Define using libm_alias_double.
30919 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30920 (round): Define using libm_alias_double.
30921 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30922 (trunc): Define using libm_alias_double.
30923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30924 <libm-alias-double.h>.
30925 (ceil): Define using libm_alias_double.
30926 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30927 <libm-alias-double.h>.
30928 (floor): Define using libm_alias_double.
30929 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30930 <libm-alias-double.h>.
30931 (llround): Define using libm_alias_double.
30932 [_LP64] (lround): Likewise.
30933 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30934 <libm-alias-double.h>.
30935 [!_LP64] (lround): Define using libm_alias_double.
30936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30937 <libm-alias-double.h>.
30938 (nearbyint): Define using libm_alias_double.
30939 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30940 <libm-alias-double.h>.
30941 (remquo): Define using libm_alias_double.
30942 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30943 <libm-alias-double.h>.
30944 (rint): Define using libm_alias_double.
30945 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30946 <libm-alias-double.h>.
30947 (round): Define using libm_alias_double.
30948 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30949 <libm-alias-double.h>.
30950 (trunc): Define using libm_alias_double.
30951 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30952 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30953 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30954 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30955 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30956 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30957 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30958 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30959 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30960
f275f64e
SN
309612017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30962
30963 * math/w_remainder.c: New file.
30964 * math/w_remainderf.c: New file.
30965 * math/w_remainderl.c: New file.
30966
b8818ab5
L
309672017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30968
30969 * elf/rtld.c (BOOTSTRAP_MAP): New.
30970 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30971 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30972 Likewise.
30973 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30974 Likewise.
30975 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30976 Likewise.
30977
3d1870fa
ST
309782017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30979
30980 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30981 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30982 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30983 rtld_hidden_data_ver): Define to empty.
30984 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30985 __assert_perror_fail): Likewise.
30986 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30987 (__rewinddir): Likewise.
30988 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30989 (__profile_frequency): Likewise.
30990 * include/setjmp.h (__sigsetjmp): Likewise.
30991 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30992 __libc_sigaction): Likewise.
30993 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30994 not set hidden attribute.
30995 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30996 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30997 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30998 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30999 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31000 __fxstatat64): Likewise.
31001 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31002 (__uname): Likewise.
31003 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31004 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31005 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31006 (NO_RTLD_HIDDEN): Set.
31007 * sysdeps/mach/hurd/configure: Refresh.
31008 * config.h.in: Refresh.
31009
527cd19c
JM
310102017-10-02 Joseph Myers <joseph@codesourcery.com>
31011
38722448
JM
31012 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31013 (atan): Define using libm_alias_double.
31014 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31015 (tan): Define using libm_alias_double.
31016 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31017 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31018
527cd19c
JM
31019 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31020 define as weak alias of __atan. Do not define any aliases if
31021 [__atan].
31022 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31023 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31024 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31025 as weak alias of __tan. Do not define any aliases if [__tan].
31026 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31027 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31028 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31029 __atan.
31030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31031 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31032 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31033 and define as weak alias of __atan.
31034 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31035 __atan.
31036 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31038 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31039 define as weak alias of __tan.
31040
bdc5c592
SN
310412017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31042
31043 * math/w_lgamma.c: New file.
31044 * math/w_lgammaf.c: New file.
31045 * math/w_lgammal.c: New file.
31046
bd4430c2
SN
310472017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31048
31049 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31050 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31051 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31052 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31053 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31054 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31055 * sysdeps/i386/fpu/w_log2f.c: New file.
31056 * sysdeps/i386/fpu/w_logf.c: New file.
31057 * sysdeps/i386/fpu/w_powf.c: New file.
31058 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31059 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31060 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31061
f7a0b063
SN
310622017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31063 H.J. Lu <hongjiu.lu@intel.com>
31064
31065 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31066 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31067 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31068 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31070 the new expf code.
31071 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31072 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31073 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31074 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31075 * sysdeps/i386/fpu/w_exp2f.c: New file.
31076 * sysdeps/i386/fpu/w_expf.c: New file.
31077 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31078 * sysdeps/x86_64/fpu/w_expf.c: New file.
31079
72d3d281
SN
310802017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31081
31082 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31083 (log2f): Likewise.
31084 (powf): Likewise.
31085 * math/w_log2f.c: New file.
31086 * math/w_logf.c: New file.
31087 * math/w_powf.c: New file.
31088 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31089 * math/w_logf_compat.c (__logf_compat): Likewise.
31090 * math/w_powf_compat.c (__powf_compat): Likewise.
31091 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31092 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31093 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31094 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31095 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31096 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31097 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31098 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31099 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31100 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31101 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31102 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31103 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31104 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31105 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31107 Likewise.
31108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31109 Likewise.
31110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31111 Likewise.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31113 Likewise.
31114 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31115 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31116 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31118 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31120 Likewise.
31121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31122 Likewise.
31123 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31124 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31125 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31126
59ba2d2b
RS
311272017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31128
31129 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31130 (sysdep_routines): Add memrchr_power8.
31131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31132 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31133 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31134 New file.
31135 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31136 (memrchr): Add __memrchr_power8 to ifunc list.
31137 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31138
397286ea
L
311392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31140
31141 [BZ #18822]
31142 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31143 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31144 libc_hidden_def.
31145 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31146 (__posix_fallocate64_l64): Likewise.
31147
d0a4512b
L
311482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31149
31150 [BZ #18822]
31151 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31152 (__sched_setaffinity_new): Add libc_hidden_proto and
31153 libc_hidden_def.
31154
c0769f70
L
311552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31156
31157 [BZ #18822]
31158 * include/glob.h (__glob64): Add libc_hidden_proto.
31159 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31160 libc_hidden_def.
31161
0e7d5b6e
L
311622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31163
31164 [BZ #18822]
31165 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31166 attribute_hidden.
31167
bde06c87
L
311682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31169
31170 [BZ #18822]
31171 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31172
fa426590
L
311732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31174
31175 [BZ #18822]
31176 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31177 libc_hidden_def.
31178
2f8a05d8
L
311792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31180
31181 [BZ #18822]
31182 * csu/version.c (__libc_print_version): Add attribute_hidden.
31183
7bfd08ac
L
311842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31185
31186 [BZ #18822]
31187 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31188
0e1fd06c
L
311892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31190
31191 [BZ #18822]
31192 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31193
36e7ae1e
L
311942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31195
31196 [BZ #18822]
31197 * nscd/nscd_helper.c (__nis_hash): New prototype.
31198
87078544
L
311992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31200
31201 [BZ #18822]
31202 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31203 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31204 libc_hidden_def.
31205 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31206 * termios/tcgetattr.c (__tcgetattr): Likewise.
31207
dd3121df
L
312082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31209
31210 [BZ #18822]
31211 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31212 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31213 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31214 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31215 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31216
047d1a81
L
312172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31218
31219 [BZ #18822]
31220 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31221
fd331b11
L
312222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31223
31224 [BZ #18822]
31225 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31226 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31227
57f859bd
L
312282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 [BZ #18822]
31231 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31232
d1903329
L
312332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31234
31235 [BZ #18822]
31236 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31237 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31238
b4744101
L
312392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31240
31241 [BZ #18822]
31242 * include/ifreq.h: New file.
31243 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31244 (__ifreq): Likewise.
31245 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31246 (__ifreq): Likewise.
31247
43b7dfd1
L
312482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31249
31250 [BZ #18822]
31251 * include/idna.h: New file.
31252 * inet/getnameinfo.c: Include <idna.h> instead of
31253 <libidn/idna.h>.
31254 (__idna_to_unicode_lzlz): Removed.
31255 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31256 <libidn/idna.h>.
31257 (__idna_to_ascii_lz): Removed.
31258 (__idna_to_unicode_lzlz): Likewise.
31259
2c0cd8f8
L
312602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31261
31262 [BZ #18822]
31263 * include/plural-exp.h: New file.
31264 * intl/plural-exp.c: Include <plural-exp.h> instead of
31265 "plural-exp.h".
31266
8369d216
L
312672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31268
31269 [BZ #18822]
31270 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31271 "getsourcefilter.h".
31272 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31273 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31274 "getsourcefilter.h".
31275 (__get_sol): Removed.
31276
a0aef783
L
312772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31278
31279 [BZ #18822]
31280 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31281 to ...
31282 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31283
3ee8209b
L
312842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31285
31286 [BZ #18822]
31287 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31288 attribute_hidden.
31289
6036fc38
L
312902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31291
31292 [BZ #18822]
31293 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31294
fe84fed0
L
312952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31296
31297 [BZ #18822]
31298 * include/search.h (__tdestroy): Add libc_hidden_proto.
31299 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31300
048dd681
L
313012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31302
31303 [BZ #18822]
31304 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31305
6e342af6
L
313062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31307
31308 [BZ #18822]
31309 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31310 attribute_hidden.
31311
6a088436
L
313122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 [BZ #18822]
31315 * include/signal.h (__kill): Add libc_hidden_proto.
31316 (__sigblock): Likewise.
31317 (__sigprocmask): Likewise.
31318 (__sigaltstack): Likewise.
31319 * signal/kill.c (__kill): Add libc_hidden_def.
31320 * signal/sigblock.c (__sigblock): Likewise.
31321 * signal/sigprocmask.c (__sigprocmask): Likewise.
31322 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31323 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31324 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31325 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31326 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31327 Likewise.
31328 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31329 Likewise.
31330 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31331 (__sigprocmask): Likewise.
31332 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31333 Likewise.
31334 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31335 (__sigprocmask): Likewise.
31336 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31337 Likewise.
31338
78cf1d74
L
313392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31340
31341 [BZ #18822]
31342 * include/string.h (__strsep): Add libc_hidden_proto.
31343 * string/strsep.c (__strsep): Add libc_hidden_def.
31344
85b35894
L
313452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31346
31347 [BZ #18822]
31348 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31349 attribute_hidden.
31350 (__spawni): Likewise.
31351
225f7eec
L
313522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31353
31354 [BZ #18822]
31355 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31356 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31357 libc_hidden_def.
31358
372fe247
L
313592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31360
31361 [BZ #18822]
31362 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31363
9e5ee8b8
L
313642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31365
31366 [BZ #18822]
31367 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31368 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31369 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31370 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31371 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31372 Likewise.
31373 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31374 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31375
2ff16592
L
313762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31377
31378 [BZ #18822]
31379 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31380 (__dcigettext): Likewise.
31381
b5648377
L
313822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31383
31384 [BZ #18822]
31385 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31386 libc_hidden_proto.
31387 (__get_nprocs): Likewise.
31388 (__get_phys_pages): Likewise.
31389 (__get_avphys_pages): Likewise.
31390 (__get_child_max): Add attribute_hidden.
31391 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31392 (__get_nprocs): Likewise.
31393 (__get_phys_pages): Likewise.
31394 (__get_avphys_pages): Likewise.
31395 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31396 libc_hidden_def.
31397 (__get_nprocs): Likewise.
31398 (__get_phys_pages): Likewise.
31399 (__get_avphys_pages): Likewise.
31400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31401 libc_hidden_def.
31402 (__get_nprocs_conf): Likewise.
31403 (__get_phys_pages): Likewise.
31404 (__get_avphys_pages): Likewise.
31405
0389a6aa
L
314062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31407
31408 [BZ #18822]
31409 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31410 attribute_hidden.
31411 (__netlink_close): Likewise.
31412 (__netlink_free_handle): Likewise.
31413 (__netlink_request): Likewise.
31414
d48354d8
L
314152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31416
31417 [BZ #18822]
31418 * include/rpc/rpc.h (__rpc_thread_variables): Add
31419 attribute_hidden.
31420 (__rpc_thread_svc_cleanup): Likewise.
31421 (__rpc_thread_clnt_cleanup): Likewise.
31422 (__rpc_thread_key_cleanup): Likewise.
31423
d6daff12
L
314242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31425
31426 [BZ #18822]
31427 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31428 (__writev): Likewise.
31429 * misc/readv.c (__readv): Add libc_hidden_def.
31430 * misc/writev.c (__writev): Likewise.
31431 * sysdeps/posix/readv.c (__readv): Likewise.
31432 * sysdeps/posix/writev.c (__writev): Likewise.
31433 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31434 (__readv): Likewise.
31435 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31436 (__writev): Likewise.
31437
b68f8620
L
314382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31439
31440 [BZ #18822]
31441 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31442 (__regcomp): Add libc_hidden_proto.
31443 (__regexec): Likewise.
31444 (__regfree): Likewise.
31445 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31446 (__regfree): Likewise.
31447 * posix/regexec.c (__regexec): Likewise.
31448
59c04e67
L
314492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31450
31451 [BZ #18822]
31452 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31453 (__getutent): Likewise.
31454 (__getutid): Likewise.
31455 (__getutline): Likewise.
31456 (__pututline): Likewise.
31457 (__getutent_r): Likewise.
31458 (__getutid_r): Likewise.
31459 (__getutline_r): Likewise.
31460 (__utmpname): Add attribute_hidden.
31461 (__setutent): Likewise.
31462 (__endutent): Likewise.
31463 * login/getutent.c (__getutent): Add libc_hidden_def.
31464 * login/getutent_r.c (__getutent_r): Likewise.
31465 (__pututline): Likewise.
31466 * login/getutid.c (__getutid): Likewise.
31467 * login/getutid_r.c (__getutid_r): Likewise.
31468 * login/getutline.c (__getutline): Likewise.
31469 * login/getutline_r.c (__getutline_r): Likewise.
31470 * login/updwtmp.c (__updwtmp): Likewise.
31471
4587a421
L
314722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31473
31474 [BZ #18822]
31475 * include/dirent.h (__opendir): Always add attribute_hidden.
31476 (__fdopendir): Likewise.
31477 (__closedir): Likewise.
31478 (__readdir): Likewise.
31479 (__readdir64): Add libc_hidden_proto.
31480 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31481 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31482 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31483 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31484 New alias.
31485
9635ce69
L
314862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31487
31488 [BZ #18822]
31489 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31490 * include/netdb.h (__gethostbyaddr_r): Likewise.
31491 (__gethostbyname_r): Likewise.
31492 (__gethostbyname2_r): Likewise.
31493 (__getnetbyaddr_r): Likewise.
31494 (__getnetbyname_r): Likewise.
31495 (__getservbyname_r): Likewise.
31496 (__getservbyport_r): Likewise.
31497 (__getprotobyname_r): Likewise.
31498 (__getprotobynumber_r): Likewise.
31499 (__getnetgrent_r): Likewise.
31500 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31501 (__getrpcbynumber_r): Likewise.
31502 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31503
2e0a6909
L
315042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31505
31506 [BZ #18822]
31507 * include/stdio.h (__fcloseall): Add attribute_hidden.
31508 (__getline): Likewise.
31509 (__path_search): Likewise.
31510 (__gen_tempname): Likewise.
31511 (__libc_message): Likewise.
31512 (__flockfile): Likewise.
31513 (__funlockfile): Likewise.
31514 (__fxprintf): Likewise.
31515 (__fxprintf_nocancel): Likewise.
31516
94fd682c
L
315172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31518
31519 [BZ #18822]
31520 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31521 (__sgetsgent_r): Likewise.
31522
e1b33bba
L
315232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31524
31525 [BZ #18822]
31526 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31527 (__statfs64): Likewise.
31528 (__fstatfs64): Likewise.
31529 * include/sys/statvfs.h (__statvfs64): Likewise.
31530 (__fstatvfs64): Likewise.
31531 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31532 (__statfs_filesize_max): Likewise.
31533 (__statfs_symlinks): Likewise.
31534 (__statfs_chown_restricted): Likewise.
31535
b0f56784
L
315362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31537
31538 [BZ #18822]
31539 * include/time.h (__tzstring): Add attribute_hidden.
31540 (__tzfile_read): Likewise.
31541 (__tzfile_compute): Likewise.
31542 (__tzfile_default): Likewise.
31543 (__tzset_parse_tz): Likewise.
31544 (__offtime): Likewise.
31545 (__asctime_r): Likewise.
31546 (__tzset): Likewise.
31547 (__tz_convert): Likewise.
31548 (__getdate_r): Likewise.
31549 (__getclktck): Likewise.
31550
a4338d99
L
315512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31552
31553 [BZ #18822]
31554 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31555 (__nscd_unmap): Likewise.
31556 (__nscd_cache_search): Likewise.
31557 (__nscd_get_nl_timestamp): Likewise.
31558 (__nscd_getpwnam_r): Likewise.
31559 (__nscd_getpwuid_r): Likewise.
31560 (__nscd_getgrnam_r): Likewise.
31561 (__nscd_getgrgid_r): Likewise.
31562 (__nscd_gethostbyname_r): Likewise.
31563 (__nscd_gethostbyname2_r): Likewise.
31564 (__nscd_gethostbyaddr_r): Likewise.
31565 (__nscd_getai): Likewise.
31566 (__nscd_getgrouplist): Likewise.
31567 (__nscd_getservbyname_r): Likewise.
31568 (__nscd_getservbyport_r): Likewise.
31569 (__nscd_innetgr): Likewise.
31570 (__nscd_setnetgrent): Likewise.
31571
a2ca1652
L
315722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31573
31574 [BZ #18822]
31575 * include/gmp.h: Declare internal functions only if _ISOMAC is
31576 undefined.
31577 (__mpn_extract_double): Add attribute_hidden.
31578 (__mpn_extract_long_double): Likewise.
31579 (__mpn_extract_float128): Likewise.
31580 (__mpn_construct_float): Likewise.
31581 (__mpn_construct_double): Likewise.
31582 (__mpn_construct_long_double): Likewise.
31583 (__mpn_construct_float128): Likewise.
31584 (mpn_add_1): Likewise.
31585 (mpn_addmul_1): Likewise.
31586 (mpn_add_n): Likewise.
31587 (mpn_cmp): Likewise.
31588 (mpn_divrem): Likewise.
31589 (mpn_lshift): Likewise.
31590 (mpn_mul): Likewise.
31591 (mpn_mul_1): Likewise.
31592 (mpn_rshift): Likewise.
31593 (mpn_sub_1): Likewise.
31594 (mpn_submul_1): Likewise.
31595 (mpn_sub_n): Likewise.
31596
44af8a32
L
315972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31598
31599 [BZ #18822]
31600 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31601 (__wcscat): Likewise.
31602 (__btowc): Likewise.
31603 (__wcrtomb): Likewise.
31604 (__mbsrtowcs): Likewise.
31605 (__wcsrtombs): Likewise.
31606 (__mbsnrtowcs): Likewise.
31607 (__wcsnrtombs): Likewise.
31608 (__wcsncpy): Likewise.
31609 (__wcpncpy): Likewise.
31610 (__wmemcpy): Likewise.
31611 (__wmempcpy): Likewise.
31612 (__wmemmove): Likewise.
31613 (__wcschrnul): Likewise.
31614 (__vfwscanf): Likewise.
31615 (__vswprintf): Likewise.
31616 (__fwprintf): Likewise.
31617 (__vfwprintf): Likewise.
31618
783cd767
L
316192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31620
31621 [BZ #18822]
31622 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31623 (__getgrgid_r): Likewise.
31624 (__getgrnam_r): Likewise.
31625 * include/pwd.h (__getpwuid_r): Likewise.
31626 (__getpwnam_r): Likewise.
31627 (__fgetpwent_r): Likewise.
31628 * include/shadow.h (__getspnam_r): Likewise.
31629 (__sgetspent_r): Likewise.
31630 (__fgetspent_r): Likewise.
31631
7ec4b39a
L
316322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31633
31634 [BZ #18822]
31635 * include/unistd.h (__access): Add attribute_hidden.
31636 (__lseek64): Likewise.
31637 (__libc_pread64): Likewise.
31638 (__pipe2): Likewise.
31639 (__sleep): Likewise.
31640 (__chdir): Likewise.
31641 (__fchdir): Likewise.
31642 (__getcwd): Likewise.
31643 (__rmdir): Likewise.
31644 (__execvpe): Likewise.
31645 (__execve): Likewise.
31646 (__setsid): Likewise.
31647 (__getuid): Likewise.
31648 (__geteuid): Likewise.
31649 (__getgid): Likewise.
31650 (__getegid): Likewise.
31651 (__getgroups): Likewise.
31652 (__group_member): Likewise.
31653 (__ttyname_r): Likewise.
31654 (__isatty): Likewise.
31655 (__readlink): Likewise.
31656 (__unlink): Likewise.
31657 (__gethostname): Likewise.
31658 (__profil): Likewise.
31659 (__getdtablesize): Likewise.
31660 (__brk): Likewise.
31661 (__ftruncate): Likewise.
31662 (__ftruncate64): Likewise.
31663
8345a760
L
316642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31665
31666 [BZ #18822]
31667 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31668 * argp/argp-fs-xinl.c: Likewise.
31669 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31670 * argp/argp-parse.c: Include <argp.h>.
31671 * argp/argp-xinl.c: Likewise.
31672 * include/argp-fmtstream.h: New file.
31673 * include/argp.h (__argp_error): Add attribute_hidden.
31674 (__argp_failure): Likewise.
31675 (__argp_input): Likewise.
31676 (__argp_state_help): Likewise.
31677
c26dd7c6
L
316782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31679
31680 [BZ #18822]
31681 * include/wchar.h (____wcstof_l_internal): New prototype.
31682 (____wcstod_l_internal): Likewise.
31683 (____wcstold_l_internal): Likewise.
31684 (____wcstol_l_internal): Likewise.
31685 (____wcstoul_l_internal): Likewise.
31686 (____wcstoll_l_internal): Likewise.
31687 (____wcstoull_l_internal): Likewise.
31688 (____wcstof128_l_internal): Likewise.
31689 * sysdeps/ieee754/float128/wcstof128.c
31690 (____wcstof128_l_internal): Removed.
31691 * sysdeps/ieee754/float128/wcstof128_l.c
31692 (____wcstof128_l_internal): Likewise.
31693 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31694 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31695 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31696 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31697 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31698 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31699 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31700 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31701 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31702 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31703
3aff5644
L
317042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31705
31706 [BZ #18822]
31707 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31708 instead of <sys/statvfs.h>.
31709 (__internal_statvfs): Removed.
31710 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31711 instead of <sys/statvfs.h>.
31712 (__internal_statvfs64): Removed.
31713 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31714 "internal_statvfs.h" instead of <sys/statvfs.h>.
31715 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31716 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31717 instead of <sys/statvfs.h>.
31718 (__internal_statvfs): Removed.
31719 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31720 instead of <sys/statvfs.h>.
31721 (__internal_statvfs64): Removed.
31722
8bcdb7e0
L
317232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31724
31725 [BZ #18822]
31726 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31727 (__gconv_close): Likewise.
31728 (__gconv): Likewise.
31729 (__gconv_find_transform): Likewise.
31730 (__gconv_lookup_cache): Likewise.
31731 (__gconv_compare_alias_cache): Likewise.
31732 (__gconv_load_cache): Likewise.
31733 (__gconv_get_path): Likewise.
31734 (__gconv_close_transform): Likewise.
31735 (__gconv_release_cache): Likewise.
31736 (__gconv_find_shlib): Likewise.
31737 (__gconv_release_shlib): Likewise.
31738 (__gconv_get_builtin_trans): Likewise.
31739 (__gconv_compare_alias): Likewise.
31740 * include/dlfcn.h (_dlerror_run): Likewise.
31741 * include/stdio.h (__fortify_fail_abort): Likewise.
31742 * include/time.h (__tz_compute): Likewise.
31743 (__strptime_internal): Likewise.
31744 * intl/gettextP.h (_nl_find_domain): Likewise.
31745 (_nl_load_domain): Likewise.
31746 (_nl_find_msg): Likewise.
31747 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31748 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31749 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31750 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31751 (__gai_find_request): Likewise.
31752 (__gai_remove_request): Likewise.
31753 (__gai_notify): Likewise.
31754 (__gai_notify_only): Likewise.
31755 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31756 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31757 (_dl_non_dynamic_init): Likewise.
31758 (_dl_aux_init): Likewise.
31759 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31760 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31761 Likewise.
31762 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31763 (__wcsmbs_clone_conv): Likewise.
31764 (__wcsmbs_named_conv): Likewise.
31765
8ed3b643
L
317662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31767
31768 [BZ #18822]
31769 * include/stdlib.h (__random): Add attribute_hidden.
31770 (__random_r): Likewise.
31771 (__srandom_r): Likewise.
31772 (__initstate_r): Likewise.
31773 (__setstate_r): Likewise.
31774 (__erand48_r): Likewise.
31775 (__nrand48_r): Likewise.
31776 (__jrand48_r): Likewise.
31777 (__srand48_r): Likewise.
31778 (__seed48_r): Likewise.
31779 (__lcong48_r): Likewise.
31780 (__drand48_iterate): Likewise.
31781 (__setenv): Likewise.
31782 (__unsetenv): Likewise.
31783 (__clearenv): Likewise.
31784 (__ptsname_r): Likewise.
31785 (__posix_openpt): Likewise.
31786 (__add_to_environ): Likewise.
31787 (__realpath): Add libc_hidden_proto.
31788 (__ecvt_r): Likewise.
31789 (__fcvt_r): Likewise.
31790 (__qecvt_r): Likewise.
31791 (__qfcvt_r): Likewise.
31792 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31793 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31794
ef9b6f73
L
317952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 [BZ #18822]
31798 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31799 * include/time.h (__mktime_internal): Likewise.
31800 * libio/iolibio.h (__fopen_internal): Likewise.
31801
8da92e72
JDA
318022017-10-01 John David Anglin <danglin@gcc.gnu.org>
31803
31804 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31805 pointer in frame.
31806 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31807 Correct offset used to restore PIC register.
31808
388784cf
JDA
318092017-09-30 John David Anglin <danglin@gcc.gnu.org>
31810
31811 [BZ libc/22165]
31812 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31813 code to load address of __getcontext_ret when generating PIC code.
31814
2000067a
L
318152017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31816
31817 * elf/Makefile (tests-static-internal): Add
31818 tst-tls1-static-non-pie.
31819 (LDFLAGS-tst-tls1-static-non-pie): New.
31820 * elf/tst-tls1-static-non-pie.c: New file.
31821
1e2bffd0
JM
318222017-09-29 Joseph Myers <joseph@codesourcery.com>
31823
31824 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31825 (asinh): Define using libm_alias_double.
31826 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31827 (cbrt): Define using libm_alias_double.
31828 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31829 <libm-alias-double.h>.
31830 (copysign): Define using libm_alias_double.
31831 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31832 (erf): Define using libm_alias_double.
31833 (erfc): Likewise.
31834 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31835 (expm1): Define using libm_alias_double.
31836 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31837 (fabs): Define using libm_alias_double.
31838 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31839 libm_alias_double.
31840 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31841 <libm-alias-double.h>.
31842 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31843 libm_alias_double.
31844 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31845 <libm-alias-double.h>.
31846 (getpayload): Define using libm_alias_double.
31847 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31848 <libm-alias-double.h>.
31849 (llrint): Define using libm_alias_double.
31850 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31851 (lrint): Define using libm_alias_double.
31852 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31853 <libm-alias-double.h>.
31854 (nextup): Define using libm_alias_double.
31855 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31856 <libm-alias-double.h>.
31857 (roundeven): Define using libm_alias_double.
31858 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31859 libm_alias_double.
31860 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31861 <libm-alias-double.h>.
31862 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31863 using libm_alias_double.
31864 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31865 (cos): Define using libm_alias_double.
31866 (sin): Likewise.
31867 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31868 <libm-alias-double.h>.
31869 (sincos): Define using libm_alias_double.
31870 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31871 (tanh): Define using libm_alias_double.
31872 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31873 <libm-alias-double.h>.
31874 (totalorder): Define using libm_alias_double.
31875 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31876 <libm-alias-double.h>.
31877 (totalordermag): Define using libm_alias_double.
31878 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31879 libm_alias_double.
31880 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31881 libm_alias_double.
31882 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31883 <libm-alias-double.h>.
31884 (getpayload): Define using libm_alias_double.
31885 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31886 <libm-alias-double.h>.
31887 (roundeven): Define using libm_alias_double.
31888 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31889 <libm-alias-double.h>.
31890 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31891 <libm-alias-double.h>.
31892 (totalorder): Define using libm_alias_double.
31893 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31894 <libm-alias-double.h>.
31895 (totalordermag): Define using libm_alias_double.
31896 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31897 libc compat symbol here.
31898 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31899 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31900 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31901 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31902 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31903 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31904 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31905 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31906 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31907 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31908
8172aad9
L
319092017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31910
31911 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31912 _dl_relocate_static_pie instead of _dl_start to compute load
31913 address in static PIE. Return 0 if _DYNAMIC is undefined for
31914 static executable.
31915
54464e74
L
319162017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31917
31918 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31919 _DYNAMIC is undefined for static executable.
31920
f6c5e5bc
L
319212017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31922
31923 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31924
2f92505d
JM
319252017-09-29 Joseph Myers <joseph@codesourcery.com>
31926
31927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31928
bd8d53bb
WD
319292017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31930
31931 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31932 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31933 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31934 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31935 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31936 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31937 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31938 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31939 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31940 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31941 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31942 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31943 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31944 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31945 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31946 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31947 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31948
fffb1507
WD
319492017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31950
31951 * math/bits/cmathcalls.h (cimag): Remove inline.
31952 (creal): Remove inline.
31953 (conj): Remove inline.
31954
4ea49f4c
SN
319552017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31956
31957 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31958 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31959 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31960 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31961 (issignalingf_inline): Likewise.
31962 (POWF_LOG2_TABLE_BITS): Likewise.
31963 (POWF_LOG2_POLY_ORDER): Likewise.
31964 (POWF_SCALE_BITS): Likewise.
31965 (POWF_SCALE): Likewise.
31966 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31967 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31968 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31969
875c76c7
SN
319702017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31971
31972 * math/Makefile (type-float-routines): Add e_log2f_data.
31973 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31974 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31975 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31976 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31977 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31978 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31979 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31980
90c42e40
SN
319812017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31982
31983 * math/Makefile (type-float-routines): Add e_logf_data.
31984 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31985 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31986 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31987 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31988 * sysdeps/i386/fpu/e_logf_data.c: New file.
31989 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31990 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31991
4088d8dd
L
319922017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31993
31994 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31995 undefined _DYNAMIC in PIE libc.a.
31996 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31997 Likewse.
31998
4d3693ec
WD
319992017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32000
32001 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32002 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32003 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32004 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32005 (__signbit): Remove.
32006 (__signbitl): Remove.
32007 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32008 (__signbit): Remove.
32009 (__signbitl): Remove.
32010 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32011 (__signbit): Remove.
32012 (__signbitl): Remove.
32013 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32014 (__signbit): Remove.
32015 (__signbitl): Remove.
32016 * sysdeps/tile/bits/mathinline.h: Delete file.
32017 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32018 (__signbit): Remove.
32019 (__signbitl): Remove.
32020
1e6d0723
WD
320212017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32022
32023 * math/math.h: Improve handling of C99 isgreater macros.
32024 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32025 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32026 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32027 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32028 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32029
b2f03cf3
SN
320302017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32031
32032 * sysdeps/aarch64/libm-test-ulps: Update.
32033
f124cb38
JM
320342017-09-28 Joseph Myers <joseph@codesourcery.com>
32035
32036 [BZ #22225]
32037 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32038 math_opt_barrier on argument when doing arithmetic on it.
32039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32040 Likewise. Use math_force_eval not math_opt_barrier after
32041 arithmetic.
32042 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32043 math_opt_barrier on argument when doing arithmetic on it.
32044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32045 Likewise.
32046
7edd0691
L
320472017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32048
32049 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32050 libc_hidden_def.
32051 (__freeifaddrs): Likewise.
32052
2c7bbfaf
ST
320532017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32054
32055 * include/dirent.h (__dirfd): New declaration.
32056 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32057 alias.
32058 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32059 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32060 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
32061 * include/unistd.h (__revoke): New declaration.
32062 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32063 alias.
32064 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32065 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32066 revoke.
64a4af28
ST
32067 * include/dirent.h (__seekdir): New declaration.
32068 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32069 redefine as weak alias.
32070 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32071 of seekdir.
4009ddc6
ST
32072 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32073 and use libc_hidden_def on them.
32074 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32075 them.
32076 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32077 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32078 instead of getifaddrs and freeifaddrs.
2c7bbfaf 32079
825adeee
L
320802017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32081
32082 [BZ #18822]
32083 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32084 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32085 (__dso_handle): Remove declaration.
32086 * dlfcn/tstatexit.c (__dso_handle): Removed.
32087 (main): Don't check __dso_handle.
32088 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32089 (main): Don't check __dso_handle.
32090 * include/dso_handle.h: New file.
32091 * malloc/mtrace.c: Include <dso_handle.h>.
32092 (mtrace): Pass __dso_handle directly.
32093 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32094 (__dso_handle): Remove declaration.
32095 (__pthread_atfork): Pass __dso_handle directly.
32096 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32097 (__dso_handle): Removed.
32098 * posix/wordexp-test.c: Include <dso_handle.h>.
32099 (__dso_handle): Remove declaration.
32100 (__app_register_atfork): Pass __dso_handle directly.
32101 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32102 (__dso_handle): Remove declaration.
32103 (at_quick_exit): Pass __dso_handle directly.
32104 * stdlib/atexit.c: Include <dso_handle.h>.
32105 (__dso_handle): Remove declaration.
32106 (atexit): Pass __dso_handle directly.
32107 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32108 (__dso_handle): Removed.
32109
bfb0deb3
JM
321102017-09-26 Joseph Myers <joseph@codesourcery.com>
32111
32112 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32113 using VDSO.
32114
cebcb9f8
AM
321152017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32116
32117 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32118 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32119 values to correct default value for given type.
32120
592d5c75
L
321212017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32122
32123 [BZ #22101]
32124 * elf/Makefile (tests): Add tst-debug1.
32125 ($(objpfx)tst-debug1): New.
32126 ($(objpfx)tst-debug1.out): Likewise.
32127 ($(objpfx)tst-debug1mod1.so): Likewise.
32128 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32129 with p_filesz == 0.
32130 * elf/tst-debug1.c: New file.
32131
2d9193f2
JM
321322017-09-26 Joseph Myers <joseph@codesourcery.com>
32133
32134 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32135 Define using __ifunc.
32136
4c5a7a02
TMQMF
321372017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32138
32139 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32140 exp2f() values.
32141
12ef66c4
JM
321422017-09-26 Joseph Myers <joseph@codesourcery.com>
32143
32144 [BZ #22156]
32145 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32146
44dade71
FW
321472017-09-26 Florian Weimer <fweimer@redhat.com>
32148
32149 * resolv/Makefile (tests-internal): Fix typo in comment.
32150
eaca16f1
FW
321512017-09-26 Florian Weimer <fweimer@redhat.com>
32152
32153 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32154
ccf970c7
AZ
321552017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32156
5f9f31ad
AZ
32157 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32158 Use an union instead of a max_align_t array for __space,
32159 so that __space is the same size on all platforms.
32160 * malloc/scratch_buffer_grow_preserve.c
32161 (__libc_scratch_buffer_grow_preserve): Likewise.
32162
ccf970c7
AZ
32163 [BZ #22183]
32164 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32165 version to 2.
32166 * posix/Makefile (routines): Add glob-lstat-compat and
32167 glob64-lstat-compat.
32168 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32169 * posix/glob-lstat-compat.c: New file.
32170 * posix/glob64-lstat-compat.c: Likewise.
32171 * posix/tst-glob_lstat_compat.c: Likewise.
32172 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32173 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32174 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32175 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32176 Likewise.
32177 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32178 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32179 * posix/glob.c (glob_lstat): New function.
32180 (glob): Rename to __glob and add versioned symbol to 2.27.
32181 (glob_in_dir): Use glob_lstat.
32182 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32183 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32184 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32185 2.27.
32186 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32187 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32188 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32189 gl_lstat on glob call.
32190 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32191 and glob64 symbols.
32192 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32193 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32194 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32195 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32196 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32197 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32198 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32199 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32200 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32202 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32203 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32205 Likewise.
32206 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32208 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32210 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32211 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32212 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32215 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32216 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32217 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32218
b4396163
L
322192017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32220
32221 * configure.ac (AS): Require binutils 2.25 or later.
32222 * configure: Regenerated.
32223
8f834987
PP
322242017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32225
32226 [BZ #22207]
32227 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32228 VM size.
32229
3de93d19
DD
322302017-09-25 DJ Delorie <dj@redhat.com>
32231
32232 [BZ #22161]
32233 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32234 resetting timeout.
32235
9947638d
SL
322362017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32237
32238 * sysdeps/ieee754/dbl-64/sincos32.h
32239 [SINCCOS32_H]: Remove define.
32240 [SINCOS32_H]: Define.
32241
f5f0f526
SN
322422017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32243
32244 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32245 (exp2f): Likewise.
32246 * math/w_exp2f.c: New file.
32247 * math/w_expf.c: New file.
32248 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32249 * math/w_expf_compat.c (__expf_compat): Likewise.
32250 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32251 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32252 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32253 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32254 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32255 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32256 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32257 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32258 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32259 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32260 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32261 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32262 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32263 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32265 Likewise.
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32267 Likewise.
32268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32269 Likewise.
32270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32271 Likewise.
32272 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32273 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32274 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32275 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32276 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32278 Likewise.
32279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32280 Likewise.
32281 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32282 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32283 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32284
72aa6233
SN
322852017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32286
32287 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32288 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32289 (roundtoint, converttoint): Likewise.
32290 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32291 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32292 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32293 * sysdeps/ieee754/flt-32/math_config.h: New file.
32294 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32295 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32296 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32297 * sysdeps/i386/fpu/math_errf.c: New file.
32298 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32299 * sysdeps/ia64/fpu/math_errf.c: New file.
32300 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32301 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32302
5e6f3253
ST
323032017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32304
32305 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32306 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32307 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32308 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32309 to make sure that these symbols are defined.
b38a42a0
ST
32310 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32311 of <limits.h>
32312 (__need_NULL): Do not define.
32313 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32314 alignment.
32315 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32316 CMGROUP_MAX, cmsgcred): Do not define.
32317 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32318 NULL.
32319 * bits/socket.h: Likewise.
fcafcd16
ST
32320 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32321 __gettimeofday instead of gettimeofday.
32322 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32323 instead of settimeofday.
5e6f3253 32324
2f49ce7d
JM
323252017-09-22 Joseph Myers <joseph@codesourcery.com>
32326
32327 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32328 (asinhf): Define using libm_alias_float.
32329 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32330 (atanf): Define using libm_alias_float.
32331 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32332 (cbrtf): Define using libm_alias_float.
32333 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32334 (ceilf): Define using libm_alias_float.
32335 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32336 <libm-alias-float.h>.
32337 (copysignf): Define using libm_alias_float.
32338 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32339 (cosf): Define using libm_alias_float.
32340 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32341 (erff): Define using libm_alias_float.
32342 (erfcf): Likewise.
32343 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32344 (expm1f): Define using libm_alias_float.
32345 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32346 (fabsf): Define using libm_alias_float.
32347 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32348 (floorf): Define using libm_alias_float.
32349 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32350 (frexpf): Define using libm_alias_float.
32351 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32352 libm_alias_float.
32353 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32354 <libm-alias-float.h>.
32355 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32356 libm_alias_float.
32357 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32358 <libm-alias-float.h>.
32359 (getpayloadf): Define using libm_alias_float.
32360 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32361 <libm-alias-float.h>.
32362 (llrintf): Define using libm_alias_float.
32363 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32364 <libm-alias-float.h>.
32365 (llroundf): Define using libm_alias_float.
32366 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32367 (logbf): Define using libm_alias_float.
32368 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32369 (lrintf): Define using libm_alias_float.
32370 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32371 (lroundf): Define using libm_alias_float.
32372 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32373 (modff): Define using libm_alias_float.
32374 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32375 <libm-alias-float.h>.
32376 (nearbyintf): Define using libm_alias_float.
32377 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32378 <libm-alias-float.h>.
32379 (nextafterf): Define using libm_alias_float.
32380 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32381 <libm-alias-float.h>.
32382 (nextupf): Define using libm_alias_float.
32383 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32384 <libm-alias-float.h>.
32385 (remquof): Define using libm_alias_float.
32386 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32387 (rintf): Define using libm_alias_float.
32388 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32389 <libm-alias-float.h>.
32390 (roundevenf): Define using libm_alias_float.
32391 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32392 (roundf): Define using libm_alias_float.
32393 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32394 using libm_alias_float.
32395 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32396 <libm-alias-float.h>.
32397 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32398 Define using libm_alias_float.
32399 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32400 <libm-alias-float.h>.
32401 (sincosf): Define using libm_alias_float.
32402 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32403 (sinf): Define using libm_alias_float.
32404 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32405 (tanf): Define using libm_alias_float.
32406 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32407 (tanhf): Define using libm_alias_float.
32408 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32409 <libm-alias-float.h>.
32410 (totalorderf): Define using libm_alias_float.
32411 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32412 <libm-alias-float.h>.
32413 (totalordermagf): Define using libm_alias_float.
32414 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32415 (truncf): Define using libm_alias_float.
32416 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32417 libm_alias_float.
32418 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32419 libm_alias_float.
32420
c5c4a626
GG
324212017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32422
32423 [BZ #22146]
32424 math/math.h: Let fpclassify use the builtin in C++ mode, even
32425 when optimazing for size.
32426
23947846
JM
324272017-09-22 Joseph Myers <joseph@codesourcery.com>
32428
32429 * csu/Makefile (generated): Do not add version-info.h.
32430 (before-compile): Likewise.
32431 (all-Banner-files): Remove variable.
32432 ($(objpfx)version-info.h): Remove rule.
32433 * csu/version.c (banner): Do not include "version-info.h".
32434 * libidn/Banner: Remove.
32435 * manual/contrib.texi (Simon Josefsson): New entry.
32436
9ac3c682
GG
324372017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32438
32439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32440 Remove conditionals on LDBL_MANT_DIG.
32441 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32442 (__ieee754_lgammal_r): Likewise.
32443
d2f0ed09
GG
324442017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32445
32446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32447 _Float128 and L().
32448 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32449 _Float128 and L(). Replace _Float128 with long double and L(x)
32450 with xL, throughout the file.
32451 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32452 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32453 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32454 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32455
c5c2e667
GG
324562017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32457
32458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32459 sysdeps/ieee754/ldbl-128ibm.
32460 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32461 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32462 of including it. Keep _Float128 and L() intact. These will be
32463 reviewed by a separate patch.
32464 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32465 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32466 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32467 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32468
e010deb2
GG
324692017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32470
32471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32472 (__finitef128): Define to __redirect___finitef128.
32473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32474 (__isinff128): Define to __redirect___isinff128.
32475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32476 (__isnanf128): Define to __redirect___isnanf128.
32477
ffa44804
GG
324782017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32479
32480 * sysdeps/powerpc/powerpc64le/Makefile
32481 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32482 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32483
e5e4d7cc
PP
324842017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32485 Carlos O'Donell <carlos@redhat.com>
32486
32487 [BZ #22180]
32488 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32489 * stdlib/test-dlclose-exit-race.c: New file.
32490 * stdlib/test-dlclose-exit-race-helper.c: New file.
32491 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32492
c10c5267
JM
324932017-09-21 Joseph Myers <joseph@codesourcery.com>
32494
32495 * crypt/Banner: Remove file.
32496 * nptl/Banner: Likewise.
32497 * resolv/Banner: Likewise.
32498 * soft-fp/Banner: Likewise.
32499 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32500 ($(objpfx)version.d): Remove dependency on banner.h.
32501 ($(objpfx)version.os): Likewise.
32502 * nptl/version.c (banner): Do not include banner.h.
32503 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32504 Jelinek and BIND code.
32505
1cc9e59a
PP
325062017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32507 Carlos O'Donell <carlos@redhat.com>
32508
32509 * support/xdlfcn.h: New file.
32510 * support/xdlfcn.c: New file.
32511 * support/Makefile (libsupport-routines): Add xdlfcn.
32512 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32513
ae8372d7
JM
325142017-09-20 Joseph Myers <joseph@codesourcery.com>
32515
32516 [BZ #20142]
32517 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32518 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32519 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32520 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32521 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32522 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32523 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32525
26e70aec 325262017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
32527 Ricky Zhou <rickyz@google.com>
32528 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
32529
32530 [BZ #14333]
32531 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32532 Remove atomics.
32533 (__new_exitfn): Fail registration when we finished at_exit processing.
32534 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32535 * stdlib/on_exit.c (__on_exit): Likewise.
32536 * stdlib/exit.c (__exit_funcs_done): New variable.
32537 (__run_exit_handlers): Use __exit_funcs_lock.
32538 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32539 declarations.
32540 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32541 (test-cxa_atexit-race, test-on_exit-race): New tests.
32542 * stdlib/test-atexit-race-common.c: New file.
32543 * stdlib/test-atexit-race.c: New file.
32544 * stdlib/test-at_quick_exit-race.c: New file.
32545 * stdlib/test-cxa_atexit-race.c: New file.
32546 * stdlib/test-on_exit-race.c: New file.
32547
0525ce48
SN
325482017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32549
32550 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32551 * benchtests/exp2f-inputs: Copy of expf-inputs.
32552 * benchtests/log2f-inputs: Copy of logf-inputs.
32553
d82468d1
JM
325542017-09-19 Joseph Myers <joseph@codesourcery.com>
32555
32556 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32557 Explicitly take address of first element of array arguments in
32558 call to INLINE_SYSCALL.
32559
43ffc53a
AS
325602017-09-19 Andreas Schwab <schwab@suse.de>
32561
32562 [BZ #22134]
32563 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32564 execveat first.
32565 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32566 unimplemented.
32567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32568 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32569 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32570 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32571 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32572 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32574 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32575 * posix/Makefile (tests): Add tst-fexecve.
32576 * posix/tst-fexecve.c: New file.
32577
a5dcc87e
WD
325782017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32579
32580 * benchtests/Makefile: Add logf benchmark.
32581 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32582
7024d544
WD
325832017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32584
32585 * benchtests/Makefile: Add expf benchmark.
32586 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32587
ca3a382e
WD
325882017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32589
32590 * csu/Makefile: Add -funwind-tables to libc-start.c.
32591 * debug/Makefile: Add -funwind-tables to backtrace.c.
32592 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32593 * sysdeps/arm/Makefile: Likewise.
32594 * sysdeps/i386/Makefile: Likewise.
32595 * sysdeps/m68k/Makefile: Likewise.
32596 * sysdeps/mips/Makefile: Likewise.
32597 * sysdeps/nios2/Makefile: Likewise.
32598 * sysdeps/sh/Makefile: Likewise.
32599 * sysdeps/sparc/Makefile: Likewise.
32600
eb375def
JM
326012017-09-19 Joseph Myers <joseph@codesourcery.com>
32602
32603 * benchtests/Makefile (bench-math): Add trunc and truncf.
32604 (CFLAGS-bench-trunc.c): New variable.
32605 (CFLAGS-bench-truncf.c): Likewise.
32606 * benchtests/trunc-inputs: New file.
32607 * benchtests/truncf-inputs: Likewise.
32608
bd17ba29
RS
326092017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32610
32611 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32612
92892fdb
JM
326132017-09-18 Joseph Myers <joseph@codesourcery.com>
32614
6d9b0b5a
JM
32615 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32616 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32617 redefine.
32618 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32619 (exp10l): Define as weak alias.
32620 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32621 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32622 and redefine.
32623 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32624 (remainderl): Define as weak alias.
32625
92892fdb
JM
32626 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32627 (fmal): Define using libm_alias_ldouble.
32628 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32629 (acoshl): Define using libm_alias_ldouble.
32630 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32631 (acosl): Define using libm_alias_ldouble.
32632 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32633 (asinl): Define using libm_alias_ldouble.
32634 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32635 (atan2l): Define using libm_alias_ldouble.
32636 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32637 (atanhl): Define using libm_alias_ldouble.
32638 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32639 (coshl): Define using libm_alias_ldouble.
32640 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32641 (exp10l): Define using libm_alias_ldouble.
32642 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32643 (exp2l): Define using libm_alias_ldouble.
32644 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32645 (expl): Define using libm_alias_ldouble.
32646 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32647 (fmodl): Define using libm_alias_ldouble.
32648 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32649 (hypotl): Define using libm_alias_ldouble.
32650 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32651 (j0l): Define using libm_alias_ldouble.
32652 (y0l): Likewise.
32653 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32654 (j1l): Define using libm_alias_ldouble.
32655 (y1l): Likewise.
32656 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32657 (jnl): Define using libm_alias_ldouble.
32658 (ynl): Likewise.
32659 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32660 (log10l): Define using libm_alias_ldouble.
32661 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32662 (log2l): Define using libm_alias_ldouble.
32663 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32664 (logl): Define using libm_alias_ldouble.
32665 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32666 (powl): Define using libm_alias_ldouble.
32667 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32668 (remainderl): Define using libm_alias_ldouble.
32669 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32670 (sinhl): Define using libm_alias_ldouble.
32671 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32672 (sqrtl): Define using libm_alias_ldouble.
32673 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32674 (tgammal): Define using libm_alias_ldouble.
32675 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32676 (exp10l): Do not use long_double_symbol here.
32677 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32678 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32679 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32680 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32681 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32682 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32683 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32684 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32685 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32686 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32687 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32688 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32689 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32690 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32691 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32692 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32693 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32694 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32695 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32696 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32697 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32698 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32699
6cd380dd
WB
327002017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32701
32702 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32703 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32704
1c6d89e9
ST
327052017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32706
32707 * io/read.c (read): Add libc_hidden_weak.
32708 * sysdeps/mach/hurd/read.c (read): Likewise.
32709 * io/write.c (write): Likewise.
32710 * sysdeps/mach/hurd/write.c (write): Likewise.
32711 * io/pread64.c (__pread64): Likewise.
32712 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32713 * posix/pread64.c (__pread64): Add libc_hidden_def.
32714
06b1de23
SP
327152017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32716
140647ea
SP
32717 * benchtests/scripts/compare_strings.py: New option -g.
32718 (draw_graph): Print a message that a graph is being generated.
32719 (process_results): Generate graph only if -g is passed.
32720 (main): Process option -g.
32721
5a6547b7
SP
32722 * benchtests/scripts/compare_strings.py (process_results):
32723 Better spacing for output.
32724
06b1de23
SP
32725 * benchtests/scripts/compare_strings.py: Use argparse.
32726 * benchtests/README: Document existence of compare_strings.py.
32727
c67a2328
JM
327282017-09-15 Joseph Myers <joseph@codesourcery.com>
32729
9ac44708
JM
32730 * math/s_fma.c: Include <libm-alias-double.h>.
32731 (fma): Define using libm_alias_double.
32732 * math/s_nextafter.c: Include <libm-alias-double.h>.
32733 (nextafter): Define using libm_alias_double.
32734 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32735 (acos): Define using libm_alias_double.
32736 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32737 (aocsh): Define using libm_alias_double.
32738 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32739 (asin): Define using libm_alias_double.
32740 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32741 (atan2): Define using libm_alias_double.
32742 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32743 (atanh): Define using libm_alias_double.
32744 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32745 (cosh): Define using libm_alias_double.
32746 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32747 (exp10): Define using libm_alias_double.
32748 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32749 (exp2): Define using libm_alias_double.
32750 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32751 (exp): Define using libm_alias_double.
32752 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32753 (fmod): Define using libm_alias_double.
32754 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32755 (hypot): Define using libm_alias_double.
32756 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32757 (j0): Define using libm_alias_double.
32758 (y0): Likewise.
32759 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32760 (j1): Define using libm_alias_double.
32761 (y1): Likewise.
32762 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32763 (jn): Define using libm_alias_double.
32764 (yn): Likewise.
32765 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32766 (log10): Define using libm_alias_double.
32767 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32768 (log2): Define using libm_alias_double.
32769 * math/w_log_compat.c: Include <libm-alias-double.h>.
32770 (log): Define using libm_alias_double.
32771 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32772 (pow): Define using libm_alias_double.
32773 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32774 (remainder): Define using libm_alias_double.
32775 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32776 (sinh): Define using libm_alias_double.
32777 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32778 (sqrt): Define using libm_alias_double.
32779 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32780 (tgamma): Define using libm_alias_double.
32781 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32782 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32783 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32784 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32785 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32786 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32787 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32788 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32789 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32790 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32791 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32792 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32793 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32794 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32795 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32796 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32797 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32798 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32799 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32800 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32801 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32802 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32803 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32804 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32805 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32806
c67a2328
JM
32807 * math/e_acoshl.c: Remove.
32808 * math/e_acosl.c: Likewise.
32809 * math/e_asinl.c: Likewise.
32810 * math/e_atan2l.c: Likewise.
32811 * math/e_atanhl.c: Likewise.
32812 * math/e_coshl.c: Likewise.
32813 * math/e_expl.c: Likewise.
32814 * math/e_fmodl.c: Likewise.
32815 * math/e_gammal_r.c: Likewise.
32816 * math/e_hypotl.c: Likewise.
32817 * math/e_j0l.c: Likewise.
32818 * math/e_j1l.c: Likewise.
32819 * math/e_jnl.c: Likewise.
32820 * math/e_lgammal_r.c: Likewise.
32821 * math/e_log10l.c: Likewise.
32822 * math/e_log2l.c: Likewise.
32823 * math/e_logl.c: Likewise.
32824 * math/e_powl.c: Likewise.
32825 * math/e_rem_pio2l.c: Likewise.
32826 * math/e_sinhl.c: Likewise.
32827 * math/e_sqrtf128.c: Likewise.
32828 * math/e_sqrtl.c: Likewise.
32829 * math/k_cosl.c: Likewise.
32830 * math/k_sinl.c: Likewise.
32831 * math/k_tanl.c: Likewise.
32832 * math/s_asinhl.c: Likewise.
32833 * math/s_atanl.c: Likewise.
32834 * math/s_cbrtl.c: Likewise.
32835 * math/s_erfl.c: Likewise.
32836 * math/s_expm1l.c: Likewise.
32837 * math/s_log1pl.c: Likewise.
32838 * math/s_tanhl.c: Likewise.
32839
61c45f25
TMQMF
328402017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32841
32842 [BZ #21745]
32843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32844 [$(subdir) = math] (sysdep_calls): New variable. Has the
32845 previous contents of sysdep_routines, but re-sorted..
32846 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32847 sysdep_calls.
32848 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32849 defined in sysdep_calls and replace by the respective m_* names.
32850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32851 (compat_symbol): Undefine to avoid duplicated compat symbols in
32852 libc.
32853
5bcdb315
JM
328542017-09-15 Joseph Myers <joseph@codesourcery.com>
32855
32856 * math/s_fmaf.c: Include <libm-alias-float.h>.
32857 (fmaf): Define using libm_alias_float.
32858 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32859 (acosf): Define using libm_alias_float.
32860 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32861 (acoshf): Define using libm_alias_float.
32862 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32863 (asinf): Define using libm_alias_float.
32864 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32865 (atan2f): Define using libm_alias_float.
32866 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32867 (atanhf): Define using libm_alias_float.
32868 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32869 (coshf): Define using libm_alias_float.
32870 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32871 (exp10f): Define using libm_alias_float.
32872 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32873 (fmodf): Define using libm_alias_float.
32874 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32875 (hypotf): Define using libm_alias_float.
32876 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32877 (j0f): Define using libm_alias_float.
32878 (y0f): Likewise.
32879 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32880 (j1f): Define using libm_alias_float.
32881 (y1f): Likewise.
32882 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32883 (jnf): Define using libm_alias_float.
32884 (ynf): Likewise.
32885 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32886 (log10f): Define using libm_alias_float.
32887 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32888 (log2f): Define using libm_alias_float.
32889 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32890 (logf): Define using libm_alias_float.
32891 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32892 (powf): Define using libm_alias_float.
32893 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32894 (remainderf): Define using libm_alias_float.
32895 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32896 (sinhf): Define using libm_alias_float.
32897 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32898 (sqrtf): Define using libm_alias_float.
32899 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32900 (tgammaf): Define using libm_alias_float.
32901
01f28812
JM
329022017-09-14 Joseph Myers <joseph@codesourcery.com>
32903
32904 * include/math.h (roundeven): Change hidden_proto call to
32905 __roundeven.
32906 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32907 alias.
32908 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32909 (y0): Rename to __y0 and define as weak alias.
32910 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32911 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32912 alias.
32913 (y0f): Rename to __y0f and define as weak alias.
32914 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32915 alias.
32916 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32917 (y1): Rename to __y1 and define as weak alias.
32918 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32919 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32920 alias.
32921 (y1f): Rename to __y1f and define as weak alias.
32922 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32923 alias.
32924 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32925 (yn): Rename to __yn and define as weak alias.
32926 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32927 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32928 alias.
32929 (ynf): Rename to __ynf and define as weak alias.
32930 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32931 (fromfp): Define as weak alias.
32932 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32933 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32934 (fromfpx): Define as weak alias.
32935 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32936 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32937 __getpayload and define as weak alias.
32938 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32939 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32940 __roundeven and define as weak alias.
32941 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32942 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32943 __setpayload.
32944 (setpayload): Define as weak alias.
32945 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32946 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32947 __setpayloadsig.
32948 (setpayloadsig): Define as weak alias.
32949 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32950 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32951 __totalorder and define as weak alias.
32952 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32953 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32954 to __totalordermag and define as weak alias.
32955 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32956 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32957 (ufromfp): Define as weak alias.
32958 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32959 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32960 __ufromfpx.
32961 (ufromfpx): Define as weak alias.
32962 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32963 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32964 Rename to __getpayload and define as weak alias.
32965 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32966 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32967 Rename to __roundeven and define as weak alias.
32968 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32969 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32970 Rename to __totalorder and define as weak alias.
32971 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32972 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32973 (totalordermag): Rename to __totalordermag and define as weak
32974 alias.
32975 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32976 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32977 macro.
32978 (__roundevenl): Likewise.
32979 (__totalorderl): Likewise.
32980 (__totalordermagl): Likewise
32981 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32982 __fromfpf128.
32983 (fromfpf128): Define as weak alias.
32984 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32985 __fromfpxf128.
32986 (fromfpxf128): Define as weak alias.
32987 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32988 __setpayloadf128.
32989 (setpayloadf128): Define as weak alias.
32990 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32991 __setpayloadsigf128.
32992 (setpayloadsigf128): Define as weak alias.
32993 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32994 __ufromfpf128.
32995 (ufromfpf128): Define as weak alias.
32996 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32997 __ufromfpxf128.
32998 (ufromfpxf128): Define as weak alias.
32999 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33000 (fromfpf): Define as weak alias.
33001 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33002 __fromfpxf.
33003 (fromfpxf): Define as weak alias.
33004 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33005 __getpayloadf and define as weak alias.
33006 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33007 __roundevenf and define as weak alias.
33008 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33009 __setpayloadf.
33010 (setpayloadf): Define as weak alias.
33011 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33012 __setpayloadsigf.
33013 (setpayloadsigf): Define as weak alias.
33014 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33015 __totalorderf and define as weak alias.
33016 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33017 Rename to __totalordermagf and define as weak alias.
33018 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33019 __ufromfpf.
33020 (ufromfpf): Define as weak alias.
33021 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33022 __ufromfpxf.
33023 (ufromfpxf): Define as weak alias.
33024 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33025 __fromfpl.
33026 (fromfpl): Define as weak alias.
33027 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33028 __fromfpxl.
33029 (fromfpxl): Define as weak alias.
33030 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33031 to __getpayloadl and define as weak alias.
33032 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33033 __roundevenl and define as weak alias.
33034 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33035 __setpayloadl.
33036 (setpayloadl): Define as weak alias.
33037 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33038 __setpayloadsigl.
33039 (setpayloadsigl): Define as weak alias.
33040 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33041 to __totalorderl and define as weak alias.
33042 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33043 Rename to __totalordermagl and define as weak alias.
33044 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33045 __ufromfpl.
33046 (ufromfpl): Define as weak alias.
33047 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33048 __ufromfpxl.
33049 (ufromfpxl): Define as weak alias.
33050 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33051 __fromfpl.
33052 (fromfpl): Define as weak alias.
33053 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33054 __fromfpxl.
33055 (fromfpxl): Define as weak alias.
33056 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33057 Rename to __getpayloadl and define as weak alias.
33058 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33059 to __roundevenl and define as weak alias. Call __roundeven
33060 instead of roundeven.
33061 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33062 __setpayloadl.
33063 (setpayloadl): Define as weak alias.
33064 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33065 __setpayloadsigl.
33066 (setpayloadsigl): Define as weak alias.
33067 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33068 Rename to __totalorderl and define as weak alias.
33069 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33070 Rename to __totalordermagl and define as weak alias.
33071 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33072 __ufromfpl.
33073 (ufromfpl): Define as weak alias.
33074 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33075 __ufromfpxl.
33076 (ufromfpxl): Define as weak alias.
33077 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33078 __fromfpl.
33079 (fromfpl): Define as weak alias.
33080 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33081 __fromfpxl.
33082 (fromfpxl): Define as weak alias.
33083 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33084 __getpayloadl and define as weak alias.
33085 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33086 __roundevenl and define as weak alias.
33087 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33088 __setpayloadl.
33089 (setpayloadl): Define as weak alias.
33090 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33091 __setpayloadsigl.
33092 (setpayloadsigl): Define as weak alias.
33093 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33094 __totalorderl and define as weak alias.
33095 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33096 Rename to __totalordermagl and define as weak alias.
33097 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33098 __ufromfpl.
33099 (ufromfpl): Define as weak alias.
33100 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33101 __ufromfpxl.
33102 (ufromfpxl): Define as weak alias.
33103
29c933fb
SP
331042017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33105
503c92c3
SP
33106 * benchtests/bench-string.h (realloc_bufs): New function.
33107 (test_init): Call it.
33108 * benchtests/bench-memset-large.c (do_test): Likewise.
33109 * benchtests/bench-memset.c (do_test): Likewise.
33110
29c933fb
SP
33111 * benchtests/bench-memset-large.c: Print output in JSON
33112 format.
33113 * benchtests/bench-memset.c: Likewise.
33114
799c8d69
MF
331152017-09-14 Mike FABIAN <mfabian@redhat.com>
33116
33117 [BZ #21084]
33118 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33119 * iconvdata/Makefile: Add IBM858.
33120 * iconvdata/gconv-modules: Likewise.
33121 * iconvdata/tst-tables.sh: Likewise.
33122 * iconvdata/ibm858.c: New file.
33123 * localedata/charmaps/IBM858: Likewise.
33124
c207f7ce 331252017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
33126
33127 [BZ #22023]
33128 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33129 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33130
f28a0926
AK
331312017-09-14 Mike FABIAN <mfabian@redhat.com>
33132
33133 [BZ #22112]
33134 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33135 and add tel_int_fmt.
33136
02093e62
JM
331372017-09-14 Joseph Myers <joseph@codesourcery.com>
33138
33139 * sysdeps/generic/libm-alias-float128.h: New file.
33140 * sysdeps/generic/math-type-macros-float128.h: Include
33141 <libm-alias-float128.h>.
33142 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33143
1aae75ef
JM
331442017-09-13 Joseph Myers <joseph@codesourcery.com>
33145
33146 * sysdeps/generic/libm-alias-ldouble.h: New file.
33147 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33148 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33149 * sysdeps/generic/math-type-macros-ldouble.h: Include
33150 <libm-alias-ldouble.h>.
33151 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33152 libm_alias_ldouble.
33153
bcea7ad6
SN
331542017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33155
33156 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33157 * math/w_exp_compat.c: ... here.
33158 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33159 * math/w_expf_compat.c: ... here.
33160 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33161 * math/w_expl_compat.c: ... here.
33162 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33163 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33164 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33165 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33166
0fc56478
JM
331672017-09-13 Joseph Myers <joseph@codesourcery.com>
33168
33169 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33170 redefine.
33171 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33172 macro.
33173 (ldexpl): Only define as compat symbol for libc, not libm.
33174 (scalbnl): Define as compat symbol for libc here.
33175 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33176 define for [IS_IN (libc)].
33177 (__ldexpl_2): Remove alias.
33178 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33179 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33180 name in long_double_symbol call.
33181 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33182 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33183 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33184 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33185 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33186 Remove macro.
33187 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33188 Define as compat symbol.
33189
3ca622e4
AZ
331902017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33191
33192 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33193 * sysdeps/unix/sysv/linux/alpha/Makefile
33194 [$(subdir) = csu] (sysdep_routines): Remove rule.
33195
620ff9ee
JM
331962017-09-13 Joseph Myers <joseph@codesourcery.com>
33197
33198 * sysdeps/generic/libm-alias-double.h: New file.
33199 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33200 * sysdeps/generic/math-type-macros-double.h: Include
33201 <libm-alias-double.h>.
33202 [declare_mgen_alias] (declare_mgen_alias): Define to use
33203 libm_alias_double.
33204 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33205 (M_LIBM_NEED_COMPAT): Remove macro.
33206 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33207 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33208 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33209 code.
33210 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33211 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33212 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33213 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33214 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33215 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33216 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33217 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33218 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33219 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33220 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33221 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33222 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33223 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33224 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33225 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33226 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33227 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33228 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33229 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33230 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33231 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33232 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33233 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33234 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33235 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33236 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33237 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33238 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33239 macro.
33240 (declare_mgen_alias): New macro.
33241 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33242 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33244 (M_LIBM_NEED_COMPAT): Remove macro.
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33246 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33247 <first-versions.h>.
33248 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33249 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33250
a891caff
JM
332512017-09-12 Joseph Myers <joseph@codesourcery.com>
33252
33253 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33254 (declare_mgen_alias_2): Remove.
33255 * sysdeps/generic/math-type-macros-double.h
33256 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33257 Likewise.
33258 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33259 alias.
33260 (ldexp): Define with declare_mgen_alias.
33261 (scalbn): Likewise.
33262
a1a78204
SE
332632017-09-12 Steve Ellcey <sellcey@cavium.com>
33264
33265 * grp/initgroups.c: Include config.h.
33266 (DEFAULT_CONFIG): New macro.
33267 (internal_getgrouplist): Use DEFAULT_CONFIG.
33268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33269 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33270 (DEFAULT_DEFCONFIG): New macro.
33271 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33272 * nss/grp-lookup.c: Include config.h
33273 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33274 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33275 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33276 * manual/nss.texi: Update default values section.
33277
ef8adeb0
L
332782017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33279
33280 [BZ #21967]
33281 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33282 New.
33283 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33284 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33285 Handle MathVec_Prefer_No_AVX512.
33286 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33287 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33288 is set.
33289
a166531f
ST
332902017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33291
33292 * posix/sched_primax.c (__sched_get_priority_max): Add
33293 libc_hidden_def.
33294 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33295 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33296 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33297 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33298 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33299 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33300 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33301 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33302 Add aliases.
33303
4b7d1efb
JM
333042017-09-11 Joseph Myers <joseph@codesourcery.com>
33305
33306 * sysdeps/generic/libm-alias-float.h: New file.
33307 * sysdeps/generic/math-type-macros-float.h: Include
33308 <libm-alias-float.h>.
33309 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33310
45ff3463
L
333112017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33312
33313 [BZ #22093]
33314 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33315 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33316 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33317 (HWCAP_IMPORTANT): Likewise.
33318 (HWCAP_X86_64): New enum.
33319 (HWCAP_X86_AVX512_1): Updated.
33320 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33321 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33322 (modules-names): Add x86_64/tst-x86_64mod-1.
33323 (LDFLAGS-tst-x86_64mod-1.so): New.
33324 ($(objpfx)tst-x86_64-1): Likewise.
33325 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33326 (tst-x86_64-1-clean): Likewise.
33327 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33328 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33329
891abfd3
SP
333302017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33331
33332 * po/sv.po: Update translations.
33333 * po/fr.po: Likewise.
33334
00c3da43
ST
333352017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33336
33337 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33338 seconds.
3bdfd9fb
ST
33339 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33340 seconds.
65b22ebc 33341 * elf/rtld-Rules: Fix $(error) use.
00c3da43 33342
96480903
MF
333432017-09-09 Mike FABIAN <mfabian@redhat.com>
33344
33345 [BZ #14925]
33346 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33347 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33348 * localedata/locales/bn_BD: “Bengali” was still used in some
33349 comments. Change it to “Bangla”.
33350
4c03a696
MT
333512017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33352
33353 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33354
9c9ec581
SE
333552017-09-08 Steve Ellcey <sellcey@cavium.com>
33356
33357 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33358 thunderx2t99p1 to list of cpu names.
33359 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33360 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33361
f00bce74
SE
333622017-09-08 Steve Ellcey <sellcey@cavium.com>
33363
33364 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33365 Use strcmp instead of tunable_is_name.
33366
27342d17
JM
333672017-09-08 Joseph Myers <joseph@codesourcery.com>
33368
af1b7c8c
JM
33369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33370 (F_GET_RW_HINT): New macro.
33371 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33372 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33373 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33374 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33375 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33376 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33377 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33378 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33379 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33380
27342d17
JM
33381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33382 (F_ADD_SEALS): New macro.
33383 [__USE_GNU] (F_GET_SEALS): Likewise.
33384 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33385 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33386 [__USE_GNU] (F_SEAL_GROW): Likewise.
33387 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33388
c66c9082
AZ
333892017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33390
07b4f49d
AZ
33391 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33392 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33393 * posix/glob_internal.h (__glob_pattern_type):
33394 * posix/glob.c (glob):
33395 * posix/glob_pattern_p.c (__glob_pattern_p):
33396 Use them.
33397
116f1c64
AZ
33398 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33399 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33400 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33401 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33402 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33404 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33405 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33406 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33407 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33408 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33409 * sysdeps/wordsize-64/glob.c: Likewise.
33410 * sysdeps/wordsize-64/glob64.c: Likewise.
33411 * sysdeps/wordsize-64/globfree.c: Likewise.
33412 * sysdeps/wordsize-64/globfree64.c: Likewise.
33413 * sysdeps/unix/sysv/linux/glob.c: New file.
33414 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33415 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33416 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33417 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33418 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33419 adds !GLOB_NO_OLD_VERSION as an extra condition.
33420 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33421 using relative path instead of absolute one.
33422 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33423 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33424 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33425 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33426 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33427 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33428
ffca8901
AZ
33429 [BZ #1062]
33430 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33431 (glob): Use the same scratch buffer for both getlogin_r and
33432 getpwnam_r. Don’t require preallocation of the login name. This
33433 simplifies storage allocation, and corrects the handling of
33434 long login names.
33435
5a79f975
AZ
33436 [BZ #1062]
33437 * posix/glob.c (glob): Port recent patches to platforms
33438 lacking getpwnam_r.
33439 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33440 returns an error number rather than setting errno.
33441
e00f2425
AZ
33442 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33443 instead of GCC extension.
33444 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33445 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33446 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33447
5554304f
AZ
33448 [BZ #866]
33449 [BZ #1062]
33450 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33451 * posix/bug-glob1.c: Remove file.
33452 * posix/tst-glob_symlinks.c: New file.
33453 * posix/glob.c (__lstat64): New macro.
33454 (is_dir): New function.
33455 (glob, glob_in_dir): Match symlinks even if they are dangling.
33456 (link_stat, link_exists_p): Remove. All uses removed.
33457
686f2ea1
AZ
33458 [BZ #1062]
33459 [BZ #19971]
33460 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33461 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33462 All uses removed.
33463
c66c9082 33464 [BZ #1062]
914c9994 33465 CVE-2017-15671
c66c9082
AZ
33466 * posix/Makefile (routines): Add globfree, globfree64, and
33467 glob_pattern_p.
33468 * posix/flexmember.h: New file.
33469 * posix/glob_internal.h: Likewise.
33470 * posix/glob_pattern_p.c: Likewise.
33471 * posix/globfree.c: Likewise.
33472 * posix/globfree64.c: Likewise.
33473 * sysdeps/gnu/globfree64.c: Likewise.
33474 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33475 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33476 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33477 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33478 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33479 * sysdeps/wordsize-64/globfree.c: Likewise.
33480 * sysdeps/wordsize-64/globfree64.c: Likewise.
33481 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33482 [NDEBUG): Remove comments.
33483 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33484 (dirent_type): New type. Use uint_fast8_t not
33485 uint8_t, as C99 does not require uint8_t.
33486 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33487 (struct readdir_result): Use dirent_type. Do not define skip_entry
33488 unless it is needed; this saves a byte on platforms lacking d_ino.
33489 (readdir_result_type, readdir_result_skip_entry):
33490 New functions, replacing ...
33491 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 33492 these functions, which were removed. This makes the callers
c66c9082
AZ
33493 easier to read. All callers changed.
33494 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33495 (size_add_wrapv, glob_use_alloca): New static functions.
33496 (glob, glob_in_dir): Check for size_t overflow in several places,
33497 and fix some size_t checks that were not quite right.
33498 Remove old code using SHELL since Bash no longer
33499 uses this.
33500 (glob, prefix_array): Separate MS code better.
33501 (glob_in_dir): Remove old Amiga and VMS code.
33502 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33503 separate files.
33504 (glob_in_dir): Do not rely on undefined behavior in accessing
33505 struct members beyond their bounds. Use a flexible array member
33506 instead
33507 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33508 0/1. Caller changed.
33509 (glob): Fix memory leaks.
33510 * posix/glob64 (globfree64): Move to separate file.
33511 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33512 (globfree64): Remove hidden alias.
33513 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33514 oldglob.
33515 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33516 separate file.
33517 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33518 define.
33519 Move compat code to separate file.
33520 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33521 separate file.
33522
78bfa877
L
335232017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33524
33525 * resolv/tst-resolv-qtypes.c (domain): Changed to
33526 "const char domain[] =".
33527
05f0011f
JM
335282017-09-07 Joseph Myers <joseph@codesourcery.com>
33529
85bec0f2
JM
33530 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33531 version to 3.1.6.
33532
5c23ee6e
JM
33533 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33534 (TCP_MD5SIG_EXT): Likewise.
33535 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33536 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33537 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33538
05f0011f
JM
33539 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33540
7c9c5be9
MF
335412017-09-07 Mike FABIAN <mfabian@redhat.com>
33542
33543 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33544
c207f7ce 335452017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
33546
33547 [BZ #22100]
33548 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33549
507fe027
ST
335502017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33551
33552 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33553 before assuming that the file is empty. Avoid testing buffer content
33554 when nread == 0.
33555
65687ac7
AZ
335562017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33557
7bbbb4b9 33558 [BZ #18858]
65687ac7
AZ
33559 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33560 Remove define.
33561 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33562 Likewise.
33563 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33564 Likewise.
33565 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33566 Likewise.
33567 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33568 Likewise.
33569 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33570 Likewise.
33571 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33572 Likewise.
33573
ab5ac271
FW
335742017-09-06 Florian Weimer <fweimer@redhat.com>
33575
33576 * malloc/dynarray_emplace_enlarge.c
33577 (__libc_dynarray_emplace_enlarge): Add missing else.
33578
a8304730
FW
335792017-09-06 Florian Weimer <fweimer@redhat.com>
33580
33581 [BZ #22096]
33582 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33583 case of failure to obtain the global conf object.
33584
5670c4ab
FW
335852017-09-06 Florian Weimer <fweimer@redhat.com>
33586
33587 [BZ #22095]
33588 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33589 dynarray allocation failure.
33590
c77eb969
FW
335912017-09-06 Florian Weimer <fweimer@redhat.com>
33592
33593 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33594 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33595 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33596 New functions.
33597 (response): Call them. Add 'p', '6' flag processing.
33598 (test_reverse): New function.
33599 (test_get2_any): Call it.
33600 (test_no_inet6): Add 'p' test.
33601 (test_inet6): Likewise.
33602
5e9c4d17
FW
336032017-09-06 Florian Weimer <fweimer@redhat.com>
33604
33605 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33606 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33607 the QNAME.
33608 (test_gai): Adjust query names. Add additional tests.
33609 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33610 test_get2. Adjust query names. Add additional tests.
33611 (test_no_inet6): New function, extracted from threadfunc.
33612 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33613 Add additional tests.
33614
2ae5be04
MF
336152017-09-06 Mike FABIAN <mfabian@redhat.com>
33616
33617 [BZ #22070]
33618 * localedata/unicode-gen/utf8_gen.py: Set the width for
33619 characters with Prepended_Concatenation_Mark property to 1
33620 * localedata/charmaps/UTF-8: Updated using the improved script.
33621
af83ed5c
MF
336222017-09-06 Mike FABIAN <mfabian@redhat.com>
33623
33624 [BZ #21750]
33625 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33626 use the range notation for all ranges of neighbouring characters
33627 with the same width.
33628
4f3647e4
JM
336292017-09-05 Joseph Myers <joseph@codesourcery.com>
33630
33631 * sysdeps/generic/math-type-macros-double.h: Include
33632 <math-svid-compat.h>.
33633 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33634 * sysdeps/generic/math-type-macros-float.h: Include
33635 <math-svid-compat.h>.
33636 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33637 * sysdeps/generic/math-type-macros-ldouble.h: Include
33638 <math-svid-compat.h>.
33639 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33640 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33641 condition.
33642 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33643 * math/w_acosf_compat.c: Likewise.
33644 * math/w_acosh_compat.c: Likewise.
33645 * math/w_acoshf_compat.c: Likewise.
33646 * math/w_acoshl_compat.c: Likewise.
33647 * math/w_acosl_compat.c: Likewise.
33648 * math/w_asin_compat.c: Likewise.
33649 * math/w_asinf_compat.c: Likewise.
33650 * math/w_asinl_compat.c: Likewise.
33651 * math/w_atan2_compat.c: Likewise.
33652 * math/w_atan2f_compat.c: Likewise.
33653 * math/w_atan2l_compat.c: Likewise.
33654 * math/w_atanh_compat.c: Likewise.
33655 * math/w_atanhf_compat.c: Likewise.
33656 * math/w_atanhl_compat.c: Likewise.
33657 * math/w_cosh_compat.c: Likewise.
33658 * math/w_coshf_compat.c: Likewise.
33659 * math/w_coshl_compat.c: Likewise.
33660 * math/w_exp10_compat.c: Likewise.
33661 * math/w_exp10f_compat.c: Likewise.
33662 * math/w_exp10l_compat.c: Likewise.
33663 * math/w_exp2_compat.c: Likewise.
33664 * math/w_exp2f_compat.c: Likewise.
33665 * math/w_exp2l_compat.c: Likewise.
33666 * math/w_fmod_compat.c: Likewise.
33667 * math/w_fmodf_compat.c: Likewise.
33668 * math/w_fmodl_compat.c: Likewise.
33669 * math/w_hypot_compat.c: Likewise.
33670 * math/w_hypotf_compat.c: Likewise.
33671 * math/w_hypotl_compat.c: Likewise.
33672 * math/w_j0_compat.c: Likewise.
33673 * math/w_j0f_compat.c: Likewise.
33674 * math/w_j0l_compat.c: Likewise.
33675 * math/w_j1_compat.c: Likewise.
33676 * math/w_j1f_compat.c: Likewise.
33677 * math/w_j1l_compat.c: Likewise.
33678 * math/w_jn_compat.c: Likewise.
33679 * math/w_jnf_compat.c: Likewise.
33680 * math/w_jnl_compat.c: Likewise.
33681 * math/w_lgamma_r_compat.c: Likewise.
33682 * math/w_lgammaf_r_compat.c: Likewise.
33683 * math/w_lgammal_r_compat.c: Likewise.
33684 * math/w_log10_compat.c: Likewise.
33685 * math/w_log10f_compat.c: Likewise.
33686 * math/w_log10l_compat.c: Likewise.
33687 * math/w_log2_compat.c: Likewise.
33688 * math/w_log2f_compat.c: Likewise.
33689 * math/w_log2l_compat.c: Likewise.
33690 * math/w_log_compat.c: Likewise.
33691 * math/w_logf_compat.c: Likewise.
33692 * math/w_logl_compat.c: Likewise.
33693 * math/w_pow_compat.c: Likewise.
33694 * math/w_powf_compat.c: Likewise.
33695 * math/w_powl_compat.c: Likewise.
33696 * math/w_remainder_compat.c: Likewise.
33697 * math/w_remainderf_compat.c: Likewise.
33698 * math/w_remainderl_compat.c: Likewise.
33699 * math/w_sinh_compat.c: Likewise.
33700 * math/w_sinhf_compat.c: Likewise.
33701 * math/w_sinhl_compat.c: Likewise.
33702 * math/w_sqrt_compat.c: Likewise.
33703 * math/w_sqrtf_compat.c: Likewise.
33704 * math/w_sqrtl_compat.c: Likewise.
33705 * math/w_tgamma_compat.c: Likewise.
33706 * math/w_tgammaf_compat.c: Likewise.
33707 * math/w_tgammal_compat.c: Likewise.
33708 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33709 [LIBM_SVID_COMPAT].
33710 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33711 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33712 [LIBM_SVID_COMPAT].
33713 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33714 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33715 [LIBM_SVID_COMPAT].
33716 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33717 * sysdeps/i386/fpu/w_sqrt.c: New file.
33718 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33719 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33720 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33721 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33722 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33723 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33724 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33725 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33726 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33727 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33728 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33729 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33730 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33731 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33732 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33733 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33734 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33735 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33736 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33737 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33738 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33739 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33740 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33741 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33742 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33743 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33744 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33745 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33746 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33747 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33748 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33749 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33750 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33751 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33752 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33753 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33754 * sysdeps/ia64/fpu/w_log.c: Likewise.
33755 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33756 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33757 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33758 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33759 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33760 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33761 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33762 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33763 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33764 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33765 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33766 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33767 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33768 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33769 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33770 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33771 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33772 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33773 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33774 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33775 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33776 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33777 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33779 [LIBM_SVID_COMPAT].
33780 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33781 * sysdeps/ieee754/k_standard.c: Likewise.
33782 * sysdeps/ieee754/k_standardf.c: Likewise.
33783 * sysdeps/ieee754/k_standardl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33787 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33788 long_double_symbol call on [LIBM_SVID_COMPAT].
33789 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33790 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33791 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33792 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33793 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33794 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33795 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33796 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33797 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33798 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33799 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33800 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33801 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33802 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33803 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33804 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33805 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33806 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33807 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33808 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33809 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33810 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33811
05b38d64
SE
338122017-09-05 Steve Ellcey <sellcey@cavium.com>
33813
33814 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33815 * malloc/tst-mallocstate.c: Convert from test-skeleton
33816 to test-driver. Ifdef code using TEST_COMPAT macro.
33817 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33818 * math/test-matherr.c: Likewise.
33819
99d67918
JM
338202017-09-05 Joseph Myers <joseph@codesourcery.com>
33821
33822 [BZ #22086]
33823 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33824 comparing word with byte-swapped constant.
33825
c207f7ce 338262017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
33827
33828 [BZ #20498]
33829 * locale/iso-639.def: add Miskito.
33830 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33831 * localedata/locales/miq_NI: New file.
33832
0a587a8a
L
338332017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33834
33835 [BZ #18822]
33836 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33837 (__mkdir): Likewise.
33838 * io/chmod.c (__chmod): Add libc_hidden_def.
33839 * io/mkdir.c (__mkdir): Likewise.
33840 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33841 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33842 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33843 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33844
f3a129b8
JM
338452017-09-04 Joseph Myers <joseph@codesourcery.com>
33846
1650e192
JM
33847 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33848 version to 4.13.
33849
f3a129b8
JM
33850 [BZ #22082]
33851 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33852 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33853
b38042f5
FW
338542017-09-04 Florian Weimer <fweimer@redhat.com>
33855
33856 * math/math.h: Issue warning if log is defined.
33857
059b6404
JM
338582017-09-04 Joseph Myers <joseph@codesourcery.com>
33859
33860 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33861 kernel version to 4.13.
33862
b794e16b
ST
338632017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33864
33865 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
33866 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33867 parameter.
01969395
ST
33868 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33869 just <bits/types.h>.
dd2b31de 33870 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 33871 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 33872 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 33873 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
33874 * misc/preadv2.c: Include <errno.h>.
33875 * misc/preadv64v2.c: Include <errno.h>.
33876 * misc/pwritev2.c: Include <errno.h>.
33877 * misc/pwritev64v2.c: Include <errno.h>.
33878 * sysdeps/posix/preadv2.c: Include <errno.h>.
33879 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33880 Fix <unistd.h> inclusion.
33881 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33882 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
33883 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33884 __strtoul_internal): New functions.
127e7773
ST
33885 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33886 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
33887 * sysdeps/mach/hurd/i386/Makefile
33888 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33889 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33890 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
33891 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33892 __feraiseexcept_renamed to feraiseexcept instead of
33893 __GI_feraiseexcept.
56bf5497 33894 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 33895 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
33896 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33897 RWF_NOWAIT): Define to 0 if undefined already.
33898 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33899 boils down to 0.
6547ec0a
ST
33900 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33901 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 33902
5a80d39d
JM
339032017-09-01 Joseph Myers <joseph@codesourcery.com>
33904
33905 * manual/math.texi (pow10): Do not document.
33906 (pow10f): Likewise.
33907 (pow10l): Likewise.
33908 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33909 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33910 * math/libm-test-exp10.inc (pow10_test): Remove.
33911 (do_test): Do not call pow10.
33912 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33913 [NO_LONG_DOUBLE] (pow10l): Likewise.
33914 * math/w_exp10f_compat.c (pow10f): Likewise.
33915 * math/w_exp10l_compat.c (pow10l): Likewise.
33916 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33917 (pow10): Make into compat symbol.
33918 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33919 (pow10f): Make into compat symbol.
33920 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33921 (pow10l): Make into compat symbol.
33922 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33923 pow10.
33924 (CFLAGS-nldbl-pow10.c): Remove variable..
33925 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33926 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33927 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33928 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33929 Undefine and redefine.
33930 (pow10l): Make into compat symbol.
33931 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33932 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33933 * sysdeps/arm/libm-test-ulps: Likewise.
33934 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33935 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33936 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33937 * sysdeps/microblaze/libm-test-ulps: Likewise.
33938 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33939 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33940 * sysdeps/nios2/libm-test-ulps: Likewise.
33941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33942 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33944 * sysdeps/sh/libm-test-ulps: Likewise.
33945 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33946 * sysdeps/tile/libm-test-ulps: Likewise.
33947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33948
3824fc38
PP
339492017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33950
33951 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33952
b3008279
L
339532017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33954
33955 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33956 "../ChangeLog.old/ChangeLog.8".
33957 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33958 "../ChangeLog.old/ChangeLog.14".
33959
136fa185
L
339602017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33961
33962 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33963 Threads Library.
33964
c18d50a2
JM
339652017-09-01 Joseph Myers <joseph@codesourcery.com>
33966
33967 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33968
bedbd859
L
339692017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33970
33971 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33972 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33973
50c66c7a
PP
339742017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33975
33976 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33977 32 atexit handlers.
33978
a617bd11
ZW
339792017-09-01 Zack Weinberg <zackw@panix.com>
33980
33981 * math/math.h (HUGE_VAL): Improve commentary.
33982
e0d2eb5a
AZ
339832017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33984 Andreas Schwab <schwab@suse.de>
33985
33986 [BZ #21530]
33987 * include/stdio.h (__gen_tempfd): New function.
33988 * stdio-common/Makefile (routines): Add gentempfd.
33989 * stdio-common/gentempfd.c: New file.
33990 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33991 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33992 unnamed file first.
33993
f4a6be25
FW
339942017-09-01 Florian Weimer <fweimer@redhat.com>
33995
33996 [BZ #21915]
33997 [BZ #21922]
33998 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33999 result to determine success or failure, not the errno value.
34000 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34001 (tst-nss-files-hosts-erange): Link with -ldl.
34002 * nss/tst-nss-files-hosts-erange.c: New file.
34003 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34004 (do_test): Add NO_DATA tests.
34005 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34006 (do_test): Call it.
34007
5f8340f5
FW
340082017-09-01 Florian Weimer <fweimer@redhat.com>
34009
34010 [BZ #21922]
34011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34012 coming from gethostbyname2_r.
34013
65329bd2
FW
340142017-09-01 Florian Weimer <fweimer@redhat.com>
34015
34016 * support/namespace.h (struct support_chroot_configuration): Add
34017 hosts, host_conf.
34018 (struct support_chroot): Add path_hosts, path_host_conf.
34019 * support/support_chroot.c (write_file): New function.
34020 (support_chroot_create): Call it to process /etc/resolv.conf,
34021 /etc/hosts, /etc/host.conf.
34022 (support_chroot_free): Update.
34023
a2881ef0
FW
340242017-09-01 Florian Weimer <fweimer@redhat.com>
34025
34026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34027 status indicates it is set.
34028
ad816a5e
FW
340292017-09-01 Florian Weimer <fweimer@redhat.com>
34030
63b52889 34031 [BZ #20532]
ad816a5e
FW
34032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34033 function lookup failures more reliable.
34034
53250a21
FW
340352017-09-01 Florian Weimer <fweimer@redhat.com>
34036
34037 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34038 (getcanonname): Likewise.
34039 (gaih_inet): Likewise.
34040
924b121c
FW
340412017-09-01 Florian Weimer <fweimer@redhat.com>
34042
34043 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34044 (getcanonname): Likewise.
34045 (gaih_inet): Likewise.
34046
d9ff799a 340472017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 34048 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
34049
34050 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34051 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34052 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34053 (IREG_SIZE, OREG_SIZE): New macros.
34054 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34055 (IREG_SIZE, OREG_SIZE): New macros.
34056 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34057 (IREG_SIZE): New macro.
34058 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34059 (IREG_SIZE): New macro.
34060 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34061 New includes.
34062 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34063 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34064 (__CONCATX): Handle exceptions correctly on large values that may
34065 set FE_INVALID.
34066 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34067 Initialize if not already set.
b39d961c 34068 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 34069
102dde84
AZ
340702017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34071
34072 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34073 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34074 Likewise.
34075 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34076 Likewise.
34077 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34078 Likewise.
34079 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34080 Likewise.
34081 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34082 Likewise.
34083 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34084 Likewise.
34085 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34086 Likewise.
34087 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34088 (NO_CANCELLATION): Likewise.
34089 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34090 Likewise.
34091 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34092 Likewise.
34093 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34094 Likewise.
34095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34096 (NO_CANCELLATION): Likewise.
34097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34098 (NO_CANCELLATION): Likewise.
34099 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34100 Likewise
34101 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34102 Likewise.
34103 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34104 Likewise.
34105 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34106 Likewise.
34107 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34108 hidden prototype.
34109 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34110 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34111
9eee633b
SE
341122017-08-31 Steve Ellcey <sellcey@cavium.com>
34113
34114 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34115 in resolver call.
34116
65284eb7
FW
341172017-08-31 Florian Weimer <fweimer@redhat.com>
34118
34119 * include/libc-symbols.h (internal_function): Remove.
34120
41ad5ca6
FW
341212017-08-31 Florian Weimer <fweimer@redhat.com>
34122
34123 * stdlib/fmtmsg.c (internal_addseverity): Remove
34124 internal_function.
34125
2fa6d086
FW
341262017-08-31 Florian Weimer <fweimer@redhat.com>
34127
34128 * stdio-common/printf_fp.c (group_number): Remove
34129 internal_function.
34130 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34131
b41bd5bc
FW
341322017-08-31 Florian Weimer <fweimer@redhat.com>
34133
34134 * posix/fnmatch.c (internal_function): Remove definition.
34135 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34136 * posix/regcomp.c (peek_token, init_word_char)
34137 (duplicate_node_closure, fetch_token, peek_token)
34138 (peek_token_bracket, build_range_exp, build_collating_symbol):
34139 Likewise.
34140 * posix/regex_internal.c (re_string_construct_common)
34141 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34142 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34143 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34144 (re_string_translate_buffer, re_string_reconstruct)
34145 (re_string_peek_byte_case, re_string_fetch_byte_case)
34146 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34147 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34148 (re_node_set_add_intersect, re_node_set_init_union)
34149 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34150 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34151 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34152 (re_acquire_state_context): Likewise.
34153 * posix/regex_internal.h (internal_function): Remove definition.
34154 (re_string_realloc_buffers, build_wcs_buffer)
34155 (build_wcs_upper_buffer, build_upper_buffer)
34156 (re_string_translate_buffer, re_string_context_at)
34157 (re_string_char_size_at, re_string_wchar_at)
34158 (re_string_elem_size_at): Likewise.
34159 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34160 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34161 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34162 (re_search_internal, re_search_2_stub, re_search_stub)
34163 (re_copy_regs, prune_impossible_nodes, check_matching)
34164 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34165 (free_fail_stack_return, sift_states_iter_mb)
34166 (sift_states_backward, build_sifted_states)
34167 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34168 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34169 (check_subexp_limits, sift_states_bkref, merge_state_array)
34170 (find_recover_state, transit_state, merge_state_with_log)
34171 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34172 (transit_state_mb, transit_state_bkref, get_subexp)
34173 (get_subexp_sub, find_subexp_node, check_arrival)
34174 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34175 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34176 (check_node_accept_bytes, find_collation_sequence_value)
34177 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34178 (acquire_init_state_context, check_halt_node_context)
34179 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34180 (sub_epsilon_src_nodes): Likewise.
34181 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34182 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34183 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34184 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34185 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34186 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34187 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34188 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34189 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34190 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34191 (PREADV): Likewise.
34192 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34193 (PREADV): Likewise.
34194 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34195 (PWRITEV): Likewise.
34196 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34197 (PWRITEV): Likewise.
34198 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34199 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34200
83b09837
FW
342012017-08-31 Florian Weimer <fweimer@redhat.com>
34202
34203 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34204 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34205 Remove internal_function.
34206 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34207 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34208 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34209 (__deallocate_stack, __libc_pthread_init)
34210 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34211 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34212 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34213 Likewise.
34214 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34215 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34216 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34217 Likewise.
34218 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34219 (__pthread_mutex_unlock_usercnt): Likewise.
34220
116ac301
FW
342212017-08-31 Florian Weimer <fweimer@redhat.com>
34222
34223 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34224 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34225 (fts_safe_changedir): Remove internal_function.
34226 * io/ftw.c (internal_function): Remove definition.
34227 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34228
9da93bd7
FW
342292017-08-31 Florian Weimer <fweimer@redhat.com>
34230
34231 * inet/deadline.c (__deadline_current_time)
34232 (__deadline_from_timeval, __deadline_to_ms): Remove
34233 internal_function.
34234 * inet/getnameinfo.c (nrl_domainname): Likewise.
34235 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34236 * inet/inet6_option.c (add_pad): Likewise.
34237 * inet/net-internal.h (__deadline_current_time)
34238 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34239 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34240 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34241 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34242
a60eca2e
JM
342432017-08-31 Joseph Myers <joseph@codesourcery.com>
34244
c0c49d60
JM
34245 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34246 include <bits/nan.h>.
34247 * math/Makefile (headers): Remove bits/nan.h.
34248 * bits/nan.h: Remove.
34249 * sysdeps/ieee754/bits/nan.h: Likewise.
34250 * sysdeps/mips/bits/nan.h: Likewise.
34251
5ef1b213
JM
34252 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34253 not include <bits/inf.h>.
34254 * math/Makefile (headers): Remove bits/inf.h.
34255 * bits/inf.h: Remove.
34256 * sysdeps/ieee754/bits/inf.h: Likewise.
34257
a60eca2e
JM
34258 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34259 bits/huge_vall.h or bits/huge_val_flt128.h.
34260 (HUGE_VAL): Define directly here.
34261 [__USE_ISOC99] (HUGE_VALF): Likewise.
34262 [__USE_ISOC99] (HUGE_VALL): Likewise.
34263 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34264 (HUGE_VAL_F128): Likewise.
34265 * math/Makefile (headers): Remove bits/huge_val.h,
34266 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34267 * bits/huge_val.h: Remove.
34268 * bits/huge_val_flt128.h: Likewise.
34269 * bits/huge_valf.h: Likewise.
34270 * bits/huge_vall.h: Likewise.
34271 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34272 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34273 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34274 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34275 * sysdeps/sh/bits/huge_val.h: Likewise.
34276 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34277 * sysdeps/x86/bits/huge_vall.h: Likewise.
34278
17e00cc6
FW
342792017-08-31 Florian Weimer <fweimer@redhat.com>
34280
34281 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34282 internal_function.
34283 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34284 Likewise.
34285 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34286 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34287 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34288 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34289 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34291 * elf/dl-libc.c (dlerror_run): Likewise.
34292 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34293 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34294 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34295 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34296 Likewise.
34297 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34298 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34299 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34300 * elf/dl-profile.c (_dl_start_profile): Likewise.
34301 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34302 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34303 Likewise.
34304 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34305 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34306 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34307 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34308 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34309 (_dl_allocate_tls_storage): Likewise.
34310 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34311 (_dl_check_all_versions): Likewise.
34312 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34313 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34314 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34315 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34316 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34317 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34318 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34319 internal_function from __dl_start.
34320 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34321 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34322 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34323 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34324 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34325 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34326 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34327 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34328 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34329 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34330 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34331 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34332 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34333 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34334 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34335 Likewise.
34336 (struct rtld_global_ro): Remove internal_function from the
34337 _dl_lookup_symbol_x member.
34338 (_dl_symbol_value): Remove. No longer defined anywhere.
34339 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34340 internal_function.
34341 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34342 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34344 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34345 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34346 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34347 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34348 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34349 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34350 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34351 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34352 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34353
8d2f9410
FW
343542017-08-31 Florian Weimer <fweimer@redhat.com>
34355
34356 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34357 Remove internal_function.
34358 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34359 Likewise.
34360 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34361 Likewise.
34362
86e4919f
FW
343632017-08-31 Florian Weimer <fweimer@redhat.com>
34364
34365 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34366 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34367 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34368
59bd52b0
FW
343692017-08-31 Florian Weimer <fweimer@redhat.com>
34370
34371 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34372 (__gai_enqueue_request): Remove internal_function.
34373 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34374 (__gai_remove_request, __gai_notify, __gai_notify_only)
34375 (__gai_sigqueue): Likewise.
34376 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34377 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34378 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34379 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34380 Likewise.
34381
fc3d9497
FW
343822017-08-31 Florian Weimer <fweimer@redhat.com>
34383
34384 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34385 * include/dirent.h (__opendirat, __getdents, __getdents64)
34386 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34387 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34388 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34389 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34390 Likewise.
34391 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34392
18c54fac
FW
343932017-08-31 Florian Weimer <fweimer@redhat.com>
34394
34395 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34396 internal_function.
34397 (GETCWD_RETURN_TYPE): Likewise.
34398
7e01f080
FW
343992017-08-31 Florian Weimer <fweimer@redhat.com>
34400
34401 * include/time.h (__tz_compute, __strptime_internal): Remove
34402 internal_function.
34403 * time/strptime_l.c (__strptime_internal): Likewise.
34404 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34405
d7ccc6c9
FW
344062017-08-31 Florian Weimer <fweimer@redhat.com>
34407
34408 * iconv/gconv.c (__gconv): Remove internal_function.
34409 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34410 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34411 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34412 (__gconv_release_cache): Likewise.
34413 * iconv/gconv_close.c (__gconv_close): Likewise.
34414 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34415 (read_conf_file, __gconv_get_path): Likewise.
34416 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34417 (__gconv_release_step, gen_steps, increment_counter)
34418 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34419 (__gconv_close_transform, free_modules_db): Likewise.
34420 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34421 Likewise.
34422 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34423 (__gconv_find_transform, __gconv_lookup_cache)
34424 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34425 (__gconv_close_transform, __gconv_release_cache)
34426 (__gconv_loaded_object, __gconv_release_shlib)
34427 (__gconv_compare_alias): Likewise.
34428 * iconv/gconv_open.c (__gconv_open): Likewise.
34429 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34430 * iconv/iconvconfig.c (add_module): Likewise.
34431 * intl/dcigettext.c (plural_lookup, guess_category_value)
34432 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34433 * intl/eval-plural.h (plural_eval): Likewise.
34434 * intl/finddomain.c (_nl_find_domain): Likewise.
34435 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34436 (_nl_load_domain, _nl_find_msg): Likewise.
34437 (internal_function): Remove definition.
34438 * intl/loadinfo.h (internal_function): Likewise.
34439 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34440 internal_function.
34441 * intl/localealias.c (internal_function): Remove definition.
34442 (read_alias_file): Remove internal_function.
34443 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34444 * intl/plural-exp.h (internal_function): Remove definition.
34445 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34446 internal_function.
34447 * intl/plural.c: Regenerate.
34448 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34449 * locale/coll-lookup.c (__collidx_table_lookup)
34450 (__collseq_table_lookup): Likewise.
34451 * locale/coll-lookup.h (__collidx_table_lookup)
34452 (__collseq_table_lookup): Likewise.
34453 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34454 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34455 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34456 (_nl_unload_locale): Likewise.
34457 * locale/localeinfo.h (struct __locale_data): Remove
34458 internal_function from cleanup member.
34459 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34460 (_nl_remove_locale, _nl_load_locale_from_archive)
34461 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34462 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34463 (_nl_cleanup_time): Remove internal_function.
34464 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34465 (_nl_parse_alt_digit): Likewise.
34466 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34467 (_nl_select_era_entry): Likewise.
34468 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34469 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34470 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
34471 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34472 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 34473
dab0eece
FW
344742017-08-31 Florian Weimer <fweimer@redhat.com>
34475
34476 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34477 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34478 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34479 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34480 Likewise.
34481 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34482 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34483 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34484 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34485 Likewise.
34486 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34487
ab5bf7cf
FW
344882017-08-31 Florian Weimer <fweimer@redhat.com>
34489
34490 * misc/getttyent.c (skip, value): Remove internal_function.
34491 * misc/syslog.c (openlog_internal): Likewise.
34492 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34493
75b3047e
FW
344942017-08-31 Florian Weimer <fweimer@redhat.com>
34495
34496 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34497 (__nss_rewrite_field): Remove internal_function.
34498 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34499 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34500 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34501 * nss/nsswitch.c (nss_parse_file, nss_getline)
34502 (nss_parse_service_list, nss_new_service): Likewise.
34503 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34504 * nss/valid_field.c (__nss_valid_field): Likewise.
34505 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34506
0c71122c
FW
345072017-08-31 Florian Weimer <fweimer@redhat.com>
34508
34509 * malloc/arena.c (__malloc_fork_lock_parent)
34510 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34511 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34512 internal_function from defintions.
34513 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34514 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34515 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34516 internal_function from declarations.
34517 * malloc/malloc.c (internal_function): Do not define.
34518 (mem2mem_check): Remove internal_function from declaration.
34519 (munmap_chunk, mremap_chunk): Remove internal_function.
34520 * malloc/mtrace.c (tr_where): Likewise.
34521
ca4ec803
FW
345222017-08-31 Florian Weimer <fweimer@redhat.com>
34523
34524 * include/rpc/pmap_clnt.h (__get_socket): Remove
34525 internal_function.
34526 * sunrpc/auth_des.c (synchronize): Likewise.
34527 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34528 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34529 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34530 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34531 (key_call): Likewise.
34532 * sunrpc/pm_getport.c (__get_socket): Likewise.
34533 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34534 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34535 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34536 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34537 (invalidate): Likewise.
34538 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34539 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34540 (set_input_fragment, get_input_bytes): Likewise.
34541
24cffce7
FW
345422017-08-31 Florian Weimer <fweimer@redhat.com>
34543
34544 * malloc/malloc.c (_int_free): Remove locked variable and related
34545 asserts.
34546
ecd0747d
L
345472017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34548
34549 [BZ #22051]
34550 * Makerules (build-module-helper-objlist): Filter out
34551 $(elf-objpfx)sofini.os.
34552 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34553 needed.
34554
5f0704b6
FW
345552017-08-31 Florian Weimer <fweimer@redhat.com>
34556
34557 * libio/fcloseall.c: Assume weak_alias is defined.
34558 * libio/feof.c: Likewise.
34559 * libio/fileno.c: Likewise.
34560 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34561 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34562 definitions.
34563 (_IO_file_open): Call __open directly.
34564 (_IO_new_file_sync): Assume ESPIPE is defined.
34565 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34566 (_IO_new_file_write): Call __write directly.
34567 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34568 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34569 * libio/genops.c: Assume _LIBC is defined.
34570 (save_for_backup): Remove internal_function.
34571 * libio/getc.c: Assume weak_alias is defined.
34572 * libio/getwc.c: Likewise.
34573 * libio/iofclose.c: Assume _LIBC is defined.
34574 * libio/iofdopen.c: Likewise.
34575 (_IO_fcntl): Remove macro definition.
34576 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34577 Call __fcntl directly.
34578 * libio/iofflush.c: Assume weak_alias is defined.
34579 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34580 defined.
34581 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34582 * libio/iofgets.c: Likewise.
34583 * libio/iofopen.c: Assume _LIBC is defined.
34584 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34585 * libio/iofputs.c: Assume weak_alias is defined.
34586 * libio/iofread.c: Likewise.
34587 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34588 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34589 * libio/ioftell.c: Assume weak_alias is defined.
34590 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34591 * libio/iofwide.c: Assume _LIBC is defined.
34592 (_IO_fwide): Drop SHARED conditional because it is implied by
34593 SHLIB_COMPAT.
34594 * libio/iofwrite.c: Assume weak_alias is defined.
34595 * libio/iogetdelim.c: Likewise.
34596 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34597 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34598 (_IO_getwline): Call __wmemcpy directly.
34599 * libio/iopopen.c: Assume _LIBC is defined.
34600 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34601 (_IO_close): Remove macro definitions.
34602 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34603 _exit directly.
34604 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34605 directly.
34606 * libio/ioputs.c: Assume weak_alias is defined.
34607 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34608 * libio/iosetbuffer.c: Assume weak_alias is defined.
34609 * libio/iosetvbuf.c: Likewise.
34610 * libio/ioungetc.c: Likewise.
34611 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34612 libc_hidden_def, libc_hidden_weak, NULL are defined.
34613 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34614 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34615 defined.
34616 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34617 definitions.
34618 (_IO_old_file_init_internal): Drop SHARED conditional because it
34619 is implied by SHLIB_COMPAT.
34620 (_IO_old_file_fopen): Call __open directly.
34621 (_IO_old_file_sync): Assume ESPIPE is defined.
34622 (_IO_old_file_write): Call __write directly.
34623 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34624 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34625 Call __fcntl directly.
34626 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34627 (_IO_old_fgetpos): Assume EIO is defined.
34628 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34629 (_IO_old_fgetpos64): Assume EIO is defined.
34630 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34631 (_IO_old_fsetpos): Assume EIO is defined.
34632 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34633 (_IO_old_fsetpos64): Assume EIO is defined.
34634 * libio/oldiopopen.c: Assume _LIBC is defined.
34635 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34636 (_IO_close): Remove macro definitions.
34637 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34638 directly.
34639 (_IO_old_proc_close): Call __close, __waitpid directly.
34640 * libio/put.c: Assume weak_alias is defined.
34641 * libio/stdfiles.c: Assume _LIBC is defined.
34642 * libio/stdio.c: Likewise.
34643 * libio/wfileops.c: Likewise.
34644 (_IO_wfile_sync): Assume ESPIPE is defined.
34645 * libio/wgenops.c: Assume _LIBC is defined.
34646 (save_for_wbackup): Remove internal_function.
34647
5129873a
FW
346482017-08-31 Florian Weimer <fweimer@redhat.com>
34649
34650 * malloc/malloc.c (top_check): Change return type to void. Remove
34651 internal_function.
34652 * malloc/hooks.c (top_check): Likewise.
34653 (malloc_check, realloc_check, memalign_check): Adjust.
34654
4fa9b3bf
JM
346552017-08-30 Joseph Myers <joseph@codesourcery.com>
34656
34657 [BZ #21457]
34658 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34659 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34660 sigcontext and namespace requirements.
34661 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34662 * sysdeps/m68k/sys/ucontext.h: Likewise.
34663 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34664 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34665 <bits/sigcontext.h>.
34666 (__ctx): Define earlier.
34667 (mcontext_t): Define structure contents rather than using struct
34668 sigcontext.
34669 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34670 __glibc_reserved1 instead of __reserved.
34671 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34672 <bits/sigcontext.h>.
34673 (__ctx): Define earlier.
34674 (mcontext_t): Define structure contents rather than using struct
34675 sigcontext.
34676 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34677 mcontext_t instead of struct sigcontext.
34678 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34679 <bits/sigcontext.h>.
34680 (__ctx): Define earlier.
34681 (mcontext_t): Define structure contents rather than using struct
34682 sigcontext.
34683 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34684 <bits/sigcontext.h>.
34685 (__ctx): Define earlier.
34686 (mcontext_t): Define structure contents rather than using struct
34687 sigcontext.
34688 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34689 mcontext_t instead of struct sigcontext.
34690 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34691 mcontext_t instead of struct sigcontext.
34692 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34693 <bits/sigcontext.h>.
34694 (__ctx): New macro.
34695 (struct __ia64_fpreg_mcontext): New type.
34696 (mcontext_t): Define structure contents rather than using struct
34697 sigcontext.
34698 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34699 (uc_sigmask): Define using __ctx.
34700 (uc_stack): Likewise.
34701 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34702 <bits/sigcontext.h>.
34703 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34704 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34705 <bits/sigcontext.h>.
34706 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34707 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34708 <bits/sigcontext.h>.
34709 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34710 <bits/sigcontext.h>.
34711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34712 <bits/sigcontext.h>.
34713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34714 <bits/sigcontext.h>.
34715 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34716 <bits/sigcontext.h>.
34717 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34718 <bits/sigcontext.h>.
34719 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34720 <bits/sigcontext.h>.
34721 (__ctx): Define earlier.
34722 (mcontext_t): Define structure contents rather than using struct
34723 sigcontext.
34724 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34725 <bits/sigcontext.h>. Include <bits/types.h>.
34726 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34727 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34728 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34729 (test-xfail-UNIX98/signal.h/conform): Likewise.
34730 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34731 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34732 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34733 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34734 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34735 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34736 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34737 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34738 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34739
5898f454
FW
347402017-08-30 Florian Weimer <fweimer@redhat.com>
34741
34742 * malloc/dynarray_emplace_enlarge.c
34743 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34744 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34745 * malloc/tst-dynarray.c (test_long_overflow): New function.
34746 (do_test): Call it.
34747
a9da0bb2
FW
347482017-08-30 Florian Weimer <fweimer@redhat.com>
34749
34750 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34751 (set_arena_corrupt): Remove definitions.
34752 (mtrim): Do not check for corrupt arena.
34753 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34754 Likewise.
34755
ac3ed168
FW
347562017-08-30 Florian Weimer <fweimer@redhat.com>
34757
34758 [BZ #21754]
34759 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34760 check_action.
34761 (ptmalloc_init): Do not set or use check_action.
34762 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34763 call to malloc_printerr. Remove return statement.
34764 (free_check): Likewise. Remove arena unlock.
34765 (top_check): Update comment. Adjust call to malloc_printerr.
34766 Remove heap repair code.
34767 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34768 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34769 (sysmalloc): Adjust call to malloc_printerr.
34770 (munmap_chunk, __libc_realloc): Likewise. Remove return
34771 statement.
34772 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34773 Remove errout label and corresponding gotos.
34774 (_int_free): Likewise. Remove arena unlock.
34775 (do_set_mallopt_check): Do not set check_action.
34776 (malloc_printerr): Adjust parameter list. Do not mark arena as
34777 corrupt.
34778 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34779 comment.
34780 * manual/probes.texi (Memory Allocation Probes): Remove
34781 memory_mallopt_check_action.
34782
44bcba80
SE
347832017-08-30 Steve Ellcey <sellcey@cavium.com>
34784
34785 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34786 Use pointer to uint64_t instead of long int for sp.
34787
ec2c1fce
FW
347882017-08-30 Florian Weimer <fweimer@redhat.com>
34789
34790 [BZ #21754]
34791 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34792 without printing a backtrace. Do not leak any information in the
34793 error message.
34794 * manual/memory.texi (Heap Consistency Checking): Update.
34795 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34796
9ce673b6
FW
347972017-08-30 Florian Weimer <fweimer@redhat.com>
34798
34799 Do not scale NPTL tests with available number of CPUs.
34800 * nptl/tst-cond16.c (count): Set to constant value of 8.
34801 * nptl/tst-cond18.c (count): Likewise.
34802
2f1aef19
JM
348032017-08-29 Joseph Myers <joseph@codesourcery.com>
34804
34805 [BZ #22035]
34806 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34807 Define to take a second argument that is a macro that
34808 concatentates a suffix, not the suffix itself.
34809 (__CONCAT_d): New macro.
34810 (__CONCAT_f): Likewise.
34811 (__CONCAT_l): Likewise.
34812
8325b477
PP
348132017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34814
34815 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34816 by child.
34817
319cbbf6
AZ
348182017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34819 Aurelien Jarno <aurelien@aurel32.net>
34820 Maciej W. Rozycki <macro@imgtec.com>
34821
34822 [BZ #21956]
34823 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34824 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34825 `mips16-syscall6' and `mips16-syscall7'.
34826 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34827 (CFLAGS-mips16-syscall7.c): Remove.
34828 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34829 Remove `__mips16_syscall5', `__mips16_syscall6' and
34830 `__mips16_syscall7'.
34831 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34832 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34833 `__mips_syscall_return'.
34834 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34835 (__mips16_syscall1): Likewise.
34836 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34837 (__mips16_syscall2): Likewise.
34838 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34839 (__mips16_syscall3): Likewise.
34840 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34841 (__mips16_syscall4): Likewise.
34842 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34843 Remove.
34844 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34845 Remove.
34846 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34847 Remove.
34848 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34849 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34850 `__mips16_syscall5'. Remove prototype.
34851 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34852 `__mips16_syscall6'. Remove prototype.
34853 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34854 `__mips16_syscall7'. Remove prototype.
34855 (__nomips16, __mips16_syscall_return): Move to...
34856 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34857 (__nomips16, __mips_syscall_return): ... here.
34858 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34859 `__mips16_syscall_return' to `__mips_syscall_return'.
34860 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34861 `internal_syscall##nr'.
34862 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34863 `internal_syscall##nr'.
34864 (FORCE_FRAME_POINTER): Remove.
34865 (__mips_syscall5): New prototype.
34866 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34867 (__mips_syscall6): New prototype.
34868 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34869 (__mips_syscall7): New prototype.
34870 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34871 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34872 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34873 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34874 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34875 (sysdep_routines): Add libc-do-syscall.
34876 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34877 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34878
01b87c65
AZ
348792017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34880
34881 [BZ #21672]
34882 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34883 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34884 (advise_stack_range): New function.
34885 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34886 stack non required to advise_stack_range at allocatestack.c
34887
16f138a4
SN
348882017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34889
34890 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34891
251bccfa
FW
348922017-08-29 Florian Weimer <fweimer@redhat.com>
34893
34894 [BZ #22026]
34895 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34896 __end_fct. Mangle __end_fct after setting it to NULL.
34897 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34898 (modules-names, modules-names-tests): Add
34899 tst-gconv-init-failure-mod.
34900 (gconv-modules): New target.
34901 (tst-gconv-init-failure-mod.so): Link against libsupport.
34902 (tst-gconv-init-failure): Depend on gconv-modules,
34903 tst-gconv-init-failure-mod.so.
34904 * iconv/tst-gconv-init-failure-mod.c: New file.
34905 * iconv/tst-gconv-init-failure.c: Likewise.
34906 * iconv/test-gconv-modules: Likewise.
34907
e7c18b9d
FW
349082017-08-29 Florian Weimer <fweimer@redhat.com>
34909
34910 [BZ #22025]
34911 * iconv/gconv_db.c (free_derivation): Remove redundant
34912 parentheses.
34913 (gen_steps): Unconditionally mangle __btowc_fct after
34914 initialization.
34915 (increment_counter): Likewise. Do not call init_fct for internal
34916 modules.
34917
7daada03
JM
349182017-08-29 Joseph Myers <joseph@codesourcery.com>
34919
34920 [BZ #22028]
34921 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34922 (_MSUF_): Remove macro.
34923 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34924 Likewise.
34925 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34926 (__REDIRFROM_X): New macro.
34927 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34928 Likewise.
34929 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34930 (__REDIRTO_X): Likewise.
34931 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34932 arguments.
34933 (__MATH_REDIRCALL_2): Likewise.
34934 (__MATH_REDIRCALL_INTERNAL): Likewise.
34935 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34936 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34937 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34938 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34939 * math/test-finite-macros.c: New file.
34940 * math/Makefile (tests): Add test-finite-macros.
34941 (CFLAGS-test-finite-macros.c): New variable.
34942
1cf1232c
PF
349432017-08-29 Patsy Franklin <pfrankli@redhat.com>
34944 Jeff Law <law@redhat.com>
34945
34946 [BZ #22025]
34947 Mangle NULL pointers in iconv/gconv.
34948 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34949 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34950 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34951 is non-NULL before demangling the end_fct. Check for NULL
34952 end_fct after demangling.
34953 (__gconv_release_step): Demangle the end_fct before checking
34954 it for NULL. Remove assert on __shlibc_handle != NULL.
34955 (gen_steps): Don't check btowc_fct for NULL before mangling.
34956 Demangle init_fct before checking for NULL.
34957 (increment_counter): Likewise.
34958 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34959 end_fct for NULL before mangling.
34960 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34961 for NULL.
34962
c207f7ce 349632017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
34964
34965 [BZ #21971]
34966 * locale/iso-639.def: add Morisyen.
34967
42496114
GG
349682017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34969
34970 [BZ #21930]
34971 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34972 (iszero): New C++ implementation that does not use
34973 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34974 signaling nans are enabled, since __builtin_types_compatible_p
34975 is a C-only feature.
34976 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34977 defined, include ieee754_float128.h for access to the union and
34978 member ieee854_float128.ieee.
34979 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34980 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34981 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34982 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34983 options of test-math-zero on powerpc64le.
34984
5e2bc4ff
L
349852017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34986
34987 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34988 Change double to float.
34989
a48c0fb4
JM
349902017-08-28 Joseph Myers <joseph@codesourcery.com>
34991
34992 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34993 unconditional.
34994 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34995 conditional code; define contents only for [LIBM_SVID_COMPAT].
34996
ee17d4e9
FW
349972017-08-28 Florian Weimer <fweimer@redhat.com>
34998
34999 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35000 (abi-lp64_be-options): Remove.
35001 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35002 (abi-hard-options): Likewise.
35003 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35004 (abi-o32_hard-options, abi-o32_soft_2008-options)
35005 (abi-o32_hard_2008-options, abi-n32_soft-options)
35006 (abi-n32_hard-options, abi-n32_soft_2008-options)
35007 (abi-n32_hard_2008-options, abi-n64_soft-options)
35008 (abi-n64_hard-options, abi-n64_soft_2008-options)
35009 (abi-n64_hard_2008-options): Likewise.
35010 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35011 (abi-64-v1-options, abi-64-v2-options): Likewise.
35012 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35013 (abi-64-options): Likewise.
35014 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35015 (abi-64-options): Likewise.
35016 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35017 (abi-64-options): Likewise.
35018 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35019 (abi-64-options, abi-x32-options): Likewise.
35020
2dba5ce7
FW
350212017-08-28 Florian Weimer <fweimer@redhat.com>
35022
35023 Store supported list of SYS_* system calls in the source tree.
35024 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35025 (bits/syscall.h): Generate from list file.
35026 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35027 [$(subdir) = misc] (tests): Add tst-syscall-list.
35028 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35029 [$(subdir) = misc] (tst-syscall-list-macros.list)
35030 [$(subdir) = misc] (tst-syscall-list-nr.list)
35031 (tst-syscall-list-sys.list): Helper targets for new
35032 tst-syscall-list test.
35033 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35034 tst-syscall-list.sh.
35035 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35036 target. Do not include bits/syscall.d.
35037 [$(subdir) = misc] (generated): Do not update.
35038 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35039 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35040 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35041 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35042
5f3b183d
PP
350432017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35044
35045 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35046 (tst-cxa_atexit, tst-on_exit): Likewise.
35047 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35048 tst-cxa_atexit, and tst-on_exit.
35049 * stdlib/tst-atexit-common.c: New file.
35050 * stdlib/tst-atexit.c: New file.
35051 * stdlib/tst-at_quick_exit.c: New file.
35052 * stdlib/tst-cxa_atexit.c: New file.
35053 * stdlib/tst-on_exit.c: New file.
35054
2ef8d469
ST
350552017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35056
35057 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
35058 * mach/stack_chk_fail_local.c: New file.
35059 * hurd/stack_chk_fail_local.c: New file.
35060 * mach/Machrules ($(interface-library)-routines): Add
35061 stack_chk_fail_local.
99ee4d26
ST
35062 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35063 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35064 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35065 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35066 * hurd/Makefile (CFLAGS-hurdstartup.o,
35067 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 35068
7ab70c98
L
350692017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35070
35071 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35072 (index_cpu_*, index_arch_*): Removed.
35073
39e7a5a6
SN
350742017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35075
35076 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35077 Use uint64_t instead of unsigned long.
35078
bba5c930
JM
350792017-08-25 Joseph Myers <joseph@codesourcery.com>
35080
a6ccdb08
JM
35081 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35082 [__HAVE_DISTINCT_FLOAT128].
35083
23761119
JM
35084 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35085 of <bits/math-finite.h>.
35086 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35087 inclusion of <bits/math-finite.h>.
35088 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35089 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35090 __NO_LONG_DOUBLE_MATH].
35091 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35092 (__MATH_REDIRCALL_2): Likewise.
35093 (__MATH_REDIRCALL_INTERNAL): Likewise.
35094 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35095 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35096 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35097
bba5c930
JM
35098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35099 Remove file.
35100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35101 Likewise.
35102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35103 Likewise.
35104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35105 Likewise.
35106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35107 Likewise.
35108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35109 Likewise.
35110 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35111 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35112 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35113 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35115 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35116 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35117 w_sqrtf_compat-ppc32.
35118
3d7b66f6
GG
351192017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35120
35121 * math/math.h [defined __cplusplus] (issignaling): In the long
35122 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35123 is not defined. Call __issignaling, otherwise.
35124
ebd6f007
AZ
351252017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35126
35127 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35128 syscall definitions and replace __builtin_expect with __glibc_likely.
35129 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35130 syscall.
6b5c8607 35131 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
35132 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35133 definition.
35134 (PSEUDO_END): Likewise.
35135 [IS_IN (libpthread)] (CENABLE): Likewise.
35136 [IS_IN (libpthread)] (CDISABLE): Likewise.
35137 [IS_IN (libc)] (CENABLE): Likewise.
35138 [IS_IN (libc)] (CENABLE): Likewise.
35139 [IS_IN (librt)] (CDISABLE): Likewise.
35140 [IS_IN (librt)] (CDISABLE): Likewise.
35141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35142 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35143 definition.
35144 (PSEUDO_END): Likewise.
35145 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35146 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35147 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35148 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35149 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35150 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35151 (CENABLE): Likewise.
35152 (CDISABLE): Likewise.
35153 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35154 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35155 defintion.
35156 (PSEUDO_END): Likewise.
35157 [IS_IN (libpthread)] (CENABLE): Likewise.
35158 [IS_IN (libpthread)] (CDISABLE): Likewise.
35159 [IS_IN (libc)] (CENABLE): Likewise.
35160 [IS_IN (libc)] (CENABLE): Likewise.
35161 [IS_IN (librt)] (CDISABLE): Likewise.
35162 [IS_IN (librt)] (CDISABLE): Likewise.
35163 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35164 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35165 definition.
35166 (PSEUDO_END): Likewise.
35167 [IS_IN (libpthread)] (CENABLE): Likewise.
35168 [IS_IN (libpthread)] (CDISABLE): Likewise.
35169 [IS_IN (libc)] (CENABLE): Likewise.
35170 [IS_IN (libc)] (CENABLE): Likewise.
35171 [IS_IN (librt)] (CDISABLE): Likewise.
35172 [IS_IN (librt)] (CDISABLE): Likewise.
35173 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35174 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35175 definition.
35176 (PSEUDO_END): Likewise.
35177 [IS_IN (libpthread)] (CENABLE): Likewise.
35178 [IS_IN (libpthread)] (CDISABLE): Likewise.
35179 [IS_IN (libc)] (CENABLE): Likewise.
35180 [IS_IN (libc)] (CENABLE): Likewise.
35181 [IS_IN (librt)] (CDISABLE): Likewise.
35182 [IS_IN (librt)] (CDISABLE): Likewise.
35183 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35184 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35185 definition.
35186 (PSEUDO_END): Likewise.
35187 [IS_IN (libpthread)] (CENABLE): Likewise.
35188 [IS_IN (libpthread)] (CDISABLE): Likewise.
35189 [IS_IN (libc)] (CENABLE): Likewise.
35190 [IS_IN (libc)] (CENABLE): Likewise.
35191 [IS_IN (librt)] (CDISABLE): Likewise.
35192 [IS_IN (librt)] (CDISABLE): Likewise.
35193 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35194 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35195 definition.
35196 (PSEUDO_END): Likewise.
35197 [IS_IN (libpthread)] (CENABLE): Likewise.
35198 [IS_IN (libpthread)] (CDISABLE): Likewise.
35199 [IS_IN (libc)] (CENABLE): Likewise.
35200 [IS_IN (libc)] (CENABLE): Likewise.
35201 [IS_IN (librt)] (CDISABLE): Likewise.
35202 [IS_IN (librt)] (CDISABLE): Likewise.
35203 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35204 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35205 definition.
35206 (PSEUDO_END): Likewise.
35207 [IS_IN (libpthread)] (CENABLE): Likewise.
35208 [IS_IN (libpthread)] (CDISABLE): Likewise.
35209 [IS_IN (libc)] (CENABLE): Likewise.
35210 [IS_IN (libc)] (CENABLE): Likewise.
35211 [IS_IN (librt)] (CDISABLE): Likewise.
35212 [IS_IN (librt)] (CDISABLE): Likewise.
35213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35214 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35215 Remove definition.
35216 (PSEUDO_END): Likewise.
35217 [IS_IN (libpthread)] (CENABLE): Likewise.
35218 [IS_IN (libpthread)] (CDISABLE): Likewise.
35219 [IS_IN (libc)] (CENABLE): Likewise.
35220 [IS_IN (libc)] (CENABLE): Likewise.
35221 [IS_IN (librt)] (CDISABLE): Likewise.
35222 [IS_IN (librt)] (CDISABLE): Likewise.
35223 (SINGLE_THREAD_P): Likewise.
35224 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35225 definition.
35226 (PSEUDO_END): Likewise.
35227 [IS_IN (libpthread)] (CENABLE): Likewise.
35228 [IS_IN (libpthread)] (CDISABLE): Likewise.
35229 [IS_IN (libc)] (CENABLE): Likewise.
35230 [IS_IN (libc)] (CENABLE): Likewise.
35231 [IS_IN (librt)] (CDISABLE): Likewise.
35232 [IS_IN (librt)] (CDISABLE): Likewise.
35233 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35234 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35235 definition.
35236 (PSEUDO_END): Likewise.
35237 [IS_IN (libpthread)] (CENABLE): Likewise.
35238 [IS_IN (libpthread)] (CDISABLE): Likewise.
35239 [IS_IN (libc)] (CENABLE): Likewise.
35240 [IS_IN (libc)] (CENABLE): Likewise.
35241 [IS_IN (librt)] (CDISABLE): Likewise.
35242 [IS_IN (librt)] (CDISABLE): Likewise.
35243 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35244 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35245 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35246 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35248 definition.
35249 (PSEUDO_END): Likewise.
35250 [IS_IN (libpthread)] (CENABLE): Likewise.
35251 [IS_IN (libpthread)] (CDISABLE): Likewise.
35252 [IS_IN (libc)] (CENABLE): Likewise.
35253 [IS_IN (libc)] (CENABLE): Likewise.
35254 [IS_IN (librt)] (CDISABLE): Likewise.
35255 [IS_IN (librt)] (CDISABLE): Likewise.
35256 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35258 definition.
35259 (PSEUDO_END): Likewise.
35260 [IS_IN (libpthread)] (CENABLE): Likewise.
35261 [IS_IN (libpthread)] (CDISABLE): Likewise.
35262 [IS_IN (libc)] (CENABLE): Likewise.
35263 [IS_IN (libc)] (CENABLE): Likewise.
35264 [IS_IN (librt)] (CDISABLE): Likewise.
35265 [IS_IN (librt)] (CDISABLE): Likewise.
35266 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35267 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35268 definition.
35269 (PSEUDO_END): Likewise.
35270 [IS_IN (libpthread)] (CENABLE): Likewise.
35271 [IS_IN (libpthread)] (CDISABLE): Likewise.
35272 [IS_IN (libc)] (CENABLE): Likewise.
35273 [IS_IN (libc)] (CENABLE): Likewise.
35274 [IS_IN (librt)] (CDISABLE): Likewise.
35275 [IS_IN (librt)] (CDISABLE): Likewise.
35276 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35279 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35280 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35281 definition.
35282 (PSEUDO_END): Likewise.
35283 [IS_IN (libpthread)] (CENABLE): Likewise.
35284 [IS_IN (libpthread)] (CDISABLE): Likewise.
35285 [IS_IN (libc)] (CENABLE): Likewise.
35286 [IS_IN (libc)] (CENABLE): Likewise.
35287 [IS_IN (librt)] (CDISABLE): Likewise.
35288 [IS_IN (librt)] (CDISABLE): Likewise.
35289 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35290 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35291 definition.
35292 (PSEUDO_END): Likewise.
35293 [IS_IN (libpthread)] (CENABLE): Likewise.
35294 [IS_IN (libpthread)] (CDISABLE): Likewise.
35295 [IS_IN (libc)] (CENABLE): Likewise.
35296 [IS_IN (libc)] (CENABLE): Likewise.
35297 [IS_IN (librt)] (CDISABLE): Likewise.
35298 [IS_IN (librt)] (CDISABLE): Likewise.
35299 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35300
8aa48656
SN
353012017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35302
35303 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35304
fcaaca41
L
353052017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35308
376b40a2
L
353092017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35310
35311 [BZ #21982]
35312 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35313 middle and outer with size_t instead of int. Repleace %d and
35314 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35315 "MAX (outer, nchars - 64)" to support unsigned outer and
35316 nchars. Also exit loop when outer == 0.
35317
2b0b9a1c
AZ
353182017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35319
35320 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35321 * include/signal.h (__sigsuspend_nocancel): Likewise.
35322 * include/time.h (__nanosleep_nocancel): Likewise.
35323 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35324 * login/utmp_file.c: Include non cancellable syscall header.
35325 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35326 prototype.
35327
b9eaca8f
L
353282017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35329
35330 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35331 .byte sequences with AVX512F instructions.
35332 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35333 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35334 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35336 Likewise.
35337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35338 Likewise.
35339
5a706f64
SE
353402017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35341 Steve Ellcey <sellcey@cavium.com>
35342
35343 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35344 Use PTR_REG macro in cmp instruction.
35345
b513da7e
GG
353462017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35347
35348 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35349 Change the return type of the ifunc resolver to match the return
35350 type of the target function.
35351
78ca091c
AZ
353522017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35353
b70b6026
AZ
35354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35355 (preadv64): Likewise.
35356 (pwrite64(: Likewise.
35357 (pwritev64): Likewise.
35358
78ca091c
AZ
35359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35360 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35361 (LOAD_ARGS_0): Likewise.
35362 (LOAD_ARGS_1): Likewise.
35363 (LOAD_ARGS_2): Likewise.
35364 (LOAD_ARGS_3): Likewise.
35365 (LOAD_ARGS_4): Likewise.
35366 (LOAD_ARGS_5): Likewise.
35367 (LOAD_ARGS_6): Likewise.
35368 (LOAD_REGS_0): Likewise.
35369 (LOAD_REGS_1): Likewise.
35370 (LOAD_REGS_2): Likewise.
35371 (LOAD_REGS_3): Likewise.
35372 (LOAD_REGS_4): Likewise.
35373 (LOAD_REGS_5): Likewise.
35374 (LOAD_REGS_6): Likewise.
35375 (ASM_ARGS_0): Likewise.
35376 (ASM_ARGS_1): Likewise.
35377 (ASM_ARGS_2): Likewise.
35378 (ASM_ARGS_3): Likewise.
35379 (ASM_ARGS_4): Likewise.
35380 (ASM_ARGS_5): Likewise.
35381 (ASM_ARGS_6): Likewise.
35382 (LOAD_ARGS_TYPES_1): Likewise.
35383 (LOAD_ARGS_TYPES_2): Likewise.
35384 (LOAD_ARGS_TYPES_3): Likewise.
35385 (LOAD_ARGS_TYPES_4): Likewise.
35386 (LOAD_ARGS_TYPES_5): Likewise.
35387 (LOAD_ARGS_TYPES_6): Likewise.
35388 (LOAD_REGS_TYPES_1): Likewise.
35389 (LOAD_REGS_TYPES_2): Likewise.
35390 (LOAD_REGS_TYPES_3): Likewise.
35391 (LOAD_REGS_TYPES_4): Likewise.
35392 (LOAD_REGS_TYPES_5): Likewise.
35393 (LOAD_REGS_TYPES_6): Likewise.
35394 (TYPEFY): New define.
35395 (ARGIFY): Likewise.
35396 (internal_syscall0): Likewise.
35397 (internal_syscall1): Likewise.
35398 (internal_syscall2): Likewise.
35399 (internal_syscall3): Likewise.
35400 (internal_syscall4): Likewise.
35401 (internal_syscall5): Likewise.
35402 (internal_syscall6): Likewise.
35403 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35404 (INTERNAL_SYSCALL_NCS): Remove define.
35405 (internal_syscall1): Add define.
35406
453a493d
GG
354072017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35408
35409 * math/w_remainder_compat.c: Remove duplicate inclusion of
35410 math-svid-compat.h.
35411 * math/w_remainderf_compat.c: Likewise.
35412 * math/w_remainderl_compat.c: Likewise.
35413
f2f048a5
GG
354142017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35415
35416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35417
d9bef9c0
JM
354182017-08-22 Joseph Myers <joseph@codesourcery.com>
35419
35420 [BZ #21684]
35421 * math/tgmath.h (__floating_type): Simplify definitions.
35422 (__real_integer_type): New macro.
35423 (__complex_integer_type): Likewise.
35424 (__expr_is_real): Likewise.
35425 (__tgmath_real_type_sub): Update comment to describe handling of
35426 complex types.
35427 (__tgmath_complex_type_sub): New macro.
35428 (__tgmath_complex_type): Likewise.
35429 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35430 (__TGMATH_CF128): Use __expr_is_real.
35431 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35432 __expr_is_real.
35433 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35434 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35435 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35436 integer types.
35437
08d6eb46
AZ
354382017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35439
988f991b
AZ
35440 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35441 macro.
35442 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35443 alias.
35444 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35445 Likewise.
35446
6f33fd04
AZ
35447 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35448 nanosleep_not_cancel with __nanosleep_nocancel.
35449 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35450 (__nanosleep_nocancel): New macro.
35451 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35452 function.
35453 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35454 macro.
35455 (__nanosleep_nocancel): New prototype.
35456
08d6eb46
AZ
35457 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35458 pause_not_cancel with __pause_nocancel.
35459 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35460 (__pause_nocancel): New macro.
35461 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35462 macro.
35463 (__pause_nocancel): New prototype.
35464 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35465
ee4e992e
MS
354662017-08-22 Martin Sebor <msebor@redhat.com>
35467
35468 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35469 to return a pointer to the same type as the target function.
35470
20962acb
L
354712017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35472
35473 [BZ #18822]
35474 [BZ #21986]
35475 * include/printf.h (__printf_fphex): Add attribute_hidden.
35476 (__guess_grouping): New prototype.
35477 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35478 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35479 libc_hidden_proto and libc_hidden_def.
35480 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35481 (__vstrfmon_l): Remove the third argument passed to
35482 __guess_grouping.
35483
a16e8bc0
GG
354842017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35485
35486 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35487 definition for issignaling that does not rely on __MATH_TG,
35488 since __MATH_TG uses __builtin_types_compatible_p, which is only
35489 available in C mode.
35490 (CFLAGS-test-math-issignaling.cc): New variable.
35491 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35492 * math/test-math-issignaling.cc: New test for C++ implementation
35493 of type-generic issignaling.
35494 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35495 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35496 options of test-math-issignaling on powerpc64le.
35497
8d2ec553
L
354982017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35499
35500 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35501 building libc.a.
35502 (hidden_proto): Likewise.
35503 (hidden_tls_proto): Likewise.
35504 (__hidden_proto): Likewise.
35505
a4d57b79
FW
355062017-08-22 Florian Weimer <fweimer@redhat.com>
35507
35508 math: Statically link tests of internal functionality.
35509 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35510 atest-exp2.
35511 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35512 (gmp-objs): Remove assignment.
35513 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35514
75dfe623
JM
355152017-08-22 Joseph Myers <joseph@codesourcery.com>
35516
80f91666
JM
35517 [BZ #21987]
35518 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35519 and copy to ...
35520 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35521 ... here.
35522 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35523 ... and here.
35524
75dfe623
JM
35525 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35526 variable definitions above inclusion of ../Rules.
35527
ea99fcd0
JM
355282017-08-21 Joseph Myers <joseph@codesourcery.com>
35529
35530 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35531 case calling __builtin_unreachable.
35532
19926de9
AZ
355332017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35534
a8410a5f
AZ
35535 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35536 __waitpid_nocancel.
35537 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35538 (__waitpid_nocancel): New macro.
35539 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35540 macro.
35541 (__waitpid_nocancel): Replace macro with a function.
35542 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35543 function.
35544
7369800c
AZ
35545 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35546 __fcntl_nocancel.
35547 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35548 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35549
19926de9
AZ
35550 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35551 __writev_nocancel_nostatus.
35552 (write_call_graph): Likewise.
35553 (write_bb_counts): Likewise.
35554 * resolv/herror.c (herror): Likewise.
35555 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35556 macro.
35557 (__writev_nocancel_nostatus): New macro.
35558 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35559 Remove macro.
35560 (__writev_nocancel_nostatus): New function.
35561
813378e9
JM
355622017-08-21 Joseph Myers <joseph@codesourcery.com>
35563
df1deda6
JM
35564 Revert:
35565 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35566
35567 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35568 building libc.a.
35569 (hidden_proto): Likewise.
35570 (hidden_tls_proto): Likewise.
35571 (__hidden_proto): Likewise.
35572
831bbd55
JM
35573 [BZ #21973]
35574 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35575 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35577 Likewise.
35578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35579 Likewise.
35580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35581 Likewise.
35582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35583 Likewise.
35584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35586 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35587 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35588 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35589 GLIBC_2.0 sqrtl symbol.
35590
813378e9
JM
35591 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35592 [__USE_MISC] (_LIB_VERSION): Likewise.
35593 [__USE_MISC] (struct exception): Likewise.
35594 [__USE_MISC] (matherr): Likewise.
35595 [__USE_MISC] (DOMAIN): Likewise.
35596 [__USE_MISC] (SING): Likewise.
35597 [__USE_MISC] (OVERFLOW): Likewise.
35598 [__USE_MISC] (UNDERFLOW): Likewise.
35599 [__USE_MISC] (TLOSS): Likewise.
35600 [__USE_MISC] (PLOSS): Likewise.
35601 [__USE_MISC] (HUGE): Likewise.
35602 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35603 * math/math-svid-compat.h: New file.
35604 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35605 and matherrl.
35606 * include/math.h [!_ISOMAC] (__matherr): Remove.
35607 * manual/arith.texi (FP Exceptions): Do not document matherr.
35608 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35609 (tests-internal): New variable.
35610 (install-lib): Do not add libieee.a.
35611 (non-lib.a): Likewise.
35612 (extra-objs): Do not add libieee.a and ieee-math.o.
35613 (CPPFLAGS-s_lib_version.c): Remove variable.
35614 ($(objpfx)libieee.a): Remove rule.
35615 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35616 * math/ieee-math.c: Remove.
35617 * math/libm-test-support.c (matherr): Remove.
35618 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35619 and license notices. Include <math-svid-compat.h> and
35620 <shlib-compat.h>.
35621 (matherr): Undefine as macro. Use compat_symbol_reference.
35622 (_LIB_VERSION): Likewise.
35623 * math/test-matherr-2.c: New file.
35624 * math/test-matherr-3.c: Likewise.
35625 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35626 declaration.
35627 (__kernel_standard_f): Likewise.
35628 (__kernel_standard_l): Likewise.
35629 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35630 <math_private.h>. Include <math-svid-compat.h>.
35631 (_LIB_VERSION): Undefine as macro.
35632 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35633 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35634 [LIBM_SVID_COMPAT], use compat_symbol.
35635 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35636 <math_private.h>. Include <math-svid-compat.h>.
35637 (matherr): Undefine as macro.
35638 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35639 compat_symbol.
35640 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35641 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35642 compat_symbol_reference.
35643 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35644 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35645 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35646 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35647 (MATHERR_D): Remove declaration.
35648 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35649 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35650 [LIBM_BUILD] (pmatherrf): Likewise.
35651 [LIBM_BUILD] (pmatherr): Likewise.
35652 [LIBM_BUILD] (pmatherrl): Likewise.
35653 (DOMAIN): Likewise.
35654 (SING): Likewise.
35655 (OVERFLOW): Likewise.
35656 (UNDERFLOW): Likewise.
35657 (TLOSS): Likewise.
35658 (PLOSS): Likewise.
35659 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35660 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35661 compat_symbol.
35662 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35663 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35664 compat_symbol.
35665 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35666 * math/w_acos_compat.c: Likewise.
35667 * math/w_acosf_compat.c: Likewise.
35668 * math/w_acosh_compat.c: Likewise.
35669 * math/w_acoshf_compat.c: Likewise.
35670 * math/w_acoshl_compat.c: Likewise.
35671 * math/w_acosl_compat.c: Likewise.
35672 * math/w_asin_compat.c: Likewise.
35673 * math/w_asinf_compat.c: Likewise.
35674 * math/w_asinl_compat.c: Likewise.
35675 * math/w_atan2_compat.c: Likewise.
35676 * math/w_atan2f_compat.c: Likewise.
35677 * math/w_atan2l_compat.c: Likewise.
35678 * math/w_atanh_compat.c: Likewise.
35679 * math/w_atanhf_compat.c: Likewise.
35680 * math/w_atanhl_compat.c: Likewise.
35681 * math/w_cosh_compat.c: Likewise.
35682 * math/w_coshf_compat.c: Likewise.
35683 * math/w_coshl_compat.c: Likewise.
35684 * math/w_exp10_compat.c: Likewise.
35685 * math/w_exp10f_compat.c: Likewise.
35686 * math/w_exp10l_compat.c: Likewise.
35687 * math/w_exp2_compat.c: Likewise.
35688 * math/w_exp2f_compat.c: Likewise.
35689 * math/w_exp2l_compat.c: Likewise.
35690 * math/w_fmod_compat.c: Likewise.
35691 * math/w_fmodf_compat.c: Likewise.
35692 * math/w_fmodl_compat.c: Likewise.
35693 * math/w_hypot_compat.c: Likewise.
35694 * math/w_hypotf_compat.c: Likewise.
35695 * math/w_hypotl_compat.c: Likewise.
35696 * math/w_j0_compat.c: Likewise.
35697 * math/w_j0f_compat.c: Likewise.
35698 * math/w_j0l_compat.c: Likewise.
35699 * math/w_j1_compat.c: Likewise.
35700 * math/w_j1f_compat.c: Likewise.
35701 * math/w_j1l_compat.c: Likewise.
35702 * math/w_jn_compat.c: Likewise.
35703 * math/w_jnf_compat.c: Likewise.
35704 * math/w_jnl_compat.c: Likewise.
35705 * math/w_lgamma_main.c: Likewise.
35706 * math/w_lgamma_r_compat.c: Likewise.
35707 * math/w_lgammaf_main.c: Likewise.
35708 * math/w_lgammaf_r_compat.c: Likewise.
35709 * math/w_lgammal_main.c: Likewise.
35710 * math/w_lgammal_r_compat.c: Likewise.
35711 * math/w_log10_compat.c: Likewise.
35712 * math/w_log10f_compat.c: Likewise.
35713 * math/w_log10l_compat.c: Likewise.
35714 * math/w_log2_compat.c: Likewise.
35715 * math/w_log2f_compat.c: Likewise.
35716 * math/w_log2l_compat.c: Likewise.
35717 * math/w_log_compat.c: Likewise.
35718 * math/w_logf_compat.c: Likewise.
35719 * math/w_logl_compat.c: Likewise.
35720 * math/w_pow_compat.c: Likewise.
35721 * math/w_powf_compat.c: Likewise.
35722 * math/w_powl_compat.c: Likewise.
35723 * math/w_remainder_compat.c: Likewise.
35724 * math/w_remainderf_compat.c: Likewise.
35725 * math/w_remainderl_compat.c: Likewise.
35726 * math/w_scalb_compat.c: Likewise.
35727 * math/w_scalbf_compat.c: Likewise.
35728 * math/w_scalbl_compat.c: Likewise.
35729 * math/w_sinh_compat.c: Likewise.
35730 * math/w_sinhf_compat.c: Likewise.
35731 * math/w_sinhl_compat.c: Likewise.
35732 * math/w_sqrt_compat.c: Likewise.
35733 * math/w_sqrtf_compat.c: Likewise.
35734 * math/w_sqrtl_compat.c: Likewise.
35735 * math/w_tgamma_compat.c: Likewise.
35736 * math/w_tgammaf_compat.c: Likewise.
35737 * math/w_tgammal_compat.c: Likewise.
35738 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35739 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35740 * sysdeps/ieee754/k_standard.c: Likewise.
35741 * sysdeps/ieee754/k_standardf.c: Likewise.
35742 * sysdeps/ieee754/k_standardl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35746 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35747 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35748 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35749 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35750 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35751 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35753 Likewise.
35754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35755 Likewise.
35756 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35757 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35758 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35759 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35760
4504783c
FW
357612017-08-21 Florian Weimer <fweimer@redhat.com>
35762
35763 [BZ #21864]
35764 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35765 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35766 Move before inclusion of ../Rules.
35767
b5889d25
FW
357682017-08-21 Florian Weimer <fweimer@redhat.com>
35769
35770 [BZ #21972]
35771 * assert/assert.h (assert): Use static_cast (bool) for C++.
35772 Use the ternary operator in the warning branch for GNU C.
35773 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35774 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35775 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35776 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35777 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35778
41e673c1
L
357792017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35780
35781 [BZ #18822]
35782 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35783 (__syscall_clock_gettime): Add attribute_hidden.
35784 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35785 (__start_context): Likewise.
35786
568ff429
L
357872017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35788
35789 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35790 building libc.a.
35791 (hidden_proto): Likewise.
35792 (hidden_tls_proto): Likewise.
35793 (__hidden_proto): Likewise.
35794
7c41b4a1
L
357952017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35796
35797 * include/libc-symbols.h (attribute_hidden): Enable hidden
35798 visibility in libc.a compiled with PIE.
35799
483d7068
L
358002017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35801
35802 [BZ #18822]
35803 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35804 Add attribute_hidden.
35805
358062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35807
35808 [BZ #21864]
35809 * Makerules (all-nonlib): Add $(others-extras).
35810 * catgets/Makefile (others-extras): New.
35811 * elf/Makefile (others-extras): Likewise.
35812 * nss/Makefile (others-extras): Likewise.
35813
54e4b8f2
L
358142017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35815
35816 [BZ #18822]
35817 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35818 * elf/dl-open.c: Include <libc-internal.h>.
35819 (__libc_multiple_libcs): Removed.
35820 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35821 <hp-timing.h>.
35822 * include/libc-internal.h (__libc_multiple_libcs): New.
35823 * misc/sbrk.c: Include <libc-internal.h>.
35824 (__libc_multiple_libcs): Removed.
35825
1dbbb1ec
L
358262017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35827
35828 [BZ #18822]
35829 * grp/initgroups.c (__nss_group_database): Removed.
35830 (__nss_initgroups_database): Likewise.
35831 * nscd/gai.c (__nss_hosts_database): Likewise.
35832 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35833 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35834 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35835 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35836 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35837 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35838 attribute_hidden.
35839 * nss/nsswitch.c (__nss_database_custom): Define only if
35840 USE_NSCD is defined.
35841 (__nss_configure_lookup): Use __nss_database_custom only if
35842 USE_NSCD is defined.
35843 * nss/nsswitch.h (__nss_database_custom): Declare only if
35844 USE_NSCD is defined. Add attribute_hidden.
35845 (__nss_setent): Add attribute_hidden.
35846 (__nss_endent): Likewise.
35847 (__nss_getent_r): Likewise.
35848 (__nss_getent): Likewise.
35849 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35850
2585d7b8
L
358512017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35852
35853 [BZ #18822]
35854 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35855 libc_hidden_proto and libc_hidden_def.
35856
c8dfa99c
L
358572017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35858
35859 [BZ #18822]
35860 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35861 Add libc_hidden_proto.
35862 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35863 Add libc_hidden_def.
35864
7ed87317
L
358652017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35866
35867 [BZ #21974]
35868 * gmon/Makefile (routines): Remove bb_init_func and
35869 bb_exit_func.
35870 (elide-routines.os): Removed.
9476b904
L
35871 * gmon/bb_exit_func.c: Likewise.
35872 * gmon/bb_init_func.c: Likewise.
7ed87317
L
35873 * include/sys/gmon.h (__bb): Likewise.
35874 (__bb_init_func): Likewise.
35875 (__bb_exit_func): Likewise.
91695eb1 35876 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 35877
94e6ba15
L
358782017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35879
35880 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35881 * include/setjmp.h (____longjmp_chk): Here. Add
35882 attribute_hidden.
35883
7550717e
L
358842017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35885
35886 [BZ #18822]
35887 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35888 attribute_hidden.
35889 (__strspn_sse2): Likewise.
35890
0bb2fabc
AZ
358912017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35892
c181840c
AZ
35893 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35894 (close_not_cancel_no_status): Likewise.
35895 (__close_nocancel): New macro.
35896 (__close_nocancel_nostatus): Likewise.
35897 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35898 macro.
35899 (close_not_cancel): Likewise.
35900 (close_not_cancel_no_status): Likewise.
35901 (__close_nocancel): New prototype.
35902 (__close_nocancel_nostatus): New function.
35903 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35904 * catgets/open_catalog.c (__open_catalog): Replace
35905 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35906 * gmon/gmon.c (write_gmon): Likewise.
35907 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35908 * intl/loadmsgcat.c (close): Likewise.
35909 * io/ftw.c (open_dir_stream): Likewise.
35910 (ftw_startup): Likewise.
35911 * libio/fileops.c (_IO_file_open): Likewise.
35912 (_IO_file_close_mmap): Likewise.
35913 (_IO_file_close): Likewise.
35914 * libio/iopopen.c (_IO_dup2): Likewise.
35915 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35916 * locale/loadlocale.c (_nl_load_locale): Likewise.
35917 * login/utmp_file.c (pututline_file): Likewise.
35918 (endutent_file): Likewise.
35919 * misc/daemon.c (daemon): Likewise.
35920 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35921 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35922 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35923 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35924 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35925 * nscd/nscd_helper.c (open_socket): Likewise.
35926 (__nscd_open_socket): Likewise.
35927 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35928 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35929 (__nscd_innetgr): Likewise.
35930 * nss/nss_db/db-open.c (internal_setent): Likewise.
35931 * resolv/res-close.c (__res_iclose): Likewise.
35932 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35933 * sysdeps/posix/closedir.c (__closedir): Likewise.
35934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35935 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35936 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35937 (opendir_tail): Likewise.
35938 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35939 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35940 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35941 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35942 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35943 (gethostid): Likewise.
35944 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35946 Likewise.
35947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35948 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35949 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35950 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35951 Likewise.
35952 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35953 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35954 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35955 Likewise.
35956 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35957 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35958 Likewise.
35959 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35960 Likewise.
35961 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35962 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35963 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35964 __close_nocancel.
35965
0bb2fabc
AZ
35966 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35967 (openat_not_cancel_3): Likewise.
35968 (openat64_not_cancel_3): Likewise).
35969 (openat_not_cancel_3): Likewise).
35970 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35971 macro.
35972 (openat_not_cancel_3): Likewise.
35973 (openat64_not_cancel): Likewise.
35974 (openat64_not_cancel_3): Likewise.
35975 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35976 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35977 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35978 __open{64}_nocancel.
35979 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35980 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35981 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35982
65a086db
L
359832017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35984
35985 [BZ #18822]
35986 * include/argz.h (__argz_create_sep): New function prototype.
35987 (__argz_append): Likewise.
35988 (__argz_add): Likewise.
35989 (__argz_add_sep): Likewise.
35990 (__argz_delete): Likewise.
35991 (__argz_insert): Likewise.
35992 (__argz_replace): Likewise.
35993 * string/argz.h (__argz_create_sep): Removed.
35994 (__argz_append): Likewise.
35995 (__argz_add): Likewise.
35996 (__argz_add_sep): Likewise.
35997 (__argz_delete): Likewise.
35998 (__argz_insert): Likewise.
35999 (__argz_replace): Likewise.
36000
62753d2c
L
360012017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36002
36003 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36004 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36005 (GNU_PROPERTY_STACK_SIZE): Likewie.
36006 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36007 (GNU_PROPERTY_LOPROC): Likewise.
36008 (GNU_PROPERTY_HIPROC): Likewise.
36009 (GNU_PROPERTY_LOUSER): Likewise.
36010 (GNU_PROPERTY_HIUSER): Likewise.
36011 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36012 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36013 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36014 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36015 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36016 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36017 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36018 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36019 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36020 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36021 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36022 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36023 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36024 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36025 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36026 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36027 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36028 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36029 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36030 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36031 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36032 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36033 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36034
6913ad65
GG
360352017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36036
36037 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36038 in C++ mode.
36039
47a67213
GG
360402017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36041
36042 [BZ #21930]
36043 * math/math.h (isinf): Check if in C or C++ mode before using
36044 __builtin_types_compatible_p, since this is a C mode feature.
36045
a748eb31
AZ
360462017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36047
c647fb88
AZ
36048 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36049 (__write_nocancel): New macro.
36050 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36051 Rewrite as a function prototype.
36052 (write_not_cancel): Remove macro.
36053 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36054 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36055 (write_gmon): Likewise.
36056 * libio/fileops.c (_IO_new_file_write): Likewise.
36057 * login/utmp_file.c (pututline_file): Likewise.
36058 (updwtmp_file): Likewise.
36059 * stdio-common/psiginfo.c (psiginfo): Likewise.
36060 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36061 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36062 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36063 Likewise.
36064 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36065 Likewise.
36066
a748eb31
AZ
36067 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36068 (__read_nocancel): New macro.
36069 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36070 __read_nocancel.
36071 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36072 macro.
36073 (__read_nocancel): New prototype.
36074 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36075 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36076 with __read_nocancel.
36077 * intl/loadmsgcat.c (read): Likewise.
36078 * libio/fileops.c (_IO_file_read): Likewise.
36079 * locale/loadlocale.c (_nl_load_locale): Likewise.
36080 * login/utmp_file.c (getutent_r_file): Likewise.
36081 (internal_getut_r): Likewise.
36082 (getutline_r_file): Likewise.
36083 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36084 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36085 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36087 Likewise.
36088 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36089 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36090 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36091 Likewise.
36092 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36093 Likewise.
36094 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36095 Likewise.
36096 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36097 Likewise.
36098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36099
098b9dd4
L
361002017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36101
36102 [BZ #21966]
36103 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36104 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36105 usable.
36106
a3fe6a20
DD
361072017-08-17 DJ Delorie <dj@redhat.com>
36108
36109 * bug17079.c: Update to new test harness.
36110 * test-digits-dots.c: Likewise.
36111 * test-netdb.c: Likewise.
36112 * tst-field.c: Likewise.
36113 * tst-nss-getpwent.c: Likewise.
36114 * tst-nss-static.c: Likewise.
36115 * tst-nss-test1.c: Likewise.
36116 * tst-nss-test2.c: Likewise.
36117 * tst-nss-test3.c: Likewise.
36118 * tst-nss-test4.c: Likewise.
36119 * tst-nss-test5.c: Likewise.
36120
c2284574
AZ
361212017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36122
36123 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36124 (open_not_cancel_2): Likewise.
36125 (open_nocancel): New macro.
36126 (open64_nocancel): Likewise.
36127 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36128 (open_not_cancel_2): Likewise.
36129 (__open_nocancel): New prototype.
36130 (__open64_nocancel): Likewise.
36131 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36132 __open_nocancel.
36133 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36134 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36135 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36136 with __open_nocancel.
36137 * csu/check_fds.c (check_one_fd): Likewise.
36138 * gmon/gmon.c (write_gmon): Likewise.
36139 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36140 * intl/loadmsgcat.c (open): Likewise.
36141 * libio/fileops.c (_IO_file_open): Likewise.
36142 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36143 * locale/loadlocale.c (_nl_load_locale): Likewise.
36144 * login/utmp_file.c (setutent_file): Likewise.
36145 * misc/daemon.c (daemon): Likewise.
36146 * nss/nss_db/db-open.c (internal_setent): Likewise.
36147 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36148 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36149 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36150 (__opendir): Likewise.
36151 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36152 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36153 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36154 (gethostid): Likewise.
36155 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36157 Likewise.
36158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36159 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36160 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36161 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36162 Likewise.
36163 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36164 Likewise.
36165 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36166 Likewise.
36167 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36168 Likewise.
36169 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36170 Likewise.
36171 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36172 Likewise.
36173 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36175
d4505b89
WD
361762017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36177
36178 * benchtests/bench-skeleton.c (main): Add support for
36179 latency benchmarking.
36180 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36181
34d6a3cb
L
361822017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36183
36184 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36185 the startup object.
36186
038d1caf
FW
361872017-08-17 Florian Weimer <fweimer@redhat.com>
36188
36189 * include/sys/socket.h (__opensock): Remove internal_function.
36190 * socket/opensock.c (__opensock): Likewise.
36191 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36192
67f0aff0
JM
361932017-08-16 Joseph Myers <joseph@codesourcery.com>
36194
36195 [BZ #21944]
36196 * signal/bits/types/__sigval_t.h: New file.
36197 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36198 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36199 and define sigval_t using __sigval_t.
36200 * include/bits/types/__sigval_t.h: New file.
36201 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36202 instead of <bits/types/__sigval_t.h>.
36203 (struct sigevent): Use __sigval_t instead of sigval_t.
36204 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36205 instead of <bits/types/__sigval_t.h>.
36206 (siginfo_t): Use __sigval_t instead of sigval_t.
36207 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36208 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36209 (struct sigevent): Use __sigval_t instead of sigval_t.
36210 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36211 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36212 (siginfo_t): Use __sigval_t instead of sigval_t.
36213 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36214
87e7bf4d
L
362152017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36216
36217 * NEWS: Remove "[Add new features here]" for 2.27.
36218
5047057f
JM
362192017-08-16 Joseph Myers <joseph@codesourcery.com>
36220
36221 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36222 libc.so.
36223
20c7b195
L
362242017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36225
36226 * NEWS: Mention x86-64 FMA optimization.
36227
24a2e658
L
362282017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36229
36230 [BZ #21912]
36231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36232 Add e_expf-fma.
36233 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36234 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36235 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36236
eedca977
AS
362372017-08-16 Andreas Schwab <schwab@suse.de>
36238
403143e1
FW
36239 [BZ #16750]
36240 CVE-2009-5064
eedca977
AS
36241 * elf/ldd.bash.in: Never run file directly.
36242
f59f7adb
L
362432017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36244
36245 [BZ #21955]
36246 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36247 (L(SP_INF_0)): Likewise.
36248
6b11a6ad
FW
362492017-08-15 Florian Weimer <fweimer@redhat.com>
36250
36251 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36252 run-built-tests.
36253
bbf5c438
FW
362542017-08-15 Florian Weimer <fweimer@redhat.com>
36255
36256 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36257 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36258 BROKEN_THREAD_SIGNALS code.
36259 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36260 request_list): Remove caller_pid member used for
36261 BROKEN_THREAD_SIGNALS.
36262 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36263 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36264 Remove BROKEN_THREAD_SIGNALS support.
36265 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36266 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36267
6014c65d
FW
362682017-08-15 Florian Weimer <fweimer@redhat.com>
36269
36270 * gmon/Makefile (tests): Add tst-gmon.
36271 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36272 Set.
36273 (tests-special): Add tst-gmon-prof.out.
36274 (tst-gmon.out): Depend on clean-tst-gmon-data.
36275 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36276 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36277 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36278 startup object.
36279 * aclocal.m4 (GPROF): Set and substitute.
36280 * config.amke.in (GPROF): Set.
36281 * configure: Regenerate.
36282
ee72219a
GR
362832017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36284
36285 * elf/elf.h A (NT_PPC_TAR): New macro.
36286 (NT_PPC_PPR): Likewise.
36287 (NT_PPC_DSCR): Likewise.
36288 (NT_PPC_EBB): Likewise.
36289 (NT_PPC_PMU): Likewise.
36290 (NT_PPC_TM_CGPR): Likewise.
36291 (NT_PPC_TM_CFPR): Likewise.
36292 (NT_PPC_TM_CVMX): Likewise.
36293 (NT_PPC_TM_CVSX): Likewise.
36294 (NT_PPC_TM_SPR): Likewise.
36295 (NT_PPC_TM_CTAR): Likewise.
36296 (NT_PPC_TM_CPPR): Likewise.
36297 (NT_PPC_TM_CDSCR): Likewise.
36298
4ebf934e
FW
362992017-08-15 Florian Weimer <fweimer@redhat.com>
36300
36301 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36302 regparm (2) instead of internal_function.
36303 (_MCOUNT_DECL): Adjust.
36304
e9f57484
SL
363052017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36306
36307 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36308 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36309
88ff4d55
JM
363102017-08-14 Joseph Myers <joseph@codesourcery.com>
36311
36312 * conform/data/sys/wait.h-data (si_value): Do not expect for
36313 XPG42.
36314
c88ffc23
FW
363152017-08-14 Florian Weimer <fweimer@redhat.com>
36316
36317 [BZ #21962]
36318 NSS: Create stubs for accidentally exported lookup functions.
36319 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36320 Remove declaration.
36321 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36322 (ether_hostton): Call __nss_ethers_lookup2 instead.
36323 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36324 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36325 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36326 (setup): Call __nss_netgroup_lookup2 instead.
36327 * nss/Makefile (routines): Add compat-lookup.
36328 * nss/Versions (GLIBC_2.27): Add symbol version.
36329 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36330 (DB_COMPAT_FCT): Remove.
36331 * nss/compat-lookup.c: New file.
36332 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36333 from databases.def.
36334 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36335 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36336 (netname2user): Call __nss_publickey_lookup2 instead.
36337 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36338 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36339 instead.
36340
35a29136 363412017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
36342 Sergei Trofimovich <slyfox@inbox.ru>
36343
36344 [BZ #21908]
36345 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36346 Rename to MMAP2_PAGE_UNIT.
36347 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36348 __OFF_T_MATCHES_OFF64_T is not defined.
36349 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36350 uint64_t.
36351 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36352 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36353
fbdc1e3e
FW
363542017-08-14 Florian Weimer <fweimer@redhat.com>
36355
36356 i386: Do not set internal_function.
36357 * config.h.in (USE_REGPARMS, internal_function): Remove.
36358 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36359 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36360
b3f85fd2
FW
363612017-08-14 Florian Weimer <fweimer@redhat.com>
36362
36363 * elf/dl-init.c (_dl_init): Remove internal_function.
36364 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36365 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36366
630bf491
FW
363672017-08-14 Florian Weimer <fweimer@redhat.com>
36368
36369 * elf/rtld.c (_dl_start): Remove internal_function.
36370 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36371 _dl_start.
36372
9fa7449b
FW
363732017-08-14 Florian Weimer <fweimer@redhat.com>
36374
36375 * elf/dl-fini.c (_dl_fini): Remove internal_function
36376 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36377
73322d5f
L
363782017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36379
d863cd71 36380 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
36381 (bit_cpu_SHSTK): Likewise.
36382 (index_cpu_IBT): Likewise.
36383 (index_cpu_SHSTK): Likewise.
36384 (reg_IBT): Likewise.
36385 (reg_SHSTK): Likewise.
36386 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36387 Handle index_cpu_IBT and index_cpu_SHSTK.
36388
dbc303ef
MF
363892017-08-14 Mike FABIAN <mfabian@redhat.com>
36390
36391 [BZ #19982]
36392 * po/fr.po: Fix spelling mistake.
36393
3012cfb0
FW
363942017-08-13 Florian Weimer <fweimer@redhat.com>
36395
36396 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36397 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36398 (_dl_catch_error, _dl_receive_error): Likewise.
36399 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36400 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36401 (_dl_deallocate_tls): Likewise.
36402 * include/dlfcn.h (_dl_addr): Likewise.
36403 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36404 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36405 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36406 Likewise.
36407
52bcdf26
FW
364082017-08-13 Florian Weimer <fweimer@redhat.com>
36409
36410 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36411 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36412 internal_function.
36413 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36414
e1d2ae8d
FW
364152017-08-13 Florian Weimer <fweimer@redhat.com>
36416
36417 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36418 internal_function.
36419 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36420 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36421 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36422 internal_function from _dl_make_stack_executable_hook member.
36423 (_dl_make_stack_executable): Remove internal_function.
36424 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36425 Likewise.
36426 * sysdeps/unix/sysv/linux/dl-execstack.c
36427 (_dl_make_stack_executable): Likewise.
36428
c4ce0382
FW
364292017-08-13 Florian Weimer <fweimer@redhat.com>
36430
36431 * sysdeps/unix/sysv/linux/netlinkaccess.h
36432 (__netlink_assert_response): Remove internal_function.
36433 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36434 (__netlink_assert_response): Likewise.
36435
c4d767f7
FW
364362017-08-13 Florian Weimer <fweimer@redhat.com>
36437
36438 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36439 internal_function.
36440 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36441
b2297409
FW
364422017-08-13 Florian Weimer <fweimer@redhat.com>
36443
36444 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36445 internal_function.
36446 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36447 * inet/netgroup.h (__internal_setnetgrent)
36448 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36449 * inet/getnetgrent_r.c (__internal_setnetgrent)
36450 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36451 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36452 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36453 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36454 * nss/nsswitch.h (db_lookup_function): Likewise.
36455
1b0bfc69
FW
364562017-08-13 Florian Weimer <fweimer@redhat.com>
36457
36458 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36459 Remove internal_function.
36460 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36461 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36462 message argument on the stack.
36463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36464 Likeweise.
36465
a6bd8722
MF
364662017-08-12 Mike FABIAN <mfabian@redhat.com>
36467
36468 Adapt test case data to the changes in the thousands
36469 separators.
36470
36471 [BZ #20756]
36472 * localedata/tst-langinfo.sh: Adapt test case data.
36473 * stdlib/tst-strfmon_l.c: Likewise.
36474 * stdlib/tst-strtod4.c: Likewise.
36475 * stdlib/tst-strtod5i.c: Likewise.
36476
8b2c63e4
FW
364772017-08-11 Florian Weimer <fweimer@redhat.com>
36478
36479 [BZ #21242]
36480 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36481 Suppress pedantic warning resulting from statement expression.
36482 (__ASSERT_FUNCTION): Add missing __extension__.
36483
61c98291
SP
364842017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36485
86c6519e
SP
36486 * benchtests/bench-memmove-large.c: Print output in JSON
36487 format.
36488 * benchtests/bench-memmove.c: Likewise.
36489
61c98291
SP
36490 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36491 * benchtests/bench-memchr.c (do_one_test): Likewise.
36492 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36493 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36494 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36495 * benchtests/bench-memmove.c (do_one_test): Likewise.
36496 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36497 * benchtests/bench-memset.c (do_one_test): Likewise.
36498 * benchtests/bench-string.h (test_init): Remove memsets.
36499
925733a9
RJ
365002017-08-10 Rical Jasan <ricaljasan@pacific.net>
36501
36502 * manual/lang.texi
36503 (Computing the Width of an Integer Data Type): Rename section to
36504 "Width of an Integer Type". Remove inaccurate statement regarding
36505 lack of C language facilities for determining width of integer
36506 types, and reorder content to improve flow and context of
36507 discussion.
36508
4fcdfbfc
RJ
365092017-08-10 Rical Jasan <ricaljasan@pacific.net>
36510
36511 * lang.texi (va_copy): Change standard from ISO to C99.
36512 (__va_copy): Add standard and header annotation.
36513 Update description for clarity of origins and current use.
36514
4d98ace9
GG
365152017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36516
36517 [BZ #21941]
36518 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36519 xssqrtqp requires operands to be in Vector Registers
36520 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36521 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36522 (__ieee754_sqrtf128): Likewise.
36523
92236903
WD
365242017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36525
36526 * sysdeps/aarch64/memcmp.S (memcmp):
36527 Rewrite of optimized memcmp.
36528
2449ae7b
FW
365292017-08-10 Florian Weimer <fweimer@redhat.com>
36530
36531 Introduce ld.so exceptions.
36532 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36533 (_dl_exception_create, _dl_exception_create_format)
36534 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36535 (_dl_catch_exception): Declare.
36536 (_dl_catch_error): Update comment.
36537 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36538 errstring, malloced members with exception member.
36539 (_dl_out_of_memory): Remove.
36540 (fatal_error): New function, extracted from _dl_signal_error.
36541 (_dl_signal_exception, _dl_signal_cexception): New functions.
36542 (_dl_signal_error): Call _dl_exception_create to allocate an
36543 exception object.
36544 (_dl_catch_exception): New function, based on _dl_catch_error.
36545 (_dl_catch_error): Implement using _dl_catch_exception.
36546 * elf/dl-exception.c: New file.
36547 * elf/Makefile (dl-routines): Add dl-exception.
36548 (elide-routines.os): Likewise.
36549 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36550 _dl_exception_create_format, _dl_exception_free.
36551 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36552 _dl_signal_exception.
36553 * elf/dl-lookup.c (make_string): Remove.
36554 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36555 _dl_signal_cexception, _dl_exception_free.
36556 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36557 _dl_signal_exception.
36558 * elf/dl-sym.c (do_sym): Likewise.
36559 * elf/dl-version.c (make_string): Remove.
36560 (match_symbol): Use _dl_exception_create_format,
36561 _dl_signal_cexception, _dl_exception_free.
36562 (_dl_check_map_versions): Likewise.
36563 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36564 _dl_catch_exception.
36565 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36566 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36567 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36568 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36569 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36570 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36571 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36572 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36573 Likewise.
36574 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36576 (ld.so): Likewise.
36577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36578 (ld.so): Likewise.
36579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36580 Likewise.
36581 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36582 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36583 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36584 Likewise.
36585 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36586 Likewise.
36587 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36588
f87cc2bf
FW
365892017-08-10 Florian Weimer <fweimer@redhat.com>
36590
36591 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36592 attribute_hidden, internal_function.
36593 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36594 internal_function.
36595
eac43cbb
FW
365962017-08-10 Florian Weimer <fweimer@redhat.com>
36597
36598 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36599 function which calls __builtin_unreachable.
36600
bd80111e
MF
366012017-08-10 Mike FABIAN <mfabian@redhat.com>
36602
36603 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36604 Indian monetary formatting
36605 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36606 test cases.
36607
60e2846e
DL
366082017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36609
68dc02d1
DL
36610 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36611 Fix typo in comment.
36612
60e2846e
DL
36613 [BZ #21928]
36614 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36615 PTRACE_SEIZE_DEVEL): Remove.
36616 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36617 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36619 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36621
3d452dab
JM
366222017-08-09 Joseph Myers <joseph@codesourcery.com>
36623
24d9f53a
JM
36624 * posix/bits/types.h (__qaddr_t): Remove.
36625
3d452dab
JM
36626 [BZ #21457]
36627 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36628 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36629 __glibc_reserved1.
36630 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36631 (ucontext_t): Use __ctx with uc_flags.
36632 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36633 (__ctxt): Likewise.
36634 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36635 __glibc_reserved1.
36636 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36637 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36638 __glibc_reserved1.
36639 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36640 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36641 __glibc_reserved1.
36642 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36643 macro.
36644 (ucontext_t): Use __ctx with uc_flags.
36645 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36646 (ucontext_t): Use __ctx with uc_flags.
36647 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36648 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36649 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36650 (ucontext_t): Use __ctx with uc_flags.
36651 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36652 undefine further down.
36653 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36654 __glibc_reserved1.
36655 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36656 undefine further down.
36657 (ucontext_t): Use __ctx with uc_flags.
36658 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36659 undefine further down.
36660 (ucontext_t): Use __ctx with uc_flags.
36661 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36662 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36663 Rename uc_pad to __glibc_reserved1.
36664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36665 undefine further down.
36666 (ucontext_t): Use __ctx with uc_flags.
36667 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36668 further down.
36669 (ucontext_t): Use __ctx with uc_flags.
36670 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36671 __ctx with uc_flags.
36672 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36673 (ucontext_t): Use __ctx with uc_flags.
36674 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36675 __ctx with uc_flags.
36676
30161498
FW
366772017-08-09 Florian Weimer <fweimer@redhat.com>
36678
36679 [BZ #21932]
36680 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36681 before early return.
36682
5797b410
AS
366832017-08-09 Andreas Schwab <schwab@suse.de>
36684
139237a4 36685 [BZ #21041]
5797b410
AS
36686 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36687 renamed alias.
36688
139237a4 36689 [BZ #21041]
40c06a3d
AS
36690 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36691 tst-compat-forwarder.
36692 (modules-names): Add tst-compat-forwarder-mod.
36693 ($(objpfx)tst-compat-forwarder): Depend on
36694 $(objpfx)tst-compat-forwarder-mod.so.
36695 * nptl/tst-compat-forwarder.c: New file.
36696 * nptl/tst-compat-forwarder-mod.c: New file.
36697
36ada5f6
SP
366982017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36699
0e02b510
SP
36700 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36701 comments.
36702
36ada5f6
SP
36703 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36704 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36705 memcpy_falkor.
36706 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36707 Bump.
36708 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36709 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36710 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36711 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36712 Add falkor.
36713 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36714 New macro.
36715
9995c839
AZ
367162017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36717
36718 [BZ #759]
36719 * manual/setjmp.texi (getcontex): Document uc_stack value
36720 compatibility differences.
36721
f17a4233
JM
367222017-08-08 Joseph Myers <joseph@codesourcery.com>
36723
36724 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36725 (old_malloc_hook): Likewise.
36726 (old_memalign_hook): Likewise.
36727 (old_realloc_hook): Likewise.
36728 (struct hdr): Likewise.
36729 (flood): Likewise.
36730 (freehook): Likewise.
36731 (mallochook): Likewise.
36732 (memalignhook): Likewise.
36733 (reallochook): Likewise.
36734 (mprobe): Likewise.
36735 * malloc/mtrace.c (mallwatch): Likewise.
36736 (tr_old_free_hook): Likewise.
36737 (tr_old_malloc_hook): Likewise.
36738 (tr_old_realloc_hook): Likewise.
36739 (tr_old_memalign_hook): Likewise.
36740 (tr_where): Likewise.
36741 (lock_and_info): Likewise.
36742 (tr_freehook): Likewise.
36743 (tr_mallochook): Likewise.
36744 (tr_reallochook): Likewise.
36745 (tr_memalignhook): Likewise.
36746 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36747 * misc/mmap.c (__mmap): Likewise.
36748 * misc/mmap64.c (__mmap64): Likewise.
36749 * misc/mprotect.c (__mprotect): Likewise.
36750 * misc/msync.c (msync): Likewise.
36751 * misc/munmap.c (__munmap): Likewise.
36752 * posix/posix_madvise.c (posix_madvise): Likewise.
36753 * socket/send.c (__send): Likewise.
36754 * socket/sendto.c (__sendto): Likewise.
36755 * socket/setsockopt.c (__setsockopt): Likewise.
36756 * string/memcmp.c (__ptr_t): Remove macro.
36757 (MEMCMP): Use void * instead of ptr_t.
36758 * string/memrchr.c (__ptr_t): Remove macro.
36759 (__memrchr): Use void * instead of ptr_t.
36760 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36761 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36762 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36763 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36764 * sysdeps/mach/msync.c (msync): Likewise.
36765 * sysdeps/mach/munmap.c (__munmap): Likewise.
36766 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36767 Likewise.
36768 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36769 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36770 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36771 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36772 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36773 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36774 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36775 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36776 Likewise.
36777 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36778 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36779 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36780 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36781 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36782 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36783 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36784 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36785 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36786 Likewise.
36787 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36788 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36789 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36790 (MEMCMP): Use void * instead of ptr_t.
36791 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36792 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36793
0df595b2
FW
367942017-08-08 Florian Weimer <fweimer@redhat.com>
36795
36796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36797 return statement.
36798
086df229
L
367992017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36800
36801 [BZ #21913]
36802 * csu/libc-tls.c: Include <startup.h> first.
36803 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36804 * elf/dl-tunables.c: Include <startup.h> first.
36805 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36806 * sysdeps/generic/startup.h: New file.
36807 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36808 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36809 (I386_USE_SYSENTER): New. Defined to 0.
36810
fc5ad702
AS
368112017-08-08 Andreas Schwab <schwab@suse.de>
36812
36813 [BZ #21041]
36814 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36815 * nptl/pt-system.c (system): Likewise.
36816
852d6312
AZ
368172017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36818
36819 [BZ #21780]
36820 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36821 EOPNOTSUPP.
36822 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36823 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36824 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36825 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36826 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36827 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36828 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36829
8b164787
JM
368302017-08-07 Joseph Myers <joseph@codesourcery.com>
36831
cd65836b
JM
36832 [BZ #21899]
36833 * bits/sigaction.h (struct sigaction): Define sa_handler and
36834 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36835 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36836 [__USE_XOPEN_EXTENDED].
36837 (SA_RESTART): Likewise.
36838 (SA_NODEFER): Likewise.
36839 (SA_RESETHAND): Likewise.
36840 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36841 (struct sigaction): Define sa_handler and sa_sigaction using union
36842 also for [__USE_XOPEN_EXTENDED].
36843 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36844 [__USE_XOPEN_EXTENDED].
36845 (SA_RESTART): Likewise.
36846 (SA_NODEFER): Likewise.
36847 (SA_RESETHAND): Likewise.
36848 * sysdeps/unix/sysv/linux/bits/sigaction.h
36849 (struct sigaction): Define sa_handler and sa_sigaction using union
36850 also for [__USE_XOPEN_EXTENDED].
36851 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36852 [__USE_XOPEN_EXTENDED].
36853 (SA_RESTART): Likewise.
36854 (SA_NODEFER): Likewise.
36855 (SA_RESETHAND): Likewise.
36856 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36857 (struct sigaction): Define sa_handler and sa_sigaction using union
36858 also for [__USE_XOPEN_EXTENDED].
36859 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36860 [__USE_XOPEN_EXTENDED].
36861 (SA_RESTART): Likewise.
36862 (SA_NODEFER): Likewise.
36863 (SA_RESETHAND): Likewise.
36864 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36865 (struct sigaction): Define sa_handler and sa_sigaction using union
36866 also for [__USE_XOPEN_EXTENDED].
36867 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36868 [__USE_XOPEN_EXTENDED].
36869 (SA_RESTART): Likewise.
36870 (SA_NODEFER): Likewise.
36871 (SA_RESETHAND): Likewise.
36872 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36873 (struct sigaction): Define sa_handler and sa_sigaction using union
36874 also for [__USE_XOPEN_EXTENDED].
36875 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36876 [__USE_XOPEN_EXTENDED].
36877 (SA_RESTART): Likewise.
36878 (SA_NODEFER): Likewise.
36879 (SA_RESETHAND): Likewise.
36880 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36881 (struct sigaction): Define sa_handler and sa_sigaction using union
36882 also for [__USE_XOPEN_EXTENDED].
36883 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36884 [__USE_XOPEN_EXTENDED].
36885 (SA_RESTART): Likewise.
36886 (SA_NODEFER): Likewise.
36887 (SA_RESETHAND): Likewise.
36888 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36889 (struct sigaction): Define sa_handler and sa_sigaction using union
36890 also for [__USE_XOPEN_EXTENDED].
36891 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36892 [__USE_XOPEN_EXTENDED].
36893 (SA_RESTART): Likewise.
36894 (SA_NODEFER): Likewise. Define directly rather than as alias.
36895 (SA_RESETHAND): Likewise.
36896 (SA_INTERRUPT): Define only for [__USE_MISC].
36897 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36898 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36899 [__USE_MISC].
36900 (SA_STACK): Define only for [__USE_MISC].
36901 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36902 (struct sigaction): Define sa_handler and sa_sigaction using union
36903 also for [__USE_XOPEN_EXTENDED].
36904 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36905 [__USE_XOPEN_EXTENDED].
36906 (SA_RESTART): Likewise.
36907 (SA_NODEFER): Likewise.
36908 (SA_RESETHAND): Likewise.
36909 (SA_NOPTRACE): Define only for [__USE_MISC].
36910
d9fee042
JM
36911 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36912 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36913 (struct catalog_info): Likewise.
36914 * inet/htontest.c (lo): Likewise.
36915 (foo): Likewise.
36916 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36917 * inet/inet_net.c (inet_network): Likewise.
36918 * inet/inet_netof.c (inet_netof): Likewise.
36919 * inet/rcmd.c (__ivaliduser): Likewise.
36920 (iruserok): Likewise.
36921 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36922 * locale/programs/locale-spec.c (locale_special): Likewise.
36923 * nis/nis_findserv.c (struct findserv_req): Likewise.
36924 (__nis_findfastest_with_timeout): Likewise.
36925 * nss/test-netdb.c (test_network): Likewise.
36926 * resolv/inet_neta.c (inet_neta): Likewise.
36927 * resolv/ns_date.c (ns_datetosecs): Likewise.
36928 (SECS_PER_DAY): Likewise.
36929 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36930 Likewise.
36931 * resolv/res_comp.c (__putlong): Likewise.
36932 (__putshort): Likewise.
36933 (_getlong): Likewise.
36934 (_getshort): Likewise.
36935 * resolv/res_debug.c (p_time): Likewise.
36936 (precsize_ntoa): Likewise.
36937 (precsize_aton): Likewise.
36938 (latlon2ul): Likewise.
36939 (loc_aton): Likewise.
36940 (loc_ntoa): Likewise.
36941 * resolv/res_hconf.c (struct netaddr): Likewise.
36942 (_res_hconf_reorder_addrs): Likewise.
36943 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36944 (clnttcp_control): Likewise.
36945 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36946 (clntudp_control): Likewise.
36947 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36948 (clntunix_control): Likewise.
36949 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36950 * sunrpc/rpc/auth.h (union des_block): Likewise.
36951 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36952 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36953 (xdrrec_create): Likewise.
36954 (xdrrec_endofrecord): Likewise.
36955 (flush_out): Likewise.
36956 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36957 (xdrstdio_putlong): Likewise.
36958 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36959 Likewise.
36960
8b164787
JM
36961 * misc/sys/cdefs.h (__long_double_t): Remove.
36962 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36963 instead of __long_double_t,
36964 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36965
7ee38e60
SP
369662017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36967
dd3e86ad
SP
36968 * benchtests/scripts/compare_strings.py: Avoid display error when
36969 running on a text terminal.
36970
b115e819
SP
36971 * benchtests/scripts/compare_strings.py (main): Add an
36972 optional -base option.
36973 (process_results): New argument base_func.
36974
7ee38e60
SP
36975 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36976 hardcoding memcpy.
36977 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36978 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36979
d5afb385
AS
369802017-08-07 Andreas Schwab <schwab@suse.de>
36981
36982 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36983 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36984 * intl/Makefile ($(objpfx)tst-gettext.out)
36985 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36986 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36987 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36988 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36989 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36990 * posix/Makefile ($(objpfx)globtest.out)
36991 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36992 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36993 ($(objpfx)tst-printf.out): Likewise.
36994 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36995 ($(objpfx)tst-setcontext3.out): Likewise.
36996
57a72fa3
L
369972017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36998
36999 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37000 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37001 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37002 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37003 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37004 and mptan-fma.
37005 (CFLAGS-doasin-fma.c): New.
37006 (CFLAGS-dosincos-fma.c): Likewise.
37007 (CFLAGS-e_asin-fma.c): Likewise.
37008 (CFLAGS-e_atan2-fma.c): Likewise.
37009 (CFLAGS-e_exp-fma.c): Likewise.
37010 (CFLAGS-e_log-fma.c): Likewise.
37011 (CFLAGS-e_pow-fma.c): Likewise.
37012 (CFLAGS-halfulp-fma.c): Likewise.
37013 (CFLAGS-mpa-fma.c): Likewise.
37014 (CFLAGS-mpatan-fma.c): Likewise.
37015 (CFLAGS-mpatan2-fma.c): Likewise.
37016 (CFLAGS-mpexp-fma.c): Likewise.
37017 (CFLAGS-mplog-fma.c): Likewise.
37018 (CFLAGS-mpsqrt-fma.c): Likewise.
37019 (CFLAGS-mptan-fma.c): Likewise.
37020 (CFLAGS-s_atan-fma.c): Likewise.
37021 (CFLAGS-sincos32-fma.c): Likewise.
37022 (CFLAGS-slowexp-fma.c): Likewise.
37023 (CFLAGS-slowpow-fma.c): Likewise.
37024 (CFLAGS-s_sin-fma.c): Likewise.
37025 (CFLAGS-s_tan-fma.c): Likewise.
37026 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37027 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37028 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37031 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37032 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37033 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37034 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37035 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37036 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37037 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37038 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37039 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37040 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37041 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37042 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37043 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37044 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37046 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37047 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37048 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37049 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37053 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37057
219dd320
JM
370582017-08-04 Joseph Myers <joseph@codesourcery.com>
37059
37060 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37061 (min_of_type_f): New macro.
37062 (min_of_type_): Likewise.
37063 (min_of_type_l): Likewise.
37064 (min_of_type_f128): Likewise.
37065 (min_of_type): Define using __MATH_TG and taking an expression
37066 argument.
37067 (math_check_force_underflow): Pass expression instead of type to
37068 min_of_type.
37069 (math_check_force_underflow_nonneg): Likewise.
37070
64d4dea6
L
370712017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37072
37073 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37074 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37075 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37076
973da22a
L
370772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37078
37079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37080 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37081 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37082 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37083 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37084 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37085 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37086 memmove_chk-nonshared and memset_chk-nonshared
37087 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37088 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37089 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37090 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37091 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37092 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37093 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37094 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37095 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37096 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37097 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37098 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37099 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37100 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37101 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37102 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37103 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37104 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37105 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37106 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37107 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37108 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37109 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37110 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37111 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37112 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37113 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37114 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37115 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37116 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37117 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37118 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37119 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37120 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37121 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37122 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37123 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37124 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37125 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37126 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37127 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37128 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37129 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37130 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37131 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37132 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37133 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37134 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37135 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37136 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37137 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37138 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37139 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37140 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37141 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37142 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37143 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37144 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37145 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37147 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37148 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37149 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37150 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37151 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37152 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37153 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37154 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37155 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37156 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37157 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37158 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37159 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37160 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37161 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37162 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37163 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37164 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37165 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37166 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37167 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37168 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37169 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37170 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37171 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37172 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37173 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37174 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37175 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37176 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37177 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37178 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37179 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37181 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37182 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37183 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37184 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37185 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37186 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37187 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37188 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37189 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37190 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37191 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37192 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37193 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37194 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37195
8537e0f6
L
371962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37197
37198 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37199 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37200 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37201 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37202 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37203 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37204 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37205 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37206 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37207 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37208 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37209 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37210 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37211 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37212 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37213 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37214 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37215 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37216 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37217 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37218 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37219 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37220 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37221 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37222 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37223 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37224 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37225 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37226 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37227 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37228 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37229 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37230 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37231 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37232 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37233 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37234 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37235 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37236 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37237 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37238 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37239 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37240 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37241 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37242 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37243 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37244 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37245 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37246 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37248 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37249 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37251 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37253 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37254 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37255 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37256 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37257 ...
37258 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37259 Don't include <sysdep.h> nor <init-arch.h>.
37260 (_ZGVbN2v_cos): Removed.
37261 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37262 ...
37263 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37264 Don't include <sysdep.h> nor <init-arch.h>.
37265 (_ZGVdN4v_cos): Removed.
37266 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37267 ...
37268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37269 Don't include <sysdep.h> nor <init-arch.h>.
37270 (_ZGVeN8v_cos): Removed.
37271 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37272 ...
37273 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37274 Don't include <sysdep.h> nor <init-arch.h>.
37275 (_ZGVbN2v_exp): Removed.
37276 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37277 ...
37278 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37279 Don't include <sysdep.h> nor <init-arch.h>.
37280 (_ZGVdN4v_exp): Removed.
37281 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37282 ...
37283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37284 Don't include <sysdep.h> nor <init-arch.h>.
37285 (_ZGVeN8v_exp): Removed.
37286 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37287 ...
37288 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37289 Don't include <sysdep.h> nor <init-arch.h>.
37290 (_ZGVbN2v_log): Removed.
37291 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37292 ...
37293 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37294 Don't include <sysdep.h> nor <init-arch.h>.
37295 (_ZGVdN4v_log): Removed.
37296 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37297 ...
37298 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37299 Don't include <sysdep.h> nor <init-arch.h>.
37300 (_ZGVeN8v_log): Removed.
37301 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37302 ...
37303 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37304 Don't include <sysdep.h> nor <init-arch.h>.
37305 (_ZGVbN2vv_pow): Removed.
37306 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37307 ...
37308 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37309 Don't include <sysdep.h> nor <init-arch.h>.
37310 (_ZGVdN4vv_pow): Removed.
37311 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37312 ...
37313 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37314 Don't include <sysdep.h> nor <init-arch.h>.
37315 (_ZGVeN8vv_pow): Removed.
37316 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37317 ...
37318 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37319 Don't include <sysdep.h> nor <init-arch.h>.
37320 (_ZGVbN2v_sin): Removed.
37321 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37322 ...
37323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37324 Don't include <sysdep.h> nor <init-arch.h>.
37325 (_ZGVbN4v_sin): Removed.
37326 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37327 ...
37328 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37329 Don't include <sysdep.h> nor <init-arch.h>.
37330 (_ZGVbN8v_sin): Removed.
37331 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37332 ...
37333 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37334 Don't include <sysdep.h> nor <init-arch.h>.
37335 (_ZGVbN2vvv_sincos): Removed.
37336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37337 ...
37338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37339 Don't include <sysdep.h> nor <init-arch.h>.
37340 (_ZGVdN4vvv_sincos): Removed.
37341 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37342 ...
37343 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37344 Don't include <sysdep.h> nor <init-arch.h>.
37345 (_ZGVeN8vvv_sincos): Removed.
37346 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37347 ...
37348 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37349 Don't include <sysdep.h> nor <init-arch.h>.
37350 (_ZGVeN16v_cosf): Removed.
37351 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37352 ...
37353 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37354 Don't include <sysdep.h> nor <init-arch.h>.
37355 (_ZGVbN4v_cosf): Removed.
37356 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37357 ...
37358 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37359 Don't include <sysdep.h> nor <init-arch.h>.
37360 (_ZGVdN8v_cosf): Removed.
37361 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37362 ...
37363 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37364 Don't include <sysdep.h> nor <init-arch.h>.
37365 (_ZGVeN16v_expf): Removed.
37366 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37367 ...
37368 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37369 Don't include <sysdep.h> nor <init-arch.h>.
37370 (_ZGVbN4v_expf): Removed.
37371 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37372 ...
37373 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37374 Don't include <sysdep.h> nor <init-arch.h>.
37375 (_ZGVdN8v_expf): Removed.
37376 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37377 ...
37378 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37379 Don't include <sysdep.h> nor <init-arch.h>.
37380 (_ZGVeN16v_logf): Removed.
37381 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37382 ...
37383 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37384 Don't include <sysdep.h> nor <init-arch.h>.
37385 (_ZGVbN4v_logf): Removed.
37386 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37387 ...
37388 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37389 Don't include <sysdep.h> nor <init-arch.h>.
37390 (_ZGVdN8v_logf): Removed.
37391 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37392 ...
37393 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37394 Don't include <sysdep.h> nor <init-arch.h>.
37395 (_ZGVeN16vv_powf): Removed.
37396 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37397 ...
37398 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37399 Don't include <sysdep.h> nor <init-arch.h>.
37400 (_ZGVbN4vv_powf): Removed.
37401 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37402 ...
37403 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37404 Don't include <sysdep.h> nor <init-arch.h>.
37405 (_ZGVdN8vv_powf): Removed.
37406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37407 ...
37408 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37409 Don't include <sysdep.h> nor <init-arch.h>.
37410 (_ZGVeN16vvv_sincosf): Removed.
37411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37412 ...
37413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37414 Don't include <sysdep.h> nor <init-arch.h>.
37415 (_ZGVbN4vvv_sincosf): Removed.
37416 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37417 ...
37418 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37419 Don't include <sysdep.h> nor <init-arch.h>.
37420 (_ZGVdN8vvv_sincosf): Removed.
37421 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37422 ...
37423 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37424 Don't include <sysdep.h> nor <init-arch.h>.
37425 (_ZGVeN16v_sinf): Removed.
37426 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37427 ...
37428 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37429 Don't include <sysdep.h> nor <init-arch.h>.
37430 (_ZGVbN4v_sinf): Removed.
37431 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37432 ...
37433 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37434 Don't include <sysdep.h> nor <init-arch.h>.
37435 (_ZGVdN8v_sinf): Removed.
37436
10a87ca4
L
374372017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37438
37439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37440 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37441 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37442 s_rint-sse4_1 and s_rintf-sse4_1.
37443 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37444 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37445 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37446 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37447 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37448 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37449 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37450 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37451 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37452 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37453 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37454 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37455 (__ceil): Removed.
37456 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37457 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37458 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37459 (__ceilf): Removed.
37460 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37461 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37462 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37463 (__floor): Removed.
37464 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37465 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37466 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37467 (__floorf): Removed.
37468 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37469 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37470 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37471 (__nearbyint): Removed.
37472 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37473 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37474 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37475 (__nearbyintf): Removed.
37476 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37477 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37478 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37479 (__rint): Removed.
37480 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37481 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37482 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37483 (__rintf): Removed.
37484
1e8e527d
L
374852017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37486
37487 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37488 SHARED. Avoid dynamic relocation against main in static PIE.
37489
e13daad7
L
374902017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37491
37492 [BZ #21815]
37493 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37494 (LDFLAGS-tst-prelink): Likewise.
37495
627c69c8
L
374962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37497
37498 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37499 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37500 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37501 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37502 (INTERNAL_SYSCALL_NCS): Likewise.
37503 (LOADARGS_1): Likewise.
37504 (LOADARGS_5): Likewise.
37505 (RESTOREARGS_1): Likewise.
37506 (RESTOREARGS_5): Likewise.
37507
fc11ff8d
L
375082017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37509
37510 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37511 (MEMPCPY_SYMBOL): Likewise.
37512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37513 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37514 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37515 in libc.a.
37516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37517 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37518 Likewise.
37519 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37520 (__hidden_ver1): Don't use in libc.a.
37521 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37522 (__mempcpy): Don't create a weak alias in libc.a.
37523 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37524 libc.a.
37525 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37526 (__hidden_ver1): Don't use in libc.a.
37527
19f1a11e
L
375282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37529
37530 * config.make.in (have-insert): New.
37531 * configure.ac (libc_cv_insert): New. Set to yes if linker
37532 supports INSERT in linker script.
37533 (AC_SUBST(libc_cv_insert): New.
37534 * configure: Regenerated.
37535 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37536 if $(have-insert) == yes.
37537
3093fd5e
L
375382017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37539
37540 * elf/Makefile (tests): Add vismain only if
37541 $(have-protected-data) == yes.
37542 (tests-pie): Likewise.
37543
d2cf37c0
L
375442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37545
37546 [BZ #21871]
37547 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37548 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37549
c8a0e6ec
L
375502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37551
37552 [BZ #21790]
37553 * sysdeps/i386/i586/memset.S
37554 (__memset_zero_constant_len_parameter): Removed.
37555 * sysdeps/i386/i686/memset.S
37556 (__memset_zero_constant_len_parameter): Likewise.
37557 * sysdeps/i386/i686/multiarch/memset_chk.S
37558 (__memset_zero_constant_len_parameter): Likewise.
37559 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37560 Likewise.
37561
2b34e271
AJ
375622017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37563
37564 * stdlib/getentropy.c (getentropy): Change return type to int.
37565
144bdab0
AJ
375662017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37567
37568 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37569
24ab7723
JM
375702017-08-03 Joseph Myers <joseph@codesourcery.com>
37571
37572 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37573 u_intN_t.
37574 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37575 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37576 Likewise.
37577 (ieee_float_shape_type): Likewise.
37578 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37579 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37580 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37581 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37582 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37583 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37584 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37585 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37586 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37587 Likewise.
37588 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37589 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37590 (__ieee754_yn): Likewise.
37591 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37592 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37594 Likewise.
37595 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37596 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37597 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37598 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37599 (__erfc): Likewise.
37600 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37601 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37602 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37603 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37604 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37605 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37606 Likewise.
37607 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37608 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37609 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37610 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37611 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37612 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37613 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37614 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37615 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37616 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37617 (__issignaling): Likewise.
37618 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37619 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37620 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37621 Likewise.
37622 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37623 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37624 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37625 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37626 Likewise.
37627 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37628 Likewise.
37629 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37630 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37631 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37632 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37633 (__erfcf): Likewise.
37634 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37635 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37636 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37637 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37638 Likewise.
37639 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37640 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37641 Likewise.
37642 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37643 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37644 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37645 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37646 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37647 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37648 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37649 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37650 Likewise.
37651 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37652 Likewise.
37653 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37654 Likewise.
37655 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37657 Likewise.
37658 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37659 Likewise.
37660 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37661 (__ieee754_ynl): Likewise.
37662 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37664 Likewise.
37665 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37666 Likewise.
37667 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37668 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37669 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37670 Likewise.
37671 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37672 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37673 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37674 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37675 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37676 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37677 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37679 Likewise.
37680 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37681 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37682 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37683 Likewise.
37684 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37685 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37686 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37687 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37688 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37690 Likewise.
37691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37692 Likewise.
37693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37694 Likewise.
37695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37696 Likewise.
37697 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37698 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37699 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37700 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37704 Likewise.
37705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37706 Likewise.
37707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37708 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37709 Likewise.
37710 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37711 (__ieee754_remainderl): Likewise.
37712 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37714 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37715 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37716 Likewise.
37717 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37719 Likewise.
37720 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37721 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37722 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37723 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37724 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37726 Likewise.
37727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37728 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37729 (__ieee754_y0l): Likewise.
37730 (pzero): Likewise.
37731 (qzero): Likewise.
37732 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37733 (__ieee754_y1l): Likewise.
37734 (pone): Likewise.
37735 (qone): Likewise.
37736 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37737 (__ieee754_ynl): Likewise.
37738 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37739 (__ieee754_lgammal_r): Likewise.
37740 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37741 Likewise.
37742 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37743 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37744 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37745 (__erfcl): Likewise.
37746 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37747 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37748 Likewise.
37749 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37750 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37751 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37752 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37753 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37754 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37755 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37756 Likewise.
37757 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37758 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37759 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37760 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37761 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37762 Likewise.
37763 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37764 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37765 Likewise.
37766 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37767 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37768 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37769 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37770 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37771
964263bb
FW
377722017-08-03 Florian Weimer <fweimer@redhat.com>
37773
37774 [BZ #21885]
37775 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37776 on memory allocation failure.
37777
e98c925f
AM
377782017-08-03 Alan Modra <amodra@gmail.com>
37779
37780 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37781 tst-tlsopt-powerpc.c with function name change and no test harness.
37782 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37783 Call tls_get_addr_opt_test.
37784 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37785 (modules-names): Add mod-tlsopt-powerpc.
37786 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37787 (tst-tlsopt-powerpc): Depend on .so.
37788 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37789 define. Expand use in TLS_GD and TLS_LD.
37790
8ee1abdb
ST
377912017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37792
37793 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37794 function.
3da5756e 37795 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 37796
42df8d59
JM
377972017-08-02 Joseph Myers <joseph@codesourcery.com>
37798
37799 [BZ #21686]
37800 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37801 comparing size with that of double.
37802 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37803 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37804 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37805 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37806 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37807 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37808 unsigned __int128 types.
37809
b7f95f49
SE
378102017-08-02 Steve Ellcey <sellcey@cavium.com>
37811
37812 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37813 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37814 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37815 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37816 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37817
5b736bc9
L
378182017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37819
37820 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37821
dfc93c41
L
378222017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37823
37824 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37825 of SHARED.
37826 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37827 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37828 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37829 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37830 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37831 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37832 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37833
2fee621d
JM
378342017-08-02 Joseph Myers <joseph@codesourcery.com>
37835
37836 [BZ #21685]
37837 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37838 bit-field expressions passed to sizeof or typeof.
37839 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37840 (__TGMATH_F128): Likewise.
37841 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37842 (__TGMATH_CF128): Likewise.
37843 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37844 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37845 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37846 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37847 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37848 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37849 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37850 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37851 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37852 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37853 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37854 (__TGMATH_UNARY_IMAG): Likewise.
37855 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37856 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37857 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37858 type.
37859 (define_vars_for_type): Handle bit_field type specially.
37860 (Tests.__init__): Declare structure with bit-field element.
37861
b358255f
L
378622017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37863
37864 [BZ #21791]
37865 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37866 (MEMCPY_CHK): Define only if SHARED is defined.
37867 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37868 Likewise.
37869 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37870 Likewise.
edf66db1
SP
37871
37872See ChangeLog.18 for earlier changes.