]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
string/endian.h: Restore the __USE_MISC conditionals
[thirdparty/glibc.git] / ChangeLog
1 2019-10-02 Alistair Francis <alistair.francis@wdc.com>
2
3 * string/endian.h: Restore the __USE_MISC conditionals.
4
5 2019-10-02 Joseph Myers <joseph@codesourcery.com>
6
7 * string/tester.c: Ignore -Warray-bounds and
8 -Wmemset-transposed-args at top level.
9 [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict and -Wstringop-overflow=
10 at top level.
11 [__GNUC_PREREQ (8, 0)]: Ignore -Wstringop-truncation at top level.
12 (test_stpncpy): Do not ignore warnings here.
13 (test_strncat): Likewise.
14 (test_strncpy): Likewise.
15 (test_memset): Likewise.
16
17 2019-10-02 Łukasz Majewski <lukma@denx.de>
18 * include/time.h: Add #include <bits/types/struct_timeval.h>
19
20 2019-10-02 Arjun Shankar <arjun@redhat.com>
21
22 debugglibc.sh: Implement program arguments
23 * Makefile (debugglibc): Change variable definition.
24
25 2019-10-01 Alistair Francis <alistair.francis@wdc.com>
26
27 * time/bits/types/struct_timespec.h: Add padding for the timespec if
28 required.
29
30 2019-10-01 Zack Weinberg <zackw@panix.com>
31 Alistair Francis <alistair.francis@wdc.com>
32
33 * string/endian.h: Unconditionally define LITTLE_ENDIAN,
34 BIG_ENDIAN, PDP_ENDIAN, and BYTE_ORDER. Condition byteswapping
35 macros only on !__ASSEMBLER__. Move the definitions of
36 __BIG_ENDIAN, __LITTLE_ENDIAN, __PDP_ENDIAN, __FLOAT_WORD_ORDER,
37 and __LONG_LONG_PAIR to...
38 * string/bits/endian.h: ...this new file, which includes
39 the renamed header bits/endianness.h for the definition of
40 __BYTE_ORDER and possibly __FLOAT_WORD_ORDER.
41
42 * string/Makefile: Install bits/endianness.h.
43 * include/bits/endian.h: New wrapper.
44
45 * bits/endian.h: Rename to bits/endianness.h.
46 Add multiple-include guard. Rewrite the comment explaining what
47 the machine-specific variants of this file should do.
48
49 * sysdeps/unix/sysv/linux/ia64/bits/endian.h:
50 Move to sysdeps/ia64.
51
52 * sysdeps/aarch64/bits/endian.h
53 * sysdeps/alpha/bits/endian.h
54 * sysdeps/arm/bits/endian.h
55 * sysdeps/csky/bits/endian.h
56 * sysdeps/hppa/bits/endian.h
57 * sysdeps/ia64/bits/endian.h
58 * sysdeps/m68k/bits/endian.h
59 * sysdeps/microblaze/bits/endian.h
60 * sysdeps/mips/bits/endian.h
61 * sysdeps/nios2/bits/endian.h
62 * sysdeps/powerpc/bits/endian.h
63 * sysdeps/riscv/bits/endian.h
64 * sysdeps/s390/bits/endian.h
65 * sysdeps/sh/bits/endian.h
66 * sysdeps/sparc/bits/endian.h
67 * sysdeps/x86/bits/endian.h:
68 Rename to endianness.h; canonicalize form of file; remove
69 redundant definitions of __FLOAT_WORD_ORDER.
70
71 * sysdeps/powerpc/bits/endianness.h: Remove logic to check for
72 broken compilers.
73
74 * ctype/ctype.h
75 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
76 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
77 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h
78 * sysdeps/ia64/ieee754.h
79 * sysdeps/ieee754/ieee754.h
80 * sysdeps/ieee754/ldbl-128/ieee754.h
81 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
82 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
83 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
84 * sysdeps/mips/ieee754/ieee754.h
85 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
86 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
87 * sysdeps/nptl/pthread.h
88 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
89 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
90 * sysdeps/sparc/sparc32/ieee754.h
91 * sysdeps/unix/sysv/linux/generic/bits/stat.h
92 * sysdeps/unix/sysv/linux/generic/bits/statfs.h
93 * sysdeps/unix/sysv/linux/sys/acct.h
94 * wctype/bits/wctype-wchar.h:
95 Include bits/endian.h, not endian.h.
96
97 * sysdeps/unix/sysv/linux/hppa/pthread.h: Don’t include endian.h.
98
99 * sysdeps/mips/ieee754/ieee754.h: Use __LDBL_MANT_DIG__
100 in ifdefs, instead of LDBL_MANT_DIG. Only include float.h
101 when __LDBL_MANT_DIG__ is not predefined, in which case
102 define __LDBL_MANT_DIG__ to equal LDBL_MANT_DIG.
103
104 2019-09-17 Mike FABIAN <mfabian@redhat.com>
105
106 * localedata/locales/az_AZ: Make lang_name agree with CLDR
107 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
108 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
109 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
110 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
111 * localedata/locales/bho_IN: Add country_name from langtable
112 * localedata/locales/chr_US: Make country_name agree with CLDR
113 * localedata/locales/crh_UA: Make lang_name agree with langtable
114 * localedata/locales/csb_PL: Add country_name from langtable
115 * localedata/locales/doi_IN: Add country_name from langtable
116 * localedata/locales/dv_MV: Add country_name from langtable
117 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
118 * localedata/locales/hak_TW: Make lang_name agree with langtable
119 * localedata/locales/hif_FJ: Make lang_name agree with langtable
120 * localedata/locales/hne_IN: Add country_name from langtable
121 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
122 * localedata/locales/id_ID: Make lang_name agree with CLDR
123 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
124 * localedata/locales/kab_DZ: Make country_name agree with CLDR
125 * localedata/locales/ks_IN: Make country_name agree with CLDR
126 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
127 * localedata/locales/mag_IN: Add country_name from langtable
128 * localedata/locales/mfe_MU: Make country_name agree with CLDR
129 * localedata/locales/mhr_RU: Add lang_name from langtable
130 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
131 * localedata/locales/ms_MY: Make lang_name agree with CLDR
132 * localedata/locales/nan_TW: Make lang_name agree with langtable
133 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
134 * localedata/locales/nds_DE: Make lang_name agree with langtable
135 * localedata/locales/nds_NL: Make lang_name agree with langtable
136 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
137 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
138 * localedata/locales/niu_NZ: Add lang_name from langtable
139 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
140 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
141 * localedata/locales/or_IN: Fix spelling of language from langtable
142 * localedata/locales/pa_PK: Make country_name agree with CLDR
143 * localedata/locales/ps_AF: Make country_name agree with CLDR
144 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
145 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
146 * localedata/locales/rw_RW: Make country_name agree with CLDR
147 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
148 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
149 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
150 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
151 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
152 * localedata/locales/shn_MM: Make country_name agree with langtable
153 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
154 * localedata/locales/sm_WS: Make country_name agree with langtable
155 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
156 * localedata/locales/szl_PL: Add country_name from langtable
157 * localedata/locales/te_IN: Fix country_name from CLDR
158 * localedata/locales/tg_TJ: Add lang_name from CLDR
159 * localedata/locales/the_NP: Add country_name, lang_name from langtable
160 * localedata/locales/tk_TM: Make lang_name agree with CLDR
161 * localedata/locales/tl_PH: Add lang_name from langtable
162 * localedata/locales/to_TO: Make lang_name agree with CLDR
163 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
164 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
165 * localedata/locales/ug_CN: Add lang_name from CLDR
166 * localedata/locales/unm_US: Add lang_name from langtable
167 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
168 * localedata/locales/wo_SN: Add lang_name from CLDR
169 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
170 * localedata/locales/yo_NG: Make country_name agree with CLDR
171 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
172 * localedata/locales/zh_HK: Add lang_name from langtable
173 * localedata/locales/zh_SG: Add lang_name from langtable
174
175 2019-09-30 Joseph Myers <joseph@codesourcery.com>
176
177 * scripts/build-many-glibcs.py (Context.checkout): Default
178 binutils version to 2.33 branch.
179
180 2019-10-01 Lukasz Majewski <lukma@denx.de>
181
182 * include/time.h (valid_timeval_to_timespec64): Add.
183 * include/time.h (valid_timespec_to_timespec64): Likewise.
184 * include/time.h (valid_timespec64_to_timespec): Likewise.
185 * include/time.h (valid_timespec64_to_timeval): Likewise.
186
187 2019-09-30 Joseph Myers <joseph@codesourcery.com>
188
189 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
190 (MAP_SYNC): New macro.
191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
192 (MAP_SYNC): Likewise.
193 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
194 kernel version number to 5.3.
195
196 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
197
198 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
199 fesetenv_control.
200 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
201 rename of fesetenv_mode to fegetenv_control.
202 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
203 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
204 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
205 (libc_feholdsetround_noex_ppc_ctx): Likewise.
206
207 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
208
209 * sysdeps/powerpc/fpu/fenv_private.h
210 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
211 of fesetenv_register.
212
213 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
214
215 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
216 fegetenv_control.
217 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
218 rename of fegetenv_status to fegetenv_control.
219 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
220 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
221 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
222 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
223 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
224
225 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
226
227 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
228 'mffscrn' instruction on POWER9.
229 (__fesetround_inline_nocheck): Likewise.
230
231 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
232
233 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
234 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
235 to write FPSCR control only, if exceptions have not changed.
236
237 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
238
239 * sysdeps/powerpc/fpu/fenv_libc.h:
240 (__TEST_AND_ENTER_NON_STOP): New.
241 (__TEST_AND_EXIT_NON_STOP): New.
242 * sysdeps/powerpc/fpu/fenv_private.h
243 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
244 (_FPU_MASK_RN): Delete.
245 (_FPU_MASK_NOT_RN_NI): Delete.
246 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
247 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
248 (__libc_feholdbits_ppc): Delete, move code into
249 libc_feholdexcept_setround_ppc.
250 (libc_feholdexcept_ppc): Delete.
251 (libc_fesetround_ppc): Delete.
252 (libc_fetestexcept_ppc): Delete.
253 (libc_feholdsetround_ppc): Delete.
254 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
255 (libc_feholdsetround_noex_ppc_ctx): Likewise.
256 (libc_feupdateenv_test_ppc): Use FPSCR defines.
257 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
258 __TEST_AND_ENTER_NON_STOP.
259 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
260 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
261 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
262 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
263 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
264 (_FPU_MASK_ALL): Delete.
265
266 2019-09-27 Joseph Myers <joseph@codesourcery.com>
267
268 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
269
270 2019-09-26 Lukasz Majewski <lukma@denx.de>
271
272 * include/time.h: Add struct __timespec64 definition
273
274 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
275
276 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
277 from codecs.
278
279 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
280
281 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
282 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
283
284 * sysdeps/unix/sysv/linux/Makefile
285 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
286 CFLAGS-tst-sigcontext-get_pc.c.
287
288 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
289
290 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
291
292 2019-09-24 Andreas Schwab <schwab@suse.de>
293
294 * sysdeps/unix/sysv/linux/arm/sysdep.h
295 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
296 not "__vdso_gettimeofday".
297 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
298 "__vdso_clock_gettime".
299 * sysdeps/unix/sysv/linux/mips/sysdep.h
300 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
301 not "__vdso_gettimeofday".
302 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
303 "__vdso_clock_gettime".
304
305 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
306
307 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
308 (__fe_mffscrn): New.
309 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
310 Do not clear enable bits, remove obsolete code, use
311 fegetenv_and_set_rn.
312 (libc_feresetround_ppc): Remove obsolete code, use
313 fegetenv_and_set_rn.
314
315 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
316
317 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
318
319 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
320
321 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
322 (_HP_TIMING_S390_H): Define.
323
324 2019-09-18 Joseph Myers <joseph@codesourcery.com>
325
326 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
327 version to 5.3.
328 (clone3): New syscall.
329 (pidfd_open): Likewise.
330
331 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
332 version to 5.3.
333
334 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
335
336 * sysdeps/s390/hp-timing.h: New file.
337
338 2019-09-18 Joseph Myers <joseph@codesourcery.com>
339
340 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
341 <linux/sched.h>.
342 (CLONE_VM): New macro.
343 (CLONE_VFORK): Likewise.
344
345 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
346
347 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
348 Rearrange subprocesses.
349 (pldd_process): New function.
350 * support/Makefile (libsupport-routines): Add support_ptrace.
351 * support/xptrace.h: New file.
352 * support/support_ptrace.c: Likewise.
353
354 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
355
356 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
357
358 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
359 (INTERNAL_VSYSCALL_CALL): Remove.
360 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
361 (INTERNAL_VSYSCALL_CALL): Likewise.
362 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
363 (INTERNAL_VSYSCALL_CALL): Likewise.
364 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
365 New macro.
366
367 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
368 defined.
369 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
370 (__get_timebase_freq): Remove use of
371 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
372 (get_timebase_freq_fallback): New symbol.
373 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
374 HAVE_GETTIMEOFDAY_VSYSCALL.
375 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
376 HAVE_TIME_VSYSCALL.
377 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
378 implementation.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
380 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
381 powerpc64.
382 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
383 * .../sysv/linux/powerpc/powerpc64/sysdep.h
384 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
386 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
387
388 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
389 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
390 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
391 Likewise.
392 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
393 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
394 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
395 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
396 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
397 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
398 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
399 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
400 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
401 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
402 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
403 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
404 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
405 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
406 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
407 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
408 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
409 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
410 name.
411 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
412 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
413 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
414 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
415 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
416 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
418 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
419 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
420 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
421 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
422 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
423 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
424 HAVE_GETCPU_VSYSCALL): Likewise.
425 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
426 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
427 HAVE_GETCPU_VSYSCALL): Likewise.
428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
429 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
431 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
432 HAVE_GETCPU_VSYSCALL): Likewise.
433 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
434 invalid names if architecture does not define them.
435 (get_vdso_mangle_symbol): New symbol.
436 * sysdeps/unix/sysv/linux/init-first.c: New file.
437 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
438 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
439 clock_gettime, clock_getres, getcpu, time): Remove declaration.
440 (__libc_vdso_platform_setup_arch): Likewise and use
441 get_vdso_mangle_symbol to setup vDSO symbols.
442 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
443 attribute_hidden.
444 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
445 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
446 definition.
447
448 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
449 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
450 Use get_vdso_symbol instead of _dl_vdso_vsym.
451 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
452 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
453 (__lookup_riscv_flush_icache): Likewise.
454 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
455 Likewise.
456 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
457 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
458 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
459 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
460 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
461 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
463 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
464 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
465 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
468 Define.
469 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
470 Likewise.
471 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
472 Likewise.
473 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
474 Likewise.
475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
476 Likewise.
477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
478 Likewise.
479 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
480 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
481 definition.
482 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
483 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
484 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
485 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
487 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
489 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
490 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
491 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
492 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
494 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
495 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
496 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
497 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
498 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
499 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
500 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
501 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
502 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
503 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
504 (get_vdso_symbol): New function.
505
506 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
507
508 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
509 position of string null termination.
510
511 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
512
513 [BZ #24986]
514 * sysdeps/unix/alpha/getegid.S: Move to ...
515 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
516 * sysdeps/unix/alpha/geteuid.S: Move to ...
517 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
518 * sysdeps/unix/alpha/getppid.S: Move to ...
519 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
520
521 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
522
523 Fix http: URL in 'configure'
524 * configure.ac: Add URL to AC_INIT so that it generates an
525 https: URL instead of an http: URL.
526 * configure: Regenerate.
527
528 Regenerate charmap-kw.h, locfile-kw.h
529 This propagates the recent http->https URL changes.
530 Since I used gperf 3.1 to regenerate, this is also a minor
531 internal-to-localedef API change.
532 URL problem reported by Joseph Myers in:
533 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
534 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
535 Regenerate with gperf 3.1.
536 * locale/programs/linereader.h (kw_hash_fct_t):
537 * locale/programs/repertoire.c (repertoiremap_hash):
538 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
539
540 2019-09-05 Florian Weimer <fweimer@redhat.com>
541
542 [BZ #24962]
543 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
544 (_nl_category_names_get): New function.
545 * intl/dcigettext.c (category_to_name): Call it.
546 * locale/findlocale.c (_nl_find_locale): Likewise.
547 * intl/loadlocale.c (_nl_load_locale): Likewise.
548 * locale/newlocale.c (__newlocale): Likewise.
549 * locale/setlocale.c (_nl_category_names): Adjust definition.
550 (_nl_category_name_idxs): Likewise.
551 (new_composite_name): Call _nl_category_names_get.
552 (setlocale): Likewise.
553
554 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
555
556 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
557 const attribute with pure attribute.
558
559 2019-09-04 Lukasz Majewski <lukma@denx.de>
560
561 * sysdeps/unix/sysv/linux/kernel-features.h
562 (__ASSUME_TIME64_SYSCALLS): New macro.
563
564 2019-09-04 Zack Weinberg <zackw@panix.com>
565
566 [BZ #24959]
567 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
568 * rt/clock_getres.c: Move to time/clock_getres.c.
569 * rt/clock_gettime.c: Move to time/clock_gettime.c.
570 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
571 * rt/clock_settime.c: Move to time/clock_settime.c.
572 * rt/tst-clock.c: Move to time/tst-clock.c.
573 * rt/tst-clock2.c: Move to time/tst-clock2.c.
574 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
575 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
576 * rt/clock-compat.c: Delete file.
577
578 * time/clock_getcpuclockid.c
579 * time/clock_getres.c
580 * time/clock_gettime.c
581 * time/clock_nanosleep.c
582 * time/clock_settime.c
583 * sysdeps/posix/clock_getres.c
584 * sysdeps/unix/clock_gettime.c
585 * sysdeps/unix/clock_nanosleep.c
586 * sysdeps/unix/clock_settime.c
587 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
588 * sysdeps/unix/sysv/linux/clock_getres.c
589 * sysdeps/unix/sysv/linux/clock_gettime.c
590 * sysdeps/unix/sysv/linux/clock_nanosleep.c
591 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
592 defined by this file with default symbol version GLIBC_2_17,
593 and optionally a compatibility alias at symbol version GLIBC_2_2.
594 * include/time.h: Remove internal prototypes for clock_getres,
595 clock_nanosleep, and clock_getcpuclockid.
596
597 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
598 Remove unused function realtime_gettime.
599
600 * rt/Makefile (clock-routines, routines): Remove variable.
601 (librt-routines): Remove clock-compat.
602 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
603 and tst-cpuclock1.
604 * time/Makefile (routines): Add clock_getres, clock_gettime,
605 clock_settime, clock_getcpuclockid, and clock_nanosleep.
606 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
607 and tst-cpuclock1.
608
609 * rt/Versions (libc): Remove entire stanza.
610 (librt GLIBC_2.2): Remove all clock_* functions.
611 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
612 Add clock_getres, clock_gettime, clock_settime,
613 clock_getcpuclockid, and clock_nanosleep.
614 (libc GLIBC_PRIVATE): Add __clock_gettime.
615
616 * sysdeps/mach/hurd/i386/librt.abilist
617 * sysdeps/unix/sysv/linux/alpha/librt.abilist
618 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
619 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
620 * sysdeps/unix/sysv/linux/hppa/librt.abilist
621 * sysdeps/unix/sysv/linux/i386/librt.abilist
622 * sysdeps/unix/sysv/linux/ia64/librt.abilist
623 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
624 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
625 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
626 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
627 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
628 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
631 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
632 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
633 * sysdeps/unix/sysv/linux/sh/librt.abilist
634 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
635 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
636 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
637 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
638 Remove entries for clock_getres, clock_gettime, clock_settime,
639 clock_getcpuclockid, and clock_nanosleep.
640
641 * sysdeps/mach/hurd/i386/libc.abilist
642 * sysdeps/unix/sysv/linux/alpha/libc.abilist
643 * sysdeps/unix/sysv/linux/arm/libc.abilist
644 * sysdeps/unix/sysv/linux/hppa/libc.abilist
645 * sysdeps/unix/sysv/linux/i386/libc.abilist
646 * sysdeps/unix/sysv/linux/ia64/libc.abilist
647 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
648 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
649 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
650 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
651 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
652 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
656 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
657 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
658 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
659 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
660 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
661 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
662 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
663 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
664 Add another set of entries for clock_getres, clock_gettime,
665 clock_settime, clock_getcpuclockid, and clock_nanosleep at
666 whatever version GLIBC_2.2 maps to.
667
668 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
669
670 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
671
672 2019-09-03 Florian Weimer <fweimer@redhat.com>
673
674 [BZ #24950]
675 * locale/programs/charmap.h (struct charseq): Turn bytes into a
676 flexible array member.
677 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
678 replace.
679
680 2019-09-02 Florian Weimer <fweimer@redhat.com>
681
682 * misc/tst-mntent-autofs.c: New file.
683 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
684
685 2019-09-02 Ian Kent <ikent@redhat.com>
686
687 Use autofs "ignore" mount hint in getmntent_r/getmntent.
688 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
689 getmntent_r.
690 (__getmntent_r): Call it. Filter out autofs entries with an
691 "ignore" mount option.
692
693 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
694
695 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
696 (generic_memcpy): Include generic C memcpy.
697 * benchtests/bench-memmove.c (simple_memmove): Remove.
698 (generic_memmove): Include generic C memmove.
699 * benchtests/bench-memset.c (simple_memset): Remove.
700 (generic_memset): Include generic C memset.
701 * benchtests/bench-memset-large.c (simple_memset): Remove.
702 (generic_memset): Include generic C memset.
703 * benchtests/bench-memset-walk.c (simple_memset): Remove.
704 (generic_memset): Include generic C memset.
705 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
706 * string/memset.c (MEMSET): Likewise.
707 * sysdeps/x86_64/memcopy.h: Remove empty file.
708
709 2019-08-30 Florian Weimer <fweimer@redhat.com>
710
711 nptl: Move pthread_attr_getinheritsched implementation into libc.
712 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
713 (libpthread-routines): Remove pthread_attr_getinheritsched.
714 * nptl/Versions (libpthread GLIBC_2.0): Remove
715 pthread_attr_getinheritsched.
716 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
717 * nptl/nptl-init.c (pthread_functions): Remove initializer for
718 ptr_pthread_attr_getinheritsched.
719 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
720 Remove ptr_pthread_attr_getinheritsched member.
721 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
722 Remove pthread_attr_getinheritsched.
723 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
724 Likewise.
725 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
726 Likewise.
727 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
728 Likewise.
729 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
730 Likewise.
731 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
732 Likewise.
733 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
734 Likewise.
735 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
736 Likewise.
737 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
738 (GLIBC_2.4): Likewise.
739 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
740 (GLIBC_2.0): Likewise.
741 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
742 (GLIBC_2.18): Likewise.
743 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
744 (GLIBC_2.18): Likewise.
745 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
746 (GLIBC_2.0): Likewise.
747 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
748 (GLIBC_2.0): Likewise.
749 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
750 Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
752 (GLIBC_2.0): Likewise.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
754 (GLIBC_2.3): Likewise.
755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
756 (GLIBC_2.17): Likewise.
757 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
758 (GLIBC_2.27): Likewise.
759 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
760 (GLIBC_2.0): Likewise.
761 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
762 (GLIBC_2.2): Likewise.
763 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
764 Likewise.
765 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
766 Likewise.
767 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
768 (GLIBC_2.0): Likewise.
769 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
770 (GLIBC_2.2): Likewise.
771 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
772 (GLIBC_2.2.5): Likewise.
773 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
774 (GLIBC_2.16): Likewise.
775
776 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
777
778 * sysdeps/mach/hurd/getcwd.c
779 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
780 slash if we got an unknown root directory. (__getcwd): Do not fail with
781 EGRATUITOUS if we got an unknown root directory.
782 * hurd/hurdselect.c (SELECT_ERROR): New macro.
783 (_hurd_select):
784 - Add `error' field to `d' structures array.
785 - If a poll descriptor is bogus, set EBADF, but continue with a zero
786 timeout.
787 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
788 EBADF there is any bit set above _hurd_dtablesize.
789 - Do not request io_select on bogus descriptors (SELECT_ERROR).
790 - On io_select request error, record the error.
791 - On io_select bogus reply, use EIO error code.
792 - On io_select bogus or error reply, record the error.
793 - Do not destroy reply port for bogus FDs.
794 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
795 EBADF case, or else POLLERR.
796 - On error, make select simulated readiness.
797
798 [BZ #19903]
799 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
800 as __vm_allocate.
801
802 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
803 unlocks SS and returns to the saved PC.
804 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
805 thread stack instead of the saved PC.
806
807 2019-08-30 Richard Braun <rbraun@sceen.net>
808
809 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
810 timeout.
811 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
812 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
813 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
814 <limits.h>.
815 (_hurd_select): Replace the call to __io_select with either
816 __io_select_request or __io_select_timeout_request, depending on the
817 timeout. Count the number of ready descriptors (replies for which at
818 least one type bit is set). Implement the timeout locally when there is
819 no file descriptor.
820
821 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
822
823 * elf/dl-addr.c (determine_info): Calculate the symbol index
824 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
825 * elf/dl-lookup.c (do_lookup_x): Ditto.
826 (_dl_setup_hash): Initialize MIPS xhash translation table.
827 * elf/elf.h (SHT_MIPS_XHASH): New define.
828 (DT_MIPS_XHASH): New define.
829 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
830 define.
831 (ELF_MACHINE_HASH_SYMIDX): Ditto.
832 (ELF_MACHINE_XHASH_SETUP): Ditto.
833 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
834 define.
835 (ELF_MACHINE_HASH_SYMIDX): Ditto.
836 (ELF_MACHINE_XHASH_SETUP): Ditto.
837 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
838 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
839 version.
840 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
841
842 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
843
844 * sysdeps/sh/preconfigure.ac: New file.
845 * sysdeps/sh/preconfigure: Regenerate.
846 * sysdeps/sh/be/sh3/Implies: New file.
847 * sysdeps/sh/be/sh4/Implies: Likewise.
848 * sysdeps/sh/le/sh3/Implies: Likewise.
849 * sysdeps/sh/le/sh4/Implies: Likewise.
850 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
851 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
852 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
853 sysdeps/unix/sysv/linux/sh/le/*.abilist.
854 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
855
856 * sysdeps/microblaze/preconfigure.ac: New file.
857 * sysdeps/microblaze/preconfigure: Regenerate.
858 * sysdeps/microblaze/be/implies: New file.
859 * sysdeps/microblaze/le/implies: Likewise.
860 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
861 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
862 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
863 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
864 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
865
866 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
867 * sysdeps/arm/preconfigure: Regenerate.
868 * sysdeps/arm/be/Implies: New file.
869 * sysdeps/arm/be/armv6/Implies: Likewise.
870 * sysdeps/arm/be/armv6t2/Implies: Likewise.
871 * sysdeps/arm/be/armv7/Implies: Likewise.
872 * sysdeps/arm/le/Implies: Likewise.
873 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
874 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
875 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
876 sysdeps/unix/sysv/linux/arm/le/*.abilist.
877 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
878
879 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
880
881 Fix posix/tst-regex by using UTF-8 and own test input
882 Problem reported by Stefan Liebler in:
883 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
884 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
885 (do_test, test_expr): Adjust to the fact that this source file,
886 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
887 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
888 so that it is now UTF-8.
889
890 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
891
892 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
893 (fegetenv_status): Generate 'mffsl' unconditionally.
894
895 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
896
897 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
898 FPSCR read.
899 (_FPU_MASK_ALL): Delete.
900
901 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
902
903 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
904 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
905 if possible.
906 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
907 with simpler required steps, set fewer FPSCR bits if possible.
908
909 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
910
911 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
912 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
913 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
914 weight access to FPSCR; remove unnecessary second FPSCR read and
915 validate.
916 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
917 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
918 access to FPSCR; Use macros in fenv_libc.h in favor of local.
919
920 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
921
922 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
923 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
924 (fenv_exceptions_to_reg): New.
925 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
926 operation with call to fenv_exceptions_to_reg().
927 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
928
929 2019-08-28 Florian Weimer <fweimer@redhat.com>
930
931 * misc/mntent.c (struct mntent_buffer): Define.
932 (mntent_buffer): Adjust type to void *.
933 (allocate): Adjust for allocate_once.
934 (deallocate): New function.
935 (getmntent): Call allocate_once.
936
937 2019-08-28 Florian Weimer <fweimer@redhat.com>
938
939 nptl: Move pthread_attr_setdetachstate implementation into libc.
940 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
941 (libpthread-routines): Remove pthread_attr_setdetachstate.
942 * nptl/Versions (libpthread GLIBC_2.0): Remove
943 pthread_attr_setdetachstate.
944 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
945 * nptl/nptl-init.c (pthread_functions): Remove initializer for
946 ptr_pthread_attr_setdetachstate.
947 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
948 Remove ptr_pthread_attr_setdetachstate member.
949 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
950 Remove pthread_attr_setdetachstate.
951 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
952 Likewise.
953 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
954 Likewise.
955 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
956 Likewise.
957 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
958 Likewise.
959 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
960 Likewise.
961 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
962 Likewise.
963 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
964 (GLIBC_2.4): Likewise.
965 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
966 (GLIBC_2.0): Likewise.
967 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
968 (GLIBC_2.18): Likewise.
969 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
970 (GLIBC_2.0): Likewise.
971 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
972 (GLIBC_2.0): Likewise.
973 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
974 Likewise.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
976 (GLIBC_2.0): Likewise.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
978 (GLIBC_2.3): Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
980 (GLIBC_2.17): Likewise.
981 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
982 (GLIBC_2.27): Likewise.
983 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
984 (GLIBC_2.0): Likewise.
985 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
986 (GLIBC_2.2): Likewise.
987 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
988 Likewise.
989 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
990 (GLIBC_2.0): Likewise.
991 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
992 (GLIBC_2.2): Likewise.
993 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
994 (GLIBC_2.2.5): Likewise.
995 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
996 (GLIBC_2.16): Likewise.
997
998 2019-08-28 Florian Weimer <fweimer@redhat.com>
999
1000 [BZ #24902]
1001 * login/Makefile (tests): Add tst-pututxline-lockfail.
1002 (tst-pututxline-lockfail): Link with -lpthread.
1003 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
1004 (__libc_getutid_r): Adjust.
1005 (__libc_pututline): Likewise. Check for file_offset == -1.
1006 * login/tst-pututxline-lockfail.c: New file.
1007
1008 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
1009
1010 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
1011 * posix/tst-regex.input: New file.
1012
1013 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1014
1015 [BZ #24916]
1016 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
1017 tst-undefined-weak.
1018 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
1019 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
1020 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
1021 * sysdeps/mips/tst-undefined-weak.c: Likewise.
1022 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1023 Increment highest valid ABIVERSION value.
1024
1025 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1026
1027 * sysdeps/unix/sysv/linux/mips/Makefile
1028 (test-xfail-check-execstack):
1029 Move under mips-has-gnustack != yes.
1030 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
1031 Apply -Wa,-execstack if mips-force-execstack == yes.
1032 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1033 * sysdeps/unix/sysv/linux/mips/configure.ac
1034 (mips-force-execstack): New var.
1035 Set to yes for hard-float builds with minimum_kernel < 4.8.0
1036 or minimum_kernel not set at all.
1037 (mips-has-gnustack): New var.
1038 Use value of libc_cv_as_noexecstack
1039 if mips-force-execstack != yes, otherwise set to no.
1040
1041 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1042 Florian Weimer <fweimer@redhat.com>
1043
1044 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
1045 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1046 Make a compat_symbol.
1047 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
1048 (__profil_counter_global): Likewise.
1049
1050 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
1051 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
1052 uintptr_t.
1053 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
1054 sigcontext_get_pc and return aligned cast to uintptr_t.
1055 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
1056 * sysdeps/posix/profil.c (profil_count): Change PC argument to
1057 uintptr_t.
1058 (__profil): Use SA_SIGINFO.
1059 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
1060 uintptr_t.
1061 (__sprofil): Use SA_SIGINFO.
1062 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
1063 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
1064 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1065 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
1066 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
1067 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
1068 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
1069 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
1070 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
1071 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
1072 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
1073 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1074 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
1075 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
1076 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
1077 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
1078 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
1079 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
1080 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
1081 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
1082 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
1083 GET_PC, __sigaction, sigaction): Remove defines.
1084 (sigcontext_get_pc): New function.
1085 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1086 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1087 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1088 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
1089 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1090 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
1091 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1092 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1093 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
1094 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1095 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
1096 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1097 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1098 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1099 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1100 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1101 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
1102 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1103 Handle CTX argument as ucontext_t.
1104 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1105 Likewise.
1106 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1107 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1108 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1109 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1111 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1112 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1113 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1114 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1115 tst-sigcontextinfo-get_pc.
1116 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1117 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1118
1119 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1120
1121 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1122 definition.
1123
1124 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
1125
1126 [BZ #24682]
1127 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1128 * localedata/locales/ug_CN (first_weekday): Likewise.
1129 * localedata/locales/zh_CN (first_weekday): Likewise.
1130
1131 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1132
1133 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1134 field name in mcontext_t struct.
1135
1136 2019-08-22 Joseph Myers <joseph@codesourcery.com>
1137
1138 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1139 unsupported with libidn2 before 2.0.5.
1140 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1141
1142 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1143 features.
1144
1145 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1146
1147 Remove dead regex code
1148 * posix/regex_internal.c (re_node_set_insert):
1149 Remove unnecessary assignment. Reported by Tim Rühsen in:
1150 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1151
1152 Fix bad pointer / leak in regex code
1153 This was found by Coverity (CID 1484201). [BZ#24844]
1154 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1155 pointer and/or memory leak when storage is exhausted.
1156
1157 2019-08-21 Zack Weinberg <zackw@panix.com>
1158
1159 * misc/syslog.c (__vsyslog_internal)
1160 * time/getdate.c (__getdate_r)
1161 * time/tst_wcsftime.c (main):
1162 Use return value of time, not its argument.
1163
1164 * string/strfry.c (strfry)
1165 * sysdeps/mach/sleep.c (__sleep):
1166 Remove unnecessary casts of NULL in calls to time.
1167
1168 2019-08-21 Joseph Myers <joseph@codesourcery.com>
1169
1170 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1171 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1172 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1173 (__TGMATH_2_NARROW_F): Likewise.
1174 (__TGMATH_2_NARROW_D): New macro.
1175 (__TGMATH_2_NARROW_F16): Likewise.
1176 (__TGMATH_2_NARROW_F32): Likewise.
1177 (__TGMATH_2_NARROW_F64): Likewise.
1178 (__TGMATH_2_NARROW_F32X): Likewise.
1179 (__TGMATH_2_NARROW_F64X): Likewise.
1180 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1181 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1182 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1183 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1184 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1185 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1186 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1187 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1188 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1189 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1190 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1191 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1192 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1193 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1194 Likewise.
1195 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1196 Likewise.
1197 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1198 Likewise.
1199 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1200 Likewise.
1201 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1202 Likewise.
1203 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1204 Likewise.
1205 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1206 Likewise.
1207 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1208 Likewise.
1209 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1210 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1211 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1212 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1213 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1214 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1215 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1216 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1217 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1218 Likewise.
1219 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1220 Likewise.
1221 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1222 Likewise.
1223 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1224 Likewise.
1225 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1226 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1227 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1228 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1229 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1230 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1231 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1232 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1233 * math/gen-tgmath-tests.py (Type): Add members
1234 non_standard_real_argument_types_list, long_double_type,
1235 complex_float64_type and float32x_ext_type.
1236 (Type.__init__): Set the new members.
1237 (Type.floating_type): Add new argument floatn.
1238 (Type.real_floating_type): Likewise.
1239 (Type.can_combine_types): Likewise.
1240 (Type.combine_types): Likewise.
1241 (Type.init_types): Create internal Float32x_ext type.
1242 (Tests.__init__): Define Float32x_ext in generated C code.
1243 (Tests.add_tests): Handle narrowing functions.
1244 (Tests.add_all_tests): Likewise.
1245 (Tests.tests_text): Allow variation in mant_dig for narrowing
1246 functions with compilers before GCC 8.
1247 * math/Makefile (tgmath3-narrow-types): New variable.
1248 (tgmath3-narrow-macros): Likewise.
1249 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1250
1251 2019-08-20 Andreas Schwab <schwab@suse.de>
1252
1253 * sysdeps/i386/fpu/libm-test-ulps: Update.
1254
1255 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1256
1257 * nscd/nscd.conf: Add warning and comment about shared option.
1258
1259 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1260
1261 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1262 * manual/nss.texi (NSS Basics): List all known databases.
1263 (Services in the NSS configuration): Mention automount.
1264
1265 2019-08-19 Florian Weimer <fweimer@redhat.com>
1266
1267 Do not print backtraces on fatal errors.
1268 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1269 (__fortify_fail_abort): Remove definition.
1270 (__fortify_fail): Call __libc_message directly.
1271 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1272 (__stack_chk_fail): Call __fortify_fail instead of
1273 __fortify_fail_abort.
1274 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1275 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1276 definitions.
1277 (__libc_message): Do not handle do_backtrace. Do not call
1278 BEFORE_ABORT.
1279 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1280 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1281 (before_abort): Remove definitions.
1282
1283 2019-08-16 Florian Weimer <fweimer@redhat.com>
1284
1285 nptl: Move pthread_attr_getdetachstate implementation into libc.
1286 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1287 (libpthread-routines): Remove pthread_attr_getdetachstate.
1288 * nptl/Versions (libpthread GLIBC_2.0): Remove
1289 pthread_attr_getdetachstate.
1290 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1291 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1292 ptr_pthread_attr_getdetachstate.
1293 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1294 Remove ptr_pthread_attr_getdetachstate member.
1295 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1296 Remove pthread_attr_getdetachstate.
1297 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1298 Likewise.
1299 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1300 Likewise.
1301 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1302 Likewise.
1303 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1304 Likewise.
1305 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1306 Likewise.
1307 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1308 Likewise.
1309 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1310 (GLIBC_2.4): Likewise.
1311 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1312 (GLIBC_2.0): Likewise.
1313 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1314 (GLIBC_2.18): Likewise.
1315 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1316 (GLIBC_2.0): Likewise.
1317 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1318 (GLIBC_2.0): Likewise.
1319 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1320 Likewise.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1322 (GLIBC_2.0): Likewise.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1324 (GLIBC_2.3): Likewise.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1326 (GLIBC_2.17): Likewise.
1327 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1328 (GLIBC_2.27): Likewise.
1329 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1330 (GLIBC_2.0): Likewise.
1331 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1332 (GLIBC_2.2): Likewise.
1333 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1334 Likewise.
1335 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1336 (GLIBC_2.0): Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1338 (GLIBC_2.2): Likewise.
1339 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1340 (GLIBC_2.2.5): Likewise.
1341 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1342 (GLIBC_2.16): Likewise.
1343
1344 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1345
1346 * math/libm-test-compat_totalorder.inc (do_test)
1347 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1348 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1349 * math/libm-test-compat_totalordermag.inc (do_test)
1350 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1351
1352 2019-08-15 Florian Weimer <fweimer@redhat.com>
1353
1354 nptl: Move pthread_attr_init implementation into libc.
1355 * nptl/Makefile (routines): Add pthread_attr_init.
1356 (libpthread-routines): Remove pthread_attr_init.
1357 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1358 (libpthread GLIBC_2.0): Likewise.
1359 * nptl/pthread_attr_init.c: Check for libc compat version instead
1360 of libpthread compat version.
1361 * nptl/forward.c (__pthread_attr_init_2_0)
1362 (__pthread_attr_init_2_1): Remove definitions.
1363 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1364 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1365 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1366 Remove members ptr___pthread_attr_init_2_0,
1367 ptr___pthread_attr_init_2_1.
1368 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1369 Remove pthread_attr_init.
1370 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1371 Likewise.
1372 (GLIBC_2.1): Likewise.
1373 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1374 Likewise.
1375 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1376 Likewise.
1377 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1378 Likewise.
1379 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1380 Likewise.
1381 (GLIBC_2.1): Likewise.
1382 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1385 (GLIBC_2.4): Likewise.
1386 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1387 (GLIBC_2.0): Likewise.
1388 (GLIBC_2.1): Likewise.
1389 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1390 (GLIBC_2.18): Likewise.
1391 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1392 (GLIBC_2.0): Likewise.
1393 (GLIBC_2.1): Likewise.
1394 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1395 (GLIBC_2.0): Likewise.
1396 (GLIBC_2.1): Likewise.
1397 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1398 Likewise.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1400 (GLIBC_2.0): Likewise.
1401 (GLIBC_2.1): Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1403 (GLIBC_2.3): Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1405 (GLIBC_2.17): Likewise.
1406 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1407 (GLIBC_2.27): Likewise.
1408 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1409 (GLIBC_2.0): Likewise.
1410 (GLIBC_2.1): Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1412 (GLIBC_2.2): Likewise.
1413 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1416 (GLIBC_2.0): Likewise.
1417 (GLIBC_2.1): Likewise.
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1419 (GLIBC_2.2): Likewise.
1420 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1421 (GLIBC_2.2.5): Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1423 (GLIBC_2.16): Likewise.
1424
1425 2019-08-15 Florian Weimer <fweimer@redhat.com>
1426
1427 [BZ #24900]
1428 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1429 new object in __RTLD_OPENEXEC mode (except for the origin).
1430 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1431 check for the error message.
1432 (do_test): Call it. Add check using relative path.
1433 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1434 (tst-dlopen-aout-container): Link with libpthread.
1435 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1436
1437 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1438
1439 * math/bits/mathcalls.h
1440 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1441 (totalorder): Take pointer arguments.
1442 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1443 (totalordermag): Likewise.
1444 * manual/arith.texi (totalorder): Likewise.
1445 (totalorderf): Likewise.
1446 (totalorderl): Likewise.
1447 (totalorderfN): Likewise.
1448 (totalorderfNx): Likewise.
1449 (totalordermag): Likewise.
1450 (totalordermagf): Likewise.
1451 (totalordermagl): Likewise.
1452 (totalordermagfN): Likewise.
1453 (totalordermagfNx): Likewise.
1454 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1457 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1458 totalorderl, totalordermag, totalordermagf, totalordermagl,
1459 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1460 totalordermagf64, totalordermagf32x, totalorderf64x,
1461 totalordermagf64x, totalorderf128 and totalordermagf128.
1462 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1463 and compat_totalordermag.
1464 (libm-test-funcs-compat): New variable.
1465 (libm-tests-compat): Likewise.
1466 (tests): Do not include compat tests.
1467 (tests-internal): Add compat tests.
1468 ($(foreach t,$(libm-tests-base),
1469 $(objpfx)$(t)-compat_totalorder.o)): Depend
1470 on $(objpfx)libm-test-totalorder.c.
1471 ($(foreach t,$(libm-tests-base),
1472 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1473 $(objpfx)libm-test-totalordermag.c.
1474 (tgmath3-macros): Remove totalorder and totalordermag.
1475 * math/libm-test-compat_totalorder.inc: New file.
1476 * math/libm-test-compat_totalordermag.inc: Likewise.
1477 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1478 (RUN_TEST_fpfp_b): New macro.
1479 (RUN_TEST_LOOP_fpfp_b): Likewise.
1480 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1481 TEST_fpfp_b.
1482 (totalorder_test): Condition on [!COMPAT_TEST].
1483 (do_test): Likewise.
1484 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1485 TEST_fpfp_b.
1486 (totalordermag_test): Condition on [!COMPAT_TEST].
1487 (do_test): Likewise.
1488 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1489 totalorder and totalordermag.
1490 * math/test-tgmath.c (NCALLS): Change to 132.
1491 (F(compile_test)): Do not call totalorder or totalordermag.
1492 (F(totalorder)): Remove.
1493 (F(totalordermag)): Likewise.
1494 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1495 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1496 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1497 SJSTR_HELPER.
1498 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1499 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1500 [!_ISOMAC] (TEST_ALIGN): Likewise.
1501 [!_ISOMAC] (TEST_OFFSET): Likewise.
1502 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1503 and <first-versions.h>.
1504 (__totalorder): Take pointer arguments. Add symbol versions and
1505 compat symbols.
1506 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1507 <shlib-compat.h> and <first-versions.h>.
1508 (__totalordermag): Take pointer arguments. Add symbol versions
1509 and compat symbols.
1510 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1511 <shlib-compat.h> and <first-versions.h>.
1512 (__totalorder): Take pointer arguments. Add symbol versions and
1513 compat symbols.
1514 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1515 <shlib-compat.h> and <first-versions.h>.
1516 (__totalordermag): Take pointer arguments. Add symbol versions
1517 and compat symbols.
1518 * sysdeps/ieee754/float128/float128_private.h
1519 (__totalorder_compatl): New macro.
1520 (__totalordermag_compatl): Likewise.
1521 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1522 and <first-versions.h>.
1523 (__totalorderf): Take pointer arguments. Add symbol versions and
1524 compat symbols.
1525 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1526 <shlib-compat.h> and <first-versions.h>.
1527 (__totalordermagf): Take pointer arguments. Add symbol versions
1528 and compat symbols.
1529 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1530 <shlib-compat.h> and <first-versions.h>.
1531 (__totalorderl): Take pointer arguments. Add symbol versions and
1532 compat symbols.
1533 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1534 <shlib-compat.h> and <first-versions.h>.
1535 (__totalordermagl): Take pointer arguments. Add symbol versions
1536 and compat symbols.
1537 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1538 <shlib-compat.h>.
1539 (__totalorderl): Take pointer arguments. Add symbol versions and
1540 compat symbols.
1541 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1542 <shlib-compat.h>.
1543 (__totalordermagl): Take pointer arguments. Add symbol versions
1544 and compat symbols.
1545 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1546 <shlib-compat.h> and <first-versions.h>.
1547 (__totalorderl): Take pointer arguments. Add symbol versions and
1548 compat symbols.
1549 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1550 <shlib-compat.h> and <first-versions.h>.
1551 (__totalordermagl): Take pointer arguments. Add symbol versions
1552 and compat symbols.
1553 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1554 pointer arguments.
1555 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1556 Likewise.
1557 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1558 (do_test): Update calls to totalorderl and totalordermagl.
1559 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1560 Update calls to totalorderl and totalordermagl.
1561 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1562 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1563 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1564 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1565 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1566 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1567 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1568 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1569 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1570 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1571 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1572 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1573 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1574 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1576 Likewise.
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1578 Likewise.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1580 Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1582 Likewise.
1583 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1584 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1585 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1586 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1587 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1590 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1591
1592 2019-08-15 Florian Weimer <fweimer@redhat.com>
1593
1594 [BZ #24899]
1595 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1596 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1597 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1598 Likewise.
1599 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1600 __attribute_nonstring__ to ut_id.
1601 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1602 Likewise.
1603
1604 2019-08-15 Florian Weimer <fweimer@redhat.com>
1605
1606 [BZ #24880]
1607 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1608 (file_locking_unlock): Likewise.
1609
1610 2019-08-15 Florian Weimer <fweimer@redhat.com>
1611
1612 [BZ #24879]
1613 login: Disarm timer after utmp lock acquisition.
1614 * login/utmp_file.c (struct file_locking): Remove.
1615 (try_file_lock): Adjust.
1616 (file_lock_restore): Remove function.
1617 (__libc_getutent_r): .
1618 (internal_getut_r): Likewise.
1619 (__libc_getutline_r): Likewise.
1620 (__libc_pututline): Likewise.
1621 (__libc_updwtmp): Likewise.
1622
1623 2019-08-15 Florian Weimer <fweimer@redhat.com>
1624
1625 nptl: Remove pthread_self compatibility symbol from libpthread.
1626 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1627 pthread_equal.
1628 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1629 * nptl/compat-pthread_self.c: Remove file.
1630 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1631 Remove pthread_self.
1632 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1633 Likewise.
1634 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1635 Likewise.
1636 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1637 Likewise.
1638 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1639 Likewise.
1640 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1641 Likewise.
1642 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1643 (GLIBC_2.4): Likewise.
1644 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1645 (GLIBC_2.0): Likewise.
1646 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1647 (GLIBC_2.18): Likewise.
1648 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1649 (GLIBC_2.0): Likewise.
1650 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1651 (GLIBC_2.0): Likewise.
1652 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1653 Likewise.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1655 (GLIBC_2.0): Likewise.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1657 (GLIBC_2.3): Likewise.
1658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1659 (GLIBC_2.17): Likewise.
1660 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1661 (GLIBC_2.0): Likewise.
1662 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1663 (GLIBC_2.2): Likewise.
1664 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1665 Likewise.
1666 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1667 (GLIBC_2.0): Likewise.
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1669 (GLIBC_2.2): Likewise.
1670 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1671 (GLIBC_2.2.5): Likewise.
1672 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1673 (GLIBC_2.16): Likewise.
1674
1675 2019-08-15 Florian Weimer <fweimer@redhat.com>
1676
1677 nptl: Move pthread_attr_destroy implementation into libc.
1678 * nptl/Makefile (routines): Add pthread_attr_destroy.
1679 (libpthread-routines): Remove pthread_attr_destroy.
1680 * nptl/Versions (libpthread GLIBC_2.0): Remove
1681 pthread_attr_destroy.
1682 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1683 libc compat version instead of libpthread compat version.
1684 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1685 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1686 ptr_pthread_attr_destroy.
1687 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1688 Remove ptr_pthread_attr_destroy member.
1689 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1690 Remove pthread_attr_destroy.
1691 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1692 Likewise.
1693 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1694 Likewise.
1695 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1696 Likewise.
1697 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1698 Likewise.
1699 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1702 Likewise.
1703 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1704 (GLIBC_2.4): Likewise.
1705 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1706 (GLIBC_2.0): Likewise.
1707 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1708 (GLIBC_2.18): Likewise.
1709 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1710 (GLIBC_2.0): Likewise.
1711 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1712 (GLIBC_2.0): Likewise.
1713 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1714 Likewise.
1715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1716 (GLIBC_2.0): Likewise.
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1718 (GLIBC_2.3): Likewise.
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1720 (GLIBC_2.17): Likewise.
1721 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1722 (GLIBC_2.27): Likewise.
1723 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1724 (GLIBC_2.0): Likewise.
1725 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1726 (GLIBC_2.2): Likewise.
1727 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1728 Likewise.
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1730 (GLIBC_2.0): Likewise.
1731 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1732 (GLIBC_2.2): Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1734 (GLIBC_2.2.5): Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1736 (GLIBC_2.16): Likewise.
1737
1738 2019-08-15 Andreas Schwab <schwab@suse.de>
1739
1740 * sysdeps/i386/fpu/libm-test-ulps: Update.
1741
1742 2019-08-15 Florian Weimer <fweimer@redhat.com>
1743
1744 * malloc/Makefile (tests): Only add tst-mxfast for
1745 $(have-tunables).
1746 * malloc/tst-mxfast.c: Fix copyright year.
1747 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1748 assert for checks.
1749
1750 2019-08-15 Florian Weimer <fweimer@redhat.com>
1751
1752 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1753 descriptor.
1754 * login/Makefile (tests): Add tst-updwtmpx.
1755 * login/tst-updwtmpx.c: New file.
1756
1757 2019-08-15 Florian Weimer <fweimer@redhat.com>
1758
1759 nptl: Move pthread_equal implementation into libc.
1760 * nptl/Makefile (routines): Add pthread_equal.
1761 * nptl/forward.c (pthread_equal): Remove definition.
1762 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1763 ptr_pthread_equal.
1764 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1765 Remove ptr_pthread_equal member.
1766 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1767 Remove pthread_equal.
1768 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1769 Likewise.
1770 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1771 Likewise.
1772 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1773 Likewise.
1774 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1775 Likewise.
1776 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1777 Likewise.
1778 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1779 Likewise.
1780 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1781 (GLIBC_2.4): Likewise.
1782 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1783 (GLIBC_2.0): Likewise.
1784 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1785 (GLIBC_2.18): Likewise.
1786 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1787 (GLIBC_2.0): Likewise.
1788 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1789 (GLIBC_2.0): Likewise.
1790 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1791 Likewise.
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1793 (GLIBC_2.0): Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1795 (GLIBC_2.3): Likewise.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1797 (GLIBC_2.17): Likewise.
1798 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1799 (GLIBC_2.27): Likewise.
1800 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1801 (GLIBC_2.0): Likewise.
1802 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1803 (GLIBC_2.2): Likewise.
1804 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1805 Likewise.
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1807 (GLIBC_2.0): Likewise.
1808 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1809 (GLIBC_2.2): Likewise.
1810 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1811 (GLIBC_2.2.5): Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1813 (GLIBC_2.16): Likewise.
1814
1815 2019-08-14 Florian Weimer <fweimer@redhat.com>
1816
1817 * support/support_descriptors.c: Include <support/descriptors.h>.
1818
1819 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1820
1821 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1822 Disable DC ZVA code if this macro is defined as zero.
1823 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1824 Change to zero to disable using DC ZVA.
1825
1826 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1827
1828 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1829 Update comment.
1830 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1831 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1832 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1833 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1834 Likewise.
1835
1836 2019-08-13 Florian Weimer <fweimer@redhat.com>
1837
1838 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1839 Remove macros.
1840 (struct file_locking): New.
1841 (try_file_lock, file_unlock, file_lock_restore): New functions.
1842 (__libc_getutent_r): Use the new functions.
1843 (internal_getut_r): Likewise.
1844 (__libc_getutline_r): Likewise.
1845 (__libc_pututline): Likewise.
1846 (__libc_updwtmp): Likewise.
1847
1848 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1849
1850 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1851 comment.
1852 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1853 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1854 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1855 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1856 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1857 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1858 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1859 Likewise.
1860 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1861 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1862 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1863 Likewise.
1864 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1865 Likewise.
1866 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1867 Likewise.
1868 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1869 Likewise.
1870 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1871 Likewise.
1872 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1873 Likewise.
1874 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1875 Likewise.
1876 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1877 (IEC_60559_BFP_EXT)]: Likewise.
1878 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1879 Likewise.
1880 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1881 Likewise.
1882 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1883 Likewise.
1884 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1885 Likewise.
1886 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1887 Likewise.
1888 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1889 Likewise.
1890 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1891 Likewise.
1892 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1893 Likewise.
1894 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1895 Likewise, except for totalorder, totalordermag, getpayload,
1896 setpayload and setpayloadsig.
1897 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1898 except for totalorder and totalordermag.
1899
1900 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1901 (strdup): Likewise.
1902 (strndup): Likewise.
1903
1904 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1905 Undefine and define to 1 if [_GNU_SOURCE].
1906 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1907 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1908 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1909 (__USE_ISOC99): Likewise.
1910 (__USE_ISOC95): Likewise.
1911 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1912
1913 2019-08-13 Florian Weimer <fweimer@redhat.com>
1914
1915 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1916 are always true.
1917 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1918 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1919 * login/getutmpx.c (getutmpx): Likewise.
1920 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1921 true.
1922 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1923 _HAVE_UT_TV are always true.
1924 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1925 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1926 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1927 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1928 are always true.
1929 (internal_getut_r): _HAVE_UT_TYPE is always true.
1930 (__libc_pututline): Likewise.
1931 * login/programs/utmpdump.c (print_entry): Assume that
1932 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1933 _HAVE_UT_TV are always true.
1934 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1935 _HAVE_UT_ID are always true.
1936 * sysdeps/gnu/bits/utmp.h: Move to ...
1937 * bits/utmp.h: ... here, replacing the old file.
1938
1939 2019-08-12 Florian Weimer <fweimer@redhat.com>
1940
1941 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1942 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1943 not set.
1944 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1945 (do_test): Open the executable using an absolute path. Print
1946 error message to standard output.
1947
1948 2019-08-09 DJ Delorie <dj@redhat.com>
1949
1950 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1951 * manual/tunables.texi: Document it.
1952 * malloc/malloc.c (do_set_mxfast): New.
1953 (__libc_mallopt): Call it.
1954 * malloc/arena.c: Add mxfast tunable.
1955 * malloc/tst-mxfast.c: New.
1956 * malloc/Makefile: Add it.
1957
1958 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1959 Carlos O'Donell <carlos@redhat.com>
1960
1961 [BZ #24026]
1962 * malloc/malloc.c (__malloc_info): Account for top chunk.
1963
1964 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1965
1966 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1967 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1968
1969 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1970
1971 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1972
1973 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1974
1975 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1976
1977 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1978
1979 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1980 New macro.
1981
1982 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1983
1984 [BZ #19767]
1985 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1986 Remove definition.
1987 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1988 Likewise.
1989 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1990 Likewise.
1991 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1992 Likewise.
1993 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1994 (ALWAYS_USE_VSYSCALL): Likewise.
1995 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1996 (ALWAYS_USE_VSYSCALL): Likewise.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1998 (ALWAYS_USE_VSYSCALL): Likewise.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2000 (ALWAYS_USE_VSYSCALL): Likewise.
2001 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2002 Likewise.
2003 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2004 (ALWAYS_USE_VSYSCALL): Likewise.
2005 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2006 (ALWAYS_USE_VSYSCALL): Likewise.
2007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2008 Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2010 Likewise.
2011 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
2012 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
2013 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
2014 USE_VSYSCALL): Remove defitions.
2015
2016 [BZ #19767]
2017 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
2018 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
2019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2020 Define.
2021
2022 [BZ #19767]
2023 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
2024 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
2025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2026 (ALWAYS_USE_VSYSCALL): Define.
2027 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2028 (ALWAYS_USE_VSYSCALL): Likewise.
2029
2030 [BZ #19767]
2031 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
2032 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2033 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2034 Define.
2035
2036 * sysdeps/sh/libm-test-ulps: Update.
2037
2038 2019-08-05 Florian Weimer <fweimer@redhat.com>
2039
2040 [BZ #23518]
2041 * login/uptmp-private.h (struct ufuncs): Remove definition.
2042 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
2043 (__libc_utmp_jump_table): Remove declarations.
2044 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
2045 (__libc_getutline_r, __libc_pututline, __libc_endutent)
2046 (__libc_updwtmp): Declare.
2047 * login/getutent_r.c (__libc_utmp_unknown_functions)
2048 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
2049 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
2050 (endutent_unknown): Remove definitions.
2051 (__setutent): Call __libc_setutent.
2052 (__getutent_r): Call __libc_getutent_r.
2053 (__pututline): Call __libc_pututline.
2054 (__endutent): Call __libc_endutent.
2055 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
2056 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
2057 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
2058 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
2059 (__libc_setutent): Rename from stetutent_file. Drop static.
2060 (maybe_setutent): New function.
2061 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
2062 Check for initialization.
2063 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
2064 Check for initialization.
2065 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
2066 Check for initialization.
2067 (__libc_pututline): Rename from pututline_file. Drop static.
2068 Check for initialization.
2069 (__libc_endutent): Rename from endutent_file. Drop static. Check
2070 for initialization.
2071 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
2072 * login/utmpname.c (__utmpname): Call __libc_endutent.
2073 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
2074 __libc_getutlien_r, __libc_endutent.
2075 * manual/users.texi (Who Logged In, Manipulating the Database):
2076 Adjust.
2077
2078 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
2079
2080 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
2081
2082 2019-08-02 Joseph Myers <joseph@codesourcery.com>
2083
2084 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
2085
2086 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
2087 kernel version number to 5.2.
2088
2089 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
2090
2091 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
2092 mnemonics and set .machine power8.
2093 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
2095 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2096 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2097 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2099 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2100 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2101 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2102 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2103
2104 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2105
2106 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2107
2108 2019-08-01 Florian Weimer <fweimer@redhat.com>
2109
2110 [BZ #24867]
2111 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2112 whitespace.
2113
2114 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2115
2116 [BZ #15813]
2117 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2118 attempt.
2119
2120 2019-08-01 Carlos O'Donell <carlos@redhat.com>
2121
2122 * version.h (RELEASE): Set to "stable".
2123 (VERSION): Set to "2.30".
2124 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2125
2126 * manual/install.texi: Update component versions.
2127 * INSTALL: Regenerate.
2128 * NEWS: Update.
2129
2130 2019-07-31 Carlos O'Donell <carlos@redhat.com>
2131
2132 * po/be.po: Update translations.
2133 * po/bg.po: Likewise.
2134 * po/ca.po: Likewise.
2135 * po/cs.po: Likewise.
2136 * po/da.po: Likewise.
2137 * po/de.po: Likewise.
2138 * po/el.po: Likewise.
2139 * po/eo.po: Likewise.
2140 * po/es.po: Likewise.
2141 * po/fi.po: Likewise.
2142 * po/fr.po: Likewise.
2143 * po/gl.po: Likewise.
2144 * po/hr.po: Likewise.
2145 * po/hu.po: Likewise.
2146 * po/ia.po: Likewise.
2147 * po/id.po: Likewise.
2148 * po/it.po: Likewise.
2149 * po/ja.po: Likewise.
2150 * po/ko.po: Likewise.
2151 * po/lt.po: Likewise.
2152 * po/nb.po: Likewise.
2153 * po/nl.po: Likewise.
2154 * po/pl.po: Likewise.
2155 * po/pt_BR.po: Likewise.
2156 * po/ru.po: Likewise.
2157 * po/rw.po: Likewise.
2158 * po/sk.po: Likewise.
2159 * po/sl.po: Likewise.
2160 * po/sv.po: Likewise.
2161 * po/tr.po: Likewise.
2162 * po/uk.po: Likewise.
2163 * po/vi.po: Likewise.
2164 * po/zh_CN.po: Likewise.
2165 * po/zh_TW.po: Likewise.
2166
2167 2019-07-31 Florian Weimer <fweimer@redhat.com>
2168
2169 [BZ #24583]
2170 [BZ #24677]
2171 iconv, libio: Revert reference counting changes.
2172 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2173 free the steps array.
2174 * libio/Makefile (tests): Remove tst-wfile-gconv.
2175 (tests-container): Do not add tst-wfile-ascii.
2176 (tst-wfile-gconv-ENV): Do not set.
2177 (generated): Do not add tst-wfile-gconv.mtrace,
2178 tst-wfile-gconv.check.
2179 [($run-built-tests)] (tests-special): Do not add
2180 tst-wfile-gconv-mem.out.
2181 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2182 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2183 instead of __wcsmbs_clone_conv.
2184 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2185 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2186
2187 2019-07-30 Joseph Myers <joseph@codesourcery.com>
2188
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2190 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2191
2192 2019-07-30 Florian Weimer <fweimer@redhat.com>
2193
2194 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2195 type to uintptr_t. Update comment.
2196 (check_stack_top): Adjust.
2197
2198 2019-07-29 Florian Weimer <fweimer@redhat.com>
2199
2200 Linux: Move declaration of getdents64 to <dirent.h>.
2201 * bits/dirent_ext.h: New file.
2202 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2203 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2204 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2205 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2206 declaration.
2207 * manual/filesys.texi (Low-level Directory Access): Update header
2208 to dirent.h.
2209
2210 2019-07-29 DJ Delorie <dj@redhat.com>
2211 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2212
2213 [BZ #24794]
2214 * Makeconfig (all-subdirs): Improved source comments.
2215 * Makefile (testroot.pristine/install.stamp): Pass
2216 subdirs='$(sorted-subdirs)' to make install.
2217
2218 2019-07-25 Florian Weimer <fweimer@redhat.com>
2219
2220 [BZ #24677]
2221 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2222 counter before freeing array.
2223
2224 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2225
2226 [BZ #24603]
2227 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2228 works.
2229 * sysdeps/x86_64/configure: Regenerated.
2230 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2231 to -mprefer-vector-width=128 if supported.
2232
2233 2019-07-24 Florian Weimer <fweimer@redhat.com>
2234
2235 * scripts/build-many-glibcs.py (Context.checkout): Default to
2236 Linux 5.2.
2237
2238 2019-07-24 Florian Weimer <fweimer@redhat.com>
2239
2240 [BZ #24532]
2241 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2242 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2243 (sysdep_headers): Add bits/socket-constants.h.
2244 (tests-special): Add tst-socket-consts.out.
2245 (tst-socket-consts.out): New target.
2246 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2247 around <asm/unistd.h>.
2248 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2249 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2250 <asm/socket.h>.
2251 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2252 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2253 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2254 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2255 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2257 Likewise.
2258 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2259
2260 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2261
2262 [BZ #24794]
2263 * Makefile (testroot.pristine/install.stamp): Pass
2264 subdirs='$(all-subdirs)' to make install.
2265
2266 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2267 the same arguments used in all tests.
2268
2269 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2270
2271 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2272
2273 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2274
2275 [BZ #2872]
2276 * locale/C-translit.h.in: Add Cyrillic transliteration.
2277
2278 2019-07-19 Florian Weimer <fweimer@redhat.com>
2279
2280 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2281 from Linux 5.2.
2282 (fsconfig): Add system call name.
2283 (fsmount): Likewise.
2284 (fsopen): Likewise.
2285 (fspick): Likewise.
2286 (move_mount): Likewise.
2287 (open_tree): Likewise.
2288
2289 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2290
2291 * po/libc.pot: Regenerate.
2292
2293 2019-07-18 Mike Crowe <mac@mcrowe.com>
2294
2295 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2296 functions recently added to sysdeps/nptl/pthread.h:
2297 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2298 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2299
2300 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2301 pthread_cond_clockwait forwarding functions. There are no internal
2302 users, so it is unnecessary to expose these functions in libc.so.
2303 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2304 unnecessary ptr___pthread_cond_clockwait member.
2305 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2306 removed member.
2307
2308 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2309
2310 [BZ #21897]
2311 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2312 begin with an uppercase letter now.
2313 (abmon): Likewise.
2314 (mon): Update from CLDR, reword February from "Kudo" to
2315 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2316 and August from "Liiqen" to "Leqeeni".
2317 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2318 April from "Agda Baxisso" to "Agda Baxis" and August from
2319 "Leqeeni" to "Liiqen".
2320 * localedata/locales/aa_ER@saaho (mon): Likewise.
2321 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2322 abbreviated February from "Kud" to "Nah".
2323 (mon): Update from CLDR, reword February from "Kudo" to
2324 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2325
2326 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2327
2328 [BZ #23996]
2329 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2330
2331 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2332
2333 [BZ #23996]
2334 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2335 name_mrs, name_miss, and name_ms.
2336 * localedata/locales/nl_NL (LC_NAME): Likewise.
2337
2338 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2339
2340 [BZ #24200]
2341 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2342 * localedata/locales/en_IE (first_weekday): Likewise.
2343
2344 2019-07-12 Mike Crowe <mac@mcrowe.com>
2345
2346 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2347 that is only useful if futex_supports_exact_relative_timeouts ()
2348 returns false.
2349 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2350 Likewise.
2351 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2352 timeouts potentially being imprecise since it's no longer true.
2353 Remove declaration of futex_supports_exact_relative_timeouts.
2354 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2355 of futex_supports_exact_relative_timeouts.
2356
2357 * NEWS: Mention recently-added pthread_cond_clockwait,
2358 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2359 sem_clockwait functions.
2360
2361 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2362 works like pthread_mutex_timedlock but takes a clockid parameter to
2363 measure the abstime parameter against.
2364 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2365 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2366 * nptl/pthread_mutex_timedlock.c
2367 (__pthread_mutex_clocklock_common): Rename from
2368 __pthread_mutex_timedlock and add clockid parameter. Pass this
2369 parameter to lll_clocklock and lll_clocklock_elision in place of
2370 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2371 LIBC_PROBE and validate clockid parameter before calling
2372 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2373 implementation to add LIBC_PROBE and calls
2374 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2375 clockid.
2376 * nptl/Makefile: Add tst-mutex11.c.
2377 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2378 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2379 clockid parameters to pthread_mutex_clocklock.
2380 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2381 clockid parameter to indicate which clock to be used. Call
2382 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2383 (do_test): Call do_test_clock to separately test
2384 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2385 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2386 * nptl/tst-mutex9.c: Likewise.
2387 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2388 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2389 Likewise.
2390 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2391 Likewise.
2392 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2393 Likewise.
2394 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2395 Likewise.
2396 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2397 Likewise.
2398 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2399 Likewise.
2400 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2401 Likewise.
2402 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2403 (GLIBC_2.30): Likewise.
2404 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2405 (GLIBC_2.30): Likewise.
2406 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2407 (GLIBC_2.30): Likewise.
2408 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2409 (GLIBC_2.30): Likewise.
2410 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2411 (GLIBC_2.30): Likewise.
2412 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2413 Likewise.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2415 (GLIBC_2.30): Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2417 (GLIBC_2.30): Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2419 (GLIBC_2.30): Likewise.
2420 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2421 (GLIBC_2.30): Likewise.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2423 (GLIBC_2.30): Likewise.
2424 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2425 (GLIBC_2.30): Likewise.
2426 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2427 Likewise.
2428 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2429 (GLIBC_2.30): Likewise.
2430 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2431 (GLIBC_2.30): Likewise.
2432 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2433 (GLIBC_2.30): Likewise.
2434 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2435 (GLIBC_2.30): Likewise.
2436
2437 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2438 parameter to indicate the clock that the abstime parameter should
2439 be measured against in preparation for adding
2440 pthread_mutex_clocklock.
2441 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2442 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2443 from __lll_timedlock and add clockid parameter.
2444 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2445 Likewise.
2446 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2447 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2448 rather than __gettimeofday so that clockid can be used. This means
2449 that conversion from struct timeval is no longer required.
2450 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2451 Likewise.
2452 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2453 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2454 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2455 from lll_timedlock_elision, add clockid parameter and use
2456 meaningful names for other parameters. (__pthread_mutex_timedlock):
2457 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2458 lll_clocklock_elision.
2459 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2460 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2461 clockid parameter. (__lll_clocklock_elision): Rename from
2462 __lll_timedlock_elision and add clockid parameter.
2463 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2464 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2465 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2466 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2467 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2468 (LLL_LOCK): Likewise.
2469 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2470 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2471
2472 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2473 pthread_rwlock_clockwrlock which behave like
2474 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2475 respectively, except they always measure abstime against the
2476 supplied clockid. The functions currently support CLOCK_REALTIME
2477 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2478 specified.
2479 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2480 pthread_wrlock_clockwrlock.
2481 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2482 pthread_rwlock_clockwrlock.c.
2483 * nptl/pthread_rwlock_clockrdlock.c: Implement
2484 pthread_rwlock_clockrdlock.
2485 * nptl/pthread_rwlock_clockwrlock.c: Implement
2486 pthread_rwlock_clockwrlock.
2487 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2488 clockid parameter and verify that it indicates a supported clock on
2489 entry so that we fail even if it doesn't end up being used. Pass
2490 that clock on to futex_abstimed_wait when necessary.
2491 (__pthread_rwlock_wrlock_full): Likewise.
2492 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2493 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2494 be used because there's no timeout.
2495 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2496 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2497 be used because there is no timeout.
2498 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2499 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2500 uses that clock.
2501 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2502 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2503 uses that clock.
2504 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2505 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2506 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2507 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2508 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2509 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2510 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2511 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2512 (GLIBC_2.30): Likewise.
2513 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2514 (GLIBC_2.30): Likewise.
2515 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2516 (GLIBC_2.30): Likewise.
2517 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2518 (GLIBC_2.30): Likewise.
2519 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2520 (GLIBC_2.30): Likewise.
2521 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2523 (GLIBC_2.30): Likewise.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2525 (GLIBC_2.30): Likewise.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2527 (GLIBC_2.30): Likewise.
2528 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2529 (GLIBC_2.30): Likewise.
2530 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2531 (GLIBC_2.30): Likewise.
2532 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2533 (GLIBC_2.30): Likewise.
2534 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2535 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2536 (GLIBC_2.30): Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2538 (GLIBC_2.30): Likewise.
2539 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2540 (GLIBC_2.30): Likewise.
2541 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2542 (GLIBC_2.30): Likewise.
2543 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2544 pthread_rwlock_clockwrlock timeout tests to match the existing
2545 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2546 * nptl/tst-rwlock14.c (do_test): Likewise.
2547 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2548 ancillary output throughout. (tf): Accept thread_args structure so
2549 that rwlock, a clockid and function name can be passed to the
2550 thread. (do_test_clock): Rename from do_test. Accept clockid
2551 parameter to specify test clock. Use the magic clockid value of
2552 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2553 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2554 specified clockid to pthread_rwlock_clockrdlock and
2555 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2556 (do_test): Call do_test_clock to test each clockid in turn.
2557 * nptl/tst-rwlock7.c: Likewise.
2558 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2559 thread_args structure so that the (now int) thread number, the
2560 clockid and the function name can be passed to the thread.
2561 (do_test_clock): Renamed from do_test. Pass the necessary
2562 thread_args when creating the reader and writer threads. Use
2563 xpthread_create and xpthread_join.
2564 (do_test): Call do_test_clock to test each clockid in turn.
2565 * manual/threads.texi: Add documentation for
2566 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2567
2568 nptl: pthread_rwlock: Move timeout validation into _full functions
2569 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2570 Check validity of abstime parameter.
2571 (__pthread_rwlock_rwlock_full): Likewise.
2572 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2573 Remove check for validity of abstime parameter.
2574 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2575 Likewise.
2576
2577 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2578 like pthread_cond_timedwait except it always measures abstime
2579 against the supplied clockid.
2580 * nptl/Makefile: Add tst-cond26 and tst-cond27
2581 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2582 * sysdeps/nptl/pthread.h: Likewise
2583 * nptl/forward.c: Add __pthread_cond_clockwait
2584 * nptl/forward.c: Likewise
2585 * nptl/pthreadP.h: Likewise
2586 * sysdeps/nptl/pthread-functions.h: Likewise
2587 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2588 clockid parameter and comment describing why we don't need to check
2589 its value. Use that value when calling
2590 futex_abstimed_wait_cancelable rather than reading the clock from
2591 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2592 (__pthread_cond_timedwait): Read clock from flags and pass it to
2593 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2594 function with weak alias from pthread_cond_clockwait.
2595 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2596 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2597 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2598 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2599 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2600 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2601 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2602 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2603 (GLIBC_2.30): Likewise.
2604 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2605 (GLIBC_2.30): Likewise.
2606 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2607 (GLIBC_2.30): Likewise.
2608 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2609 (GLIBC_2.30): Likewise.
2610 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2611 (GLIBC_2.30): Likewise.
2612 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2614 (GLIBC_2.30): Likewise.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2616 (GLIBC_2.30): Likewise.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2618 (GLIBC_2.30): Likewise.
2619 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2620 (GLIBC_2.30): Likewise.
2621 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2622 (GLIBC_2.30): Likewise.
2623 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2624 (GLIBC_2.30): Likewise.
2625 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2626 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2627 (GLIBC_2.30): Likewise.
2628 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2629 (GLIBC_2.30): Likewise.
2630 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2631 (GLIBC_2.30): Likewise.
2632 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2633 (GLIBC_2.30): Likewise.
2634 * nptl/tst-cond11.c (run_test): Support testing
2635 pthread_cond_clockwait too by using a special magic
2636 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2637 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2638 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2639 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2640 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2641 clocks to pthread_cond_clockwait.
2642 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2643 struct timespec and pthread_cond_clockwait.
2644 * manual/threads.texi: Document pthread_cond_clockwait.
2645
2646 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2647 sem_timedwait, but measures abstime against the specified clock.
2648 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2649 clockid parameters to indicate the clock which abstime should be
2650 measured against.
2651 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2652 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2653 __new_sem_wait_slow.
2654 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2655 on sem_timedwait.c.
2656 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2657 sem_clockwait.c to match those used for sem_timedwait.c.
2658 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2659 * nptl/Versions (GLIBC_2.30): Likewise.
2660 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2661 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2662 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2663 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2664 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2665 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2666 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2667 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2668 (GLIBC_2.30): Likewise.
2669 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2670 (GLIBC_2.30): Likewise.
2671 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2672 (GLIBC_2.30): Likewise.
2673 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2674 (GLIBC_2.30): Likewise.
2675 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2676 (GLIBC_2.30): Likewise.
2677 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2679 (GLIBC_2.30): Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2681 (GLIBC_2.30): Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2683 (GLIBC_2.30): Likewise.
2684 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2685 (GLIBC_2.30): Likewise.
2686 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2687 (GLIBC_2.30): Likewise.
2688 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2689 (GLIBC_2.30): Likewise.
2690 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2691 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2692 (GLIBC_2.30): Likewise.
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2694 (GLIBC_2.30): Likewise.
2695 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2696 (GLIBC_2.30): Likewise.
2697 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2698 (GLIBC_2.30): Likewise.
2699 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2700 sem_clockwait.
2701 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2702 tests to also test sem_clockwait.
2703 * manual/threads.texi: Document sem_clockwait.
2704
2705 nptl: Add clockid parameter to futex timed wait calls
2706 * sysdeps/nptl/lowlevellock-futex.h,
2707 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2708 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2709 takes a clockid rather than a special clockbit.
2710 * sysdeps/nptl/lowlevellock-futex.h: Add
2711 lll_futex_supported_clockid so that client functions can check
2712 whether their clockid parameter is valid even if they don't
2713 ultimately end up calling lll_futex_clock_wait_bitset.
2714 * sysdeps/nptl/futex-internal.h,
2715 sysdeps/unix/sysv/linux/futex-internal.h
2716 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2717 clockid_t parameter to indicate which clock the absolute time
2718 passed should be measured against. Pass that clockid onto
2719 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2720 returning -EINVAL.
2721 * sysdeps/nptl/futex-internal.h,
2722 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2723 futex_abstimed_supported_clockid so that client functions can check
2724 whether their clockid parameter is valid even if they don't
2725 ultimately end up calling futex_abstimed_wait.
2726 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2727 code to calculate relative timeout for
2728 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2729 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2730 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2731 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2732 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2733 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2734 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2735
2736 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2737
2738 [BZ #24699]
2739 * posix/tst-mmap-offset.c: Mention BZ #24699.
2740 (do_test_bz21270): Rename to do_test_large_offset and use
2741 mmap64_maximum_offset to check for maximum expected offset value.
2742 * sysdeps/generic/mmap_info.h: New file.
2743 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2744 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2745 __NR_mmap2 is used.
2746
2747 2019-07-10 DJ Delorie <dj@redhat.com>
2748 Sergei Trofimovich <slyfox@inbox.ru>
2749
2750 [BZ #24696]
2751 [BZ #24695]
2752 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2753 mappings.
2754 * nss/tst-nss-db-endgrent.c: New.
2755 * nss/tst-nss-db-endgrent.root: New.
2756 * nss/tst-nss-db-endpwent.c: New.
2757 * nss/tst-nss-db-endpwent.root: New.
2758 * nss/Makefile: Add new tests.
2759 * support/links-dso-program-c.c: Add selinux dependency.
2760 * support/links-dso-program.cc: Add selinux dependency.
2761 * support/Makefile: Build those with -lselinux if enabled.
2762
2763 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2764
2765 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2766 DT_AARCH64_VARIANT_PCS check.
2767 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2768 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2769 variant_pcs.
2770
2771 2019-07-10 Andreas Schwab <schwab@suse.de>
2772
2773 [BZ #23352]
2774 * malloc/malloc.h (__malloc_check_init): Don't declare.
2775 * include/malloc.h (__malloc_check_init): Likewise.
2776 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2777 * manual/memory.texi (__malloc_check_init): Don't mention it.
2778
2779 2019-07-10 Mao Han <han_mao@c-sky.com>
2780
2781 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2782
2783 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2784
2785 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2786 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2787
2788 2019-07-08 DJ Delorie <dj@redhat.com>
2789
2790 [BZ #23501]
2791 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2792 * io/tst-ftw-lnk.c: New test.
2793 * io/Makefile: Run it.
2794
2795 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2796
2797 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2798 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2799 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2800 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2801 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2802 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2804 Adjust implementation path.
2805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2806 Adjust implementation path.
2807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2808 Adjust implementation path.
2809 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2810 (libm-sysdep_routines): Add s_log* objects.
2811 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2812 CFLAGS-s_logb-power7.c): New fule.
2813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2814 to ...
2815 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2816 ... here.
2817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2818 to ...
2819 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2820 ... here.
2821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2822 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2824 to ...
2825 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2826 ... here.
2827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2828 to ...
2829 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2830 ... here.
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2832 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2834 to ...
2835 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2836 ... here.
2837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2838 to ...
2839 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2840 ... here.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2842 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2845 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2846 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2847
2848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2849 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2850 powerpc32 integer 0 converting to -0.
2851
2852 * benchtests/Makefile (bench-math): Add logb.
2853 * benchtests/logb-inputs: New file.
2854 * benchtests/logbf-inputs: New file.
2855
2856 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2857 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2858 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2859 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2861 Adjust include.
2862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2863 Likewise.
2864 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2865 sysdep_routines): Add s_modf* objects.
2866 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2867 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2869 to ...
2870 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2871 ... here.
2872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2873 to ...
2874 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2875 ... here.
2876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2877 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2879 to ...
2880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2881 ... here.
2882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2883 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2884 ... here.
2885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2886 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2887
2888 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2889 twoM500, twoM600, two60factor, pdnum): Remove.
2890 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2891 (__ieee754_hypot): Replace static variables with inline definition,
2892 remove ununsed branches.
2893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2894 (libm-sysdep_routines): Remove e_hypot-* objects.
2895 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2896 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2897 file.
2898 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2900 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2902 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2903
2904 * benchtests/Makefile (bench-math): Add hypot.
2905 * benchtests/hypot-inputs: New file.
2906
2907 2019-07-08 Vincent Chen <vincentc@andestech.com>
2908
2909 * sysdeps/unix/sysv/linux/dl-vdso.h
2910 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2911
2912 2019-07-04 Andreas Schwab <schwab@suse.de>
2913
2914 [BZ #24484]
2915 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2916
2917 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2918
2919 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2920 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2921 * sysdeps/aarch64/sys/ifunc.h: New file.
2922 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2923 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2924
2925 2019-07-01 Florian Weimer <fweimer@redhat.com>
2926
2927 [BZ #20188]
2928 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2929 Replace __vfork with __libpthread_version_placeholder for
2930 GLIBC_2.1.2.
2931 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2932 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2933 libpthread-compat.
2934 * nptl/pt-vfork.c: Remove file.
2935 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2936 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2937 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2938 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2939 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2940 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2941 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2942 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2943 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2944 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2945 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2946 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2947 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2948 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2949 Remove vfork, __vfork.
2950 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2951 Remove vfork.
2952 (GLIBC_2.1.2): Replace __vfork with
2953 __libpthread_version_placeholder.
2954 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2955 Remove vfork, __vfork.
2956 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2957 Likewise.
2958 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2959 Remove vfork.
2960 (GLIBC_2.1.2): Replace __vfork with
2961 __libpthread_version_placeholder.
2962 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2963 Remove vfork.
2964 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2965 (GLIBC_2.4): Remove vfork, __vfork.
2966 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2967 (GLIBC_2.0): Remove vfork.
2968 (GLIBC_2.1.2): Replace __vfork with
2969 __libpthread_version_placeholder.
2970 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2971 (GLIBC_2.18): Remove vfork, __vfork.
2972 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2973 (GLIBC_2.0): Remove vfork.
2974 (GLIBC_2.2): Remove __vfork.
2975 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2976 (GLIBC_2.2): Remove vfork, __vfork.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2978 (GLIBC_2.0): Remove vfork.
2979 (GLIBC_2.1.2): Replace __vfork with
2980 __libpthread_version_placeholder.
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2982 (GLIBC_2.3): Remove vfork, __vfork.
2983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2984 (GLIBC_2.17): Likewise.
2985 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2986 (GLIBC_2.0): Remove vfork.
2987 (GLIBC_2.1.2): Replace __vfork with
2988 __libpthread_version_placeholder.
2989 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2990 (GLIBC_2.2): Remove vfork, __vfork.
2991 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2992 Likewise.
2993 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2994 (GLIBC_2.0): Remove vfork.
2995 (GLIBC_2.1.2): Replace __vfork with
2996 __libpthread_version_placeholder.
2997 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2998 (GLIBC_2.2): Remove vfork, __vfork.
2999 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
3000 (GLIBC_2.2.5): Likewise.
3001 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
3002 (GLIBC_2.16): Likewise.
3003 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
3004 Remove __errno_location.
3005
3006 2019-07-02 Florian Weimer <fweimer@redhat.com>
3007
3008 [BZ #24757]
3009 * malloc/Depend: Add nptl and htl, due to potential indirect
3010 libpthread dependency of memusagestat.
3011
3012 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
3013
3014 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
3015 warning.
3016
3017 2019-07-01 Florian Weimer <fweimer@redhat.com>
3018
3019 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
3020 variant for arm-linux-gnueabi.
3021
3022 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
3023
3024 [BZ #24259]
3025 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
3026 relocation.
3027 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
3028 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
3029 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
3030 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
3031 and tst-cet-legacy-mod-6c.
3032 (CFLAGS-tst-cet-legacy-5a.c): New.
3033 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
3034 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
3035 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
3036 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
3037 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
3038 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
3039 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
3040 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
3041 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
3042 ($(objpfx)tst-cet-legacy-5a): Likewise.
3043 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
3044 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
3045 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
3046 ($(objpfx)tst-cet-legacy-5b): Likewise.
3047 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
3048 (tst-cet-legacy-5b-ENV): Likewise.
3049 ($(objpfx)tst-cet-legacy-6a): Likewise.
3050 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
3051 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
3052 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
3053 ($(objpfx)tst-cet-legacy-6b): Likewise.
3054 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
3055 (tst-cet-legacy-6b-ENV): Likewise.
3056 * sysdeps/x86/tst-cet-legacy-5.c: New file.
3057 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
3058 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
3059 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
3060 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
3061 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
3062 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
3063 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
3064 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
3065 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
3066 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
3067 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
3068 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
3069 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
3070
3071 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
3072
3073 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
3074 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
3075 (__fegetround_ISA300) New.
3076 (__fegetround_ISA2) New.
3077 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
3078 (_FPU_MFFS): Move implementation...
3079 (_FPU_GETCW): Here.
3080 (_FPU_MFFSL): Move implementation....
3081 (_FPU_GET_RC_ISA300): Here. New.
3082 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
3083 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
3084 (fegetenv_status): New.
3085 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
3086 instead of fegetenv_register().
3087 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
3088
3089 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3090
3091 * benchtests/bench-math-inlines.c: Increase iterations.
3092 * benchtests/bench-memcmp.c: Likewise.
3093 * benchtests/bench-rawmemchr.c: Likewise.
3094 * benchtests/bench-strcmp.c: Likewise.
3095 * benchtests/bench-strcpy_chk.c: Likewise.
3096 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
3097 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
3098 (INNER_LOOP_ITERS_SMALL): Likewise.
3099 * benchtests/bench-strncat.c: Increase iterations.
3100 * benchtests/bench-strncmp.c: Increase iterations.
3101 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
3102 * benchtests/bench-strrchr.c: Increase iterations.
3103 * benchtests/bench-strstr.c: Keep iterations unchanged.
3104 * benchtests/bench-strtod.c: Increase iterations.
3105
3106 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3107
3108 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3109 with INNER_LOOP_ITERS_LARGE.
3110 * benchtests/bench-memchr.c: Likewise.
3111 * benchtests/bench-rawmemchr.c: Likewise.
3112 * benchtests/bench-strcat.c: Likewise.
3113 * benchtests/bench-strchr.c: Likewise.
3114 * benchtests/bench-string.h: Likewise.
3115 * benchtests/bench-strlen.c: Likewise.
3116 * benchtests/bench-strncpy.c: Likewise.
3117 * benchtests/bench-strnlen.c: Likewise.
3118
3119 2019-06-28 Florian Weimer <fweimer@redhat.com>
3120
3121 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3122 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3123 entire allocated memory range.
3124
3125 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
3126
3127 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3128 (prepare_version_base): New helper inline function.
3129 (prepare_version): New macro replacing PREPARE_VERSION.
3130 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3131
3132 2019-06-28 Florian Weimer <fweimer@redhat.com>
3133
3134 [BZ #24741]
3135 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3136 mismatch in a versioned symbol reference.
3137 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3138 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3139 tst-sonamemove-dlopen.
3140 (module-names): Add tst-sonamemove-linkmod1,
3141 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3142 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3143 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3144 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3145 (tst-sonamemove-runmod1.so): Link against
3146 tst-sonamemove-runmod2.so.
3147 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3148 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3149 tst-sonamemove-runmod2.so.
3150 (tst-sonamemove-dlopen): Link with -ldl.
3151 (tst-sonamemove-dlopen.out): Likewise.
3152 * elf/tst-sonamemove-link.c: New file.
3153 * elf/tst-sonamemove-dlopen.c: Likewise.
3154 * elf/tst-sonamemove-linkmod1.c: Likewise.
3155 * elf/tst-sonamemove-linkmod1.map: Likewise.
3156 * elf/tst-sonamemove-runmod1.c: Likewise.
3157 * elf/tst-sonamemove-runmod1.map: Likewise.
3158 * elf/tst-sonamemove-runmod2.c: Likewise.
3159 * elf/tst-sonamemove-runmod2.map: Likewise.
3160
3161 2019-06-28 Florian Weimer <fweimer@redhat.com>
3162
3163 * support/xdlfcn.h (xdlvsym): Declare function.
3164 * support/xdlfcn.c (xdlvsym): Define funciton.
3165
3166 2019-06-28 Florian Weimer <fweimer@redhat.com>
3167
3168 [BZ #24744]
3169 io: Remove the copy_file_range emulation.
3170 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3171 not define and call copy_file_range_compat.
3172 * io/Makefile (tests-static, tests-internal): Do not add
3173 tst-copy_file_range-compat.
3174 * io/copy_file_range-compat.c: Remove file.
3175 * io/copy_file_range.c (copy_file_range): Define as stub.
3176 * io/tst-copy_file_range-compat.c: Remove file.
3177 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3178 (typical_sizes): Update comment. Remove 16K sizes.
3179 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3180 Remove variables.
3181 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3182 (delayed_write_failure_beginning, delayed_write_failure_end)
3183 (cross_device_failure, enospc_failure_1, enospc_failure)
3184 (oappend_failure): Remove functions.
3185 (tests): Adjust test case list.
3186 (do_test): Remove file system search code. Check for ENOSYS from
3187 copy_file_range. Do not free xdevfile.
3188 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3189 copy_file_range. Do not document the EXDEV error, which future
3190 kernels may not report. Update the wording to reflect that
3191 further errors are possible.
3192 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3193 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3194 not undefine.
3195 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3196 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3197 Likewise.
3198 * sysdeps/unix/sysv/linux/kernel-features.h
3199 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3200 Remove definition.
3201 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3202 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3203 not undefine.
3204 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3205 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3206 Likewise.
3207
3208 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3209
3210 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3211 used as a mask for the mode argument of __vfprintf_internal.
3212 * stdio-common/printf-parse.h (printf_arg): New union member:
3213 pa_float128.
3214 * stdio-common/vfprintf-internal.c
3215 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3216 (PARSE_FLOAT_VA_ARG): Likewise.
3217 (SETUP_FLOAT128_INFO): Likewise.
3218 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3219 SETUP_FLOAT128_INFO.
3220 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3221 floating-point value to the new union member, pa_float128.
3222 (printf_positional): Zero-initialize args_value[cnt] with memset.
3223
3224 2019-06-27 Florian Weimer <fweimer@redhat.com>
3225
3226 [BZ #24740]
3227 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3228 buffer size if necessary.
3229 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3230 Likewise.
3231 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3232 New function.
3233 (large_buffer_checks): Likewise.
3234 (do_test): Call large_buffer_checks.
3235
3236 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3239 * sysdeps/x86/dl-lookupcfg.h: Here.
3240 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3241
3242 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3243
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3245 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3246 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3247 file.
3248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3250 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3251 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3252 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3253
3254 * sysdeps/powerpc/powerpc32/fpu/Makefile
3255 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3256 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3257 and fctidz optimization.
3258 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3259 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3261 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3262 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3263 CFLAGS-s_lround-power5+.c): New rule.
3264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3265 New file.
3266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3267 Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3269 Likewise.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3271 Likewise.
3272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3273 Likewise.
3274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3275 Remove file.
3276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3277 Likewise.
3278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3279 Likewise.
3280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3281 Likewise.
3282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3283 Likewise.
3284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3285 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3287 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3288 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3289 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3290 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3291
3292 2019-06-26 Vincent Chen <vincentc@andestech.com>
3293
3294 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3295 specific system calls, fp_udfiex_crtl and udftrap.
3296
3297 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3298
3299 * nptl/tst-eintr1.c (tf1): Add return statement.
3300 (do_test): Remove unused th variable.
3301
3302 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3303
3304 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3305 Return error if get_character fails.
3306
3307 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3308
3309 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3310
3311 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3312
3313 [BZ #24652]
3314 * localedata/locales/szl_PL (day): Use the correct Unicode
3315 sequences instead of non-ASCII characters.
3316
3317 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3318
3319 [BZ #24652]
3320 * localedata/locales/szl_PL (abday): Spelling corrections.
3321 (day): Likewise.
3322 (abmon): Likewise.
3323 (mon): Rename to...
3324 (alt_mon): This, then apply spelling corrections.
3325 (mon): New entry, month names in the genitive case.
3326
3327 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3328
3329 [BZ #23831]
3330 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3331 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3332 (thousands_sep): Likewise.
3333 (grouping): Set to 3;3.
3334
3335 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3336
3337 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3338 PREPARE_VERSION_KNOWN.
3339 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3340 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3341 define.
3342 (VDSO_HASH_LINUX_2_6_39): Likewise.
3343 (VDSO_NAME_LINUX_4_9): Likewise.
3344 (VDSO_HASH_LINUX_4_9): Likewise.
3345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3346 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3347 (_libc_vdso_platform_setup): Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3349 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3350 Likewise.
3351 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3352 Likewise.
3353
3354 2019-06-20 Mike Crowe <mac@mcrowe.com>
3355
3356 * nptl/eintr.c: Use libsupport.
3357 * nptl/tst-eintr1.c: Likewise.
3358 * nptl/tst-eintr2.c: Likewise.
3359 * nptl/tst-eintr3.c: Likewise.
3360 * nptl/tst-eintr4.c: Likewise.
3361 * nptl/tst-eintr5.c: Likewise.
3362 * nptl/tst-mutex-errorcheck.c: Likewise.
3363 * nptl/tst-mutex5.c: Likewise.
3364
3365 * support/test-driver.h: Add verbose_printf macro.
3366
3367 * support/xtime.h: Add xclock_now() helper function.
3368
3369 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3370 Florian Weimer <fweimer@redhat.com>
3371
3372 [BZ #24228]
3373 * libio/genops.c (_IO_unbuffer_all)
3374 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3375 buffers and access _IO_FILE_complete members of legacy libio streams.
3376 * libio/tst-bz24228.c: New file.
3377 * libio/tst-bz24228.map: Likewise.
3378 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3379 [build-shared] (generated): Add tst-bz24228.mtrace and
3380 tst-bz24228.check.
3381 [run-built-tests && build-shared] (tests-special): Add
3382 $(objpfx)tst-bz24228-mem.out.
3383 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3384 ($(objpfx)tst-bz24228-mem.out): New rule.
3385
3386 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3387
3388 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3389 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3390 (__FPU_MFFSL): Likewise.
3391 (_FPU_SETCW): Likewise.
3392
3393 2019-06-19 Stan Shebs <stanshebs@google.com>
3394 Raoni Fassina Firmino <raoni@linux.ibm.com>
3395
3396 [BZ #24640]
3397 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3398 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3399 static-linking version.
3400 * sysdeps/unix/sysv/linux/powerpc/Makefile
3401 (tests-static): Add test-gettimebasefreq-static.
3402 (tests): Likewise.
3403 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3404 New file.
3405
3406 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3407
3408 [BZ #24614]
3409 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3410 between the currency symbol and the minus sign).
3411 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3412
3413 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3414
3415 [BZ #24556]
3416 * string/test-strcasestr.c (check_result): Add NULL check.
3417 * nss/tst-field.c (check_rewrite): Likewise.
3418 * benchtests/bench-strstr.c (do_one_test): Likewise.
3419 * string/test-strstr.c (check_result): Likewise.
3420 * argp/argp-test.c (popt): Increase size of buf to 12.
3421 * benchtests/bench-malloc-simple.c (bench):
3422 Do not initialize tests array out of bounds.
3423
3424 2019-06-19 Florian Weimer <fweimer@redhat.com>
3425
3426 [BZ #24166]
3427 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3428 dls_serpath field.
3429
3430 2019-06-18 Florian Weimer <fweimer@redhat.com>
3431
3432 [BZ #24323]
3433 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3434 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3435 fail when called from dlopen.
3436 * elf/Makefile [have-fpie && build-shared] (tests): Add
3437 tst-dlopen-pie.
3438 (tst-dlopen-pie): Link with -ldl.
3439 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3440 * elf/tst-dlopen-pie.c (do_test): New file.
3441
3442 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3443
3444 [BZ #24614]
3445 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3446 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3447 between the currency symbol and the minus sign).
3448 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3449 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3450
3451 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3452
3453 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3454 sysdep-rtld-routines): Remove rules.
3455 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3456 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3457 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3458 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3459 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3460 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3461 vDSO path for SHARED.
3462 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3463 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3464 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3465 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3466 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3467 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3468
3469 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3470 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3471 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3472 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3473 CFLAGS-s_llround-power5+.c): New rule.
3474 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3475 New file.
3476 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3477 Likewise.
3478 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3479 Likewise.
3480 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3481 Likewise.
3482 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3483 Likewise.
3484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3485 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3487 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3489 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3490 * sysdeps/powerpc/powerpc64/fpu/Makefile
3491 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3493 (libm-sysdep_routines): Remove s_llround-* objects.
3494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3495 file.
3496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3497 Likewise.
3498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3499 Likewise.
3500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3501 Likewise.
3502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3503 Likewise.
3504 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3505 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3506 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3507 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3508 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3509 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3510 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3511 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3512 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3513 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3516 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3517 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3518
3519 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3520 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3521 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3522 * sysdeps/powerpc/powerpc32/fpu/Makefile
3523 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3524 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3525 optimization.
3526 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3527 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3528 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3530 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3531 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3532 CFLAGS-s_lrint-ppc32.c): New rule.
3533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3534 Remove file.
3535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3536 Likewise.
3537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3538 Likewise.
3539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3540 Likewise.
3541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3542 Likewise.
3543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3544 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3545 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3546 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3548 New file.
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3550 Likewise.
3551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3552 Likewise.
3553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3554 Likewise.
3555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3556 Likewise.
3557
3558 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3559 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3560 s_llrint-ppc64.
3561 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3562 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3563 file.
3564 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3565 Likewise.
3566 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3567 Likewise.
3568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3569 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3571 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3573 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3574 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3575 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3577 (libm-sysdep_routines): Remove s_llrint-* objects.
3578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3579 file.
3580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3581 Likewise.
3582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3583 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3584 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3585 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3586 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3587 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3588 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3589 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3591 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3592
3593 2019-06-14 Florian Weimer <fweimer@redhat.com>
3594
3595 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3596 argument to __glibc_has_include to inhibit macro expansion.
3597
3598 2019-06-14 Florian Weimer <fweimer@redhat.com>
3599
3600 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3601 function-like macro, so that __has_include can inhibit expansion
3602 of its argument.
3603
3604 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3605
3606 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3607 New macro.
3608
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3610 Allow memset in libc.so.
3611
3612 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3613
3614 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3615 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3616 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3617 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3618 symbols at load time.
3619 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3620
3621 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3622
3623 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3624 (DT_AARCH64_VARIANT_PCS): Define.
3625
3626 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3627
3628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3629 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3630 objects.
3631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3632 Remove file.
3633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3634 Likewise.
3635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3637 Likewise.
3638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3639 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3640 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3642 Remove s_finite* objects.
3643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3649 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3650 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3651 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3652 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3653
3654 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3655 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3656
3657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3658 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3659 objects.
3660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3661 Remove file.
3662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3663 Likewise.
3664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3666 Likewise.
3667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3668 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3671 Remove s_isinf* and s_isinf* objects.
3672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3678 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3679 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3680 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3681 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3682
3683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3684 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3685
3686 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3687 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3688 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3690 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3691 s_isnanf-* objects.
3692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3693 Remove file
3694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3695 Likewise.
3696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3697 Likewise.
3698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3699 Likewise.
3700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3702 Likewise.
3703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3704 Likewise.
3705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3706 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3707 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3708 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3709 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3710 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3711 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3713 Remove s_isnan-* and s_isnanf-* objects.
3714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3717 Likewise.
3718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3723 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3724 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3725 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3726 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3727 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3728 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3729 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3731
3732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3733 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3734
3735 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3736 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3737 CFLAGS-bench-isfinite.c): New rule.
3738 * benchtests/isnan-input: New file.
3739 * benchtests/isinf-input: New file.
3740 * benchtests/isfinite-input: New file.
3741
3742 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3743 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3744 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3745 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3747 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3748 s_copysign-ppc32.
3749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3750 Remove file.
3751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3752 Likewise.
3753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3754 Likewise.
3755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3756 Likewise.
3757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3760 Remove s_copysign-power6 s_copysign-ppc64.
3761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3762 Remove file.
3763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3764 Likewise.
3765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3767 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3768 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3771
3772 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3773 round_to_integer_float, round_mode): Add RINT handling.
3774 (reset_fenv_mode): New symbol.
3775 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3776 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3777 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3778 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3780 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3781
3782 2019-06-12 Florian Weimer <fweimer@redhat.com>
3783
3784 [BZ #24632]
3785 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3786 * libio/freopen.c (freopen): Use it.
3787
3788 2019-06-12 Florian Weimer <fweimer@redhat.com>
3789
3790 Linux: Deprecate sysctl.
3791 * include/sysctl.h (__sysctl): Remove declaration.
3792 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3793 check.
3794 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3795 (sysctl): Add deprecation attribute.
3796 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3797 directly, to avoid the deprecation warning. Do not include
3798 <string.h>.
3799 (__sysctl): Remove hidden alias.
3800
3801 2019-06-12 Florian Weimer <fweimer@redhat.com>
3802
3803 Linux: Use kernel headers for statx definitions if available.
3804 * include/bits/statx-generic.h: New file.
3805 * include/bits/types/struct_statx.h: Likewise.
3806 * include/bits/types/struct_statx_timestamp.h: Likewise.
3807 * io/Makefile (headers): Add bits/statx-generic.h.
3808 * io/bits/statx-generic.h: New file. Partly copied from
3809 io/bits/statx.h.
3810 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3811 define original_statx.
3812 * io/bits/types/struct_statx.h: Likewise.
3813 * io/bits/types/struct_statx_timestamp.h: Likewise.
3814 (statx_generic): Use original_statx.
3815 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3816 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3817
3818 2019-06-12 Florian Weimer <fweimer@redhat.com>
3819
3820 * misc/sys/cdefs.h (__glibc_has_include): Define.
3821
3822 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3823
3824 * string/memmem.c (__memmem): Rewrite to improve performance.
3825
3826 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3827
3828 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3829 warning.
3830 (two_way_long_needle): Block inlining.
3831 * string/strstr.c (strstr2): Add new function.
3832 (strstr3): Likewise.
3833 (STRSTR): Completely rewrite strstr to improve performance.
3834
3835 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3836
3837 * benchtests/bench-strstr.c (test_hard_needle): New function.
3838
3839 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3840
3841 * malloc/tst-calloc.c: Include <libc-diag.h>.
3842 (null_test): Ignore -Wunused-result around calls to calloc.
3843 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3844 (do_test): Ignore -Wunused-result around call to malloc.
3845
3846 2019-06-07 Florian Weimer <fweimer@redhat.com>
3847
3848 Linux: Add getdents64 system call.
3849 * include/dirnent.h (getdents): Add comment and change buffer
3850 argument type to void *.
3851 (getdents64): Likewise. Add hidden prototype.
3852 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3853 getdents64.
3854 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3855 Add tst-getdents64.
3856 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3857 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3858 argument type to void *.
3859 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3860 Add hidden definition and getdents64 alias.
3861 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3862 Likewise.
3863 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3864 * manual/filesys.texi (Accessing Directories): Add Low-level
3865 Directory Access node reference.
3866 (Opening a Directory): Cross-reference it.
3867 (Low-level Directory Access): New node.
3868 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3869 getdents64.
3870 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3871 Likewise.
3872 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3873 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3874 Likewise.
3875 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3876 Likewise.
3877 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3878 Likewise.
3879 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3880 Likewise.
3881 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3882 Likewise.
3883 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3884 Likewise.
3885 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3886 Likewise.
3887 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3888 (GLIBC_2.30): Likewise.
3889 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3890 (GLIBC_2.30): Likewise.
3891 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3892 (GLIBC_2.30): Likewise.
3893 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3894 (GLIBC_2.30): Likewise.
3895 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3896 Likewise.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3898 (GLIBC_2.30): Likewise.
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3900 (GLIBC_2.30): Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3902 (GLIBC_2.30): Likewise.
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3904 (GLIBC_2.30): Likewise.
3905 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3906 Likewise.
3907 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3908 Likewise.
3909 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3910 Likewise.
3911 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3912 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3913 Likewise.
3914 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3915 Likewise.
3916 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3917 Likewise.
3918 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3919 Likewise.
3920
3921 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3922
3923 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3924 (__FPU_MFFS): New.
3925 (__FPU_MFFSL): New.
3926 (_FPU_GET_RC): New.
3927 (_FPU_GETCW): Use __FPU_MFFS().
3928 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3929
3930 2019-06-06 Florian Weimer <fweimer@redhat.com>
3931
3932 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3933 internal GCC preprocessor identifier __has_include__.
3934
3935 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3936
3937 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3938 with call to equivalent function.
3939
3940 2019-06-04 Florian Weimer <fweimer@redhat.com>
3941
3942 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3943 (do_release_shlib): Adjust for __twalk_r.
3944 (__gconv_release_shlib): Call __twalk_r.
3945
3946 2019-06-04 Andreas Schwab <schwab@suse.de>
3947
3948 [BZ #18830]
3949 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3950 no irreversible characters occurred.
3951 * iconv/gconv_simple.c (internal_ucs4_loop)
3952 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3953 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3954 (ucs4_internal_loop_single, internal_ucs4le_loop)
3955 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3956 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3957 (ucs4le_internal_loop_single): Add const to outend.
3958 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3959 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3960 * iconv/Makefile (tests): Add tst-iconv7.
3961 * iconv/tst-iconv7.c: New file.
3962
3963 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3964
3965 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3966
3967 2019-06-01 Florian Weimer <fweimer@redhat.com>
3968
3969 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3970 * sysdeps/unix/sysv/linux/arm/Makefile
3971 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3972 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3973 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3974 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3975 compatibility symbols.
3976
3977 2019-05-31 Florian Weimer <fweimer@redhat.com>
3978
3979 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3980 system calls for the arm architecture: breakpoint, get_tls,
3981 set_tls, usr26, usr32.
3982
3983 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3984
3985 * sysdeps/powerpc/Makefile
3986 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3987 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3988 Declare '.machine power7' to get support for ldbrx.
3989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3990 directive based on the directory of the file.
3991 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3992 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3993 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3994 '.machine' directive.
3995 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3996 (VADDUQM_V7_V8): Remove.
3997 (__STRCASECMP): Replace macros with actual instructions.
3998 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3999 '.machine' directive.
4000 (VCLZD_V8_v7): Remove.
4001 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
4002
4003 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4004
4005 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
4006 Remove file.
4007 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
4008
4009 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4010
4011 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4012 NEARBYINT handling.
4013 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
4014 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
4015 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
4016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
4017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
4018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4019
4020 2019-05-28 mansayk <6688000@gmail.com>
4021
4022 [BZ #24370]
4023 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
4024
4025 2019-05-28 mansayk <6688000@gmail.com>
4026
4027 [BZ #24369]
4028 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
4029 (abmon): Likewise, but remove the trailing dots.
4030
4031 2019-05-28 Joseph Myers <joseph@codesourcery.com>
4032
4033 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
4034
4035 2019-05-27 Florian Weimer <fweimer@redhat.com>
4036
4037 * nptl/nptl-init.c: Add comment.
4038
4039 2019-05-24 Florian Weimer <fweimer@redhat.com>
4040
4041 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
4042 struct in_addr/struct in6_addr alignment.
4043
4044 2019-05-23 Joseph Myers <joseph@codesourcery.com>
4045
4046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4047 (F_SEAL_FUTURE_WRITE): New macro.
4048
4049 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
4050
4051 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
4052 * elf/tst-ldconfig-bad-aux-cache.c: New file.
4053 * elf/tst-ldconfig_aux-cache.root: New directory.
4054 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
4055 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
4056 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
4057
4058 2019-05-22 Zack Weinberg <zackw@panix.com>
4059
4060 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
4061 host type.
4062 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
4063 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
4064
4065 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
4066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
4068 Delete.
4069
4070 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
4071 Issue an #error if used with a compiler in SPE-float mode.
4072 * sysdeps/powerpc/powerpc32/__longjmp_common.S
4073 * sysdeps/powerpc/powerpc32/setjmp_common.S
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
4077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4080 Remove code to preserve SPE register state.
4081
4082 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4083 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4084 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
4085 Remove __SPE__ ifndefs.
4086
4087 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
4088
4089 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
4090 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
4091 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
4092 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
4093 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
4094 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
4095 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
4096 (INNER_LOOP_ITERS_MEDIUM): New define.
4097 (INNER_LOOP_ITERS_SMALL): New define.
4098 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
4099 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
4100 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
4101 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
4102 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4103
4104 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4105
4106 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4107 New define.
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4109 (SEMTIMEDOP_IPC_ARGS): Likewise.
4110
4111 2019-05-21 Florian Weimer <fweimer@redhat.com>
4112
4113 [BZ #24584]
4114 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4115 before updating __counter field and release it afterwards. Add
4116 overflow check.
4117 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4118 requirement for __counter member.
4119
4120 2019-05-21 Florian Weimer <fweimer@redhat.com>
4121
4122 [BZ #24583]
4123 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4124 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4125 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4126 instead of __gconv_release_step.
4127 * libio/Makefile (tests): Add tst-wfile-gconv.
4128 (tests-container): Add tst-wfile-ascii.
4129 (tst-wfile-gconv-ENV): Enable mtrace.
4130 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4131 (tests-special): Add tst-wfile-gconv-mem.out.
4132 (tst-wfile-gconv.out): Depend on locales.
4133 (tst-wfile-gconv-mem.out): Add mtrace rule.
4134 * libio/tst-wfile-ascii.c: New file.
4135 * libio/tst-wfile-gconv.c: Likewise.
4136
4137 2019-05-20 Florian Weimer <fweimer@redhat.com>
4138
4139 [BZ #24588]
4140 libio: Remove codecvt vtable.
4141 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4142 __libio_codecvt.
4143 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4144 __libio_codecvt_encoding.
4145 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4146 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4147 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4148 * libio/iofwide.c (__libio_codecvt): Remove variable.
4149 (_IO_fwide): Do not copy __libio_codecvt.
4150 (__libio_codecvt_out): Rename from do_out and export.
4151 (do_unshift): Remove function.
4152 (__libio_codecvt_in): Rename from do_in and export.
4153 (__libio_codecvt_encoding): Rename from do_encoding and export.
4154 (do_always_noconv): Remove function.
4155 (__libio_codecvt_length): Rename from do_length and export.
4156 (do_max_length): Remove function.
4157 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4158 to libioP.h.
4159 (struct _IO_codecvt): Remove fields __codecvt_destr,
4160 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4161 __codecvt_do_encoding, __codecvt_do_always_noconv,
4162 __codecvt_do_length, __codecvt_do_max_length.
4163 * libio/libioP.h (enum __codecvt_result): Define; moved from
4164 libio.h.
4165 (__libio_codecvt_out, __libio_codecvt_in)
4166 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4167 functions.
4168 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4169 (_IO_wfile_underflow): Call __libio_codecvt_in.
4170 (_IO_wfile_underflow): Likewise.
4171 (_IO_wfile_underflow_mmap): Likewise.
4172 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4173 __libio_codecvt_length.
4174 (adjust_wide_data): Call __libio_codecvt_encoding,
4175 __libio_codecvt_in.
4176 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4177 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4178 __libio_codecvt_length.
4179
4180 2019-05-20 Florian Weimer <fweimer@redhat.com>
4181
4182 * support/support.h (support_sbindir_prefix): Declare.
4183 (support_install_rootsbindir): Update comment.
4184 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4185 * support/support_paths.c (support_sbindir_prefix): Define.
4186
4187 2019-05-20 Mike Crowe <mac@mcrowe.com>
4188
4189 * support/timespec.c: Add backslash to correct newline in failure
4190 message.
4191
4192 * support/timespec.h: Correct confusing comment.
4193
4194 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4195
4196 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4197 define.
4198 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4199 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4200 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4201 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4202
4203 [BZ #24570]
4204 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4205 usage.
4206
4207 2019-05-20 Joseph Myers <joseph@codesourcery.com>
4208
4209 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4210 (NT_ARM_PACG_KEYS): Likewise.
4211
4212 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4213
4214 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4215 (tcache_put): Remove redundant assert.
4216 (tcache_get): Remove redundant asserts.
4217 (__libc_malloc): Check tcache count is not zero.
4218 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4219
4220 2019-05-17 Florian Weimer <fweimer@redhat.com>
4221
4222 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4223
4224 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4225
4226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4227 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4228 0x050100].
4229 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4230 Likewise.
4231 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4232 (__ASSUME_STATX): Likewise.
4233
4234 2019-05-16 Florian Weimer <fweimer@redhat.com>
4235
4236 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4237 flags argument.
4238 (LINE_PARSER): Do not map IPv4 addresses.
4239 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4240 to parse_line.
4241 (_nss_nis_gethostent_r): Always pass AF_INET to
4242 internal_nis_gethostent_r.
4243 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4244 to parse_line.
4245 (_nss_nis_gethostbyname2_r): Adjust call to
4246 internal_nis_gethostent_r.
4247 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4248 call to internal_nis_gethostent_r.
4249 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4250 from parse_line.
4251 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4252 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4253 Remove flags argument. Do not map IPv4 addresses.
4254 (internal_nisplus_gethostent_r): Adjust call to
4255 _nss_nisplus_parse_hostent.
4256 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4257 to _nss_nisplus_parse_hostent.
4258 (_nss_nisplus_gethostbyname2_r): Adjust call to
4259 internal_gethostbyname2_r.
4260 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4261 Adjust call to internal_gethostbyname2_r.
4262 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4263 _nss_nisplus_parse_hostent.
4264 (_nss_nisplus_gethostbyname4_r): Adjust call to
4265 internal_gethostbyname2_r.
4266
4267 2019-05-16 Florian Weimer <fweimer@redhat.com>
4268
4269 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4270 Remove flags.
4271 (LINE_PARSER): Remove address mapping.
4272 (EXTRA_ARGS_VALUE): Remove flags argument.
4273 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4274 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4275 gethostbyname3_multi.
4276 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4277 _nss_files_gethostbyname3_r.
4278 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4279
4280 2019-05-16 Florian Weimer <fweimer@redhat.com>
4281
4282 * support/support_test_compare_blob.c (report_blob): Report
4283 incorrect NULL blobs.
4284
4285 2019-05-15 Mark Wielaard <mark@klomp.org>
4286
4287 [BZ# 24476]
4288 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4289 __libc_once_get (once) and static_buf == NULL.
4290 (__dlerror): Check we have a valid key, set result to static_buf
4291 otherwise.
4292
4293 2019-05-15 Andreas Schwab <schwab@suse.de>
4294
4295 [BZ #20568]
4296 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4297 __codecvt_do_length.
4298 * libio/Makefile (tests): Add tst-wfile-sync.
4299 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4300 * libio/tst-wfile-sync.c: New file.
4301 * libio/tst-wfile-sync.input: New file.
4302
4303 2019-05-15 Florian Weimer <fweimer@redhat.com>
4304
4305 nss: Turn __nss_database_lookup into a compatibility symbol.
4306 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4307 __nss_database_lookup.
4308 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4309 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4310 __nss_database_lookup.
4311 (__nss_next): Move to …
4312 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4313 unconditionally.
4314 (__nss_database_lookup): New function.
4315 * nss/Versions (GLIBC_2.0): Update comment.
4316 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4317 * grp/initgroups.c (internal_getgrouplist): Call
4318 __nss_database_lookup2 instead of __nss_database_lookup.
4319 * nscd/aicache.c (addhstaiX): Likewise.
4320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4321 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4322 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4323 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4324 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4325 Likewise.
4326 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4327 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4329
4330 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4331
4332 * support/support.h (support_install_rootsbindir): New variable.
4333 * support/support_paths.c: Likewise.
4334 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4335
4336 2019-05-15 Florian Weimer <fweimer@redhat.com>
4337
4338 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4339 * iconv/gconv_int.h (__gconv_transliterate): … here.
4340 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4341 * iconv/skeleton.c: Likewise.
4342
4343 2019-05-14 Florian Weimer <fweimer@redhat.com>
4344
4345 Linux: Add the tgkill function.
4346 * bits/signal_ext.h: New file.
4347 * manual/signal.texi (Signaling Another Process): Document tgkill.
4348 * signal/Makefile (headers): Add bits/signal_ext.h.
4349 * signal/signal.h: Include <bits/signal_ext.h>.
4350 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4351 (tst-tgkill): Link with libpthread.
4352 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4353 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4354 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4355 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4356 tgkill.
4357 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4358 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4368 Likewise.
4369 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4370 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4371 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4373 Likewise.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4375 Likewise.
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4377 Likewise.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4379 Likewise.
4380 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4384 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4385 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4387 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4388
4389 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4390
4391 * manual/search.texi (Tree Search Function): Adjust twalk_r
4392 documentation.
4393
4394 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4395
4396 [BZ #24544]
4397 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4398 pre-defined value.
4399
4400 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4401 * support/support.h (support_bindir_prefix): New variable.
4402 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4403
4404 * config.make.in (bindir): New variable.
4405
4406 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4407 (lll_trylock): Call __lll_trylock.
4408 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4409 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4410 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4411 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4412 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4413 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4414 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4415 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4416 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4417 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4418 lowlevellock-futex.h.
4419
4420 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4421 initialization for LLL_LOCK_INITIALIZER different than 0.
4422 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4423 Assume LLL_LOCK_INITIALIZER being 0.
4424 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4425 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4426 Likewise.
4427 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4428 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4429
4430 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4431 Optimize futex call and add systemtap probe.
4432
4433 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4434 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4435 __libc_disable_asynccancel, __librt_enable_asynccancel,
4436 __libc_disable_asynccancel, __librt_enable_asynccancel,
4437 __librt_disable_asynccancel): Move to ...
4438 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4439 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4440 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4441 * sysdeps/generic/single-thread.h: New file.
4442 * sysdeps/unix/sysdep.h: Include single-thread.h.
4443 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4444 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4445
4446 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4447
4448 [BZ #24535]
4449 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4450 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4451 Unicode 12.1.0.
4452 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4453 * localedata/unicode-gen/PropList.txt: Likewise.
4454 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4455 * localedata/charmaps/UTF-8: Regenerate.
4456 * localedata/locales/i18n_ctype: Likewise.
4457 * localedata/locales/tr_TR: Likewise.
4458 * localedata/locales/translit_circle: Likewise.
4459 * localedata/locales/translit_cjk_compat: Likewise.
4460 * localedata/locales/translit_combining: Likewise.
4461 * localedata/locales/translit_compat: Likewise.
4462 * localedata/locales/translit_font: Likewise.
4463 * localedata/locales/translit_fraction: Likewise.
4464
4465 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4466
4467 [BZ #24531]
4468 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4469 (do_set_tcache_count): Only update if count is small enough.
4470 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4471
4472 2019-05-10 Florian Weimer <fweimer@redhat.com>
4473
4474 * nptl/sem_close.c (struct walk_closure): Define.
4475 (walker): Adjust for __twalk_r.
4476 (sem_close): Call __twalk_r.
4477
4478 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4479
4480 * support/timespec.c (test_timespec_before_impl,
4481 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4482 insted of long int.
4483
4484 2019-05-09 Mike Crowe <mac@mcrowe.com>
4485
4486 * nptl/tst-abstime.c: Use libsupport.
4487
4488 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4489 small bug where only tv.tv_usec was checked which could cause an
4490 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4491 than a second.
4492
4493 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4494 libsupport.
4495
4496 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4497 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4498
4499 * nptl/tst-cond11.c: Use libsupport.
4500
4501 * support/timespec.h: New file. Provide timespec helper functions
4502 along with macros in the style of those in check.h.
4503 * support/timespec.c: New file. Implement check functions declared
4504 in support/timespec.h.
4505 * support/timespec-add.c: New file from gnulib containing
4506 timespec_add implementation that handles overflow.
4507 * support/timespec-sub.c: New file from gnulib containing
4508 timespec_sub implementation that handles overflow.
4509 * support/README: Mention timespec.h.
4510
4511 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4512
4513 [BZ #24537]
4514 * nptl/Makefile: Move tst-eintr1 to xtests.
4515
4516 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4517
4518 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4519 TRUNC handling.
4520 (round_mode): Add definition for TRUNC.
4521 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4522 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4523 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4524 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4525 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4526 Likewise.
4527 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4528 Likewise.
4529 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4530 Likewise.
4531 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4532 Likewise.
4533 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4534 file.
4535 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4536 Likewise.
4537 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4538 Likewise.
4539 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4540 Likewise.
4541 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4542 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4543 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4544 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4545 s_truncf-power5+, and s_truncf-ppc64.
4546 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4547 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4548 file.
4549 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4551 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4552 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4553 file.
4554 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4555 Likewise.
4556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4557 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4559 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4560 s_truncf-power5+, and s_truncf-ppc64.
4561 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4562 file.
4563 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4564 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4565 Likewise.
4566 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4567 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4568 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4569 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4570 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4571
4572 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4573 ROUND handling.
4574 (round_mode): Add definition for ROUND.
4575 (round_to_integer_float): Likewise.
4576 * sysdeps/powerpc/fpu/s_round.c: New file.
4577 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4578 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4579 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4580 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4581 Likewise.
4582 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4583 Likewise.
4584 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4585 Likewise.
4586 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4587 Likewise.
4588 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4589 file.
4590 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4591 Likewise.
4592 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4593 Likewise.
4594 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4595 Likewise.
4596 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4597 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4598 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4599 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4600 s_roundf-power5+, and s_roundf-ppc64.
4601 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4602 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4603 file.
4604 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4606 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4607 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4608 file.
4609 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4610 Likewise.
4611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4612 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4614 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4615 s_roundf-power5+, and s_roundf-ppc64.
4616 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4617 file.
4618 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4619 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4620 Likewise.
4621 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4622 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4623 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4624 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4625 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4626
4627 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4628 Add FLOOR option.
4629 (round_mode): Add definition for FLOOR.
4630 * sysdeps/powerpc/fpu/s_floor.c: New file.
4631 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4632 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4633 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4635 Remove file.
4636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4637 Likewise
4638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4639 Likewise.
4640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4641 Likewise.
4642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4643 New file.
4644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4645 Likewise.
4646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4647 Likewise.
4648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4649 Likewise.
4650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4652 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4653 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4654 s_floorf-power5+, and s_floorf-ppc64.
4655 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4656 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4657 file.
4658 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4660 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4661 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4662 file.
4663 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4664 Likewise.
4665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4666 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4668 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4669 s_floorf-power5+, and s_floorf-ppc64.
4670 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4671 file.
4672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4673 file.
4674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4675 Likewise.
4676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4677 Likewise.
4678 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4679 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4680 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4681 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4682
4683 2019-05-08 Mike Crowe <mac@mcrowe.com>
4684
4685 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4686 clock_gettime wrapper for use in tests that fails the test rather
4687 than returning failure.
4688
4689 * support/xtime.h: New file to declare xclock_gettime.
4690
4691 * support/Makefile: Add xclock_gettime.c.
4692
4693 * support/README: Mention xtime.h.
4694
4695 2019-05-08 Florian Weimer <fweimer@redhat.com>
4696
4697 malloc/tst-mallocfork2: Use process-shared barriers.
4698 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4699 (signal_count, sigusr1_sender_pid): Remove.
4700 (iterations): Define constant.
4701 (shared): New variable.
4702 (sigusr1_received): Update comment.
4703 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4704 (signal_sender): Optional use barriers to avoid sending signals
4705 during irrelevant times.
4706 (do_it): Initialize variable shared. Use xfork for error
4707 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4708 the iteration count, independent of signal delivery. Check for
4709 deadlocks in fork. Introduce barriers for reducing signal
4710 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4711 replaced by the barriers. Count signals during fork/free/malloc
4712 and report them.
4713 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4714
4715 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4716
4717 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4718 version to 5.1.
4719 (clock_adjtime64) New syscall.
4720 (clock_getres_time64) Likewise.
4721 (clock_gettime64) Likewise.
4722 (clock_nanosleep_time64) Likewise.
4723 (clock_settime64) Likewise.
4724 (futex_time64) Likewise.
4725 (io_pgetevents_time64) Likewise.
4726 (io_uring_enter) Likewise.
4727 (io_uring_register) Likewise.
4728 (io_uring_setup) Likewise.
4729 (mq_timedreceive_time64) Likewise.
4730 (mq_timedsend_time64) Likewise.
4731 (pidfd_send_signal) Likewise.
4732 (ppoll_time64) Likewise.
4733 (pselect6_time64) Likewise.
4734 (recvmmsg_time64) Likewise.
4735 (rt_sigtimedwait_time64) Likewise.
4736 (sched_rr_get_interval_time64) Likewise.
4737 (semtimedop_time64) Likewise.
4738 (timer_gettime64) Likewise.
4739 (timer_settime64) Likewise.
4740 (timerfd_gettime64) Likewise.
4741 (timerfd_settime64) Likewise.
4742 (utimensat_time64) Likewise.
4743
4744 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4745 version to 9 branch.
4746
4747 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4748
4749 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4750 __memmove_thunderx2 to the list of implementations
4751 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4752 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4753 (__memmove_thunderx2): Rewritten using SIMD ld/st
4754 (__memcpy_thunderx2): Fixed handling overlapping cases.
4755 Used ldp/stp instead of ldr/str if possible. Made loops
4756 tails branchless.
4757
4758 2019-05-03 Florian Weimer <fweimer@redhat.com>
4759
4760 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4761
4762 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4763
4764 [BZ #24506]
4765 * elf/tst-pldd.c (in_str_list): New function.
4766 (do_test): Add default names for ld and libc as one option.
4767
4768 2019-05-02 Florian Weimer <fweimer@redhat.com>
4769
4770 misc: Add twalk_r function.
4771 * include/search.h (__twalk_r): Declare.
4772 * manual/examples/twalk.c: New file.
4773 * manual/search.texi (Tree Search Function): Document twalk_r.
4774 * misc/Versions (2.30): Export twalk_r.
4775 (GLIBC_PRIVATE): Export __twalk_r.
4776 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4777 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4778 (twalk_r): Add weak alias.
4779 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4780 (walk_trace): New variable.
4781 (struct twalk_with_twalk_r_closure): Define.
4782 (twalk_with_twalk_r_action): New function.
4783 (twalk_with_twalk_r): Likewise.
4784 (walk_action): Call walk_trace_add.
4785 (walk_tree_with): Rename from walk_tree. Add walk argument.
4786 (walk_tree): New function.
4787 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4788 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4789 Likewise.
4790 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4791 Likewise.
4792 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4793 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4794 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4795 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4796 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4797 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4798 Likewise.
4799 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4800 Likewise.
4801 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4802 Likewise.
4803 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4804 (GLIBC_2.30): Likewise.
4805 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4806 (GLIBC_2.30): Likewise.
4807 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4808 (GLIBC_2.30): Likewise.
4809 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4810 (GLIBC_2.30): Likewise.
4811 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4812 Likewise.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4814 (GLIBC_2.30): Likewise.
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4816 (GLIBC_2.30): Likewise.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4818 (GLIBC_2.30): Likewise.
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4820 (GLIBC_2.30): Likewise.
4821 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4822 Likewise.
4823 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4824 Likewise.
4825 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4826 Likewise.
4827 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4828 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4829 Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4833 Likewise.
4834 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4835 Likewise.
4836
4837 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4838
4839 Make mktime etc. compatible with __time64_t
4840 Keep these functions compatible with Gnulib while adding
4841 __time64_t support. The basic idea is to move private API
4842 declarations from include/time.h to time/mktime-internal.h, since
4843 the former file cannot easily be shared with Gnulib whereas the
4844 latter can.
4845 Also, do some other minor cleanup while in the neighborhood.
4846 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4847 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4848 since Gnulib needs it.
4849 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4850 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4851 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4852 (in_time_t_range): New static function.
4853 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4854 so that glibc users are not tempted to use __time64_t.
4855 * time/mktime-internal.h: Rewrite so that it does both glibc
4856 and Gnulib work. Include time.h if not _LIBC.
4857 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4858 (__time64_t): New type or macro, moved here from
4859 posix/bits/types.h.
4860 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4861 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4862 from include/time.h.
4863 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4864 New macros, taken from GNulib.
4865 (__mktime_internal): New prototype, moved here from include/time.h.
4866 * time/mktime.c (mktime_min, mktime_max, convert_time)
4867 (ranged_convert, __mktime_internal, __mktime64):
4868 * time/timegm.c (__timegm64):
4869 Use __time64_t, not time_t.
4870 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4871 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4872 Rename from mktime.
4873 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4874 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4875 for libc_hidden_def.
4876 Include errno.h.
4877 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4878 Rename from timegm.
4879 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4880
4881 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4882
4883 [BZ #19444]
4884 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4885 from `-Wmaybe-uninitialized'.
4886 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4887
4888 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4889
4890 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4891 function.
4892 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4893 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4894 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4895 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4896 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4898 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4900 Remove file.
4901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4902 Likewise.
4903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4904 Likewise.
4905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4906 Likewise.
4907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4908 New file.
4909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4910 Likewise.
4911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4912 Likewise.
4913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4914 Likewise.
4915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4916 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4917 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4918 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4919 Likewise.
4920 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4921 Likewise.
4922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4923 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4924 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4925 file.
4926 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4927 Likewise.
4928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4929 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4930 * here.
4931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4932 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4933 s_ceilf-power5+, and s_ceilf-ppc64.
4934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4935 file.
4936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4939 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4941 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4943
4944 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4945 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4946 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4947
4948 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4949
4950 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4951 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4952 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4953 (sem_getvalue): Likewise.
4954
4955 2019-04-26 Florian Weimer <fweimer@redhat.com>
4956
4957 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4958 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4959
4960 2019-04-26 Florian Weimer <fweimer@redhat.com>
4961
4962 Makeconfig: Move -Wl,-rpath-link options before library references.
4963 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4964 (link-libc): Remove $(link-libc-rpath-link).
4965
4966 2019-04-25 Florian Weimer <fweimer@redhat.com>
4967
4968 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4969 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4970 (+link-static-before-libc): Remove $(CC).
4971 (+link-static, +link-static-tests): Add $(CC).
4972 (+link-before-libc): Remove $(CC).
4973 (+link, +link-pie, +link-pie-printers): Add $(CC).
4974
4975 2019-04-26 Florian Weimer <fweimer@redhat.com>
4976
4977 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4978 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4979 (+link-static-before-libc): Remove $(CC).
4980 (+link-static, +link-static-tests): Add $(CC).
4981 (+link-before-libc): Remove $(CC).
4982 (+link, +link-pie, +link-pie-printers): Add $(CC).
4983
4984 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4985
4986 [BZ#24484]
4987 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4988
4989 2019-04-25 Florian Weimer <fweimer@redhat.com>
4990
4991 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4992 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4993 (bench-link-targets): New variable.
4994 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4995
4996 2019-04-25 Florian Weimer <fweimer@redhat.com>
4997
4998 Also enable BIND_NOW for programs if --enable-bind-now.
4999 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
5000 (+link-pie): Use $(link-extra-flags).
5001 (+link-static): Likewise.
5002 [! $(build-pie-default)] (+link): Likewise.
5003 * manual/install.texi (Configuring and compiling): Update
5004 --enable-bind-now description.
5005 * INSTALL: Regenerated.
5006
5007 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
5008
5009 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
5010 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
5011
5012 2019-04-24 Mike Frysinger <vapier@gentoo.org>
5013
5014 [BZ #18465]
5015 * malloc/Makefile (others): Add memusagestat.
5016 ($(objpfx)memusagestat): Delete rule.
5017 (LDLIBS-memusagestat): New variable.
5018
5019 2019-04-24 Florian Weimer <fweimer@redhat.com>
5020
5021 * locale/Makefile (tests-special): Guard setting by
5022 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
5023 to run while cross-compiling.
5024
5025 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5026
5027 [BZ #18035]
5028 * elf/Makefile (tests-container): Add tst-pldd.
5029 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
5030 (E(find_maps)): Avoid use alloca, use default read file operations
5031 instead of explicit LFS names, and fix infinite loop.
5032 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
5033 (get_process_info): Use _Static_assert instead of assert, use default
5034 directory operations instead of explicit LFS names, and free some
5035 leadek pointers.
5036 * elf/tst-pldd.c: New file.
5037
5038 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
5039
5040 * malloc/arena.c (do_set_mallopt_check): Removed.
5041
5042 2019-04-23 Florian Weimer <fweimer@redhat.com>
5043
5044 locale: Add LOCPATH diagnostics to the locale program.
5045 * locale/programs/locale.c (setlocale_failed): New variable.
5046 (try_setlocale): New function.
5047 (quote_string): Likewise.
5048 (setlocale_diagnostics): Likewise.
5049 (main): Call try_setlocale instead of setlocale. Call
5050 setlocale_diagnostics.
5051 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
5052 (tst-locale-locpath.out): New target.
5053 * locale/tst-locale-locpath.sh: New file.
5054
5055 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5056
5057 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
5058 to 2.30 notes.
5059
5060 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5061
5062 [BZ #23741]
5063 * malloc/hooks.c (malloc_check, realloc_check): Use
5064 __builtin_add_overflow on overflow check and adapt to
5065 checked_request2size change.
5066 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
5067 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
5068 allocation size to PTRDIFF_MAX.
5069 (REQUEST_OUT_OF_RANGE): Remove macro.
5070 (checked_request2size): Change to inline function and limit maximum
5071 requested size to PTRDIFF_MAX.
5072 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
5073 maximum allocation size to PTRDIFF_MAX.
5074 (_mid_memalign): Use _int_memalign call for overflow check.
5075 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
5076 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
5077 limit maximum requested size to PTRDIFF_MAX.
5078 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
5079 valloc, pvalloc): Add __attribute_alloc_size__.
5080 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
5081 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
5082 larger than PTRDIFF_MAX.
5083 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
5084 around tests of malloc with negative sizes.
5085 * malloc/tst-posix_memalign.c (do_test): Likewise.
5086 * malloc/tst-pvalloc.c (do_test): Likewise.
5087 * malloc/tst-valloc.c (do_test): Likewise.
5088 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
5089 with resulting size allocation larger than PTRDIFF_MAX with
5090 reallocarray_nowarn.
5091 (reallocarray_nowarn): New function.
5092 * NEWS: Mention the malloc function semantic change.
5093
5094 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5095
5096 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
5097 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5098
5099 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
5100 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
5101 * sysdeps/powerpc/fpu/s_fma.c: New file.
5102 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5103
5104 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5105 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5106
5107 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5108 the magic flag store.
5109 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5112 Likewise.
5113 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5114 Remove rt_sigreturn call.
5115
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5117 Remove rt_sigreturn call.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5119 Likewise.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5122
5123 * support/Makefile (libsupport-routines): Add support_subprocess,
5124 xposix_spawn, xposix_spawn_file_actions_addclose, and
5125 xposix_spawn_file_actions_adddup2.
5126 (tst-support_capture_subprocess-ARGS): New rule.
5127 * support/capture_subprocess.h (support_capture_subprogram): New
5128 prototype.
5129 * support/support_capture_subprocess.c (support_capture_subprocess):
5130 Refactor to use support_subprocess and support_capture_poll.
5131 (support_capture_subprogram): New function.
5132 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5133 str_to_write_mode, test_common, parse_int, handle_restart,
5134 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5135 (do_test): Add support_capture_subprogram tests.
5136 * support/subprocess.h: New file.
5137 * support/support_subprocess.c: Likewise.
5138 * support/xposix_spawn.c: Likewise.
5139 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5140 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5141 * support/xspawn.h: Likewise.
5142
5143 2019-04-17 Mike Gerow <gerow@google.com>
5144
5145 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5146 groups limit.
5147
5148 2019-04-11 Florian Weimer <fweimer@redhat.com>
5149
5150 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5151 domain with empty string.
5152 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5153
5154 2019-04-11 Florian Weimer <fweimer@redhat.com>
5155
5156 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5157 comment.
5158 (alloc_buffer_next): Change return type to non-const. Update
5159 comment.
5160
5161 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5162
5163 * manual/time.texi (Formatting Calendar Time): Add missing percent
5164 sign to conversion specifier.
5165
5166 2019-04-09 Carlos O'Donell <carlos@redhat.com>
5167 Kwok Cheung Yeung <kcy@codesourcery.com>
5168
5169 [BZ #16573]
5170 * malloc/mtrace.c: Define prototypes for all hooks.
5171 (set_default_hooks): New function.
5172 (set_trace_hooks): Likewise.
5173 (save_default_hooks): Likewise.
5174 (tr_freehook): Use new s*_hooks functions.
5175 (tr_mallochook): Likewise.
5176 (tr_reallochook): Likewise.
5177 (tr_memalignhook): Likewise.
5178 (mtrace): Likewise.
5179 (muntrace): Likewise.
5180
5181 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5182
5183 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5184 (generic_stpcpy): New function.
5185 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5186 (generic_stpncpy): New function.
5187 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5188 (generic_strcat): New function.
5189 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5190 (generic_strcpy): New function.
5191 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5192 (STUPID_STRNCAT): Remove function.
5193 (generic_strncat): New function.
5194 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5195 (STUPID_STRNCPY): Remove function.
5196 (generic_strncpy): New function.
5197 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5198 (generic_strnlen): New function.
5199 (memchr_strnlen): New function.
5200 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5201 (memchr_strlen): Likewise.
5202
5203 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5204
5205 * benchtests/bench-strstr.c (input): Add realistic input text.
5206 (stupid_strstr): Remove function.
5207 (basic_strstr): Add function.
5208 (twoway_strstr): Add function.
5209 (do_one_test): Add result checking.
5210 (do_test): Use new input text. Remove accidental early matches.
5211 (test_main): Improve range of tests, reduce unaligned cases.
5212
5213 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5214
5215 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5216 (basic_memmem): Add function.
5217 (twoway_memmem): Add function.
5218
5219 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5220
5221 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5222 * benchtests/bench-malloc-thread.c: Likewise.
5223 * benchtests/bench-skeleton.c: Likewise.
5224 * benchtests/bench-strtod.c: Likewise.
5225 * benchtests/bench-timing.h: Likewise.
5226
5227 2019-04-08 Florian Weimer <fweimer@redhat.com>
5228
5229 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5230 definitions.
5231 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5232 RES_INSECURE2 security checks.
5233 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5234 RES_INSECURE2 handling.
5235
5236 2019-04-08 Florian Weimer <fweimer@redhat.com>
5237
5238 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5239 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5240 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5241 GETHOSTBYNAME.
5242 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5243 (tests-internal): Update justification for tst-resolv-res_init,
5244 tst-resolv-res_init-thread.
5245 (tst-res_use_inet6): Remove target.
5246 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5247 * resolv/res_debug.c (p_option): Remove "inet6" support.
5248 * resolv/res_init.c (res_setoptions): Likewise.
5249 * resolv/res_use_inet6.h: Remove file.
5250 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5251 definition.
5252 (res_use_inet6): Always return false.
5253 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5254 * resolv/resolv_context.h: Adjust file comment.
5255 (struct resolv_context): Update comment on __next field.
5256 (__resolv_context_put): Update comment.
5257 * resolv/tst-res_use_inet6.c: Remove file.
5258 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5259 "inet6" support.
5260 (test_cases): Adjust test case.
5261 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5262 (thread_byname2_af_inet6): Use old byname_inet6 code.
5263 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5264 (gai): Remove do_inet6 argument.
5265 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5266 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5267 (thread_gai_unspec_inet6): Remove functions.
5268 (do_test): Adjust thread_funcs.
5269 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5270 RES_USE_INET6 flag.
5271 (gaih_inet): Do not disable RES_USE_INET6 flag.
5272
5273 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5274
5275 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5276 and remove redundant code.
5277
5278 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5279
5280 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5281 New rule.
5282 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5284 Likewise.
5285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5286 Likewise.
5287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5288 Likewise.
5289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5290 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5291 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5292 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5293 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5294 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5296 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5297 wcsrchr-power7.
5298 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5301 Remove wcsrchr optimizations.
5302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5303
5304 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5305 the loop unroll.
5306
5307 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5308 New rule.
5309 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5311 Likewise.
5312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5313 Likewise.
5314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5315 Likewise.
5316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5317 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5318 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5319 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5320 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5321 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5323 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5324 wcschr-power7.
5325 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5328 Remove wcschr optimizations.
5329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5330
5331 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5332 the loop unroll.
5333
5334 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5335 New rule.
5336 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5338 Likewise.
5339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5340 Likewise.
5341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5342 Likewise.
5343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5344 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5345 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5346 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5347 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5348 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5350 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5351 wcscpy-power7.
5352 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5355 Remove wcscpy optimizations.
5356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5357
5358 * include/loop_unroll.h: New file.
5359 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5360 besides generic implementation.
5361
5362 2019-04-03 DJ Delorie <dj@redhat.com>
5363
5364 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5365 snprintf truncating output.
5366
5367 2019-04-02 DJ Delorie <dj@redhat.com>
5368
5369 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5370 warning.
5371
5372 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5373
5374 [BZ #22964]
5375 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5376 era.
5377 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5378 (mkreftable): Add rules for the new Japanese era and the new dates.
5379
5380 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5381 Rafał Lużyński <digitalfreak@lingonborough.com>
5382
5383 * time/tst-strftime2.c (date_t): Explicitly define the type.
5384 (dates): Use natural month and year numbers to express a date.
5385 (is_before): New function to compare dates.
5386 (mkreftable): Minor improvements to simplify maintenance.
5387 (do_test): Reflect the changes in dates array.
5388
5389 [BZ #24293]
5390 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5391 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5392 * time/tst-strftime2.c (locales): Likewise.
5393 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5394 2010-04-01, and 2011-04-01.
5395 (mkreftable): Add rules for the new locales and the new dates.
5396
5397 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5398
5399 * localedata/locales/ja_JP: Add comments to era entries.
5400
5401 2019-04-01 DJ Delorie <dj@redhat.com>
5402
5403 [BZ #24394]
5404 * time/strptime_l.c (%Ey): Fix fencepost error.
5405 * time/tst-strftime3.c: New.
5406 * time/Makefile (tests): Add tst-strftime3.
5407
5408 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5409
5410 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5411 conditional branch to DIVBYZERO. Fix unwind info.
5412 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5413 excb after conditional branch to $powerof2. Add missing unop
5414 instructions and .align directives and reorder instructions to
5415 match __divqu.
5416
5417 2019-04-01 Richard Henderson <rth@twiddle.net>
5418
5419 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5420 Do not redefine.
5421 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5422 Do not redefine.
5423
5424 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5425
5426 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5427 $libc_cv_riscv_float_abi in `test' invocation.
5428 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5429
5430 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5431
5432 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5433 asm with builtin.
5434 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5435 Likewise.
5436 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5437 (_GET_SI_FPSCR): Likewise.
5438 (_SET_SI_FPSCR): Likewise.
5439
5440 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5441
5442 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5443 clang 2.8.
5444 (signbit): Use builtin for clang 3.3.
5445 (isinf): Use builtin for clang 3.7.
5446
5447 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5448
5449 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5450
5451 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5452
5453 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5454 quote in printf.
5455
5456 2019-03-25 Mike Crowe <mac@mcrowe.com>
5457
5458 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5459 pthread_rwlock_timedrdlock with calls to
5460 pthread_rwlock_timedwrlock to ensure that the latter is tested
5461 too. Use new function name in diagnostic messages too.
5462
5463 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5464 (do_test) Use libsupport test macros rather than hand-coded
5465 conditionals and error messages. Ensure that sem_init returns zero
5466 rather than not -1. Use <support/test-driver.c> rather than
5467 test-skeleton.c.
5468
5469 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5470 test macros rather than hand-coded conditionals and error messages.
5471 Use <support/test-driver.c> rather than test-skeleton.c.
5472
5473 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5474
5475 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5476
5477 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5478 (NT_MIPS_MSA): Likewise.
5479
5480 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5481
5482 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5483 * benchtests/README: Update description.
5484 * benchtests/bench-timing.h: Default to hp-timing.
5485 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5486 HP_TIMING_PRINT): Remove.
5487 (HP_TIMING_NOW): Add generic implementation.
5488 (hp_timing_t): Change to uint64_t.
5489
5490 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5491 HP_TIMING_INLINE.
5492 * nptl/descr.h: Likewise.
5493 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5494 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5495 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5496 Abstract hp-timing usage with RTLD_* macros.
5497 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5498 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5499 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5500 HP_TIMING_NONAVAIL): Likewise.
5501 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5502 Likewise.
5503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5504 HP_SMALL_TIMING_AVAIL): Likewise.
5505 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5506 HP_SMALL_TIMING_AVAIL): Likewise.
5507 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5508 HP_SMALL_TIMING_AVAIL): Likewise.
5509 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5510 HP_SMALL_TIMING_AVAIL): Likewise.
5511 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5512 Likewise.
5513 * sysdeps/generic/hp-timing-common.h: Update comment with
5514 HP_TIMING_AVAIL removal.
5515
5516 * include/random-bits.h: New file.
5517 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5518 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5519 random_bits.
5520 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5521 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5522 Likewise.
5523
5524 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5525 * rt/Makefile (clock-routines): Remove get_clockfreq.
5526 * rt/get_clockfreq.c: Remove file.
5527 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5528 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5530 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5531 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5532
5533 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5534 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5535 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5536 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5537 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5538
5539 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5540 pthread_clock_settime.
5541 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5542 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5543 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5544 * elf/rtld.c (_dl_start_final): Likewise.
5545 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5546 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5547 Remove.
5548 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5549 (_dl_cpuclock_offset): Remove.
5550 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5551 cpuclock_offset_ununsed.
5552 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5553 cpuclock_offset set.
5554 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5555 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5556 * nptl/pthread_clock_gettime.c: Remove file.
5557 * nptl/pthread_clock_settime.c: Likewise.
5558 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5559 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5560 and CLOCK_PROCESS_CPUTIME_ID support.
5561 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5562 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5563 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5564 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5565 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5566 Likewise.
5567 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5568
5569 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5570
5571 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5572 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5573 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5574 New defines.
5575 * sysdeps/s390/memmem-arch13.S: New file.
5576 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5577 if it is only used as fallback.
5578 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5579 * sysdeps/s390/multiarch/ifunc-impl-list.c
5580 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5581
5582 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5583
5584 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5585 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5586 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5587 New defines.
5588 * sysdeps/s390/multiarch/ifunc-impl-list.c
5589 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5590 * sysdeps/s390/strstr-arch13.S: New file.
5591 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5592 if it is only used as fallback.
5593 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5594
5595 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5596
5597 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5598 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5599 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5600 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5601 ifunc selector.
5602 * sysdeps/s390/multiarch/ifunc-impl-list.c
5603 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5604 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5605 S390_IS_ARCH13_MIE3): New defines.
5606
5607 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5608
5609 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5610 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5611 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5612 * sysdeps/s390/configure: Regenerated.
5613
5614 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5615
5616 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5617 Add vxe2, vxp, dflt, sort flags.
5618 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5619 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5620 capabilities.
5621 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5622 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5623 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5624 HWCAP_S390_DFLT): Define.
5625
5626 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5627
5628 [BZ #24372]
5629 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5630 of compiler warning.
5631 * locale/programs/ld-collate.c (collate_output): Likewise.
5632
5633 2019-03-21 DJ Delorie <dj@redhat.com>
5634
5635 [BZ #24372]
5636 * iconv/iconvconfig.c (write_output): Replace floating point math
5637 with integer math to avoid imprecise results.
5638 * locale/programs/ld-collate.c (collate_output): Likewise.
5639
5640 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5641
5642 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5643 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5644
5645 2019-03-20 mansayk <6688000@gmail.com>
5646
5647 [BZ #24296]
5648 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5649 (abday): Likewise, but remove the trailing dots.
5650
5651 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5652
5653 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5654 macro.
5655 (HWCAP_PACA): Likewise.
5656 (HWCAP_PACG): Likewise.
5657 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5658 Increase to 32.
5659 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5660
5661 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5662
5663 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5664 should be handled.
5665
5666 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5667
5668 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5669 version to 5.0.
5670 (old_getpagesize): New syscall.
5671
5672 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5673
5674 [BZ #24293]
5675 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5676 * localedata/locales/cmn_TW (era): Likewise.
5677 * localedata/locales/hak_TW (era): Likewise.
5678 * localedata/locales/lzh_TW (era): Likewise.
5679 * localedata/locales/nan_TW (era): Likewise.
5680
5681 2019-03-14 Adam Maris <amaris@redhat.com>
5682
5683 * malloc/malloc.c (_int_malloc): Check for large bin list
5684 corruption when inserting unsorted chunk.
5685
5686 2019-03-14 Florian Weimer <fweimer@redhat.com>
5687
5688 Remove obsolete, never-implemented XSI STREAMS declarations.
5689 * manual/terminal.texi (Allocation): Remove portability note and
5690 adjust example.
5691 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5692 _SC_STREAMS.
5693 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5694 * sysdeps/unix/inet/Subdirs (streams): Remove.
5695 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5696 (conformtest-headers-UNIX98): Likewise.
5697 (conformtest-headers-XOPEN2K): Likewise.
5698 (conformtest-headers-POSIX2008): Likewise.
5699 * posix/compat-streams.c: New file.
5700 * posix/Makefile (routines): Add it.
5701 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5702 getpmsg, isastream, putmsg, putpmsg.
5703 (GLIBC_2.30): New section.
5704 * bits/stropts.h: Remove file.
5705 * bits/xtitypes.h: Likewise.
5706 * conform/data/stropts.h-data: Likewise.
5707 * include/stropts.h: Likewise.
5708 * include/sys/stropts.h: Likewise.
5709 * include/xtitypes.h: Likewise.
5710 * streams/Makefile: Likewise.
5711 * streams/fattach.c: Likewise.
5712 * streams/fdetach.c: Likewise.
5713 * streams/getmsg.c: Likewise.
5714 * streams/getpmsg.c: Likewise.
5715 * streams/isastream.c: Likewise.
5716 * streams/putmsg.c: Likewise.
5717 * streams/putpmsg.c: Likewise.
5718 * streams/stropts.h: Likewise.
5719 * streams/sys/stropts.h: Likewise.
5720 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5721 * sysdeps/s390/bits/xtitypes.h: Likewise.
5722 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5723 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5724 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5725 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5726 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5727 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5728 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5730 * sysdeps/x86/bits/xtitypes.h: Likewise.
5731
5732 2019-03-14 Florian Weimer <fweimer@redhat.com>
5733
5734 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5735 libnss_files.
5736 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5737 but not with libnss_files.
5738 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5739
5740 2019-03-14 Zack Weinberg <zackw@panix.com>
5741
5742 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5743 Specify encoding="utf-8" when opening headers to check.
5744
5745 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5746
5747 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5748 version to 5.0.
5749 (Context.checkout_tar): Handle variable major version for Linux
5750 kernel.
5751
5752 2019-03-13 Florian Weimer <fweimer@redhat.com>
5753
5754 [BZ #24047]
5755 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5756
5757 2019-03-13 Zack Weinberg <zackw@panix.com>
5758
5759 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5760 Move to stdlib.
5761 * include/inttypes.h: Adjust to match.
5762 * include/stdint.h: New wrapper.
5763
5764 2019-03-13 Zack Weinberg <zackw@panix.com>
5765
5766 * scripts/check-obsolete-constructs.py: New test script.
5767 * scripts/check-installed-headers.sh: Remove tests for
5768 obsolete typedefs, superseded by check-obsolete-constructs.py.
5769 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5770 as a special test. Update commentary.
5771 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5772 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5773 Update commentary.
5774 * posix/sys/types.h (__u_intN_t): Remove.
5775 (u_int8_t): Typedef using __uint8_t.
5776 (u_int16_t): Typedef using __uint16_t.
5777 (u_int32_t): Typedef using __uint32_t.
5778 (u_int64_t): Typedef using __uint64_t.
5779
5780 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5781
5782 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5783 call _dl_procinfo.
5784 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5785 Ignore types other than AT_HWCAP.
5786 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5787 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5788 Likewise.
5789 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5790 in the case of falling back to generic output mechanism.
5791 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5792 Likewise.
5793
5794 2019-03-12 Florian Weimer <fweimer@redhat.com>
5795
5796 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5797
5798 2019-03-12 Florian Weimer <fweimer@redhat.com>
5799
5800 [BZ #24047]
5801 resolv: Enable full ICMP errors for UDP DNS sockets
5802 * resolv/res_enable_icmp.c: New file.
5803 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5804 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5805 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5806 socket.
5807
5808 2019-03-11 Mao Han <han_mao@c-sky.com>
5809
5810 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5811 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5812
5813 2019-03-11 Mao Han <han_mao@c-sky.com>
5814
5815 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5816 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5817 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5818
5819 2019-03-11 Mao Han <han_mao@c-sky.com>
5820
5821 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5822 directly.
5823 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5824 definition.
5825
5826 2019-03-11 Mao Han <han_mao@c-sky.com>
5827
5828 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5829 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5830 in mcontext_t
5831
5832 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5833
5834 [BZ #24307]
5835 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5836 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5837 Unicode 12.0.0.
5838 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5839 * localedata/unicode-gen/PropList.txt: Likewise.
5840 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5841 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5842 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5843 * localedata/charmaps/UTF-8: Regenerate.
5844 * localedata/locales/i18n_ctype: Likewise.
5845 * localedata/locales/tr_TR: Likewise.
5846 * localedata/locales/translit_circle: Likewise.
5847 * localedata/locales/translit_cjk_compat: Likewise.
5848 * localedata/locales/translit_combining: Likewise.
5849 * localedata/locales/translit_compat: Likewise.
5850 * localedata/locales/translit_font: Likewise.
5851 * localedata/locales/translit_fraction: Likewise.
5852
5853 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5854
5855 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5856 than after operators.
5857 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5858 (setitimer_locked): Likewise.
5859 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5860 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5861 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5862 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5863 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5864 (PPC_CPU_SUPPORTED): Likewise.
5865 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5866 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5867 (stat_overflow): Likewise.
5868 (statfs_overflow): Likewise.
5869 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5870 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5871 (eq_ttyname_r): Likewise.
5872 (run_chroot_tests): Likewise.
5873
5874 2019-03-07 Florian Weimer <fweimer@redhat.com>
5875
5876 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5877 header check.
5878
5879 2019-03-07 Martin Liska <mliska@suse.cz>
5880
5881 * math/Makefile: Change location where math-vector-fortran.h is
5882 installed.
5883 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5884 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5885 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5886 * scripts/check-installed-headers.sh: Skip Fortran header files.
5887 * scripts/check-wrapper-headers.py: Likewise.
5888
5889 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5890
5891 * nptl/nptl-init.c (__have_futex_clock_realtime,
5892 __have_futex_clock_realtime): Remove definition.
5893 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5894 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5895 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5896 __ASSUME_FUTEX_CLOCK_REALTIME support.
5897 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5898 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5899 * sysdeps/unix/sysv/linux/kernel-features.h
5900 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5901 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5902 Adjust comment.
5903
5904 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5905
5906 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5907 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5908 __GI___wcscpy and wcscpy.
5909
5910 2019-03-04 Florian Weimer <fweimer@redhat.com>
5911
5912 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5913 declaration.
5914 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5915 defined.
5916
5917 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5918
5919 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5920 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5921
5922 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5923
5924 [BZ #24162]
5925 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5926 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5927
5928 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5929
5930 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5931 tests.
5932 (do_test): Likewise.
5933 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5934 (do_test_call_varg): Likewise.
5935 (do_test_call_rarg): Likewise.
5936 * sysdeps/ieee754/ldbl-opt/Makefile
5937 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5938 tst-nldbl-error.
5939 ($(objpfx)tst-nldbl-warn.c): New rule.
5940 ($(objpfx)tst-nldbl-error.c): Likewise.
5941 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5942 New variables.
5943
5944 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5945
5946 [BZ #23984]
5947 * include/bits/error-ldbl.h: New file.
5948 * include/error.h: Include stdarg.h. Declare internal functions
5949 __error_internal and __error_at_line_internal.
5950 * misc/Makefile (headers): Add bits/error-ldbl.h.
5951 * misc/bits/error-ldbl.h: New file.
5952 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5953 avoid the inclusion of bits/error.h.
5954 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5955 and __nldbl_error_at_line.
5956 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5957 (__nldbl_error, __ndlbl_error_at_line): New functions.
5958 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5959 Redirect error and error_at_line.
5960 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5962 Likewise.
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5964 Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5966 Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5968 Likewise.
5969 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5970 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5971 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5972
5973 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5974
5975 [BZ #23984]
5976 * include/bits/err-ldbl.h: New file.
5977 * include/err.h: Add prototypes for the internal functions:
5978 __vwarnx_internal and __vwarn_internal.
5979 * misc/Makefile (headers): Add bits/err-ldbl.h.
5980 * misc/bits/err-ldbl.h: New file.
5981 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5982 defined, i.e.: when -mlong-double-64 is in use.
5983 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5984 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5985 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5987 (VA_CALL): New macro.
5988 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5989 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5990 functions.
5991 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5992 declare prototypes for the new functions.
5993 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5995 Likewise.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5997 Likewise.
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5999 Likewise.
6000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6001 Likewise.
6002 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6003 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6004 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6005
6006 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6007
6008 * sysdeps/ieee754/ldbl-opt/Makefile
6009 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
6010 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
6011 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
6012
6013 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6014
6015 [BZ #23983]
6016 * argp/Makefile (headers): Add bits/argp-ldbl.h.
6017 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
6018 * argp/bits/argp-ldbl.h: New file.
6019 * include/argp.h: Include stdarg.h. Add prototypes for internal
6020 functions: __argp_error_internal and __argp_failure_internal.
6021 * include/bits/argp-ldbl.h: New file.
6022 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
6023 __nldbl_argp_error and __nldbl_argp_failure.
6024 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
6025 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
6026 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
6027 Redirect argp_error and argp_failure calls.
6028 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6030 Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6032 Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6034 Likewise.
6035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6036 Likewise.
6037 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6039 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6040
6041 2019-03-01 Florian Weimer <fweimer@redhat.com>
6042
6043 [BZ #20419]
6044 * elf/tst-big-note-lib.S: Create a syntactically valid note.
6045 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
6046 code, to avoid creating an ABI tag note.
6047 (modules-names-nobuild): Add tst-big-note-lib.
6048
6049 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
6050
6051 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
6052 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6053
6054 2019-03-01 Florian Weimer <fweimer@redhat.com>
6055
6056 [BZ #20271]
6057 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6058 (__netlink_assert_response): Add additional missing newlines.
6059
6060 2019-02-28 Joseph Myers <joseph@codesourcery.com>
6061
6062 * sysdeps/powerpc/powerpc32/dl-machine.c
6063 (__elf_machine_fixup_plt): Use space before '('.
6064 (__process_machine_rela): Likewise.
6065 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
6066 Likewise.
6067 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
6068 Likewise.
6069 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
6070 Likewise.
6071 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
6072 (pattern): Likewise.
6073 (delta): Likewise.
6074 (check_result): Likewise.
6075 (check_excepts): Likewise.
6076 (check_op): Likewise.
6077 (fail_xr): Likewise.
6078 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
6079 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
6080 (SCNHSZ): Likewise.
6081 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
6082 Likewise.
6083 (ARGS): Likewise.
6084 (__makecontext): Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
6086 Likewise.
6087
6088 2019-02-28 Florian Weimer <fweimer@redhat.com>
6089
6090 [BZ #23937]
6091 elf: Add test with a local IFUNC resolver.
6092 * elf/ifuncmain9.c: New file.
6093 * elf/ifuncmain9pic.c: Likewise.
6094 * elf/ifuncmain9picstatic.c: Likewise.
6095 * elf/ifuncmain9pie.c: Likewise.
6096 * elf/ifuncmain9static.c: Likewise.
6097 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
6098 ifuncmain9static, ifuncmain9picstatic.
6099 * elf/Makefile [multi-arch && build-shared] (tests-internal):
6100 Add ifuncmain9, ifuncmain9pic.
6101 * elf/Makefile [multi-arch && build-shared && have-fpie]
6102 (ifunc-pie-tests): Add ifuncmain9pie.
6103 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6104 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6105 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6106
6107 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6108
6109 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6110 * configure: Regenerated.
6111 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6112
6113 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6114
6115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6116 symbol as __wcspcy instead of wcscpy.
6117
6118 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6119
6120 * include/stdio.h (__renameat2): New hidden prototype.
6121 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6122 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6123 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6124 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6125
6126 2019-02-27 Joseph Myers <joseph@codesourcery.com>
6127
6128 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6129 if statement.
6130
6131 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6132 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6133 * benchtests/bench-strlen.c (do_test): Likewise.
6134 (test_main): Likewise.
6135 * catgets/gencat.c (read_old): Likewise.
6136 * elf/cache.c (load_aux_cache): Likewise.
6137 * iconvdata/bug-iconv8.c (do_test): Likewise.
6138 * math/test-tgmath-ret.c (do_test): Likewise.
6139 * nis/nis_call.c (rec_dirsearch): Likewise.
6140 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6141 * nptl/tst-audit-threads.c (do_test): Likewise.
6142 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6143 * nss/nss_test1.c (init): Likewise.
6144 * nss/test-netdb.c (test_hosts): Likewise.
6145 * posix/execvpe.c (maybe_script_execute): Likewise.
6146 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6147 * stdio-common/tst-printf.c (do_test): Likewise.
6148 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6149 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6150 * stdlib/qsort.c (STACK_SIZE): Likewise.
6151 * stdlib/test-canon.c (do_test): Likewise.
6152 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6153 * string/memcmp.c (OPSIZ): Likewise.
6154 * string/test-strcpy.c (do_test): Likewise.
6155 (do_random_tests): Likewise.
6156 * string/test-strlen.c (do_test): Likewise.
6157 (test_main): Likewise.
6158 * string/test-strrchr.c (do_test): Likewise.
6159 (do_random_tests): Likewise.
6160 * string/tester.c (test_memrchr): Likewise.
6161 (test_memchr): Likewise.
6162 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6163 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6164 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6165 (read_encoded_value_with_base): Likewise.
6166 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6167 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6168 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6169 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6170 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6171 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6172 Likewise.
6173 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6174 Likewise.
6175 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6176 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6177 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6178 Likewise.
6179 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6180 Likewise.
6181 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6182 Likewise.
6183 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6184 Likewise.
6185 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6186 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6187 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6188 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6189 * time/test_time.c (main): Likewise.
6190
6191 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6192
6193 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6194
6195 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6196 wmemcpy.
6197
6198 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6199 wmemcpy.
6200
6201 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6202
6203 * include/wchar.h (__wcscpy): New prototype.
6204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6205 (__wcscpy): Route internal symbol to generic implementation.
6206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6207 Add internal __wcscpy alias.
6208 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6209 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6210 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6211 * wcsmbs/wcscpy.c (wcscpy): Add
6212 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6213 use generic implementation.
6214 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6215
6216 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6217 wmemset.
6218
6219 * sysdeps/m68k/wcpcpy.c: Remove file.
6220 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6221
6222 2019-02-26 Joseph Myers <joseph@codesourcery.com>
6223
6224 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6225 than after operators.
6226 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6227 * sysdeps/mach/hurd/getcwd.c
6228 (__hurd_canonicalize_directory_name_internal): Likewise.
6229 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6230 (pthread_mutex_consistent): Likewise.
6231 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6232 Likewise.
6233 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6234 (__pthread_mutex_transfer_np): Likewise.
6235 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6236 (__pthread_mutex_unlock): Likewise.
6237 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6238 (mtx_owned_p): Likewise.
6239 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6240 (pthread_mutexattr_getrobust): Likewise.
6241 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6242 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6243 Likewise.
6244 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6245 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6246 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6247 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6248 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6251 Likewise.
6252 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6253 Likewise.
6254 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6255 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6256 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6257 (____longjmp_chk): Likewise.
6258 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6259 Likewise.
6260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6261 (INTERNAL_SYSCALL): Likewise.
6262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6263 (INTERNAL_SYSCALL): Likewise.
6264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6265 (__get_clockfreq_via_cpuinfo): Likewise.
6266
6267 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6268 comments.
6269 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6270 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6271 (WORD_COPY_BWD): Likewise.
6272 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6274 Likewise.
6275 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6276 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6277 comment.
6278 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6279
6280 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6281
6282 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6283 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6284 rather than after operators.
6285 * elf/cache.c (print_cache): Likewise.
6286 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6287 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6288 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6289 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6290 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6291 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6292 (reauth_proc): Likewise.
6293 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6294 (__file_name_split_at): Likewise.
6295 (__directory_name_split_at): Likewise.
6296 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6297 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6298 * iconv/gconv_dl.c (do_print): Likewise.
6299 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6300 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6301 * locale/setlocale.c (new_composite_name): Likewise.
6302 * malloc/memusagestat.c (main): Likewise.
6303 * misc/fstab.c (fstab_convert): Likewise.
6304 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6305 Likewise.
6306 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6307 (getgrent_next_file): Likewise.
6308 (internal_getgrnam_r): Likewise.
6309 (internal_getgrgid_r): Likewise.
6310 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6311 Likewise.
6312 (internal_getgrent_r): Likewise.
6313 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6314 (getpwent_next_nss): Likewise.
6315 (getpwent_next_file): Likewise.
6316 (internal_getpwnam_r): Likewise.
6317 (internal_getpwuid_r): Likewise.
6318 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6319 Likewise.
6320 (getspent_next_nss): Likewise.
6321 (internal_getspnam_r): Likewise.
6322 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6323 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6324 * string/strchr.c (STRCHR): Likewise.
6325 * string/strchrnul.c (STRCHRNUL): Likewise.
6326 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6327 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6328 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6329 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6330 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6331 Likewise.
6332 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6333 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6334 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6335 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6336 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6337 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6338 (open_file): Likewise.
6339 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6340 (pthread_mutexattr_setprotocol): Likewise.
6341 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6342 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6343 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6344 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6345 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6346 Likewise.
6347 (elf_machine_rela): Likewise.
6348 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6349 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6350 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6351 * sysdeps/posix/rename.c (rename): Likewise.
6352 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6353 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6354 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6355 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6356 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6357 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6358 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6359 Likewise.
6360 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6361 Likewise.
6362 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6363 * time/tzfile.c (__tzfile_compute): Likewise.
6364
6365 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6366
6367 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6368 rather than after operators.
6369 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6370 * crypt/md5.c (md5_finish_ctx): Likewise.
6371 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6372 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6373 * elf/cache.c (load_aux_cache): Likewise.
6374 * elf/dl-load.c (open_verify): Likewise.
6375 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6376 * elf/readelflib.c (process_elf_file): Likewise.
6377 * elf/rtld.c (dl_main): Likewise.
6378 * elf/sprof.c (generate_call_graph): Likewise.
6379 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6380 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6381 * hurd/dtable.c (reauth_dtable): Likewise.
6382 * hurd/getdport.c (__getdport): Likewise.
6383 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6384 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6385 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6386 Likewise.
6387 * hurd/hurdioctl.c (fioctl): Likewise.
6388 * hurd/hurdselect.c (_hurd_select): Likewise.
6389 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6390 (STOPSIGS): Likewise.
6391 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6392 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6393 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6394 * hurd/msgportdemux.c (msgport_server): Likewise.
6395 * hurd/setauth.c (_hurd_setauth): Likewise.
6396 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6397 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6398 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6399 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6400 * login/tst-utmp.c (do_check): Likewise.
6401 (simulate_login): Likewise.
6402 * mach/lowlevellock.h (lll_lock): Likewise.
6403 (lll_trylock): Likewise.
6404 * math/test-fenv.c (ALL_EXC): Likewise.
6405 * math/test-fenvinline.c (ALL_EXC): Likewise.
6406 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6407 * nis/nis_call.c (__do_niscall3): Likewise.
6408 * nis/nis_callback.c (cb_prog_1): Likewise.
6409 * nis/nis_defaults.c (searchaccess): Likewise.
6410 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6411 * nis/nis_ismember.c (internal_ismember): Likewise.
6412 * nis/nis_local_names.c (nis_local_principal): Likewise.
6413 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6414 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6415 Likewise.
6416 * nis/ypclnt.c (yp_match): Likewise.
6417 (yp_first): Likewise.
6418 (yp_next): Likewise.
6419 (yp_master): Likewise.
6420 (yp_order): Likewise.
6421 * nscd/hstcache.c (cache_addhst): Likewise.
6422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6423 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6424 (internal_getpwuid_r): Likewise.
6425 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6426 * posix/glob.h (__GLOB_FLAGS): Likewise.
6427 * posix/regcomp.c (peek_token): Likewise.
6428 (peek_token_bracket): Likewise.
6429 (parse_expression): Likewise.
6430 * posix/regexec.c (sift_states_iter_mb): Likewise.
6431 (check_node_accept_bytes): Likewise.
6432 * posix/tst-spawn3.c (do_test): Likewise.
6433 * posix/wordexp-test.c (testit): Likewise.
6434 * posix/wordexp.c (parse_tilde): Likewise.
6435 (exec_comm): Likewise.
6436 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6437 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6438 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6439 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6440 * stdio-common/tst-fileno.c (do_test): Likewise.
6441 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6442 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6443 * stdlib/strtod_l.c (round_and_return): Likewise.
6444 (____STRTOF_INTERNAL): Likewise.
6445 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6446 * string/strcspn.c (STRCSPN): Likewise.
6447 * string/test-memmem.c (simple_memmem): Likewise.
6448 * termios/tcsetattr.c (tcsetattr): Likewise.
6449 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6450 * time/asctime.c (asctime_internal): Likewise.
6451 * time/strptime_l.c (__strptime_internal): Likewise.
6452 * time/sys/time.h (timercmp): Likewise.
6453 * time/tzfile.c (__tzfile_compute): Likewise.
6454
6455 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6456
6457 [BZ #21915]
6458 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6459
6460 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6461
6462 * argp/argp-help.c (__argp_error_internal): New function,
6463 renamed from __argp_error, but that takes a 'mode_flags'
6464 parameter to control the format of long double parameters.
6465 (__argp_error): Converted into a call __argp_error_internal.
6466 (__argp_failure_internal): New function, renamed from
6467 __argp_failure, but that takes a 'mode_flags' parameter.
6468 (__argp_failure): Converted into a call __argp_failure_internal.
6469 * misc/err.c (__vwarnx_internal): New function, renamed from
6470 vwarnx, but that takes a 'mode_flags' parameter.
6471 (vwarnx): Converted into a call to __vwarnx_internal.
6472 (__vwarn_internal): New function, renamed from vwarn, but that
6473 takes a 'mode_flags' parameter.
6474 (vwarn): Converted into a call to __vwarn_internal.
6475 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6476 call to __vfxprintf with 'mode_flags'.
6477 (__error_internal): New function, renamed from error, but that
6478 takes a 'mode_flags' parameter.
6479 (error): Converted into a call to __error_internal.
6480 (__error_at_line_internal): New function, renamed from
6481 error_at_line, but that takes a 'mode_flags' parameter.
6482 (error_at_line): Converted into a call to
6483 __error_at_line_internal.
6484 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6485 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6486 Likewise.
6487
6488 2019-02-20 Martin Liska <mliska@suse.cz>
6489
6490 * math/Makefile: Install math-vector-fortran.h.
6491 * bits/math-vector-fortran.h: New file.
6492 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6493
6494 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6495
6496 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6497 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6498
6499 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6500
6501 * nptl/pthread_mutex_trylock.c: Fix comment.
6502
6503 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6504
6505 * nptl/pthread_tryjoin.c: Fix comment.
6506
6507 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6508
6509 [BZ #24231]
6510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6511 after R_SPARC_H34 case.
6512
6513 2019-02-18 Florian Weimer <fweimer@redhat.com>
6514
6515 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6516 (getanswer): Do not call Dprintf.
6517 (res_gethostbyname2_context): Likewise.
6518 (res_gethostbyaddr_context): Likewise.
6519
6520 2019-02-18 Florian Weimer <fweimer@redhat.com>
6521
6522 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6523 declaration.
6524 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6525 Remove definitions.
6526 * libio/stdfiles.c: Update comment.
6527 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6528 set _IO_stdin, _IO_stdout, _IO_stderr.
6529 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6530 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6531 inline function.
6532 (_IO_deallocate_file): New inline function.
6533 * libio/iolibio.h (_IO_vprintf): Remove definition.
6534 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6535 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6536 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6537 _IO_legacy_file.
6538 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6539 __builtin_expect. Use _IO_legacy_file.
6540
6541 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6542
6543 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6544 Initialize ctid with a known value and remove update of ctid
6545 after clone.
6546 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6547 as assumed current value of ctid_ptr.
6548
6549 2019-02-16 Florian Weimer <fweimer@redhat.com>
6550
6551 Check that non-sysdeps headers have wrapper headers.
6552 * scripts/check-wrapper-headers.py: New file.
6553 * Makefile (tests-special): Add check-wrapper-headers.out.
6554 (check-wrapper-headers.out): New target.
6555 * Rules (tests-special): Add check-wrapper-headers.out.
6556 (check-wrapper-headers.out): New target.
6557
6558 2019-02-16 Florian Weimer <fweimer@redhat.com>
6559
6560 Add missing header wrappers under include/.
6561 * include/ar.h: New file.
6562 * include/bits/mqueue2.h: Likewise.
6563 * include/bits/stdio.h: Likewise.
6564 * include/bits/stdio2.h: Likewise.
6565 * include/fstab.h: Likewise.
6566 * include/fts.h: Likewise.
6567 * include/lastlog.h: Likewise.
6568 * include/netinet/icmp6.h: Likewise.
6569 * include/netinet/igmp.h: Likewise.
6570 * include/netinet/ip6.h: Likewise.
6571 * include/re_comp.h: Likewise.
6572 * include/regexp.h: Likewise.
6573 * include/rpcsvc/bootparam.h: Likewise.
6574 * include/rpcsvc/yp_prot.h: Likewise.
6575 * include/sys/random.h: Likewise.
6576 * include/sys/stropts.h: Likewise.
6577 * include/sys/ttychars.h: Likewise.
6578 * include/sys/vfs.h: Likewise.
6579 * include/wait.h: Likewise.
6580
6581 2019-02-16 Florian Weimer <fweimer@redhat.com>
6582
6583 * nptl_db/proc_service.h: Move to ...
6584 * sysdeps/nptl/proc_service.h: ... here.
6585 * nptl_db/thread_db.h: Move to ...
6586 * sysdeps/nptl/thread_db.h: ... here.
6587 * nptl/descr.h: Include <thread_db.h>.
6588
6589 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6590
6591 * io/Makefile (tests): Add tst-lockf.
6592 * io/lockf.c (lockf): Use __fcntl and only define for
6593 !__OFF_T_MATCHES_OFF64_T.
6594 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6595 __OFF_T_MATCHES_OFF64_T case.
6596 * io/tst-lockf.c: New file.
6597 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6598 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6599 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6600 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6601 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6603 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6604 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6605 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6606
6607 2019-02-15 Florian Weimer <fweimer@redhat.com>
6608
6609 [BZ #24211]
6610 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6611 pd->result after the thread descriptor has been freed.
6612
6613 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6614
6615 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6616 from function return type.
6617
6618 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6619
6620 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6621
6622 * scripts/test_printers_common.py: Set TERM to a known harmless
6623 value.
6624
6625 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6626
6627 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6628 (xdr_u_int): Likewise.
6629 (xdr_enum): Likewise.
6630 (xdr_bytes): Reword fall-through comment.
6631 (xdr_string): Likewise.
6632
6633 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6634
6635 [BZ #2421]
6636 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6637 (tests): Add tst-join8 tst-join9.
6638 * nptl/lll_timedwait_tid.c: Remove file.
6639 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6640 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6641 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6642 * nptl/pthread_join_common.c (timedwait_tid): New function.
6643 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6644 is set.
6645 * nptl/tst-join5.c (thread_join): New function.
6646 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6647 check.
6648 * nptl/tst-join8.c: New file.
6649 * nptl/tst-join9.c: Likewise.
6650 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6651 lll_futex_timed_wait_cancel): Add generic macros.
6652 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6653 Remove definitions.
6654 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6655 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6657 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6658 Remove function.
6659 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6660 Likewise.
6661 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6662 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6663 (lll_futex_timed_wait_cancel): New macro.
6664
6665 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6666
6667 * benchtests/Makefile: Add malloc-simple benchmark.
6668 * benchtests/bench-malloc-simple.c: New benchmark.
6669
6670 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6671
6672 * benchtests/bench-memmove.c (do_one_test): Remove unused
6673 ORIG_SRC.
6674 (do_test): Adjust.
6675 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6676 ORIG_SRC.
6677 (do_test): Adjust.
6678
6679 2019-01-13 Jim Wilson <jimw@sifive.com>
6680
6681 [BZ #24040]
6682 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6683 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6684 (func): New.
6685 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6686 call func directly.
6687 * nptl/Makefile (tests): Add tst-unwind-thread.
6688 (CFLAGS-tst-unwind-thread.c): Define.
6689 * nptl/tst-unwind-thread.c: New file.
6690 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6691 as undefined.
6692
6693 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6694
6695 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6696 comment wording.
6697 * nis/nis_call.c (__do_niscall3): Likewise.
6698
6699 * catgets/gencat.c (normalize_line): Use braces around empty
6700 'else' body.
6701 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6702 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6703 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6704 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6705 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6706 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6707 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6708 definition.
6709
6710 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6711 execlp returns.
6712
6713 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6714
6715 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6716 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6717 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6718 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6719 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6720 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6721 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6722 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6723 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6724 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6725 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6726 * benchtests/bench-bcopy.c: Delete file.
6727 * benchtests/bench-bzero.c: Likewise.
6728 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6729 (simple_memccpy): Remove.
6730 (generic_memccpy): Add function.
6731 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6732 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6733 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6734 (generic_mempcpy): Add new function.
6735 * benchtests/bench-memset.c (simple_bzero): Remove.
6736 (builtin_bzero): Remove.
6737 (builtin_memset): Remove.
6738 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6739 (generic_rawmemchr): Add new function.
6740
6741 2019-02-12 Florian Weimer <fweimer@redhat.com>
6742
6743 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6744
6745 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6746
6747 [BZ #24122]
6748 * elf/Makefile (tests): Add tst-audit13.
6749 (modules-names): Add tst-audit13mod1.
6750 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6751 rule.
6752 * elf/tst-audit13.c: New file.
6753 * elf/tst-audit13mod1.c: Likewise.
6754
6755 2019-02-12 Florian Weimer <fweimer@redhat.com>
6756
6757 [BZ #24122]
6758 * elf/rtld.c (unload_audit_module): New function.
6759 (report_audit_module_load_error): Likewise.
6760 (load_audit_module): Likewise. Extracted from dl_main. Call
6761 _dl_close if the laversion symbol cannot be found. Use early
6762 returns for error handling. Add malloc error check. Check for a
6763 zero return value from la_version. Remove spurious comment about
6764 static TLS initialization. Remove useless casts.
6765 (notify_audit_modules_of_loaded_object): New function. Extracted
6766 from dl_main.
6767 (load_audit_module): Likewise.
6768 (dl_main): Call load_audit_modules.
6769
6770 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6771
6772 * elf/dl-exception.c (_dl_exception_create_format): Add
6773 fall-through comments.
6774 * elf/ldconfig.c (parse_conf_include): Likewise.
6775 * elf/rtld.c (print_statistics): Likewise.
6776 * locale/programs/charmap.c (parse_charmap): Likewise.
6777 * misc/mntent_r.c (__getmntent_r): Likewise.
6778 * posix/wordexp.c (parse_arith): Likewise.
6779 (parse_backtick): Likewise.
6780 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6781 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6783
6784 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6785
6786 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6787 Use float instead of double.
6788
6789 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6790
6791 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6792
6793 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6794
6795 * sysdeps/powerpc/bits/mathinline.h: Remove.
6796
6797 2019-02-08 Florian Weimer <fweimer@redhat.com>
6798
6799 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6800 * math/bits/math-finite.h: Move to ...
6801 * bits/math-finite.h: ... here.
6802
6803 2019-02-08 Florian Weimer <fweimer@redhat.com>
6804
6805 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6806 * bits/unistd_ext.h: here.
6807
6808 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6809
6810 [BZ #21915]
6811 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6812 * nss/tst-nss-files-hosts-long.c: New file.
6813 * nss/tst-nss-files-hosts-long.root: New directory.
6814 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6815 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6816
6817 2019-02-08 Florian Weimer <fweimer@redhat.com>
6818
6819 * include/bits/unistd_ext.h: Remove file.
6820 * posix/bits/unistd_ext.h: Move to ...
6821 * sysdeps/generic/bits/unistd_ext.h: ... here.
6822
6823 2019-02-08 Florian Weimer <fweimer@redhat.com>
6824
6825 * include/bits/unistd_ext.h: New file.
6826
6827 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6828
6829 * time/tst-strftime2.c: Use array_length macros instead of magic
6830 numbers.
6831
6832 2019-02-08 Florian Weimer <fweimer@redhat.com>
6833
6834 [BZ #24161]
6835 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6836 argument.
6837 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6838 locking if the new do_locking argument is true.
6839 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6840 __run_fork_handlers.
6841
6842 2019-02-08 Florian Weimer <fweimer@redhat.com>
6843
6844 [BZ #6399]
6845 Linux: Add gettid system call wrapper.
6846 * posix/Makefile (headers): Add bits/unistd_ext.h.
6847 * posix/bits/unistd_ext.h: New file.
6848 * posix/unistd.h: Include it.
6849 * manual/process.texi (Process Identification): Document gettid.
6850 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6851 tst-gettid, tst-gettid-kill.
6852 (tst-gettid): Link with $(shared-thread-library).
6853 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6854 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6855 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6856 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6857 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6858 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6859 Add gettid.
6860 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6861 Likewise.
6862 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6863 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6864 Likewise.
6865 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6866 Likewise.
6867 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6868 Likewise.
6869 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6870 Likewise.
6871 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6872 Likewise.
6873 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6874 Likewise.
6875 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6876 Likewise.
6877 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6878 (GLIBC_2.30): Likewise.
6879 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6880 (GLIBC_2.30): Likewise.
6881 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6882 (GLIBC_2.30): Likewise.
6883 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6884 (GLIBC_2.30): Likewise.
6885 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6886 Likewise.
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6888 (GLIBC_2.30): Likewise.
6889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6890 (GLIBC_2.30): Likewise.
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6892 (GLIBC_2.30): Likewise.
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6894 (GLIBC_2.30): Likewise.
6895 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6896 Likewise.
6897 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6898 Likewise.
6899 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6900 Likewise.
6901 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6903 Likewise.
6904 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6905 Likewise.
6906 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6907 Likewise.
6908 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6909 Likewise.
6910 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6911
6912 2019-02-08 Florian Weimer <fweimer@redhat.com>
6913
6914 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6915 compatibility symbols.
6916
6917 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6918
6919 [BZ #24180]
6920 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6921 Add compiler barriers and comments.
6922
6923 2019-02-07 Florian Weimer <fweimer@redhat.com>
6924
6925 * include/array_length.h (array_length): Do not use a statement
6926 expression and _Static_assert, so that array_length can be used at
6927 file scope and as a constant expression.
6928
6929 2019-02-07 Florian Weimer <fweimer@redhat.com>
6930
6931 * support/xdlfcn.h (xdlmopen): Declare.
6932 * support/xdlmopen.c: New file.
6933 * support/Makefile (libsupport-routines): Add xdlmopen.
6934
6935 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6936
6937 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6938 before return type, without separate inline.
6939 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6940 * elf/dl-tunables.h (tunable_is_name): Likewise.
6941 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6942 (do_set_top_pad): Likewise.
6943 (do_set_mmap_threshold): Likewise.
6944 (do_set_mmaps_max): Likewise.
6945 (do_set_mallopt_check): Likewise.
6946 (do_set_perturb_byte): Likewise.
6947 (do_set_arena_test): Likewise.
6948 (do_set_arena_max): Likewise.
6949 (do_set_tcache_max): Likewise.
6950 (do_set_tcache_count): Likewise.
6951 (do_set_tcache_unsorted_limit): Likewise.
6952 * nis/nis_subr.c (count_dots): Likewise.
6953 * nptl/allocatestack.c (advise_stack_range): Likewise.
6954 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6955 (do_sin): Likewise.
6956 (reduce_sincos): Likewise.
6957 (do_sincos): Likewise.
6958 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6959 (do_set_elision_enable): Likewise.
6960 (TUNABLE_CALLBACK_FNDECL): Likewise.
6961
6962 2019-02-06 Florian Weimer <fweimer@redhat.com>
6963
6964 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6965 (xdlsym): Use dlerror to detect a NULL symbol.
6966
6967 2019-02-06 Florian Weimer <fweimer@redhat.com>
6968
6969 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6970 <stap-probe.h>.
6971 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6972
6973 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6974
6975 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6976
6977 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6978
6979 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6980 __wmemcmp and weak alias to wmemcmp.
6981
6982 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6983
6984 [BZ #23403]
6985 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6986 TLS_TCB_AT_TP tls variant.
6987 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6988 Add alignment checks.
6989 * support/Makefile (libsupport-routines): Add xposix_memalign and
6990 xpthread_setstack.
6991 * support/support.h: Add xposix_memalign.
6992 * support/xthread.h: Add xpthread_attr_setstack.
6993 * support/xposix_memalign.c: New File.
6994 * support/xpthread_attr_setstack.c: Likewise.
6995
6996 2019-02-05 Florian Weimer <fweimer@redhat.com>
6997
6998 [BZ #24164]
6999 arm: Use "nr" constraint for Systemtap probes, to avoid the
7000 compiler using memory operands for constants, due to the "o"
7001 alternative in the default "nor" constraint.
7002 * include/stap-probe.h [USE_STAP_PROBE]: Include
7003 <stap-probe-machine.h>
7004 * sysdeps/generic/stap-probe-machine.h: New file.
7005 * sysdeps/arm/stap-probe-machine.h: Likewise.
7006
7007 2019-02-04 Joseph Myers <joseph@codesourcery.com>
7008
7009 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
7010 with 0, not tcache->entries[tc_idx].
7011
7012 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
7013 once.
7014
7015 2019-02-04 Andreas Schwab <schwab@suse.de>
7016
7017 [BZ #16976]
7018 [BZ #17396]
7019 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
7020 looking up collating elements match against (wide) character
7021 sequence instead of name. Correct alignment adjustment.
7022 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
7023 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
7024 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
7025 (LOCALES): Add cs_CZ.ISO-8859-2.
7026 * posix/tst-fnmatch4.c: New file.
7027 * posix/tst-fnmatch5.c: New file.
7028 * include/wchar.h (__wmemcmp): Declare.
7029 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
7030 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7031 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
7032 * sysdeps/s390/wmemcmp.c: Likewise.
7033
7034 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
7035
7036 [BZ #24155]
7037 CVE-2019-7309
7038 * NEWS: Updated for CVE-2019-7309.
7039 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7040 upper 32 bits of RDX register for x32. Use unsigned Jcc
7041 instructions, instead of signed.
7042 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
7043 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
7044
7045 2019-02-04 Florian Weimer <fweimer@redhat.com>
7046
7047 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
7048 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
7049 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
7050 Likewise.
7051 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
7052 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
7053 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
7054 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
7055 Likewise.
7056 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
7057 Likewise.
7058 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
7059 Likewise.
7060 (posix_spawn_file_actions_addopen): Likewise.
7061 (posix_spawn_file_actions_addclose): Likewise.
7062 (posix_spawn_file_actions_adddup2): Likewise.
7063 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
7064 qualifiers.
7065 (posix_spawn_file_actions_addfchdir_np): Likewise.
7066
7067 2019-02-04 David Newall <glibc@davidnewall.com>
7068
7069 elf: Implement --preload option for the dynamic linker.
7070 * elf/rtld.c (preloadarg): New variable.
7071 (handle_preload_list): Pass through “where” argument to
7072 do_preload.
7073 (dl_main): Handle "--preload" and add second call to
7074 handle_preload_list.
7075 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
7076 (tst-rtld-preload-OBJS): Set variable.
7077 (tst-rtld-preload.out): New target.
7078 * elf/tst-rtld-preload.sh: New file.
7079
7080 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
7081
7082 * Makefile (testrun.sh): Exit in case of incorrect argument.
7083
7084 2019-02-04 Florian Weimer <fweimer@redhat.com>
7085
7086 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
7087 alignment gaps.
7088
7089 2019-02-03 Florian Weimer <fweimer@redhat.com>
7090
7091 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
7092 implicit overflow checks.
7093
7094 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
7095
7096 * stdlib/isomac.c: Include <unistd.h>.
7097
7098 2019-02-03 Florian Weimer <fweimer@redhat.com>
7099
7100 * include/time.h (__tzfile_default): Use int, not long int, for
7101 the GMT offsets.
7102 * time/tzfile.c (struct ttinfo): Change type of the offset member
7103 to int.
7104 (__tzfile_read): Remove useless cast.
7105 (__tzfile_default): Adjust prototype.
7106 * time/tzset.c (tz_rule): Change type of the offset member to int.
7107 (parse_offset): Change the type of the sign variable to int.
7108
7109 2019-02-03 Florian Weimer <fweimer@redhat.com>
7110
7111 [BZ #24153]
7112 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7113 * libio/getchar.c (getchar): Likewise.
7114 * libio/getchar_u.c (getchar_unlocked): Likewise.
7115 * libio/getwchar.c (getwchar): Likewise.
7116 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7117 * libio/iogets.c (_IO_gets): Likewise.
7118 * libio/vscanf.c (_IO_vscanf): Likewise.
7119 * libio/vwscanf.c (__vwscanf): Likewise.
7120 * libio/tst-bz24153.c: New file.
7121 * libio/Makefile (tests): Add it.
7122
7123 2019-02-02 Florian Weimer <fweimer@redhat.com>
7124
7125 [BZ #14829]
7126 * manual/resource.texi (Basic Scheduling Functions): Add
7127 portability note. Change process to task throughout the section.
7128 Remove incorrect comment about sched_yield as it affects
7129 tasks/threads, not entire processes.
7130 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7131 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7132
7133 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7134
7135 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7136 * configure: Regenerated.
7137 * manual/install.texi (Tools for Compilation): Update minimum GCC
7138 version.
7139 * INSTALL: Regenerated.
7140
7141 2019-02-01 Florian Weimer <fweimer@redhat.com>
7142
7143 * support/support_test_compare_string.c
7144 (support_test_compare_string): Use "string" in error message.
7145 * support/tst-test_compare_string.c (do_test): Adjust.
7146
7147 2019-02-01 Florian Weimer <fweimer@redhat.com>
7148
7149 * support/support_format_address_family.c
7150 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7151
7152 2019-02-01 Florian Weimer <fweimer@redhat.com>
7153
7154 * manual/socket.texi (Internet Address Formats): Clarify the byte
7155 order of struct sockaddr_in, struct sockaddr_in6. Document
7156 sin6_flowinfo and sin6_scope_id.
7157
7158 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7159
7160 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7161 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7162 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7163 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7164 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7165 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7166
7167 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7168
7169 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7170 [!MEMCHR](MEMCHR): Set to __memchr.
7171 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7172 Add memchr_generic and memchr_nosimd.
7173 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7174 (__libc_ifunc_impl_list): Add memchr ifuncs.
7175 * sysdeps/aarch64/multiarch/memchr.c: New file.
7176 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7177 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7178
7179 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7180
7181 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7182 Add memset_emag.
7183 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7184 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7185 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7186 Add IS_EMAG check for ifunc dispatch.
7187 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7188 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7189
7190 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7191
7192 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7193 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7194 Add emag.
7195 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7196 New macro.
7197
7198 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
7199
7200 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7201
7202 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
7203
7204 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7205 syscall-template file.
7206
7207 2019-01-31 Carlos O'Donell <carlos@redhat.com>
7208 Torvald Riegel <triegel@redhat.com>
7209 Rik Prohaska <prohaska7@gmail.com>
7210
7211 [BZ# 23844]
7212 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7213 tst-rwlock-trywrlock-stall.
7214 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7215 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7216 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7217 Set __wrphase_fute to 1 only if we started the write phase.
7218 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7219 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7220 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7221 * support/xpthread_rwlock_destroy.c: New file.
7222 * support/xthread.h: Declare xpthread_rwlock_destroy.
7223
7224 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7225
7226 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7227 version to 4.0.2.
7228
7229 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7230
7231 [BZ #24051]
7232 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7233 * libio/fileops.c (_IO_new_file_underflow): Likewise
7234 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7235 * libio/putchar.c (putchar): Likewise.
7236 * libio/putchar_u.c (putchar_unlocked): Likewise.
7237 * libio/putwchar.c (putchar): Likewise.
7238 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7239 * libio/tst-bz24051.c: New test.
7240 * libio/Makefile (tests): Add tst-bz24051
7241
7242 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7243
7244 CVE-2019-9169
7245 regex: fix read overrun [BZ #24114]
7246 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7247 https://debbugs.gnu.org/34140
7248 * posix/regexec.c (proceed_next_node):
7249 Do not read past end of input buffer.
7250
7251 2019-01-31 Florian Weimer <fweimer@redhat.com>
7252
7253 [BZ #24059]
7254 * nss/nss_files/files-alias.c (get_next_alias): Handle
7255 continuation line without newline at the end.
7256 * nss/tst-nss-files-alias-truncated.c: New file.
7257 * nss/Makefile [$(build-shared)] (tests): Add
7258 tst-nss-files-alias-truncated.
7259 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7260 * support/namespace.h (struct support_chroot_configuration): Add
7261 aliases member.
7262 (struct support_chroot): Add path_aliases member.
7263 * support/support_chroot.c (support_chroot_create): Handle
7264 aliases.
7265 (support_chroot_free): Free path_aliases.
7266
7267 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7268
7269 * version.h (RELEASE): Set to "development".
7270 (VERSION): Set to "2.29.9000".
7271 * NEWS: Add section for 2.30.
7272
7273 * version.h (RELEASE): Set to "stable".
7274 (VERSION): Set to "2.29".
7275 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7276
7277 * NEWS: Add the list of bugs fixed in 2.29.
7278 * manual/contrib.texi: Update contributors list with some more
7279 names.
7280 * manual/install.texi: Update latest versions of packages
7281 tested.
7282 * INSTALL: Regenerated.
7283
7284 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7285
7286 * po/be.po: Update translations.
7287 * po/bg.po: Likewise.
7288 * po/ca.po: Likewise.
7289 * po/cs.po: Likewise.
7290 * po/da.po: Likewise.
7291 * po/de.po: Likewise.
7292 * po/el.po: Likewise.
7293 * po/eo.po: Likewise.
7294 * po/es.po: Likewise.
7295 * po/fi.po: Likewise.
7296 * po/fr.po: Likewise.
7297 * po/gl.po: Likewise.
7298 * po/hr.po: Likewise.
7299 * po/hu.po: Likewise.
7300 * po/ia.po: Likewise.
7301 * po/id.po: Likewise.
7302 * po/it.po: Likewise.
7303 * po/ja.po: Likewise.
7304 * po/ko.po: Likewise.
7305 * po/lt.po: Likewise.
7306 * po/nb.po: Likewise.
7307 * po/nl.po: Likewise.
7308 * po/pl.po: Likewise.
7309 * po/pt_BR.po: Likewise.
7310 * po/ru.po: Likewise.
7311 * po/rw.po: Likewise.
7312 * po/sk.po: Likewise.
7313 * po/sl.po: Likewise.
7314 * po/sv.po: Likewise.
7315 * po/tr.po: Likewise.
7316 * po/uk.po: Likewise.
7317 * po/vi.po: Likewise.
7318 * po/zh_CN.po: Likewise.
7319 * po/zh_TW.po: Likewise.
7320
7321 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7322
7323 [BZ #24130]
7324 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7325 of $f3 register on $y_is_neg path.
7326
7327 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7328
7329 [BZ #24110]
7330 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7331 sigaltstack.ss_flags.
7332
7333 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7334
7335 [BZ #23758]
7336 * manual/time.texi (strftime): Document "%Ey".
7337 * time/strftime_l.c (__strftime_internal): Set the default width
7338 padding with zero of "%Ey" to 2.
7339
7340 [BZ #24096]
7341 * manual/time.texi (strftime): Document "%EC" and "%EY".
7342 * time/Makefile (tests): Add tst-strftime2.
7343 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7344 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7345 override padding for "%Ey".
7346 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7347 "%Ey" in the subformat as if decorated with that flag.
7348 * time/tst-strftime2.c: New file.
7349
7350 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7351
7352 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7353 are not defined.
7354
7355 [BZ #24122]
7356 * elf/Makefile (tests): Add tst-audit13.
7357 (modules-names): Add tst-audit13mod1.
7358 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7359 rule.
7360 * elf/rtld.c (dl_main): Handle invalid audit module version.
7361 * elf/tst-audit13.c: New file.
7362 * elf/tst-audit13mod1.c: Likewise.
7363
7364 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7365
7366 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7367 returned by __hurd_at_flags.
7368 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7369 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7370 directly instead of __hurd_file_name_lookup.
7371
7372 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7373
7374 * scripts/build-many-glibcs.py (Context.checkout): Default
7375 binutils version to 2.32 branch.
7376
7377 2019-01-21 Florian Weimer <fweimer@redhat.com>
7378
7379 [BZ #20018]
7380 CVE-2016-10739
7381 resolv: Reject trailing characters in host names
7382 * include/arpa/inet.h (__inet_aton_exact): Declare.
7383 (inet_aton): Remove hidden prototype. No longer used internally.
7384 * nscd/gai.c (__inet_aton): Do not define.
7385 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7386 * nss/digits_dots.c (__inet_aton): Likewise.
7387 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7388 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7389 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7390 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7391 (tst-resolv-trailing): Likewise.
7392 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7393 libc.
7394 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7395 Make static. Add endp parameter.
7396 (__inet_aton_exact): New function.
7397 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7398 (__inet_addr): Call inet_aton_end.
7399 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7400 not just IPv6. Call __inet_aton_exact.
7401 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7402 (tests): Make const. Add additional test cases with trailing
7403 characters.
7404 (do_test): Use array_length.
7405 * resolv/tst-inet_aton_exact.c: New file.
7406 * resolv/tst-resolv-trailing.c: Likewise.
7407 * resolv/tst-resolv-nondecimal.c: Likewise.
7408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7409
7410 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7411
7412 [BZ# 24097]
7413 CVE-2019-6488
7414 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7415 Clear the upper 32 bits of RSI register.
7416 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7417 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7418 and tst-size_t-wcsnlen.
7419 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7420 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7421
7422 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7423
7424 [BZ# 24097]
7425 CVE-2019-6488
7426 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7429 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7430 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7431
7432 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7433
7434 [BZ# 24097]
7435 CVE-2019-6488
7436 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7437 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7438 * sysdeps/x86_64/strcmp.S: Likewise.
7439 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7440 tst-size_t-strncmp and tst-size_t-wcsncmp.
7441 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7442 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7443 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7444
7445 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7446
7447 [BZ# 24097]
7448 CVE-2019-6488
7449 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7450 RDX_LP for length. Clear the upper 32 bits of RDX register.
7451 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7452 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7453 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7454 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7455
7456 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7457
7458 [BZ# 24097]
7459 CVE-2019-6488
7460 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7461 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7462 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7463 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7464
7465 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 [BZ# 24097]
7468 CVE-2019-6488
7469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7470 length. Clear the upper 32 bits of RDX register.
7471 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7472 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7473 Likewise.
7474 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7475 Likewise.
7476 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7477 tst-size_t-wmemchr.
7478 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7479
7480 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7481
7482 [BZ# 24097]
7483 CVE-2019-6488
7484 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7485 length. Clear the upper 32 bits of RDX register.
7486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7487 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7488 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7489 tst-size_t-wmemcmp.
7490 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7491 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7492
7493 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7494
7495 [BZ# 24097]
7496 CVE-2019-6488
7497 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7498 upper 32 bits of RDX register.
7499 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7500 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7501 tst-size_t-wmemchr.
7502 * sysdeps/x86_64/x32/test-size_t.h: New file.
7503 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7504 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7505
7506 2019-01-18 Florian Weimer <fweimer@redhat.com>
7507
7508 [BZ #24112]
7509 resolv: Do not send queries for non-host-names in nss_dns.
7510 * resolv/nss_dns/dns-host.c (check_name): New function.
7511 (_nss_dns_gethostbyname2_r): Use it.
7512 (_nss_dns_gethostbyname_r): Likewise.
7513 (_nss_dns_gethostbyname4_r): Likewise.
7514
7515 2019-01-21 Florian Weimer <fweimer@redhat.com>
7516
7517 * resolv/inet_addr.c: Reformat to GNU style.
7518 (__inet_addr, __inet_aton): Update comment.
7519
7520 2019-01-18 Florian Weimer <fweimer@redhat.com>
7521
7522 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7523 ("malloc: Use current (C11-style) atomics for fastbin access").
7524 This commit introduces a substantial performance regression on
7525 POWER and Aarch64.
7526 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7527 (REMOVE_FB): Define.
7528 (_int_malloc): Use it and reindent.
7529 (_int_free): Use CAS loop with
7530 catomic_compare_and_exchange_val_rel.
7531 (malloc_consolidate): Use atomic_exchange_acq.
7532
7533
7534 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7535
7536 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7537 -Wl,-z,now.
7538 (LDFLAGS-tst-minsigstksz-2): Likewise.
7539 (LDFLAGS-tst-minsigstksz-3): Likewise.
7540 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7541 (LDFLAGS-tst-minsigstksz-4): Likewise.
7542
7543 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7544
7545 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7546 than "alternate".
7547
7548 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7549
7550 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7551
7552 2019-01-16 Zack Weinberg <zackw@panix.com>
7553
7554 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7555 (xget_sigstack_location): New test support functions.
7556 * support/xsigstack.c: New file, implementing them.
7557 * support/tst-xsigstack.c: New test for them.
7558 * support/Makefile: Update.
7559
7560 * signal/tst-minsigstksz-1.c
7561 * signal/tst-minsigstksz-2.c
7562 * signal/tst-minsigstksz-3.c
7563 * signal/tst-minsigstksz-3a.c
7564 * signal/tst-minsigstksz-4.c: New tests.
7565 * signal/Makefile: Run them.
7566
7567 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7568
7569 * po/libc.pot: Regenerate.
7570
7571 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7572
7573 * math/libm-test-fma.inc (fma_test_data): Set
7574 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7575
7576 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7577
7578 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7579 (do_test): Changed __vector __int128_t to __vector unsigned int.
7580
7581 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7582
7583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7584 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7585 stpcpy-avx2 and stpncpy-avx2.
7586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7587 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7588 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7589 and __stpncpy_avx2.
7590 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7591 ifunc-strcpy.h}: rename header for a more generic name.
7592 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7593 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7594 AVX unaligned load is fast and vzeroupper is preferred.
7595 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7596 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7597 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7598 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7599 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7600 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7601
7602 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7603
7604 * argp/argp-help.c: Fix typo in comment.
7605 * misc/sys/cdefs.h: Likewise.
7606 * posix/regexec.c (sift_states_iter_mb): Likewise.
7607 * socket/sockatmark.c: Likewise.
7608 * socket/sys/socket.h: Likewise.
7609 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7610 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7611 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7612 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7613 * sysdeps/unix/sockatmark.c: Likewise.
7614 * time/strptime_l.c: Likewise.
7615
7616 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7617
7618 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7619 missing space after the cast of "_NL_CURRENT".
7620
7621 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7622
7623 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7624 ifdef to fix read of VSCR.
7625 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7626 tst-ucontext-ppc64-vscr.c to test list.
7627 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7628
7629 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7630
7631 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7632 fall-through.
7633
7634 2019-01-09 Jim Wilson <jimw@sifive.com>
7635
7636 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7637
7638 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7639
7640 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7641 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7642 __memcpy_falkor for ares.
7643 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7644 Add new define.
7645 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7646 Add ares cpu.
7647
7648 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7649
7650 [BZ #24066]
7651 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7652 4_FP_W_TYPEs are used for IEEE quad precision.
7653 * soft-fp/extendhftf2.c: Likewise.
7654 * soft-fp/extendsftf2.c: Likewise.
7655 * soft-fp/extendxftf2.c: Likewise.
7656 * soft-fp/trunctfdf2.c: Likewise.
7657 * soft-fp/trunctfhf2.c: Likewise.
7658 * soft-fp/trunctfsf2.c: Likewise.
7659 * soft-fp/trunctfxf2.c: Likewise.
7660 * sysdeps/alpha/ots_cvttx.c: Likewise.
7661 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7662 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7663 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7664 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7665 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7666 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7667 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7668 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7669 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7670 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7671 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7672 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7673 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7674 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7675 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7676 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7677 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7678
7679 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7680
7681 [BZ #24024]
7682 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7683 code with -fmath-errno.
7684 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7685 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7686 * string/test-strerror-errno.c: New file.
7687
7688 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7689
7690 [BZ #24046]
7691 * localedata/locales/en_US (date_fmt): Add, set to
7692 "%a %d %b %Y %r %Z".
7693
7694 2019-01-07 Florian Weimer <fweimer@redhat.com>
7695
7696 [BZ #24063]
7697 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7698 instead of @var{errno}.
7699 (Parsing of Integers): Likewise.
7700 (Parsing of Floats): Likewise.
7701 * manual/filesys.texi (Working with Directory Trees): Likewise.
7702 (Temporary Files): Likewise.
7703 * manual/job.texi (Terminal Access Functions): Likewise.
7704 * manual/llio.texi (Synchronizing I/O): Likewise.
7705 * manual/math.texi (SVID Random): Likewise.
7706 * manual/message.texi (The catgets Functions): Likewise.
7707 (Translation with gettext): Likewise.
7708 (Locating gettext catalog): Likewise.
7709 (Charset conversion in gettext): Likewise.
7710 * manual/nss.texi (NSS Module Function Internals): Likewise.
7711 * manual/search.texi (Hash Search Function): Likewise.
7712 * manual/setjmp.texi (System V contexts): Likewise.
7713 * manual/time.texi (Sleeping): Likewise.
7714 * manual/users.texi (Lookup User): Likewise.
7715 (Lookup Group): Likewise.
7716
7717 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7718
7719 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7720 fix typo.
7721
7722 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7723
7724 [BZ #19444]
7725 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7726 __builtin_unreachable for default case in switch.
7727 (__ieee754_yn): Likewise.
7728 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7729 (__ieee754_ynl): Likewise.
7730 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7731 (__ieee754_ynl): Likewise.
7732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7733 (__ieee754_ynl): Likewise.
7734
7735 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7736
7737 * manual/maint.texi: Use @{ and @}.
7738
7739 2019-01-04 Florian Weimer <fweimer@redhat.com>
7740
7741 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7742 function.
7743 (do_in_chroot_1): Call it.
7744 (run_chroot_tests):
7745 Improve error reporting in case it is not possible to create a
7746 collision for the PTY name required by the test.
7747
7748 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7749
7750 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7751 lll_wait_tid with timeout.
7752 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7753 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7754 futex_reltimed_wait_cancelable for cancelabla mode.
7755 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7756 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7757 macros.
7758 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7759 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7760 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7761 SYSCALL_CANCEL_NCS): New macro.
7762 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7763 (lll_timedwait_tid): Remove macro.
7764 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7765 Likewise.
7766 (lll_timedwait_tid): Likewise.
7767 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7768 Likewise.
7769 (lll_timedwait_tid): Likewise.
7770 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7771 Likewise.
7772 (lll_timedwait_tid): Likewise.
7773 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7774 Use INTERNAL_SYSCALL_CANCEL.
7775 * sysdeps/unix/sysv/linux/futex-internal.h
7776 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7777 instead of __pthread_{enable,disable}_asynccancel.
7778 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7779 (lll_futex_wait_cancel): New macro.
7780
7781 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7782 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7783
7784 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7785 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7786
7787 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7788 in backtrace analysis.
7789 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7790 side-effects.
7791 (tf_send): Likewise.
7792
7793 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7794 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7795 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7796 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7797 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7798 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7799 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7800 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7801 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7802 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7803 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7804 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7805 Likewise.
7806 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7807 tst-cancel-wrappers.sh.
7808 (generated): Remove tst-cancel-wrappers.out.
7809 (tst-cancel-wrappers.out): Remove rule.
7810 * nptl/tst-cancel-wrappers.sh: Remove file.
7811
7812 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7813
7814 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7815 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7816 Update.
7817
7818 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7819
7820 [BZ #23640]
7821 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7822 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7823 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7824 close-on-exec reset for adddup2 file action.
7825 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7826
7827 2019-01-03 Zack Weinberg <zackw@panix.com>
7828
7829 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7830 parameter. Only use deprecated scanf when __USE_GNU is defined
7831 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7832 than 201103L, whichever is relevant for the language being compiled.
7833
7834 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7835 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7836 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7837 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7838 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7839
7840 * libio/iovsscanf.c
7841 * libio/fwscanf.c
7842 * libio/iovswscanf.c
7843 * libio/swscanf.c
7844 * libio/vscanf.c
7845 * libio/vwscanf.c
7846 * libio/wscanf.c
7847 * stdio-common/fscanf.c
7848 * stdio-common/scanf.c
7849 * stdio-common/vfscanf.c
7850 * stdio-common/vfwscanf.c
7851 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7852 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7853 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7854 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7855 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7856 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7857 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7858 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7859 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7860 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7861 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7862 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7863 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7864 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7865 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7866
7867 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7868 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7869 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7870 not sscanf.
7871 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7872 with a preprocessor macro.
7873
7874 * stdio-common/bug21.c, stdio-common/scanf14.c:
7875 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7876 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7877 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7878 to xscanf, xfscanf, xsscanf.
7879
7880 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7881 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7882 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7883 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7884 xfscanf, xsscanf.
7885 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7886 override feature selection macros or provide definitions of u_char etc.
7887 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7888 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7889 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7890 with -std=gnu89.
7891
7892 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7893
7894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7895 bits/termios-misc.h.
7896 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7897 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7898 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7899 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7900 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7901 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7902
7903 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7904 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7905 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7906 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7907 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7908 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7909 termios-misc.h.
7910 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7911 (sysdep_headers): Add termios-misc.h.
7912
7913 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7914 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7915 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7916
7917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7918 termios-tcflow.h.
7919 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7920 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7921 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7922 TCSAFLUSH): Move to termios-tcflow.h.
7923 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7924 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7925 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7926 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7927
7928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7929 termios-c_lflag.h.
7930 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7931 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7932 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7933 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7934 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7935 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7936 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7937 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7938 Likewise.
7939 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7940 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7943
7944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7945 termios-c_cflag.h.
7946 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7947 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7948 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7949 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7950 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7951 termios-c_cflag.h.
7952 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7953 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7954 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7955 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7956
7957 [BZ #23783]
7958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7959 termios-baud.h.
7960 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7961 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7962 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7963 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7964 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7965 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7966 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7967 __MAX_BAUD): Move to termios-baud.h.
7968 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7969 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7970 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7971 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7972 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7973
7974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7975 termios-c_oflag.h.
7976 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7977 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7978 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7980 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7981 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7982 termios-c_oflag.h.
7983 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7984 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7985 FFR1): Likewise.
7986 [USE_MISC] (XTABS): Likewise.
7987 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7988 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7989 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7990 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7991
7992 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7993 termios-c_iflag.h.
7994 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7995 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7996 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7997 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7998 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7999 IUTF8): Move to termios-c_iflag.h.
8000 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8001 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8004
8005 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8006 termios-cc.h.
8007 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
8008 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
8009 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
8010 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
8012 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
8013 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
8014 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
8015 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8016 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8018 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8019
8020 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
8021 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
8022 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
8023 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
8024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8025 termios-struct.h.
8026 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
8027 termios-struct.h.
8028 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
8029 Likewise.
8030 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
8031 Likewise.
8032 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
8033 Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
8035 Likewise.
8036 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
8037 _HAVE_C_OSPEED): Define.
8038 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
8039 _HAVE_C_OSPEED): Likewise.
8040 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
8041 _HAVE_C_OSPEED): Likewise.
8042 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
8043 (cfsetospeed): Check for define value instead of existence.
8044 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
8045 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8046 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
8047 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8048 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
8049
8050 [BZ #17783]
8051 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
8052 Define.
8053 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8054 (TIOCSER_TEMT): Likewise.
8055 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
8056 (TEOCSER_TEMT): Likewise.
8057
8058 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
8059
8060 [BZ #24011]
8061 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
8062
8063 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8064
8065 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8066
8067 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8068
8069 * sysdeps/htl/pt-barrierattr-setpshared.c
8070 (pthread_barrierattr_setpshared): Add stub warning.
8071 * sysdeps/htl/pt-condattr-setpshared.c
8072 (pthread_condattr_setpshared): Likewise.
8073 * sysdeps/htl/pt-mutexattr-setpshared.c
8074 (pthread_mutexattr_setpshared): Likewise.
8075 * sysdeps/htl/pt-rwlockattr-setpshared.c
8076 (pthread_rwlockattr_setpshared): Likewise.
8077 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
8078 (pthread_mutexattr_setpshared): Likewise.
8079
8080 2019-01-02 Joseph Myers <joseph@codesourcery.com>
8081
8082 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
8083 constants to match with Linux 4.20.
8084
8085 * sysdeps/mips/mips32/libm-test-ulps: Update.
8086 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8087
8088 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
8089
8090 [BZ #24034]
8091 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
8092 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
8093 than __typeof (...) for the a_ptr variable.
8094
8095 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8096
8097 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
8098 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
8099 * libio/Makefile (tests): Add tst-sprintf-ub and
8100 tst-sprintf-chk-ub.
8101 (CFLAGS-tst-sprintf-ub.c): New variable.
8102 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8103 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8104 destination buffer and check for overflows in fortified mode.
8105 * libio/libioP.h (PRINTF_CHK): New macro.
8106 * libio/tst-sprintf-chk-ub.c: New file.
8107 * libio/tst-sprintf-ub.c: Likewise.
8108
8109 2019-01-02 Florian Weimer <fweimer@redhat.com>
8110
8111 [BZ #24018]
8112 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8113 failure.
8114
8115 2019-01-02 Florian Weimer <fweimer@redhat.com>
8116
8117 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8118
8119 2019-01-01 Joseph Myers <joseph@codesourcery.com>
8120
8121 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8122 macro.
8123
8124 * sysdeps/unix/sysv/linux/netpacket/packet.h
8125 (PACKET_IGNORE_OUTGOING): New macro.
8126
8127 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8128 macro.
8129
8130 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8131 version to 4.20.
8132 (riscv_flush_icache): New syscall.
8133
8134 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8135 trailing whitespace removed.
8136 * scripts/config.guess: Update to version 2019-01-01.
8137 * scripts/config.sub: Update to version 2019-01-01.
8138 * scripts/move-if-change: Update from gnulib.
8139
8140 * NEWS: Update copyright dates.
8141 * catgets/gencat.c (print_version): Likewise.
8142 * csu/version.c (banner): Likewise.
8143 * debug/catchsegv.sh: Likewise.
8144 * debug/pcprofiledump.c (print_version): Likewise.
8145 * debug/xtrace.sh (do_version): Likewise.
8146 * elf/ldconfig.c (print_version): Likewise.
8147 * elf/ldd.bash.in: Likewise.
8148 * elf/pldd.c (print_version): Likewise.
8149 * elf/sotruss.sh: Likewise.
8150 * elf/sprof.c (print_version): Likewise.
8151 * iconv/iconv_prog.c (print_version): Likewise.
8152 * iconv/iconvconfig.c (print_version): Likewise.
8153 * locale/programs/locale.c (print_version): Likewise.
8154 * locale/programs/localedef.c (print_version): Likewise.
8155 * login/programs/pt_chown.c (print_version): Likewise.
8156 * malloc/memusage.sh (do_version): Likewise.
8157 * malloc/memusagestat.c (print_version): Likewise.
8158 * malloc/mtrace.pl: Likewise.
8159 * manual/libc.texinfo: Likewise.
8160 * nptl/version.c (banner): Likewise.
8161 * nscd/nscd.c (print_version): Likewise.
8162 * nss/getent.c (print_version): Likewise.
8163 * nss/makedb.c (print_version): Likewise.
8164 * posix/getconf.c (main): Likewise.
8165 * scripts/test-installation.pl: Likewise.
8166 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8167
8168 * All files with FSF copyright notices: Update copyright dates
8169 using scripts/update-copyrights.
8170 * locale/programs/charmap-kw.h: Regenerated.
8171 * locale/programs/locfile-kw.h: Likewise.
8172
8173 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8174
8175 * timezone/zdump.c: Update from tzcode 2018i.
8176 * timezone/zic.c: Likewise.
8177
8178 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8179
8180 regex: improve Gnulib port to AIX
8181 From the glibc point of view, this removes duplicate macro
8182 definitions and is obviously safe.
8183 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8184 * posix/regex_internal.h:
8185 (__attribute__, __attribute_warn_unused_result__):
8186 Remove; already defined elsewhere.
8187
8188 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
8189
8190 [BZ #24027]
8191 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8192 copying operation. (ncopies had the wrong type, resulting in an
8193 integer wraparound and too few elements being copied.)
8194
8195 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 [BZ #24022]
8198 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8199 <asm/syscalls.h> exists with __has_include__ before including it.
8200
8201 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8202
8203 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8204 version to 4.20.
8205
8206 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
8207
8208 * hurd/lookup-retry: Include <unistd.h>.
8209 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8210 Release it on return. Handle "pid" magical lookup retry.
8211
8212 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8213
8214 [BZ #10496]
8215 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8216 (t_fmt_ampm): Likewise.
8217 * localedata/locales/aa_ER (t_fmt): Likewise.
8218 (t_fmt_ampm): Likewise.
8219 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8220 (t_fmt_ampm): Likewise.
8221 * localedata/locales/aa_ET (t_fmt): Likewise.
8222 (t_fmt_ampm): Likewise.
8223 * localedata/locales/am_ET (t_fmt): Likewise.
8224 (t_fmt_ampm): Likewise.
8225 * localedata/locales/byn_ER (t_fmt): Likewise.
8226 (t_fmt_ampm): Likewise.
8227 * localedata/locales/om_ET (t_fmt): Likewise.
8228 (t_fmt_ampm): Likewise.
8229 * localedata/locales/sid_ET (t_fmt): Likewise.
8230 (t_fmt_ampm): Likewise.
8231 * localedata/locales/so_DJ (t_fmt): Likewise.
8232 (t_fmt_ampm): Likewise.
8233 * localedata/locales/so_ET (t_fmt): Likewise.
8234 (t_fmt_ampm): Likewise.
8235 * localedata/locales/so_SO (t_fmt): Likewise.
8236 (t_fmt_ampm): Likewise.
8237 * localedata/locales/ti_ER (t_fmt): Likewise.
8238 (t_fmt_ampm): Likewise.
8239 * localedata/locales/ti_ET (t_fmt): Likewise.
8240 (t_fmt_ampm): Likewise.
8241 * localedata/locales/tig_ER (t_fmt): Likewise.
8242 (t_fmt_ampm): Likewise.
8243 * localedata/locales/wal_ET (t_fmt): Likewise.
8244 (t_fmt_ampm): Likewise.
8245
8246 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8247 * localedata/locales/ar_IN (t_fmt): Likewise.
8248 * localedata/locales/bhb_IN (t_fmt): Likewise.
8249 * localedata/locales/bho_IN (t_fmt): Likewise.
8250 * localedata/locales/bi_VU (t_fmt): Likewise.
8251 * localedata/locales/bn_BD (t_fmt): Likewise.
8252 * localedata/locales/bn_IN (t_fmt): Likewise.
8253 * localedata/locales/brx_IN (t_fmt): Likewise.
8254 * localedata/locales/doi_IN (t_fmt): Likewise.
8255 * localedata/locales/en_HK (t_fmt): Likewise.
8256 (t_fmt_ampm): Likewise.
8257 * localedata/locales/en_IN (t_fmt): Likewise.
8258 * localedata/locales/en_PH (t_fmt): Likewise.
8259 * localedata/locales/gu_IN (t_fmt): Likewise.
8260 * localedata/locales/hi_IN (t_fmt): Likewise.
8261 * localedata/locales/hif_FJ (t_fmt): Likewise.
8262 * localedata/locales/hne_IN (t_fmt): Likewise.
8263 * localedata/locales/kn_IN (t_fmt): Likewise.
8264 * localedata/locales/kok_IN (t_fmt): Likewise.
8265 * localedata/locales/ks_IN (t_fmt): Likewise.
8266 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8267 * localedata/locales/mag_IN (t_fmt): Likewise.
8268 * localedata/locales/mai_IN (t_fmt): Likewise.
8269 * localedata/locales/mjw_IN (t_fmt): Likewise.
8270 * localedata/locales/ml_IN (t_fmt): Likewise.
8271 * localedata/locales/mni_IN (t_fmt): Likewise.
8272 * localedata/locales/mr_IN (t_fmt): Likewise.
8273 * localedata/locales/ms_MY (t_fmt): Likewise.
8274 * localedata/locales/pa_IN (t_fmt): Likewise.
8275 * localedata/locales/raj_IN (t_fmt): Likewise.
8276 * localedata/locales/sa_IN (t_fmt): Likewise.
8277 * localedata/locales/sat_IN (t_fmt): Likewise.
8278 * localedata/locales/sd_IN (t_fmt): Likewise.
8279 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8280 * localedata/locales/tcy_IN (t_fmt): Likewise.
8281 * localedata/locales/the_NP (t_fmt): Likewise.
8282 * localedata/locales/to_TO (t_fmt): Likewise.
8283 * localedata/locales/ur_IN (t_fmt): Likewise.
8284
8285 * localedata/locales/hif_FJ (d_t_fmt): Set to
8286 "%A %d %b %Y %I:%M:%S %p".
8287 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8288
8289 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8290 * localedata/locales/ar_BH (t_fmt): Likewise.
8291 * localedata/locales/ar_DZ (t_fmt): Likewise.
8292 * localedata/locales/ar_EG (t_fmt): Likewise.
8293 * localedata/locales/ar_IQ (t_fmt): Likewise.
8294 * localedata/locales/ar_JO (t_fmt): Likewise.
8295 * localedata/locales/ar_KW (t_fmt): Likewise.
8296 * localedata/locales/ar_LB (t_fmt): Likewise.
8297 * localedata/locales/ar_LY (t_fmt): Likewise.
8298 * localedata/locales/ar_OM (t_fmt): Likewise.
8299 * localedata/locales/ar_QA (t_fmt): Likewise.
8300 * localedata/locales/ar_SD (t_fmt): Likewise.
8301 * localedata/locales/ar_SS (t_fmt): Likewise.
8302 * localedata/locales/ar_SY (t_fmt): Likewise.
8303 * localedata/locales/ar_TN (t_fmt): Likewise.
8304 * localedata/locales/ar_YE (t_fmt): Likewise.
8305
8306 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8307 (t_fmt_ampm): Likewise.
8308 * localedata/locales/gez_ET (t_fmt): Likewise.
8309 (t_fmt_ampm): Likewise.
8310
8311 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8312 (t_fmt_ampm): Likewise.
8313 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8314
8315 * localedata/locales/zh_HK (t_fmt):
8316 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8317
8318 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8319 because this locale does not use the 12-hour clock.
8320 (t_fmt): Set to "%Z %H:%M:%S".
8321 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8322
8323 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8324 because this locale does not use the 12-hour clock.
8325 (t_fmt): Set to "%H:%M:%S %Z".
8326 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8327
8328 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8329 because this locale does not use the 12-hour clock.
8330 (t_fmt): Set to "%T".
8331 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8332 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8333
8334 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8335 because this locale does not use the 12-hour clock.
8336 (t_fmt): Set to "%H:%M:%S %Z".
8337 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8338
8339 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8340 because this locale does not use the 12-hour clock.
8341 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8342 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8343
8344 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8345
8346 [BZ #10496]
8347 [BZ #23724]
8348 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8349 (t_fmt_ampm): Likewise.
8350 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8351 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8352 (d_fmt): Set to "%-d.%-m.%y".
8353
8354 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8355
8356 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8357 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8358 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8359 Likewise.
8360 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8361 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8362 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8363 function.
8364 * support/blob_repeat.c (check_mul_overflow_size_t,
8365 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8366
8367 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8368
8369 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8370
8371 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8372
8373 regex: simplify Gnulib port
8374 This simplifies the code, by removing stuff intended for porting
8375 to Gnulib but no longer needed there.
8376 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8377 uses of libc_hidden_def, weak_alias.
8378 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8379 _Restrict_ except for public-facing headers.
8380 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8381 Remove; already defined elsewhere.
8382 * posix/regex.c, posix/regex_internal.h:
8383 Use __GNUC_PREREQ instead of rolling our own.
8384 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8385
8386 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8387
8388 * benchtests/bench-strlen.c (generic_strlen): New function.
8389 (memchr_strlen): New function.
8390
8391 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8392
8393 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8394 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8395 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8396
8397 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8400
8401 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8404 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8405 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8406 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8407 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8408 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8409 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8410
8411 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8412
8413 [BZ #24023]
8414 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8415 PLT reference in libc.so.
8416 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8417 _Q_lltoq and _Q_qtod PLT references in libc.so.
8418
8419 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8420
8421 * benchtests/bench-memchr.c: Cleanup defines.
8422 * benchtests/bench-memcmp.c: Likewise.
8423 * benchtests/bench-memset.c: Likewise.
8424 * benchtests/bench-memset-large.c: Likewise.
8425 * benchtests/bench-memset-walk.c: Likewise.
8426 * benchtests/bench-stpcpy.c: Likewise.
8427 * benchtests/bench-stpncpy.c: Likewise.
8428 * benchtests/bench-strcat.c: Likewise.
8429 * benchtests/bench-strchr.c: Likewise.
8430 * benchtests/bench-strcmp.c: Likewise.
8431 * benchtests/bench-strcpy.c: Likewise.
8432 * benchtests/bench-strcspn.c: Likewise.
8433 * benchtests/bench-string.h: Likewise.
8434 * benchtests/bench-strlen.c: Likewise.
8435 * benchtests/bench-strncat.c: Likewise.
8436 * benchtests/bench-strncmp.c: Likewise.
8437 * benchtests/bench-strncpy.c: Likewise.
8438 * benchtests/bench-strnlen.c: Likewise.
8439 * benchtests/bench-strpbrk.c: Likewise.
8440 * benchtests/bench-strrchr.c: Likewise.
8441 * benchtests/bench-strspn.c: Likewise.
8442
8443 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8444
8445 * stdlib/longlong.h: Update from GCC.
8446
8447 [BZ #23993]
8448 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8449 * configure: Regenerated.
8450 * manual/install.texi (Tools for Compilation): Update minimum GCC
8451 version.
8452 * INSTALL: Regenerated.
8453
8454 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8455
8456 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8457
8458 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8459
8460 * malloc/malloc.c (mremap_chunk): Additional checks.
8461
8462 2018-12-21 Mao Han <han_mao@c-sky.com>
8463
8464 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8465 * scripts/build-many-glibcs.py: Add C-SKY targets.
8466 * sysdeps/csky/Implies: New file.
8467 * sysdeps/csky/Makefile: Likewise.
8468 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8469 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8470 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8471 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8472 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8473 * sysdeps/csky/abiv2/memmove.S: Likewise.
8474 * sysdeps/csky/abiv2/memset.S: Likewise.
8475 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8476 * sysdeps/csky/abiv2/start.S: Likewise.
8477 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8478 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8479 * sysdeps/csky/abiv2/strlen.S: Likewise.
8480 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8481 * sysdeps/csky/abort-instr.h: Likewise.
8482 * sysdeps/csky/atomic-machine.h: Likewise.
8483 * sysdeps/csky/bits/endian.h: Likewise.
8484 * sysdeps/csky/bits/fenv.h: Likewise.
8485 * sysdeps/csky/bits/link.h: Likewise.
8486 * sysdeps/csky/bits/setjmp.h: Likewise.
8487 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8488 * sysdeps/csky/bsd-setjmp.S: Likewise.
8489 * sysdeps/csky/configure: Likewise.
8490 * sysdeps/csky/configure.ac: Likewise.
8491 * sysdeps/csky/dl-machine.h: Likewise.
8492 * sysdeps/csky/dl-procinfo.c: Likewise.
8493 * sysdeps/csky/dl-procinfo.h: Likewise.
8494 * sysdeps/csky/dl-sysdep.h: Likewise.
8495 * sysdeps/csky/dl-tls.h: Likewise.
8496 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8497 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8498 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8499 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8500 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8501 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8502 * sysdeps/csky/fpu/fegetround.c: Likewise.
8503 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8504 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8505 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8506 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8507 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8508 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8509 * sysdeps/csky/fpu/fesetround.c: Likewise.
8510 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8511 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8512 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8513 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8514 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8515 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8516 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8517 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8518 * sysdeps/csky/fpu_control.h: Likewise.
8519 * sysdeps/csky/gccframe.h: Likewise.
8520 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8521 * sysdeps/csky/ldsodefs.h: Likewise.
8522 * sysdeps/csky/libc-tls.c: Likewise.
8523 * sysdeps/csky/linkmap.h: Likewise.
8524 * sysdeps/csky/machine-gmon.h: Likewise.
8525 * sysdeps/csky/memusage.h: Likewise.
8526 * sysdeps/csky/nofpu/Implies: Likewise.
8527 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8528 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8529 * sysdeps/csky/nptl/Makefile: Likewise.
8530 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8531 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8532 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8533 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8534 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8535 * sysdeps/csky/nptl/tls.h: Likewise.
8536 * sysdeps/csky/preconfigure: Likewise.
8537 * sysdeps/csky/sfp-machine.h: Likewise.
8538 * sysdeps/csky/sotruss-lib.c: Likewise.
8539 * sysdeps/csky/stackinfo.h: Likewise.
8540 * sysdeps/csky/sysdep.h: Likewise.
8541 * sysdeps/csky/tininess.h: Likewise.
8542 * sysdeps/csky/tst-audit.h: Likewise.
8543 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8544 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8545 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8546 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8547 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8548 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8549 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8550 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8551 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8552 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8553 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8554 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8555 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8556 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8557 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8558 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8559 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8560 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8561 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8562 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8563 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8564 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8566 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8567 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8568 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8569 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8570 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8571 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8572 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8573 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8574 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8575 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8576 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8577 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8578 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8579 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8580 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8581 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8582 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8583 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8584 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8585 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8586 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8587
8588 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8589
8590 * include/time.h (__difftime64): Add.
8591 * time/difftime.c (subtract): convert to 64-bit time.
8592 * time/difftime.c (__difftime64): Add.
8593 * time/difftime.c (__difftime): Wrap around __difftime64.
8594
8595 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8596
8597 * manual/examples/add.c: Remove redundant "if not".
8598 * manual/examples/argp-ex1.c: Likewise.
8599 * manual/examples/argp-ex2.c: Likewise.
8600 * manual/examples/argp-ex3.c: Likewise.
8601 * manual/examples/argp-ex4.c: Likewise.
8602 * manual/examples/atexit.c: Likewise.
8603 * manual/examples/db.c: Likewise.
8604 * manual/examples/dir.c: Likewise.
8605 * manual/examples/dir2.c: Likewise.
8606 * manual/examples/execinfo.c: Likewise.
8607 * manual/examples/filecli.c: Likewise.
8608 * manual/examples/filesrv.c: Likewise.
8609 * manual/examples/fmtmsgexpl.c: Likewise.
8610 * manual/examples/genpass.c: Likewise.
8611 * manual/examples/inetcli.c: Likewise.
8612 * manual/examples/inetsrv.c: Likewise.
8613 * manual/examples/isockad.c: Likewise.
8614 * manual/examples/longopt.c: Likewise.
8615 * manual/examples/memopen.c: Likewise.
8616 * manual/examples/memstrm.c: Likewise.
8617 * manual/examples/mkdirent.c: Likewise.
8618 * manual/examples/mkfsock.c: Likewise.
8619 * manual/examples/mkisock.c: Likewise.
8620 * manual/examples/mygetpass.c: Likewise.
8621 * manual/examples/pipe.c: Likewise.
8622 * manual/examples/popen.c: Likewise.
8623 * manual/examples/rprintf.c: Likewise.
8624 * manual/examples/search.c: Likewise.
8625 * manual/examples/select.c: Likewise.
8626 * manual/examples/setjmp.c: Likewise.
8627 * manual/examples/sigh1.c: Likewise.
8628 * manual/examples/sigusr.c: Likewise.
8629 * manual/examples/stpcpy.c: Likewise.
8630 * manual/examples/strdupa.c: Likewise.
8631 * manual/examples/strftim.c: Likewise.
8632 * manual/examples/subopt.c: Likewise.
8633 * manual/examples/swapcontext.c: Likewise.
8634 * manual/examples/termios.c: Likewise.
8635 * manual/examples/testopt.c: Likewise.
8636 * manual/examples/testpass.c: Likewise.
8637 * manual/examples/timeval_subtract.c: Likewise.
8638
8639 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8640
8641 * sysdeps/x86/fpu/math_private.h: New file.
8642 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8643
8644 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8645 definition.
8646 (cosh): Likewise.
8647 (tanh): Likewise.
8648
8649 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8650
8651 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8652 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8653 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8654 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8655 fields.
8656 (_dl_show_auxv): Give a special treatment to
8657 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8658 and AT_L3_CACHEGEOMETRY.
8659 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8660 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8661 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8662 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8663
8664 2018-12-19 Andreas Schwab <schwab@suse.de>
8665
8666 * nscd/connections.c (check_use): Don't abort on invalid len.
8667
8668 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8669
8670 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8671 values in the 64bit value cases.
8672
8673 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8674
8675 * include/time.h
8676 (__ctime64_r): Add.
8677 * time/ctime_r.c
8678 (__ctime64_r): Add.
8679 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8680
8681 * include/time.h
8682 (__ctime64): Add.
8683 * time/gmtime.c
8684 (__ctime64): Add.
8685 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8686
8687 * include/time.h
8688 (__gmtime64_r): Add.
8689 * time/gmtime.c
8690 (__gmtime64_r): Add.
8691 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8692
8693 * include/time.h
8694 (__gmtime64): Add.
8695 * time/gmtime.c
8696 (__gmtime64): Add.
8697 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8698
8699 * include/time.h
8700 (__localtime64_r): Add.
8701 * time/localtime.c
8702 (__localtime64_r): Add.
8703 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8704
8705 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8706
8707 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8708 kernel_sigction definition.
8709
8710 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8711
8712 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8713
8714 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8715 __syscall_rt_sigaction.
8716 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8717 (kernel_sigaction): Use Linux generic defintion.
8718 (STUB): Define.
8719 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8720 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8721 (__syscall_rt_sigaction): Remove implementation.
8722 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8723 hidden.
8724 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8725 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8726 INTERNAL_SYSCALL): Remove definitions.
8727 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8728 action and signal set size.
8729 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8730 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8731
8732 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8733 James Clarke <jrtc27@jrtc27.com>
8734
8735 [BZ #23967]
8736 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8737 Define if SA_RESTORER is defined.
8738 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8739 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8740 already defined.
8741 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8742 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8743 definitions.
8744 (HAS_SA_RESTORER): Define.
8745 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8746 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8747 (HAS_SA_RESTORER): Define.
8748 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8749 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8750 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8751 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8752 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8753
8754 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8755
8756 * sysdeps/unix/sysv/linux/kernel-features.h
8757 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8758 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8759 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8760 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8761 (__ASSUME_ST_INO_64_BIT): Likewise.
8762 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8763 <kernel-features.h>.
8764 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8765 Remove conditional code.
8766 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8767 <kernel-features.h>.
8768 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8769 Remove conditional code.
8770 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8771 <kernel-features.h>.
8772 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8773 Remove conditional code.
8774 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8775 <kernel-features.h>.
8776 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8777 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8778
8779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8780
8781 * sysdeps/s390/multiarch/ifunc-resolve.h
8782 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8783 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8784 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8785 Delete macro definition.
8786 (s390_libc_ifunc_init): Rename to
8787 s390_libc_ifunc_expr_stfle_init.
8788 * sysdeps/s390/bzero: Use
8789 s390_libc_ifunc_expr_stfle_init instead of
8790 s390_libc_ifunc_init.
8791 * sysdeps/s390/memcmp.c: Likewise.
8792 * sysdeps/s390/memcpy.c: Likewise.
8793 * sysdeps/s390/mempcpy.c: Likewise.
8794 * sysdeps/s390/memset.c: Likewise.
8795
8796 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8797
8798 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8799 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8800
8801 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8802
8803 * sysdeps/s390/multiarch/Makefile
8804 (sysdep_routines): Remove wmemcmp variants.
8805 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8806 * sysdeps/s390/multiarch/ifunc-impl-list.c
8807 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8808 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8809 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8810 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8811 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8812 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8813 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8814 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8815
8816 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8817
8818 * sysdeps/s390/multiarch/Makefile
8819 (sysdep_routines): Remove wmemset variants.
8820 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8821 * sysdeps/s390/multiarch/ifunc-impl-list.c
8822 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8823 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8824 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8825 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8826 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8827 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8828 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8829 * sysdeps/s390/ifunc-wmemset.h: New file.
8830
8831 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8832
8833 * sysdeps/s390/multiarch/Makefile
8834 (sysdep_routines): Remove wmemchr variants.
8835 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8836 * sysdeps/s390/multiarch/ifunc-impl-list.c
8837 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8838 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8839 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8840 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8841 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8842 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8843 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8844 * sysdeps/s390/ifunc-wmemchr.h: New file.
8845
8846 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8847
8848 * sysdeps/s390/multiarch/Makefile
8849 (sysdep_routines): Remove wcscspn variants.
8850 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8851 * sysdeps/s390/multiarch/ifunc-impl-list.c
8852 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8853 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8854 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8855 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8856 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8857 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8858 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8859 * sysdeps/s390/ifunc-wcscspn.h: New file.
8860
8861 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8862
8863 * sysdeps/s390/multiarch/Makefile
8864 (sysdep_routines): Remove wcspbrk variants.
8865 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8866 * sysdeps/s390/multiarch/ifunc-impl-list.c
8867 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8868 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8869 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8870 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8871 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8872 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8873 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8874 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8875
8876 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8877
8878 * sysdeps/s390/multiarch/Makefile
8879 (sysdep_routines): Remove wcsspn variants.
8880 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8881 * sysdeps/s390/multiarch/ifunc-impl-list.c
8882 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8883 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8884 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8885 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8886 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8887 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8888 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8889 * sysdeps/s390/ifunc-wcsspn.h: New file.
8890
8891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8892
8893 * sysdeps/s390/multiarch/Makefile
8894 (sysdep_routines): Remove wcsrchr variants.
8895 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8896 * sysdeps/s390/multiarch/ifunc-impl-list.c
8897 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8898 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8899 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8900 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8901 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8902 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8903 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8904 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8905
8906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8907
8908 * sysdeps/s390/multiarch/Makefile
8909 (sysdep_routines): Remove wcschrnul variants.
8910 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8911 * sysdeps/s390/multiarch/ifunc-impl-list.c
8912 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8913 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8914 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8915 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8916 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8917 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8918 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8919 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8920
8921 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8922
8923 * sysdeps/s390/multiarch/Makefile
8924 (sysdep_routines): Remove wcschr variants.
8925 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8926 * sysdeps/s390/multiarch/ifunc-impl-list.c
8927 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8928 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8929 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8930 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8931 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8932 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8933 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8934 * sysdeps/s390/ifunc-wcschr.h: New file.
8935
8936 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8937
8938 * sysdeps/s390/multiarch/Makefile
8939 (sysdep_routines): Remove wcsncmp variants.
8940 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8941 * sysdeps/s390/multiarch/ifunc-impl-list.c
8942 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8943 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8944 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8945 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8946 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8947 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8948 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8949 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8950
8951 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8952
8953 * sysdeps/s390/multiarch/Makefile
8954 (sysdep_routines): Remove wcscmp variants.
8955 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8956 * sysdeps/s390/multiarch/ifunc-impl-list.c
8957 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8958 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8959 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8960 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8961 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8962 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8963 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8964 * sysdeps/s390/ifunc-wcscmp.h: New file.
8965
8966 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8967
8968 * sysdeps/s390/multiarch/Makefile
8969 (sysdep_routines): Remove wcsncat variants.
8970 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8971 * sysdeps/s390/multiarch/ifunc-impl-list.c
8972 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8973 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8974 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8975 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8976 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8977 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8978 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8979 * sysdeps/s390/ifunc-wcsncat.h: New file.
8980
8981 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8982
8983 * sysdeps/s390/multiarch/Makefile
8984 (sysdep_routines): Remove wcscat variants.
8985 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8986 * sysdeps/s390/multiarch/ifunc-impl-list.c
8987 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8988 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8989 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8990 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8991 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8992 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8993 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8994 * sysdeps/s390/ifunc-wcscat.h: New file.
8995
8996 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8997
8998 * sysdeps/s390/multiarch/Makefile
8999 (sysdep_routines): Remove wcpncpy variants.
9000 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
9001 * sysdeps/s390/multiarch/ifunc-impl-list.c
9002 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
9003 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
9004 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
9005 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
9006 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
9007 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
9008 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
9009 * sysdeps/s390/ifunc-wcpncpy.h: New file.
9010
9011 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9012
9013 * sysdeps/s390/multiarch/Makefile
9014 (sysdep_routines): Remove wcsncpy variants.
9015 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
9016 * sysdeps/s390/multiarch/ifunc-impl-list.c
9017 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
9018 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9019 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
9020 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
9021 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
9022 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
9023 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
9024 * sysdeps/s390/ifunc-wcsncpy.h: New file.
9025
9026 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9027
9028 * sysdeps/s390/multiarch/Makefile
9029 (sysdep_routines): Remove wcpcpy variants.
9030 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
9031 * sysdeps/s390/multiarch/ifunc-impl-list.c
9032 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
9033 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
9034 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
9035 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
9036 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
9037 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
9038 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
9039 * sysdeps/s390/ifunc-wcpcpy.h: New file.
9040
9041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9042
9043 * sysdeps/s390/multiarch/Makefile
9044 (sysdep_routines): Remove wcscpy variants.
9045 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
9046 * sysdeps/s390/multiarch/ifunc-impl-list.c
9047 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
9048 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
9049 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
9050 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
9051 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
9052 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
9053 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
9054 * sysdeps/s390/ifunc-wcscpy.h: New file.
9055
9056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9057
9058 * sysdeps/s390/multiarch/Makefile
9059 (sysdep_routines): Remove wcsnlen variants.
9060 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
9061 * sysdeps/s390/multiarch/ifunc-impl-list.c
9062 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
9063 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
9064 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
9065 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
9066 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
9067 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
9068 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
9069 * sysdeps/s390/ifunc-wcsnlen.h: New file.
9070
9071 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9072
9073 * sysdeps/s390/multiarch/Makefile
9074 (sysdep_routines): Remove wcslen variants.
9075 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
9076 * sysdeps/s390/multiarch/ifunc-impl-list.c
9077 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
9078 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9079 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
9080 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
9081 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
9082 * sysdeps/s390/multiarch/wcslen.c: Move to ...
9083 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
9084 * sysdeps/s390/ifunc-wcslen.h: New file.
9085
9086 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9087
9088 * sysdeps/s390/multiarch/Makefile
9089 (sysdep_routines): Remove memrchr variants.
9090 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
9091 * sysdeps/s390/multiarch/ifunc-impl-list.c
9092 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
9093 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
9094 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
9095 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
9096 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
9097 * sysdeps/s390/multiarch/memrchr.c: Move to ...
9098 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
9099 * sysdeps/s390/ifunc-memrchr.h: New file.
9100
9101 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9102
9103 * sysdeps/s390/multiarch/Makefile
9104 (sysdep_routines): Remove memccpy variants.
9105 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9106 * sysdeps/s390/multiarch/ifunc-impl-list.c
9107 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9108 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9109 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9110 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9111 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9112 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9113 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9114 * sysdeps/s390/ifunc-memccpy.h: New file.
9115
9116 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9117
9118 * sysdeps/s390/multiarch/Makefile
9119 (sysdep_routines): Remove rawmemchr variants.
9120 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9121 * sysdeps/s390/multiarch/ifunc-impl-list.c
9122 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9123 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9124 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9125 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9126 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9127 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9128 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9129 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9130
9131 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9132
9133 * sysdeps/s390/multiarch/Makefile
9134 (sysdep_routines): Remove memchr variants.
9135 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9136 * sysdeps/s390/multiarch/ifunc-impl-list.c
9137 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9138 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9139 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9140 * sysdeps/s390/multiarch/memchr.c: Move to ...
9141 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9142 * sysdeps/s390/ifunc-memchr.h: New file.
9143 * sysdeps/s390/s390-64/memchr.S: Move to ...
9144 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9145 for 31/64bit and ifunc handling.
9146 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9147 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9148 * sysdeps/s390/s390-32/memchr.S: Likewise.
9149
9150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9151
9152 * sysdeps/s390/multiarch/Makefile
9153 (sysdep_routines): Remove strcspn variants.
9154 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9155 * sysdeps/s390/multiarch/ifunc-impl-list.c
9156 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9157 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9158 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9159 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9160 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9161 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9162 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9163 * sysdeps/s390/ifunc-strcspn.h: New file.
9164
9165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9166
9167 * sysdeps/s390/multiarch/Makefile
9168 (sysdep_routines): Remove strpbrk variants.
9169 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9170 * sysdeps/s390/multiarch/ifunc-impl-list.c
9171 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9172 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9173 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9174 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9175 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9176 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9177 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9178 * sysdeps/s390/ifunc-strpbrk.h: New file.
9179
9180 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9181
9182 * sysdeps/s390/multiarch/Makefile
9183 (sysdep_routines): Remove strspn variants.
9184 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9185 * sysdeps/s390/multiarch/ifunc-impl-list.c
9186 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9187 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9188 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9189 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9190 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9191 * sysdeps/s390/multiarch/strspn.c: Move to ...
9192 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9193 * sysdeps/s390/ifunc-strspn.h: New file.
9194
9195 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9196
9197 * sysdeps/s390/multiarch/Makefile
9198 (sysdep_routines): Remove strrchr variants.
9199 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9200 * sysdeps/s390/multiarch/ifunc-impl-list.c
9201 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9202 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9203 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9204 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9205 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9206 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9207 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9208 * sysdeps/s390/ifunc-strrchr.h: New file.
9209
9210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9211
9212 * sysdeps/s390/multiarch/Makefile
9213 (sysdep_routines): Remove strchrnul variants.
9214 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9215 * sysdeps/s390/multiarch/ifunc-impl-list.c
9216 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9217 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9218 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9219 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9220 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9221 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9222 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9223 * sysdeps/s390/ifunc-strchrnul.h: New file.
9224
9225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9226
9227 * sysdeps/s390/multiarch/Makefile
9228 (sysdep_routines): Remove strchr variants.
9229 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9230 * sysdeps/s390/multiarch/ifunc-impl-list.c
9231 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9232 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9233 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9234 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9235 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9236 * sysdeps/s390/multiarch/strchr.c: Move to ...
9237 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9238 * sysdeps/s390/ifunc-strchr.h: New file.
9239
9240 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9241
9242 * sysdeps/s390/multiarch/Makefile
9243 (sysdep_routines): Remove strncmp variants.
9244 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9245 * sysdeps/s390/multiarch/ifunc-impl-list.c
9246 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9247 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9248 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9249 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9250 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9251 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9252 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9253 * sysdeps/s390/ifunc-strncmp.h: New file.
9254
9255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9256
9257 * sysdeps/s390/multiarch/Makefile
9258 (sysdep_routines): Remove strcmp variants.
9259 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9260 * sysdeps/s390/multiarch/ifunc-impl-list.c
9261 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9262 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9263 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9264 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9265 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9266 * sysdeps/s390/ifunc-strcmp.h: New file.
9267 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9268 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9269 for 31/64bit and ifunc handling.
9270 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9271 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9272 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9273
9274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9275
9276 * sysdeps/s390/multiarch/Makefile
9277 (sysdep_routines): Remove strncat variants.
9278 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9279 * sysdeps/s390/multiarch/ifunc-impl-list.c
9280 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9281 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9282 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9283 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9284 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9285 * sysdeps/s390/multiarch/strncat.c: Move to ...
9286 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9287 * sysdeps/s390/ifunc-strncat.h: New file.
9288
9289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9290
9291 * sysdeps/s390/multiarch/Makefile
9292 (sysdep_routines): Remove strcat variants.
9293 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9294 * sysdeps/s390/multiarch/ifunc-impl-list.c
9295 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9296 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9297 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9298 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9299 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9300 * sysdeps/s390/multiarch/strcat.c: Move to ...
9301 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9302 * sysdeps/s390/ifunc-strcat.h: New file.
9303
9304 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9305
9306 * sysdeps/s390/multiarch/Makefile
9307 (sysdep_routines): Remove stpncpy variants.
9308 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9309 * sysdeps/s390/multiarch/ifunc-impl-list.c
9310 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9311 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9312 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9313 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9314 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9315 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9316 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9317 * sysdeps/s390/ifunc-stpncpy.h: New file.
9318
9319 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9320
9321 * sysdeps/s390/multiarch/Makefile
9322 (sysdep_routines): Remove strncpy variants.
9323 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9324 * sysdeps/s390/multiarch/ifunc-impl-list.c
9325 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9326 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9327 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9328 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9329 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9330 * sysdeps/s390/ifunc-strncpy.h: New file.
9331 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9332 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9333 and adjust ifunc handling.
9334 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9335 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9336 and adjust ifunc handling.
9337 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9338 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9339
9340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9341
9342 * sysdeps/s390/multiarch/Makefile
9343 (sysdep_routines): Remove stpcpy variants.
9344 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9345 * sysdeps/s390/multiarch/ifunc-impl-list.c
9346 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9347 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9348 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9349 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9350 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9351 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9352 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9353 * sysdeps/s390/ifunc-stpcpy.h: New file.
9354
9355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9356
9357 * sysdeps/s390/multiarch/Makefile
9358 (sysdep_routines): Remove strcpy variants.
9359 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9360 * sysdeps/s390/multiarch/ifunc-impl-list.c
9361 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9362 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9363 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9364 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9365 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9366 * sysdeps/s390/ifunc-strcpy.h: New file.
9367 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9368 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9369 for 31/64bit and ifunc handling.
9370 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9371 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9372 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9373
9374 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9375
9376 * sysdeps/s390/multiarch/Makefile
9377 (sysdep_routines): Remove strnlen variants.
9378 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9379 * sysdeps/s390/multiarch/ifunc-impl-list.c
9380 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9381 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9382 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9383 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9384 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9385 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9386 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9387 * sysdeps/s390/ifunc-strnlen.h: New file.
9388
9389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9390
9391 * sysdeps/s390/multiarch/Makefile
9392 (sysdep_routines): Remove strlen variants.
9393 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9394 * sysdeps/s390/multiarch/ifunc-impl-list.c
9395 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9396 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9397 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9398 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9399 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9400 * sysdeps/s390/multiarch/strlen.c: Move to ...
9401 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9402 * sysdeps/s390/ifunc-strlen.h: New file.
9403
9404 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9405
9406 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9407 * sysdeps/s390/multiarch/ifunc-impl-list.c
9408 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9409 * sysdeps/s390/ifunc-memmem.h: New file.
9410 * sysdeps/s390/memmem.c: Likewise.
9411 * sysdeps/s390/memmem-c.c: Likewise.
9412 * sysdeps/s390/memmem-vx.c: Likewise.
9413
9414 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9415
9416 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9417 * sysdeps/s390/multiarch/ifunc-impl-list.c
9418 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9419 * sysdeps/s390/ifunc-strstr.h: New file.
9420 * sysdeps/s390/strstr.c: Likewise.
9421 * sysdeps/s390/strstr-c.c: Likewise.
9422 * sysdeps/s390/strstr-vx.c: Likewise.
9423
9424 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9425
9426 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9427 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9428 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9429 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9430 New defines.
9431 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9432 * sysdeps/s390/memmove-c.c: New file.
9433 * sysdeps/s390/memmove.c: Likewise.
9434 * sysdeps/s390/multiarch/ifunc-impl-list.c
9435 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9436
9437 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9438
9439 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9440 * sysdeps/s390/configure.ac: Add check for z13 support.
9441 * sysdeps/s390/configure: Regenerated.
9442
9443 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9444
9445 * sysdeps/s390/memcopy.h: New file.
9446
9447 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9448
9449 * sysdeps/s390/s390-32/bcopy.S: Remove.
9450 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9451
9452 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9453
9454 * sysdeps/s390/ifunc-memcpy.h: New File.
9455 * sysdeps/s390/memcpy.S: Move to ...
9456 * sysdeps/s390/memcpy-z900.S ... here.
9457 Move implementations from memcpy-s390x.s to here.
9458 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9459 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9460 Remove memcpy/mempcpy variants.
9461 * sysdeps/s390/Makefile (sysdep_routines):
9462 Add memcpy/mempcpy variants.
9463 * sysdeps/s390/multiarch/ifunc-impl-list.c
9464 (__libc_ifunc_impl_list): Adjust ifunc variants for
9465 memcpy and mempcpy.
9466 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9467 to ...
9468 * sysdeps/s390/memcpy.c: ... here.
9469 Adjust ifunc variants for memcpy.
9470 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9471 * sysdeps/s390/mempcpy.c: ... here.
9472 Adjust ifunc variants for mempcpy.
9473 * sysdeps/s390/mempcpy.S: Delete file.
9474
9475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9476
9477 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9478 * sysdeps/s390/memcpy.S: ... here.
9479 Adjust to be usable for 31/64bit.
9480 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9481 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9482 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9483 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9484 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9485 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9486 Adjust to be usable for 31/64bit.
9487 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9488 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9489 * sysdeps/s390/multiarch/memcpy.c: ... here.
9490 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9491
9492 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9493
9494 * sysdeps/s390/ifunc-memcmp.h: New File.
9495 * sysdeps/s390/memcmp.S: Move to ...
9496 * sysdeps/s390/memcmp-z900.S ... here.
9497 Move implementations from memcmp-s390x.s to here.
9498 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9499 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9500 Remove memcmp variants.
9501 * sysdeps/s390/Makefile (sysdep_routines):
9502 Add memcmp variants.
9503 * sysdeps/s390/multiarch/ifunc-impl-list.c
9504 (__libc_ifunc_impl_list): Adjust ifunc variants for
9505 memcmp.
9506 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9507 to ...
9508 * sysdeps/s390/memcmp.c: ... here.
9509 Adjust ifunc variants for memcmp.
9510
9511 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9512
9513 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9514 * sysdeps/s390/memcmp.S: ... here.
9515 Adjust to be usable for 31/64bit.
9516 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9517 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9518 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9519 Remove memcmp.
9520 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9521 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9522 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9523 Adjust to be usable for 31/64bit.
9524 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9525 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9526 * sysdeps/s390/multiarch/memcmp.c: ... here.
9527 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9528
9529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9530
9531 * sysdeps/s390/s390-32/bzero.S: Delete file.
9532 * sysdeps/s390/s390-64/bzero.S: Likewise.
9533 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9534 * sysdeps/s390/bzero.c: New file.
9535 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9536 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9537 * sysdeps/s390/multiarch/ifunc-impl-list.c
9538 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9539
9540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9541
9542 * sysdeps/s390/ifunc-memset.h: New File.
9543 * sysdeps/s390/memset.S: Move to ...
9544 * sysdeps/s390/memset-z900.S ... here.
9545 Move implementations from memset-s390x.s to here.
9546 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9547 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9548 Remove memset variants.
9549 * sysdeps/s390/Makefile (sysdep_routines):
9550 Add memset variants.
9551 * sysdeps/s390/multiarch/ifunc-impl-list.c
9552 (__libc_ifunc_impl_list): Adjust ifunc variants for
9553 memset.
9554 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9555 to ...
9556 * sysdeps/s390/memset.c: ... here.
9557 Adjust ifunc variants for memset.
9558
9559 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9560
9561 * sysdeps/s390/s390-64/memset.S: Move to ...
9562 * sysdeps/s390/memset.S: ... here.
9563 Adjust to be usable for 31/64bit.
9564 * sysdeps/s390/s390-32/memset.S: Delete File.
9565 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9566 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9567 Remove memset.
9568 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9569 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9570 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9571 Adjust to be usable for 31/64bit.
9572 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9573 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9574 * sysdeps/s390/multiarch/memset.c: ... here.
9575 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9576
9577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9578
9579 * sysdeps/s390/multiarch/ifunc-resolve.h
9580 (s390_libc_ifunc_init, s390_libc_ifunc,
9581 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9582
9583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9584
9585 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9586 * sysdeps/s390/configure.ac: Add check for z10 support.
9587 * sysdeps/s390/configure: Regenerated.
9588
9589 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9590
9591 * sysdeps/i386/atomic-machine.h: Merged with ...
9592 * sysdeps/x86_64/atomic-machine.h: To ...
9593 * sysdeps/x86/atomic-machine.h: This. New file.
9594
9595 2018-12-18 Florian Weimer <fweimer@redhat.com>
9596
9597 Rewrite locale/gen-translit.pl in Python.
9598 * locale/Makefile (generated): Add C-translit.h.
9599 (before-compile): Add $(objpfx)C-translit.h.
9600 (C-translit.h): Move to $(objpfx). Create target directory.
9601 Build using Python script.
9602 * locale/gen-translit.py: New file.
9603 * locale/gen-translit.pl: Remove file.
9604 * locale/C-translit.h.in: Change comment character to '#' for
9605 easier parsing without a C preprocessor.
9606 * locale/C-translit.h: Remove generated file.
9607 * manual/install.texi (Tools for Compilation): Do not mention
9608 C-translit.h.
9609 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9610 Remove locale/C-translit.h.
9611 * scripts/update-copyrights: Likewise.
9612 * INSTALL: Regenerate.
9613
9614 2018-12-18 Florian Weimer <fweimer@redhat.com>
9615
9616 [BZ #23995]
9617 * localedata/locales/bi_VU: Remove executable bit from file.
9618
9619 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9620
9621 * include/time.h
9622 (__localtime64): Add.
9623 * manual/maint.texi: Document Y2038 symbol handling.
9624 * time/localtime.c
9625 (__localtime64): Add.
9626 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9627
9628 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9629
9630 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9631 Do not clobber r12.
9632
9633 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9634 to allow extra macros from first or second sources.
9635 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9636 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9637 (tests-special): Add $(objpfx)tst-mman-consts.out.
9638 ($(objpfx)tst-mman-consts.out): New makefile target.
9639
9640 2018-12-17 Mao Han <han_mao@c-sky.com>
9641
9642 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9643 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9644 without stat64 system call support.
9645 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9646 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9647 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9648 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9649 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9650 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9651 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9652 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9653 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9654 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9655 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9656
9657 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9658
9659 regex: fix storage-exhaustion error
9660 [BZ #18040]
9661 * posix/regexec.c (get_subexp):
9662 Do not continue if storage is exhausted.
9663
9664 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9665
9666 regex: fix heap-use-after-free error
9667 [BZ #18040]
9668 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9669 https://debbugs.gnu.org/32592
9670 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9671 call extend_buffers which reallocates the re_string_t internal buffer.
9672 Local variable 'buf' was not updated in such case, resulting in
9673 use-after-free.
9674 * posix/regexec.c (get_subexp): Update 'buf' after call to
9675 get_subexp_sub.
9676
9677 2018-12-15 Florian Weimer <fweimer@redhat.com>
9678
9679 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9680 (minimum_stride_size): Use it.
9681 (support_blob_repeat_allocate): Likewise.
9682
9683 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9684
9685 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9686 definition.
9687 (acosh): Likewise.
9688 (atanh): Likewise.
9689
9690 2018-12-14 Florian Weimer <fweimer@redhat.com>
9691
9692 * manual/process.texi (Process Creation Concepts): Remove
9693 documentation of process (ID) lifetime. List more process
9694 creation functions. Reference Process Identification section.
9695 (Process Identification): Add information about process ID
9696 lifetime. Describe Linux thread/task IDs.
9697 * manual/signal.texi (Signaling Another Process): Mention that the
9698 signal is always sent to the process.
9699
9700 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9701
9702 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9703 and tst-ldbl-efgcvt.
9704 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9705 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9706 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9707 (fcvt_tests, output_error, output_r_error, do_test): Use the
9708 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9709 select the type of floating-point variables and arguments; to
9710 produce extra tests for double and conversion specifiers for
9711 printf; and to set the names of called functions.
9712 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9713 in tst-efgcvt-template.c.
9714 * misc/tst-ldbl-efgcvt.c: Likewise.
9715
9716 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9717
9718 * nss/Makefile (tst-nss-test3.out): New rule.
9719
9720 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9721
9722 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9723 clobber sp.
9724
9725 2018-12-13 fanjinke <fanjinke@hygon.cn>
9726
9727 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9728 "HygonGenuine".
9729
9730 2018-12-13 Andreas Schwab <schwab@suse.de>
9731
9732 [BZ #23861]
9733 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9734 (__pthread_rwlock_rdlock_full): Update expected value for
9735 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9736 * nptl/tst-rwlock-pwn.c: New file.
9737 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9738
9739 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9740
9741 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9742 definition.
9743
9744 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9745
9746 * benchtests/scripts/compare_bench.py (do_compare): write to
9747 stderr in casestat is not present.
9748 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9749 stderr in case timings field is not present. Also string showing
9750 the output filename goes into the stderr.
9751
9752 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9753
9754 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9755 and ZeroDivisorError exceptions.
9756 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9757 argument to loop through user provided statistics.
9758 * benchtests/scripts/compare_bench.py (main): Include the --stats
9759 argument.
9760
9761 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9762
9763 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9764 instead of return.
9765
9766 2018-12-12 Florian Weimer <fweimer@redhat.com>
9767
9768 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9769 clause to copyright header.
9770
9771 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9772
9773 [BZ #23614]
9774 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9775 registers saved in the stack frame.
9776 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9777 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9778
9779 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9780
9781 * include/bits/monetary-ldbl.h: New file.
9782 * include/bits/printf-ldbl.h: Likewise.
9783 * include/bits/stdio-ldbl.h: Likewise.
9784 * include/bits/stdlib-ldbl.h: Likewise.
9785 * include/bits/syslog-ldbl.h: Likewise.
9786 * include/bits/wchar-ldbl.h: Likewise.
9787
9788 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9789
9790 * libio/libio.h: Remove redirection for _IO_vfprintf.
9791
9792 2018-12-11 Andreas Schwab <schwab@suse.de>
9793
9794 * Makerules: Remove all references to abilist-pattern.
9795 (update-all-abi): Simplify find expression.
9796
9797 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9798
9799 [BZ #23961]
9800 * math/auto-libm-test-in: Add new test case.
9801 * math/auto-libm-test-out-pow: Regenerated.
9802 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9803
9804 2018-12-10 DJ Delorie <dj@redhat.com>
9805
9806 [BZ #23948]
9807 * support/test-container.c: Move postclean step to before we
9808 change namespaces.
9809
9810 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9811
9812 * scripts/gen-as-const.py (main): Handle --python option.
9813 * scripts/gen-py-const.awk: Remove.
9814 * Makerules (py-const-script): Use gen-as-const.py.
9815 ($(py-const)): Likewise.
9816 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9817 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9818 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9819 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9820 ~PTHREAD_MUTEX_NO_ELISION_NP.
9821 * manual/README.pretty-printers: Update reference to
9822 gen-py-const.awk.
9823
9824 * scripts/glibcextract.py: New file.
9825 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9826 or tempfile. Import glibcexctract.
9827 (compute_c_consts): Remove. Moved to glibcextract.py.
9828 (gen_test): Update reference to compute_c_consts.
9829 (main): Likewise.
9830 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9831 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9832 * sysdeps/unix/sysv/linux/Makefile
9833 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9834 Redirect stderr as well as stdout.
9835
9836 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9837
9838 [BZ #19767]
9839 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9840 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9841 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9842 ALWAYS_USE_VSYSCALL.
9843 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9844 ALWAYS_USE_VSYSCALL.
9845 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9846 ALWAYS_USE_VSYSCALL.
9847
9848 2018-12-10 Florian Weimer <fweimer@redhat.com>
9849
9850 [BZ #23972]
9851 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9852 offset instead of count for clarity. Fix typo in comment.
9853 (__old_getdents64): Keep track of previous offset. Use it to call
9854 handle_overflow.
9855 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9856 that d_off is never zero.
9857
9858 2018-12-10 Andreas Schwab <schwab@suse.de>
9859
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9861 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9863 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9864 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9865
9866 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9867
9868 * timezone/private.h: Update from tzcode 2018g.
9869 * timezone/tzfile.h: Likewise.
9870 * timezone/tzselect.ksh: Likewise.
9871 * timezone/zdump.c: Likewise.
9872 * timezone/zic.c: Likewise.
9873
9874 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9875
9876 [BZ #23490]
9877 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9878 (do_test): Adjust buffer size and fix format.
9879
9880 2018-12-07 DJ Delorie <dj@redhat.com>
9881
9882 [BZ #23907]
9883 * malloc/tst-tcfree3.c: New.
9884 * malloc/Makefile: Add it.
9885
9886 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9887
9888 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9889
9890 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9891
9892 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9893 used as a mask for the mode argument of __vfscanf_internal and
9894 __vfwscanf_internal.
9895 * stdio-common/vfscanf-internal.c
9896 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9897 (__strtof128_internal): Define to __wcstof128_internal.
9898 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9899 __strtof128_internal or __wcstof128_internal when the format of
9900 long double is the same as _Float128.
9901
9902 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9903
9904 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9905 * posix/confstr.c (confstr): Rename to __confstr.
9906 (__confstr): Add hidden def.
9907 (confstr): Add weak alias for __confstr.
9908 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9909 confstr.
9910
9911 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9912
9913 * NEWS: Mention getcpu.
9914 * include/sched.h (__getcpu): New libc_hidden_proto.
9915 * manual/resource.texi: Document getcpu.
9916 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9917 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9918 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9919 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9920 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9921 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9922 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9923 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9924 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9925 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9926 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9927 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9928 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9929 Likewise.
9930 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9932 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9934 Likewise.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9936 Likewise.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9938 Likewise.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9940 Likewise.
9941 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9944 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9945 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9946 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9947 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9948 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9950 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9951 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9952 Also check getcpu.
9953
9954 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9955
9956 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9957 functions.
9958 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9959
9960 2018-12-07 Florian Weimer <fweimer@redhat.com>
9961
9962 [BZ #17405]
9963 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9964 * posix/Versions (GLIBC_2.29): Export
9965 posix_spawn_file_actions_addfchdir_np.
9966 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9967 * posix/spawn_faction_destroy.c
9968 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9969 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9970 and the field action.fchdir_action.
9971 * posix/tst-spawn-chdir.c (add_chdir): New function.
9972 (do_test): Add do_fchdir loop. Call add_chdir.
9973 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9974 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9975 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9976 posix_spawn_file_actions_addfchdir_np.
9977 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9978 Likewise.
9979 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9980 Likewise.
9981 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9982 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9985 Likewise.
9986 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9987 Likewise.
9988 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9991 Likewise.
9992 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9993 Likewise.
9994 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9995 (GLIBC_2.29): Likewise.
9996 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9997 (GLIBC_2.29): Likewise.
9998 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9999 (GLIBC_2.29): Likewise.
10000 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10001 (GLIBC_2.29): Likewise.
10002 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10003 Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10005 (GLIBC_2.29): Likewise.
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10007 (GLIBC_2.29): Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10009 (GLIBC_2.29): Likewise.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10011 (GLIBC_2.29): Likewise.
10012 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10013 Likewise.
10014 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10015 Likewise.
10016 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10017 Likewise.
10018 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10019 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10020 Likewise.
10021 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10022 Likewise.
10023 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10024 Likewise.
10025 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10026 Likewise.
10027
10028 2018-12-06 Joseph Myers <joseph@codesourcery.com>
10029
10030 * manual/texinfo.tex: Update to version 2018-09-21.20 with
10031 trailing whitespace removed.
10032 * scripts/config.guess: Update to version 2018-11-28.
10033 * scripts/config.sub: Update to version 2018-11-28.
10034 * scripts/install-sh: Update to version 2018-03-11.20.
10035 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
10036 * scripts/move-if-change: Update to version 2018-03-07 03:47.
10037
10038 2018-12-07 Florian Weimer <fweimer@redhat.com>
10039
10040 [BZ #23927]
10041 CVE-2018-19591
10042 * inet/tst-if_index-long.c: New file.
10043 * inet/Makefile (tests): Add tst-if_index-long.
10044
10045 2018-12-07 Florian Weimer <fweimer@redhat.com>
10046
10047 * support/check.h (support_record_failure_is_failed): Declare.
10048 * support/descriptors.h: New file.
10049 * support/support_descriptors.c: Likewise.
10050 * support/tst-support_descriptors.c: Likewise.
10051 * support/support_record_failure.c
10052 (support_record_failure_is_failed): New function.
10053 * support/Makefile (libsupport-routines): Add support_descriptors.
10054 (tests): Add tst-support_descriptors.
10055
10056 2018-12-05 Zack Weinberg <zackw@panix.com>
10057 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10058
10059 * stdio-common/vfprintf-internal.c
10060 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
10061 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
10062 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
10063 and __no_long_double.
10064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
10065 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
10066 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
10067 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
10068 and __nldbl_*syslog* functions.
10069 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
10070 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
10071 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
10072 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
10073 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
10074 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
10075 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
10076 (__nldbl_vwprintf, __nldbl_wprintf):
10077 Directly call the appropriate __v*printf_internal routine, passing
10078 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
10079 variable names.
10080 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
10081 (__nldbl___printf_chk, __nldbl___snprintf_chk)
10082 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
10083 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
10084 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
10085 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10086 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
10087 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
10088 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
10089 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
10090 Likewise, and also pass PRINTF_FORTIFY when appropriate.
10091 (__nldbl_syslog, __nldbl_vsyslog):
10092 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
10093 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10094 appropriate.
10095 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10096 appropriate.
10097
10098 2018-12-05 Zack Weinberg <zackw@panix.com>
10099 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10100
10101 [BZ #11319]
10102 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10103 Moved here from debug/vsprintf_chk.c.
10104 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10105 and completion logic for the strfile to match exactly what
10106 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10107 _IO_str_init_static_internal instead of maxlen-1.
10108 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10109 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10110 __vsprintf_internal.
10111
10112 * debug/vsprintf_chk.c (__vsprintf_chk)
10113 * debug/sprintf_chk.c (__sprintf_chk):
10114 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10115 'flags' argument is positive, and slen as maxlen. No need to lock
10116 the FILE and/or construct a temporary FILE. Minimize and normalize
10117 header inclusions and variable names. Do not libc_hidden_def anything.
10118
10119 * debug/asprintf_chk.c (__asprintf_chk)
10120 * debug/dprintf_chk.c (__dprintf_chk)
10121 * debug/fprintf_chk.c (__fprintf_chk)
10122 * debug/fwprintf_chk.c (__fwprintf_chk)
10123 * debug/printf_chk.c (__printf_chk)
10124 * debug/snprintf_chk.c (__snprintf_chk)
10125 * debug/swprintf_chk.c (__swprintf_chk)
10126 * debug/vasprintf_chk.c (__vasprintf_chk)
10127 * debug/vdprintf_chk.c (__vdprintf_chk)
10128 * debug/vfprintf_chk.c (__vfprintf_chk)
10129 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10130 * debug/vprintf_chk.c (__vprintf_chk)
10131 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10132 * debug/vswprintf_chk.c (__vswprintf_chk)
10133 * debug/vwprintf_chk.c (__vwprintf_chk)
10134 * debug/wprintf_chk.c (__wprintf_chk):
10135 Directly call the corresponding vxxprintf_internal function, passing
10136 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10137 the FILE and/or construct a temporary FILE. Minimize and normalize
10138 header inclusions and variable names. Do not libc_hidden_def anything.
10139
10140 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10141 __obstack_vprintf_internal.
10142 (__obstack_vprintf_chk): Convert into a wrapper that calls
10143 __obstack_vprintf_internal (these two functions already had the
10144 same code) and move to new file...
10145 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10146 file.
10147 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10148 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10149 * debug/Makefile (routines): Add vobprintf_chk.
10150
10151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10152 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10153 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10154 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10155 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10156 (__nldbl___obstack_vfprintf_chk):
10157 Directly call the corresponding vxxprintf_internal function,
10158 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10159 duplicate comparison of slen with 0 or maxlen from the corresponding
10160 non-__nldbl function.
10161
10162 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10163 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10164 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10165 Remove libc_hidden_proto.
10166
10167 * stdio-common/vfprintf-internal.c
10168 (__vfprintf_internal, __vfwprintf_internal):
10169 Do not check _IO_FLAGS2_FORTIFY.
10170 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10171 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10172 a comment explaining why it has the maxlen argument.
10173 (_IO_acquire_lock_clear_flags2_fct): Remove.
10174 (_IO_acquire_lock_clear_flags2): Remove.
10175 (_IO_release_lock): Remove conditional statement which will
10176 now never execute.
10177 (_IO_acquire_lock): Remove variable which is now unused.
10178 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10179 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10180
10181 * stdio-common/Makefile (tests): Add tst-bz11319 and
10182 tst-bz11319-fortify2.
10183 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10184 * stdio-common/tst-bz11319-fortify2.c: New file.
10185 * stdio-common/tst-bz11319.c: Likewise.
10186
10187 2018-12-05 Zack Weinberg <zackw@panix.com>
10188 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10189
10190 * misc/syslog.c: Include libioP.h, not iolibio.h.
10191 (__vsyslog_internal): New function with the former body of
10192 __vsyslog_chk; takes mode_flags argument same as
10193 __v*printf_internal. Call __vfprintf_internal directly.
10194
10195 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10196 Remove libc_hidden_def.
10197 (__syslog, __syslog_chk): Use __vsyslog_internal.
10198 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10199
10200 * include/sys/syslog.h: Add multiple inclusion guard.
10201 Add prototype for __vsyslog_internal.
10202 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10203
10204 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10205 Use __vsyslog_internal.
10206
10207 2018-12-05 Zack Weinberg <zackw@panix.com>
10208 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10209
10210 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10211 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10212 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10213 New functions.
10214 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10215 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10216
10217 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10218 Include wctype.h here if COMPILE_WPRINTF is defined.
10219 Define __vfprintf_internal or __vfwprintf_internal, depending
10220 on COMPILE_WPRINTF.
10221 Temporarily, on entry to this function, update mode_flags
10222 according to the environmental settings corresponding to
10223 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10224 Throughout, check mode_flags instead of __ldbl_is_dbl and
10225 _IO_FLAGS2_FORTIFY on the destination FILE.
10226 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10227 Include vfprintf-internal.c. Don't include wctype.h.
10228 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10229 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10230 and vfprintf.
10231 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10232 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10233 and vfwprintf.
10234 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10235
10236 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10237 and add mode_flags argument; use __vfprintf_internal.
10238 (__vdprintf): New function. Alias vdprintf to this.
10239 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10240 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10241 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10242 (__obstack_printf): Use __obstack_printf_internal.
10243 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10244 public aliases __vsnprintf and vsnprintf.
10245 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10246 called internally.
10247 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10248 public aliases _IO_vsprintf and vsprintf.
10249 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10250 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10251 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10252 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10253 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10254
10255 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10256 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10257 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10258 * stdio-common/printf.c: Use __vfprintf_internal.
10259
10260 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10261 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10262 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10263
10264 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10265 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10266 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10267 __vfwprintf_internal.
10268
10269 * libio/libio.h: Remove libc_hidden_proto and declaration for
10270 _IO_vfprintf.
10271 Remove declaration of _IO_vfwprintf.
10272 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10273 _IO_vsprintf.
10274 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10275 _IO_obstack_printf.
10276 * include/stdio.h: Add prototype for __vasprintf.
10277 (__vsnprintf): Remove declaration, because there are no more
10278 internal calls.
10279 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10280 declaration, because there are no more internal calls.
10281
10282 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10283 __vsnprintf_internal, instead of _IO_vsnprintf.
10284 * argp/argp-help.c (__argp_error, __argp_failure): Use
10285 __vasprintf_internal, instead of _IO_vasprintf.
10286 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10287 redefine, because there are no more internal calls.
10288
10289 2018-12-05 Zack Weinberg <zackw@panix.com>
10290 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10291
10292 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10293 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10294 Include libio/strfile.h instead of libioP.h.
10295 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10296 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10297 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10298 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10299 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10300 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10301 necessary. Do not set __no_long_double. Normalize variable names.
10302 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10303 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10304 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10305 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10306 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10307 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10308 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10309 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10310 Do not set __no_long_double. Normalize variable names.
10311
10312 2018-12-05 Zack Weinberg <zackw@panix.com>
10313 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10314
10315 * stdio-common/isoc99_scanf.c
10316 * stdio-common/isoc99_fscanf.c
10317 * stdio-common/isoc99_sscanf.c
10318 * stdio-common/isoc99_vscanf.c
10319 * stdio-common/isoc99_vfscanf.c
10320 * stdio-common/isoc99_vsscanf.c
10321 * wcsmbs/isoc99_wscanf.c
10322 * wcsmbs/isoc99_fwscanf.c
10323 * wcsmbs/isoc99_swscanf.c
10324 * wcsmbs/isoc99_vwscanf.c
10325 * wcsmbs/isoc99_vfwscanf.c
10326 * wcsmbs/isoc99_vswscanf.c:
10327 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10328 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10329 No need to lock and unlock the FILE passed to that function.
10330
10331 * stdio-common/vfscanf-internal.c
10332 (__vfscanf_internal, __vfwscanf_internal):
10333 Don't look at _IO_FLAGS2_SCANF_STD.
10334 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10335 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10336 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10337
10338 2018-12-05 Zack Weinberg <zackw@panix.com>
10339 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10340
10341 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10342 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10343 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10344 * libio/strfile.h: Add multiple inclusion guard.
10345 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10346
10347 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10348 consistency with the other version of this file.
10349 (ldbl_compat_symbol): New macro.
10350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10351 New macro.
10352
10353 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10354 Define __vfscanf_internal or __vfwscanf_internal, depending on
10355 COMPILE_WSCANF; don't define any other public symbols.
10356 Remove errval and code to set errp.
10357 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10358 as the mode_flags argument.
10359 (encode_error, conv_error, input_error): Don't set errval.
10360 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10361 Include vfscanf-internal.c.
10362 * stdio-common/vfscanf.c: New file defining the public entry
10363 point vfscanf, which calls __vfscanf_internal.
10364 * stdio-common/vfwscanf.c: New file defining the public entry
10365 point vfwscanf, which calls __vfwscanf_internal.
10366
10367 * stdio-common/iovfscanf.c: New file.
10368 * stdio-common/iovfwscanf.c: Likewise.
10369
10370 * stdio-common/Makefile (routines): Add vfscanf-internal,
10371 vfwscanf-internal, iovfscanf, iovfwscanf.
10372 * stdio-common/Versions: Mention GLIBC_2.29, so that
10373 it can be used in SHLIB_COMPAT expressions.
10374 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10375 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10376 Call __vfscanf_internal, instead of _IO_vfscanf.
10377 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10378 _IO_vfscanf.
10379 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10380 _IO_vfwscanf.
10381
10382 * libio/iovsscanf.c: Clean up includes, when possible. Use
10383 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10384 __vfscanf_internal or __vfwscanf_internal directly.
10385 * libio/iovswscanf.c: Likewise.
10386 * libio/swscanf.c: Likewise.
10387 * libio/vscanf.c: Likewise.
10388 * libio/vwscanf.c: Likewise.
10389 * libio/wscanf.c: Likewise.
10390 * stdio-common/isoc99_fscanf.c: Likewise.
10391 * stdio-common/isoc99_scanf.c: Likewise.
10392 * stdio-common/isoc99_sscanf.c: Likewise.
10393 * stdio-common/isoc99_vfscanf.c: Likewise.
10394 * stdio-common/isoc99_vscanf.c: Likewise.
10395 * stdio-common/isoc99_vsscanf.c: Likewise.
10396 * stdio-common/scanf.c: Likewise.
10397 * stdio-common/sscanf.c: Likewise.
10398 * wcsmbs/isoc99_fwscanf.c: Likewise.
10399 * wcsmbs/isoc99_swscanf.c: Likewise.
10400 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10401 * wcsmbs/isoc99_vswscanf.c: Likewise.
10402 * wcsmbs/isoc99_vwscanf.c: Likewise.
10403 * wcsmbs/isoc99_wscanf.c: Likewise.
10404
10405 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10406
10407 * include/time.h
10408 (__tz_compute): Replace time_t with __time64_t.
10409 (__tz_convert): Replace time_t* with __time64_t.
10410 (__offtime): Replace time_t* with __time64_t.
10411 * time/gmtime.c
10412 (__gmtime_r): Adjust call to __tz_convert.
10413 (gmtime): Likewise.
10414 * time/localtime.c
10415 (__localtime_r): Likewise.
10416 (localtime): Likewise.
10417 * time/offtime.c: Replace time_t with __time64_t.
10418 * time/tzset.c: Likewise.
10419
10420 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10421
10422 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10423 dynamic linker unless [$(run-built-tests) = yes].
10424
10425 2018-12-03 DJ Delorie <dj@delorie.com>
10426
10427 * support/test-container.c (check_for_unshare_hints): New.
10428 (main): Call it if unshare fails. Add support for "su" scriptlet
10429 command.
10430
10431 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10432
10433 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10434 'START' to indicate that start text should be output.
10435 (gen_test): Likewise.
10436 (main): Generate 'START' for first symbol or '--' line, or at end
10437 of input if not previously generated.
10438
10439 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10440
10441 [BZ #19767]
10442 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10443 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10444 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10445 ALWAYS_USE_VSYSCALL.
10446
10447 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10448
10449 [BZ #23913]
10450 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10451 new_argv by one.
10452
10453 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10454
10455 [BZ #23923]
10456 * locale/programs/localedef.c: Declare boolean hard_links default true.
10457 (options): Add --no-hard-links option.
10458 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10459 * locale/programs/localedef.h: Declare prototype for hard_links.
10460 * locale/programs/locfile.c (write_locale_data): Don't use hard
10461 links if hard_links is false.
10462
10463 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10464
10465 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10466 cpu_features_basic.
10467 (__cache_sysconf): Likewise.
10468 (init_cacheinfo): Likewise.
10469 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10470 populate COMMON_CPUID_INDEX_80000007 and
10471 COMMON_CPUID_INDEX_80000008.
10472 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10473 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10474 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10475 (init_cpu_features): Use _Static_assert on
10476 index_arch_Fast_Unaligned_Load.
10477 __get_cpuid_registers and __get_arch_feature. Updated for
10478 cpu_features_basic. Set stepping in cpu_features.
10479 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10480 (FEATURE_INDEX_2): New.
10481 (FEATURE_INDEX_MAX): Changed to enum.
10482 (COMMON_CPUID_INDEX_D_ECX_1): New.
10483 (COMMON_CPUID_INDEX_80000007): Likewise.
10484 (COMMON_CPUID_INDEX_80000008): Likewise.
10485 (cpuid_registers): Likewise.
10486 (cpu_features_basic): Likewise.
10487 (CPU_FEATURE_USABLE): Likewise.
10488 (bit_arch_XXX_Usable): Likewise.
10489 (cpu_features): Use cpuid_registers and cpu_features_basic.
10490 (bit_arch_XXX): Reweritten.
10491 (bit_cpu_XXX): Likewise.
10492 (index_cpu_XXX): Likewise.
10493 (reg_XXX): Likewise.
10494 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10495 <support/check.h>.
10496 (CHECK_CPU_FEATURE): New.
10497 (CHECK_CPU_FEATURE_USABLE): Likewise.
10498 (cpu_kinds): Likewise.
10499 (do_test): Print vendor, family, model and stepping. Check
10500 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10501 (TEST_FUNCTION): Removed.
10502 Include <support/test-driver.c> instead of
10503 "../../test-skeleton.c".
10504 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10505 Check POPCNT instead of POPCOUNT.
10506 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10507
10508 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10509
10510 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10511 there is no element in `consts'.
10512
10513 2018-12-01 Florian Weimer <fweimer@redhat.com>
10514
10515 * support/support_capture_subprocess.c
10516 (support_capture_subprocess): Check that pipe descriptors have
10517 expected values. Close original pipe descriptors in subprocess.
10518
10519 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10520
10521 [BZ #23032]
10522 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10523 attr with __pthread_default_barrierattr.
10524 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10525 attr with __pthread_default_condattr.
10526 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10527 attr with __pthread_default_mutexattr.
10528 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10529 attr with __pthread_default_rwlockattr.
10530
10531 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10532
10533 * manual/tunables.texi (POSIX Thread Tunables): New node.
10534 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10535 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10536 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10537 __pthread_tunables_init.
10538 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10539 (max_adaptive_count): Define.
10540 * nptl/pthread_mutex_conf.c: New file.
10541 * nptl/pthread_mutex_conf.h: New file.
10542 * sysdeps/generic/adaptive_spin_count.h: New file.
10543 * sysdeps/nptl/dl-tunables.list: New file.
10544 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10545 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10546 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10547 Likewise.
10548
10549 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10550
10551 [BZ #20544]
10552 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10553 * stdlib/on_exit.c (__on_exit): Likewise.
10554 * stdlib/Makefile (tests): Add tst-bz20544.
10555 * stdlib/tst-bz20544.c: New test.
10556
10557 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10558
10559 [BZ #19767]
10560 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10561 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10562 New.
10563
10564 2018-11-30 Florian Weimer <fweimer@redhat.com>
10565
10566 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10567 Extend error logging.
10568 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10569 symbol.
10570
10571 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10572
10573 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10574 __sigismember instead of sigismember.
10575 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10576 cancel_handler): New definitions.
10577 (do_system): Use posix_spawn instead of fork and execl and remove
10578 reentracy code.
10579 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10580 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10581 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10582 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10583 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10584 * sysdeps/unix/sysv/linux/system.c: Likewise.
10585
10586 [BZ #22834]
10587 [BZ #17490]
10588 * NEWS: Add new semantic for atfork with popen and system.
10589 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10590 fork and execl.
10591
10592 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10593
10594 [BZ #23690]
10595 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10596 modification order when accessing reloc_result->addr.
10597 * include/link.h (reloc_result): Add field init.
10598 * nptl/Makefile (tests): Add tst-audit-threads.
10599 (modules-names): Add tst-audit-threads-mod1 and
10600 tst-audit-threads-mod2.
10601 Add rules to build tst-audit-threads.
10602 * nptl/tst-audit-threads-mod1.c: New file.
10603 * nptl/tst-audit-threads-mod2.c: Likewise.
10604 * nptl/tst-audit-threads.c: Likewise.
10605 * nptl/tst-audit-threads.h: Likewise.
10606
10607 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10608
10609 * scripts/gen-as-const.py: New file.
10610 * scripts/gen-as-const.awk: Remove.
10611 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10612 gen-as-const.py.
10613 ($(objpfx)test-as-const-%.c): Likewise.
10614
10615 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10616
10617 * elf/dl-exception.c: Include <_itoa.h>.
10618
10619 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10620
10621 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10622 returned by __f_setlk.
10623
10624 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10625 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10626
10627 * elf/Makefile (tests-internal): Add tst-create_format1.
10628 * elf/dl-exception.c (_dl_exception_create_format): Support
10629 %x, %lx and %zx.
10630 * elf/tst-create_format1.c: New file.
10631
10632 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10633
10634 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10635 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10636 gnulib.)
10637 * argp/argp-help.c (__argp_failure): Likewise.
10638
10639 2018-11-29 Mao Han <han_mao@c-sky.com>
10640
10641 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10642 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10643 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10644 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10645 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10646 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10647 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10648 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10649 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10650 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10651 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10652 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10653 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10654 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10655 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10656 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10657 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10658 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10659 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10660 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10661 (R_CKCORE_TLS_TPOFF32): New defines.
10662
10663 2018-11-29 Florian Weimer <fweimer@redhat.com>
10664
10665 * posix/Makefile (before-compile): Remove testcases.h and
10666 ptestcases.h.
10667 (generated): Add testcases.h and ptestcases.h.
10668 (testcases.h, ptestcases.h): Move to $(objpfx).
10669 (runtests.o): Add dependency on testcases.h.
10670 (runptests.o): Add dependency on ptestcases.h.
10671 * posix/testcases.h, posix/ptestcases.h: Remove files.
10672 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10673 not touch posix/testcases.h and posix/ptestcases.h.
10674
10675 2018-11-28 Florian Weimer <fweimer@redhat.com>
10676
10677 support: Add signal support to support_capture_subprocess_check.
10678 * support/capture_subprocess.h (support_capture_subprocess_check):
10679 Adjust comment and rename parameter.
10680 * support/support_capture_subprocess_check.c
10681 (print_actual_status): New function.
10682 (support_capture_subprocess_check): Support negative
10683 status_or_signal. Call print_actual_status.
10684 * support/tst-support_capture_subprocess.c (do_test): Call
10685 support_capture_subprocess_check.
10686 * libio/tst-vtables-common.c (termination_status)
10687 (init_termination_status): Remove.
10688 (check_for_termination): Adjust support_capture_subprocess_check
10689 call.
10690 (do_test): Remove call to init_termination_status.
10691
10692 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10693
10694 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10695 source directory instead of a copy.
10696 (CommandList.create_copy_dir): Remove.
10697
10698 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10699
10700 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10701
10702 2018-11-28 Florian Weimer <fweimer@redhat.com>
10703
10704 * support/support.h (support_quote_string): Do not use str
10705 parameter name.
10706
10707 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10708
10709 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10710 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10711
10712 2018-11-27 Florian Weimer <fweimer@redhat.com>
10713
10714 * support/support.h (support_quote_string): Declare.
10715 * support/support_quote_string.c: New file.
10716 * support/tst-support_quote_string.c: Likewise.
10717 * support/Makefile (libsupport-routines): Add
10718 support_quote_string.
10719 (tests): Add tst-support_quote_string.
10720
10721 2018-11-27 Florian Weimer <fweimer@redhat.com>
10722
10723 [BZ #23927]
10724 CVE-2018-19591
10725 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10726 descriptor leak in case of ENODEV error.
10727
10728 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10729
10730 [BZ #19767]
10731 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10732 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10733 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10734
10735 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10736
10737 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10738 Error for unknown lines.
10739
10740 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10741
10742 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10743 Touch additional files.
10744
10745 2018-11-26 Florian Weimer <fweimer@redhat.com>
10746
10747 [BZ #23907]
10748 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10749 double-frees.
10750
10751 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10752
10753 [BZ #19767]
10754 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10755 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10756 SHARED. Include sysdep.h.
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10758 ALWAYS_USE_VSYSCALL.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10760 ALWAYS_USE_VSYSCALL.
10761
10762 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10763
10764 [BZ #19767]
10765 * nptl/Makefile (tests-static): Add tst-cond11-static.
10766 (tests): Likewise.
10767 * nptl/tst-cond11-static.c: New File.
10768 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10769 tst-affinity-static.
10770 (tests): Likewise.
10771 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10772 instead of SHARED.
10773 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10774 (USE_VSYSCALL): Likewise.
10775 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10776 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10777 instead of SHARED.
10778 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10779 SHARED.
10780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10781 New.
10782
10783 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10784
10785 [BZ #23915]
10786 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10787 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10788 Undefine.
10789
10790 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10791
10792 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10793 (tst-cet-legacy-1a-ARGS): New.
10794 ($(objpfx)tst-cet-legacy-1a): New target.
10795 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10796
10797 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10798
10799 * conform/conformtest.py (CompileSubTest.__init__): Set
10800 self.run_early to False.
10801 (ExecuteSubTest.__init__): Likewise.
10802 (HeaderTests.run): Try running all non-optional, non-XFAILed
10803 compilation tests in a single execution of the compiler.
10804
10805 * conform/conformtest.py (CompileSubTest): New class.
10806 (ExecuteSubTest): Likewise.
10807 (ElementTest.run): Rename to gen_subtests. Append tests to
10808 self.subtests instead of running them.
10809 (ConstantTest.run): Likewise.
10810 (SymbolTest.run): Likewise.
10811 (TypeTest.run): Likewise.
10812 (TagTest.run): Likewise.
10813 (FunctionTest.run): Likewise.
10814 (VariableTest.run): Likewise.
10815 (MacroFunctionTest.run): Likewise.
10816 (MacroStrTest.run): Likewise.
10817 (HeaderTests.handle_test_line): Generate subtests for tests.
10818 (HeaderTests.run): Run subtests for tests.
10819
10820 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10821
10822 * math/Versions (GLIBC_2.29): Add pow.
10823 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10824 symbol.
10825 * math/w_pow.c: New file.
10826 * sysdeps/i386/fpu/w_pow.c: New file.
10827 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10829 and add necessary aliases.
10830 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10831 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10832 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10833 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10834 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10835 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10837 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10838 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10839 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10840 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10841 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10842 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10843 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10844 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10849 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10850 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10851 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10852 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10853 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10854 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10855 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10856 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10857 __pow.
10858 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10859 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10860 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10861
10862 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10863
10864 * math/Versions (GLIBC_2.29): Add log2.
10865 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10866 symbol.
10867 * math/w_log2.c: New file.
10868 * sysdeps/i386/fpu/w_log2.c: New file.
10869 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10870 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10871 and add necessary aliases.
10872 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10873 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10874 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10875 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10876 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10877 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10878 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10879 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10880 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10881 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10882 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10883 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10884 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10885 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10886 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10891 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10892 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10893 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10894 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10895 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10897 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10898
10899 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10900
10901 * math/Versions (GLIBC_2.29): Add log.
10902 * math/w_log_compat.c (__log_compat): Change to versioned compat
10903 symbol.
10904 * math/w_log.c: New file.
10905 * sysdeps/i386/fpu/w_log.c: New file.
10906 * sysdeps/ia64/fpu/e_log.S: Update.
10907 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10908 and add necessary aliases.
10909 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10910 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10911 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10912 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10913 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10914 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10915 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10916 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10917 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10918 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10919 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10920 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10921 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10922 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10923 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10928 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10929 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10930 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10931 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10932 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10933 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10934 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10935 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10936 __log.
10937 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10938 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10939 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10940 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10941
10942 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10943
10944 * math/Versions (GLIBC_2.29): Add exp and exp2.
10945 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10946 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10947 * math/w_exp_compat.c (__exp_compat): Likewise.
10948 * math/w_exp.c: New file.
10949 * math/w_exp2.c: New file.
10950 * sysdeps/i386/fpu/w_exp.c: New file.
10951 * sysdeps/i386/fpu/w_exp2.c: New file.
10952 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10953 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10954 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10955 and add necessary aliases.
10956 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10957 and add necessary aliases.
10958 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10959 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10960 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10961 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10962 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10963 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10964 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10965 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10966 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10967 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10968 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10969 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10970 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10971 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10972 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10973 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10974 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10984 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10985 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10986 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10987 (__ieee754_exp): Rename to __exp.
10988 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10989 (__ieee754_exp): Rename to __exp.
10990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10991 (__ieee754_exp): Rename to __exp.
10992 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10993 __exp.
10994 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10995
10996 2018-11-20 DJ Delorie <dj@redhat.com>
10997
10998 * malloc/malloc.c (tcache_entry): Add key field.
10999 (tcache_put): Set it.
11000 (tcache_get): Likewise.
11001 (_int_free): Check for double free in tcache.
11002 * malloc/tst-tcfree1.c: New.
11003 * malloc/tst-tcfree2.c: New.
11004 * malloc/Makefile: Run the new tests.
11005 * manual/probes.texi: Document memory_tcache_double_free probe.
11006
11007 * dlfcn/dlerror.c (check_free): Prevent double frees.
11008
11009 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
11010
11011 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
11012
11013 2018-11-20 Joseph Myers <joseph@codesourcery.com>
11014
11015 * conform/conformtest.py (ElementTest.run): Use unique identifiers
11016 in tests. Use names for format arguments.
11017 (ConstantTest.run): Likewise.
11018 (SymbolTest.run): Likewise.
11019 (TypeTest.run): Likewise.
11020 (TagTest.run): Likewise.
11021 (FunctionTest.run): Likewise.
11022 (VariableTest.run): Likewise.
11023 (MacroFunctionTest.run): Likewise.
11024 (MacroStrTest.run): Likewise.
11025 (HeaderTests.__init__): Set self.num_tests.
11026 (HeaderTests.handle_test_line): Set test.num. Increment
11027 self.num_tests.
11028
11029 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11030
11031 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
11032 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
11033 SEEK_SET.
11034
11035 2018-11-19 Mao Han <han_mao@c-sky.com>
11036
11037 * scripts/config.guess: Update to version 2018-08-29.
11038 * scripts/config.sub: Update to version 2018-08-29.
11039
11040 2018-11-19 Florian Weimer <fweimer@redhat.com>
11041
11042 support: Print timestamps in timeout handler.
11043 * support/support_test_main.c (print_timestamp): New function.
11044 (signal_handler): Use it to print the termination time and the
11045 time of the last write to standard output.
11046
11047 2018-11-16 Zack Weinberg <zackw@panix.com>
11048 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11049
11050 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
11051 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
11052 argument.
11053 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
11054 and add flags argument. Check flags instead of __ldbl_is_dbl when
11055 deciding whether to set is_long_double.
11056 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
11057 passing zero for flags argument.
11058 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
11059
11060 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
11061 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
11062 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
11063 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
11064 variable names. Remove libc_hidden_def/libc_hidden_proto from
11065 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
11066 longer called from within the library.
11067 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
11068 for __nldbl___vstrfmon_l, declare it explicitly.
11069
11070 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
11071
11072 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11073
11074 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
11075 macros
11076 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
11077 F_SETLK64, F_SETLKW64, respectively.
11078 * sysdeps/mach/hurd/f_setlk.c: New file.
11079 * sysdeps/mach/hurd/f_setlk.h: New file.
11080 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
11081 f_setlk.
11082 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
11083 (__libc_fcntl): Move non-flock operations to...
11084 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
11085 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
11086
11087 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
11088
11089 mktime: DEBUG_MKTIME cleanup
11090 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
11091 And it’s no longer needed now that glibc and Gnulib both have
11092 their own testing mechanisms for mktime.
11093 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
11094
11095 mktime: fix non-EOVERFLOW errno handling
11096 [BZ#23789]
11097 mktime was not properly reporting failures when the underlying
11098 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
11099 them like EOVERFLOW failures, and set errno to EOVERFLOW.
11100 The problem could happen on non-glibc platforms, with Gnulib.
11101 * time/mktime.c (guess_time_tm): Remove, replacing with ...
11102 (tm_diff): ... this simpler function, which does not change errno.
11103 All callers changed to deal with errno themselves.
11104 (ranged_convert, __mktime_internal): Return failure immediately if
11105 the underlying function reports any failure other than EOVERFLOW.
11106 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11107 gap code fails.
11108
11109 mktime: fix bug with Y2038 DST transition
11110 [BZ#23789]
11111 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
11112 mishandle a DST transition that jumps over the Y2038 boundary.
11113 No such DST transitions are known so this is only a theoretical
11114 bug, but we might as well do things right.
11115
11116 mktime: make more room for overflow
11117 [BZ#23789]
11118 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
11119 This is so that we can add tm_diff results to a previous guess,
11120 which will be useful in a later patch.
11121
11122 mktime: simplify offset guess
11123 [BZ#23789]
11124 * time/mktime.c (__mktime_internal): Omit excess precision.
11125
11126 mktime: new test for mktime failure
11127 [BZ#23789]
11128 Based on a test suggested by Albert Aribaud in:
11129 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11130 * time/Makefile (tests): Add bug-mktime4.
11131 * time/bug-mktime4.c: New file.
11132
11133 mktime: fix EOVERFLOW bug
11134 [BZ#23789]
11135 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11136 Include libc-config.h, not config.h, for __set_errno.
11137 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11138
11139 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11140
11141 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11142 __attribute_copy__ to copy attributes from name. Drop static qualifier
11143 to avoid warnings about leaf attribute not having effect on static
11144 functions.
11145
11146 2018-11-13 Florian Weimer <fweimer@redhat.com>
11147
11148 * malloc/malloc.c (fastbin_push_entry): New function.
11149 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11150 (REMOVE_FB): Remove macro.
11151 (_int_malloc): Use fastbin_pop_entry and reindent.
11152 (_int_free): Use fastbin_push_entry.
11153 (malloc_consolidate): Use atomic_exchange_acquire.
11154
11155 2018-11-13 Joseph Myers <joseph@codesourcery.com>
11156
11157 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11158 alias attribute, not with strong_alias.
11159
11160 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11161 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11162 with additional parameter thread.
11163 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11164 in terms of __hidden_ver2.
11165 (hidden_tls_def): New macro.
11166 (libc_hidden_tls_def): Likewise.
11167 (rtld_hidden_tls_def): Likewise.
11168 (libm_hidden_tls_def): Likewise.
11169 (libmvec_hidden_tls_def): Likewise.
11170 (libresolv_hidden_tls_def): Likewise.
11171 (librt_hidden_tls_def): Likewise.
11172 (libdl_hidden_tls_def): Likewise.
11173 (libnss_files_hidden_tls_def): Likewise.
11174 (libnsl_hidden_tls_def): Likewise.
11175 (libnss_nisplus_hidden_tls_def): Likewise.
11176 (libutil_hidden_tls_def): Likewise.
11177 (libutil_hidden_tls_def): Likweise.
11178 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11179 libc_hidden_tls_def.
11180 (__sim_disabled_exceptions_thread): Likewise.
11181 (__sim_round_mode_thread): Likewise.
11182
11183 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11184 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11185 copy attributes from name.
11186
11187 2018-11-12 Joseph Myers <joseph@codesourcery.com>
11188
11189 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11190 Use __attribute_copy__ to copy attributes from name.
11191
11192 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11193 with __hidden_ver1 call.
11194 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11195 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11196 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11197 (__cosf): Do not declare here.
11198 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11199 (__sincosf): Do not declare here.
11200 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11201 (__sinf): Do not declare here.
11202
11203 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11204 (__BIG_ENDIAN): Likewise.
11205 (__BYTE_ORDER): Likewise.
11206 (strong_alias): Likewise.
11207 (_strong_alias): Likewise.
11208
11209 2018-11-12 Florian Weimer <fweimer@redhat.com>
11210
11211 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11212 function. Move after the definition of in_smallbin_range. Do not
11213 use __builtin_expect for paths that lead to a noreturn function.
11214 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11215 because it is unclear whether this is in fact an unlikely
11216 condition.
11217 (_int_malloc, _int_free): Adjust.
11218 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11219 variables.
11220 * malloc/arena.c (heap_trim): Likewise.
11221
11222 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11223
11224 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11225 it, free it if needed.
11226 (reauthenticate): Test and use ccwdir.
11227 (child_init_port): In non-resetids case, test and use ccwdir.
11228 (child_chdir): New nested function to set ccwdir.
11229 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11230 * hurd/hurd/port.h (_hurd_port_move): New function.
11231 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11232 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11233 * hurd/Versions (_hurd_port_move): Export function.
11234 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11235 symbol.
11236 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11237 of dtablesize for allocating dtable_cloexec.
11238
11239 2018-11-09 Martin Sebor <msebor@redhat.com>
11240
11241 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11242 it's already defined.
11243 (_strong_alias): Use __attribute_copy__.
11244 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11245 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11246 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11247 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11248 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11249 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11250 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11251 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11252 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11253 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11254 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11255 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11256 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11257 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11258 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11259 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11260 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11261 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11262 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11263
11264 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11265
11266 * misc/tst-efgcvt.c: Include support/check.h and
11267 support/test-driver.c. Do not include test-skeleton.c.
11268 (error_count): Remove.
11269 (output_error): Replace increments to error_count with calls to
11270 support_record_failure.
11271 (output_r_error): Likewise.
11272 (special): Likewise.
11273 (do_test): Unconditionally return zero.
11274 (TEST_FUNCTION): Remove.
11275
11276 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11277
11278 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11279 not $(@D)/scratch.
11280 ($(linknamespace-header-tests)): Likewise.
11281
11282 * conform/conformtest.py: New file.
11283 * conform/conformtest.pl: Remove.
11284 * conform/GlibcConform.pm: Likewise.
11285 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11286 (KEYWORDS_C99): Likewise.
11287 (KEYWORDS): Likewise.
11288 * conform/Makefile ($(conformtest-header-tests)): Use
11289 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11290 option. Use --header instead of --headers.
11291 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11292 function entries.
11293 * conform/data/spawn.h-data: Likewise.
11294 * conform/data/fcntl.h-data (openat): Add space after function
11295 name.
11296 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11297 (wcscasecmp_l): Likewise.
11298 * conform/data/termios.h-data (c_cc): Add space after element
11299 name.
11300
11301 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11302
11303 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11304 instead of manually comparing and reporting mismatching strings.
11305 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11306 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11307
11308 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11309
11310 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11311 __ASSUME_SOCKETCALL.
11312 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11313 (__ASSUME_SOCKETCALL): Remove.
11314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11315 (__ASSUME_SOCKETCALL): Likewise.
11316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11317 (__ASSUME_SOCKETCALL): Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11319 (__ASSUME_SOCKETCALL): Likewise.
11320 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11321 (__ASSUME_SOCKETCALL): Likewise.
11322 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11323 (__ASSUME_SOCKETCALL): Likewise.
11324 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11325 (__ASSUME_SOCKETCALL): Likewise.
11326
11327 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11328
11329 [BZ #23509]
11330 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11331 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11332 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11333 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11334 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11335 lc_unknown.
11336
11337 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11338
11339 [BZ #17630]
11340 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11341
11342 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11343
11344 [BZ #23867]
11345 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11346 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11348 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11349
11350 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11351
11352 * support/support_test_compare_string.c
11353 (support_test_compare_string): Fix printf format.
11354
11355 2018-11-07 Florian Weimer <fweimer@redhat.com>
11356
11357 Implement TEST_COMPARE_STRING.
11358 * support/check.h (TEST_COMPARE_STRING): Define.
11359 (support_test_compare_string): Declare.
11360 * support/Makefile (libsupport-routines): Add
11361 support_test_compare_string.
11362 (tests): Add tst-test_compare_string.
11363 * support/support_test_compare_string.c: New file.
11364 * support/tst-test_compare_string.c: Likewise.
11365
11366 2018-11-07 Andreas Schwab <schwab@suse.de>
11367
11368 [BZ #23864]
11369 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11370 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11371 Undef.
11372
11373 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11374
11375 [BZ #23862]
11376 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11377 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11378 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11379 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11380 Likewise.
11381
11382 2018-11-06 Florian Weimer <fweimer@redhat.com>
11383
11384 [BZ #17405]
11385 * posix/Makefile (routines): Add spawn_faction_addchdir.
11386 (tests): Add tst-spawn-chdir.
11387 * posix/Versions (GLIBC_2.29): Add
11388 posix_spawn_file_actions_addchdir_np.
11389 * posix/spawn_faction_addchdir.c: New file.
11390 * posix/spawn_faction_destroy.c
11391 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11392 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11393 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11394 chdir_action.
11395 * posix/tst-spawn-chdir.c: New file.
11396 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11397 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11398 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11399 posix_spawn_file_actions_addchdir_np.
11400 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11401 Likewise.
11402 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11403 Likewise.
11404 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11405 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11406 Likewise.
11407 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11408 Likewise.
11409 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11410 Likewise.
11411 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11412 Likewise.
11413 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11414 Likewise.
11415 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11416 Likewise.
11417 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11418 (GLIBC_2.29): Likewise.
11419 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11420 (GLIBC_2.29): Likewise.
11421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11422 (GLIBC_2.29): Likewise.
11423 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11424 (GLIBC_2.29): Likewise.
11425 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11426 Likewise.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11428 (GLIBC_2.29): Likewise.
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11430 (GLIBC_2.29): Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11432 (GLIBC_2.29): Likewise.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11434 (GLIBC_2.29): Likewise.
11435 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11436 Likewise.
11437 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11438 Likewise.
11439 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11440 Likewise.
11441 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11442 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11443 Likewise.
11444 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11445 Likewise.
11446 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11447 Likewise.
11448 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11449 Likewise.
11450
11451 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11452
11453 * misc/Makefile (tests): Add tst-ldbl-error.
11454 * misc/tst-ldbl-error.c: New file.
11455
11456 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11457
11458 * misc/Makefile (tests): Add tst-ldbl-warn.
11459 * misc/tst-ldbl-warn.c: New file.
11460
11461 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11462
11463 * argp/Makefile (tests): Add tst-ldbl-argp.
11464 * argp/tst-ldbl-argp.c: New file.
11465
11466 2018-11-05 Arjun Shankar <arjun@redhat.com>
11467
11468 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11469 __gconv_path_elem and call __gconv_get_path unconditionally.
11470
11471 2018-11-05 Andreas Schwab <schwab@suse.de>
11472
11473 [BZ #22927]
11474 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11475 creating the first helper thread failed.
11476
11477 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11478
11479 * sysdeps/mach/hurd/msync.c: New file.
11480
11481 2018-11-02 Florian Weimer <fweimer@redhat.com>
11482
11483 * support/shell-container.c (copy_func): Call
11484 support_copy_file_range instead of copy_file_range to support
11485 cross-device copies.
11486
11487 2018-11-02 Florian Weimer <fweimer@redhat.com>
11488
11489 * support/test-container.c: Include <libc-pointer-arith.h> for
11490 ALIGN_UP.
11491
11492 2018-11-01 Zong Li <zong@andestech.com>
11493
11494 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11495 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11496 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11497 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11498
11499 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11500 variable to avoid overlap arguments.
11501
11502 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11503
11504 * posix/bug-regex22.c (main): Use puts with distinct error
11505 messages for unexpected success of re_compile_pattern, not printf
11506 with NULL argument to %s.
11507
11508 * stdio-common/bug22.c: Include <libc-diag.h>.
11509 (do_test): Disable -Wformat-overflow= warnings around fprintf
11510 calls outputting more than INT_MAX characters.
11511 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11512 around printf call with NULL %s argument.
11513
11514 [BZ #23848]
11515 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11516 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11517 Undefine.
11518 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11519 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11520 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11521 (__ASSUME_SENDTO_SYSCALL): Likewise.
11522 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11523 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11524 [!__arch64__].
11525 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11526 (__ASSUME_CONNECT_SYSCALL): Likewise.
11527 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11528 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11529 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11530 Define.
11531 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11532 Likewise.
11533 [__LINUX_KERNEL_VERSION >= 0x040400]
11534 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11535 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11536 Remove.
11537 (listen): Likewise.
11538 (setsockopt): Likewise.
11539
11540 2018-11-01 Fredrik Noring <noring@nocrew.org>
11541
11542 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11543 with the ISA override.
11544
11545 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11546
11547 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11548 #endif.
11549
11550 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11551
11552 * manual/errno.texi (EIEIO): Document how translators should
11553 translate the error message.
11554 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11555 printing trailing whitespaces refused by git.
11556 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11557 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11558 * hurd/Makefile (user-interfaces): Add pci.
11559
11560 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11561
11562 * conform/linknamespace.py: New file.
11563 * conform/linknamespace.pl: Remove file.
11564 * conform/Makefile ($(linknamespace-header-tests)): Use
11565 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11566 option.
11567
11568 2018-10-30 Florian Weimer <fweimer@redhat.com>
11569
11570 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11571 memory leaks.
11572
11573 2018-10-30 Florian Weimer <fweimer@redhat.com>
11574
11575 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11576
11577 2018-10-30 Florian Weimer <fweimer@redhat.com>
11578
11579 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11580 support_blob_repeat.
11581
11582 2018-10-30 Florian Weimer <fweimer@redhat.com>
11583
11584 Avoid spurious test failures in stdlib/test-bz22786.
11585 * support/Makefile (libsupport-routines): Add blob_repeat.
11586 (tests): Add tst-support_blob_repeat.
11587 * support/blob_repeat.h: New file.
11588 * support/blob_repeat.c: Likewise.
11589 * support/tst-support_blob_repeat.c: Likewise.
11590 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11591 support_blob_repeat_allocate.
11592
11593 2018-10-30 Andreas Schwab <schwab@suse.de>
11594
11595 [BZ #23125]
11596 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11597 Don't use tail call.
11598 * elf/tst-unwind-main.c: New file.
11599 * elf/Makefile (tests): Add tst-unwind-main.
11600 (CFLAGS-tst-unwind-main.c): Define.
11601
11602 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11603
11604 [BZ #23791]
11605 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11606 n_cs_precedes to 0.
11607 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11608
11609 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11610
11611 * conform/glibcconform.py: Do not import shutil.
11612 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11613 of mkdtemp.
11614
11615 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11616 critic_missing for versions before 3.4.
11617 * configure: Regenerated.
11618 * manual/install.texi (Tools for Compilation): Document
11619 requirement for Python to build glibc.
11620 * INSTALL: Regenerated.
11621 * Rules [PYTHON]: Make code unconditional.
11622 * benchtests/Makefile [PYTHON]: Likewise.
11623 * conform/Makefile [PYTHON]: Likewise.
11624 * manual/Makefile [PYTHON]: Likewise.
11625 * math/Makefile [PYTHON]: Likewise.
11626
11627 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11628
11629 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11630 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11631 answer to interrupt_operation, return EIEIO instead of EINTR.
11632 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11633 _hurd_intr_rpc_msg_about_to global point to start of controlled
11634 assembly snippet. Make it check canceled flag.
11635 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11636 the _hurd_intr_rpc_msg_about_to point.
11637 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11638 issue, remove cancel flag check.
11639
11640 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11641
11642 * scripts/build-many-glibcs.py: Remove compatibility for missing
11643 os.cpu_count and re.fullmatch.
11644
11645 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11646
11647 [BZ #23822]
11648 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11649 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11650 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11651
11652 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11653
11654 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11655 macro.
11656
11657 2018-10-25 Florian Weimer <fweimer@redhat.com>
11658
11659 [BZ #23562]
11660 [BZ #23821]
11661 XFAIL siginfo_t si_band conform test on sparc64.
11662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11663 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11664 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11665 (conformtest-xfail-conds): Add sparc64-linux.
11666 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11667 sparc64.
11668 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11669
11670 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11671
11672 * elf/elf.h (NT_MIPS_DSP): New macro.
11673 (NT_MIPS_FP_MODE): Likewise.
11674
11675 2018-10-25 Zong Li <zong@andestech.com>
11676
11677 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11678 name by adding the file extension (.so).
11679
11680 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11681
11682 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11683 (test-xfail-ISO11/threads.h/linknamespace,
11684 test-xfail-ISO11/threads.h/conform): Add.
11685
11686 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11687
11688 * math/gen-libm-test.py: Import os.
11689 (ALL_FLOATS_MANUAL): New constant.
11690 (ALL_FLOATS_SUFFIX): Likewise.
11691 (Ulps.all_functions): New function.
11692 (real_all_ulps): Likewise.
11693 (generate_err_table_sub): Likewise.
11694 (generate_err_table): Likewise.
11695 (main): Handle -s and -m options.
11696 * manual/libm-err-tab.pl: Remove.
11697 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11698 instead of libm-err-tab.pl.
11699 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11700 != no].
11701 * manual/install.texi (Tools for Compilation): Document
11702 requirement for Python to build manual.
11703 * INSTALL: Regenerated.
11704
11705 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11706
11707 * bits/time64.h: New file.
11708 * include/time.h: Replace internal_time_t with __time64_t.
11709 * posix/bits/types (__time64_t): Add.
11710 * stdlib/Makefile: Add bits/time64.h to includes.
11711 * time/tzfile.c: Replace internal_time_t with __time64_t.
11712
11713 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11714
11715 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11716 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11717 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11718 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11719 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11720 prototype.
11721 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11722 * posix/spawn_faction_addclose.c
11723 (__posix_spawn_file_actions_addclose): Add hidden definition.
11724 * posix/spawn_faction_adddup2.c
11725 (__posix_spawn_file_actions_adddup2): Likewise.
11726 * posix/spawn_faction_destroy.c
11727 (__posix_spawn_file_actions_destroy): Likewise.
11728 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11729 Likewise.
11730 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11731 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11732 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11733 Likewise.
11734 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11735 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11736 Likewise.
11737
11738 2018-10-24 Andreas Schwab <schwab@suse.de>
11739
11740 [BZ #18093]
11741 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11742 format cache.
11743 * elf/cache.c (print_cache): Likewise.
11744
11745 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11746
11747 * bits/timesize.h: New file.
11748 * stdlib/Makefile (headers): Add bits/timesize.h.
11749 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11750 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11751 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11752 (__SEM_PAD_AFTER_TIME): Likewise.
11753 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11754 (__SHM_PAD_AFTER_TIME): Likewise.
11755 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11756 (__MSQ_PAD_BEFORE_TIME): Likewise.
11757 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11758 (__SEM_PAD_BEFORE_TIME): Likewise.
11759 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11760 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11761 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11762 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11763 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11764 (__MSQ_PAD_BEFORE_TIME): Likewise.
11765 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11766 (__SEM_PAD_BEFORE_TIME): Likewise.
11767 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11768 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11769 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11770 (__MSQ_PAD_BEFORE_TIME): Likewise.
11771 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11772 (__SEM_PAD_BEFORE_TIME): Likewise.
11773 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11774 (__SHM_PAD_BEFORE_TIME): Likewise.
11775 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11776 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11777 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11778
11779 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11780
11781 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11782 USE_RDTSCP is defined.
11783 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11784 USE_RDTSCP is defined.
11785
11786 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11787
11788 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11789 defined.
11790
11791 [BZ #23709]
11792 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11793 independently of other flags.
11794
11795 2018-10-23 Florian Weimer <fweimer@redhat.com>
11796
11797 * time/tst-mktime2.c (N_STRINGS): Remove.
11798 (set_timezone): New function.
11799 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11800 (mktime_test1): Report localtime failure and check errno value.
11801 Use TEST_COMPARE.
11802 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11803 (do_test): Remove alarm call. Use set_timezone and array_length.
11804
11805 2018-10-23 Andreas Schwab <schwab@suse.de>
11806
11807 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11808 (__start_context): Use END instead of PSEUDO_END.
11809
11810 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11811
11812 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11813 version to 4.19.
11814
11815 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11816 version to 4.19.
11817
11818 [BZ #23793]
11819 * wcsmbs/c32rtomb.c: New file.
11820 * wcsmbs/mbrtoc32.c: Likewise.
11821 * wcsmbs/tst-c32-state.c: Likewise.
11822 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11823 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11824 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11825 (tests): Add tst-c32-state.
11826 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11827 $(gen-locales).
11828
11829 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11830
11831 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11832 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11833
11834 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11835
11836 [BZ #23794]
11837 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11838 pair and return 0 in that case, and use saved character to
11839 interpret following character.
11840 * wcsmbs/tst-c16-surrogate.c: New file.
11841 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11842 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11843 Depend on $(gen-locales)
11844
11845 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11846
11847 [BZ #23562]
11848 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11849 (struct siginfo_t): Use correct type for si_band.
11850
11851 2018-10-19 Florian Weimer <fweimer@redhat.com>
11852
11853 [BZ #23689]
11854 * resource/bits/types/struct_rusage.h (struct rusage): Update
11855 comment on struct. Remove extraneous field comment.
11856
11857 2018-10-18 David S. Miller <davem@davemloft.net>
11858
11859 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11860 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11861 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11862 sysdep_routines in subdir elf.
11863 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11864 version for __vdso_clock_gettime.
11865 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11866 Define.
11867 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11868 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11869
11870 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11871
11872 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 * sysdeps/i386/init-arch.h: Removed.
11875 * sysdeps/i386/i586/init-arch.h: Likewise.
11876 * sysdeps/i386/i686/init-arch.h: Likewise.
11877 * sysdeps/i386/i686/hp-timing.h: Likewise.
11878 * sysdeps/x86_64/hp-timing.h: Likewise.
11879 * sysdeps/i386/isa.h: New file.
11880 * sysdeps/i386/i586/isa.h: Likewise.
11881 * sysdeps/i386/i686/isa.h: Likewise.
11882 * sysdeps/x86_64/isa.h: Likewise.
11883 * sysdeps/x86/hp-timing.h: New file.
11884 * sysdeps/x86/init-arch.h: Include <isa.h>.
11885
11886 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11887
11888 * math/libm-test-pow.inc (pow_test_data): Do not allow
11889 divide-by-zero exception for pow(+/- 0, -Inf).
11890
11891 2018-10-17 Zack Weinberg <zackw@panix.com>
11892
11893 * manual/job.texi (Job Control is Optional): Remove node, as
11894 job control has not been optional in quite some time.
11895 (Job Control): Mention briefly that systems older than
11896 POSIX.1-2001 might not support job control.
11897 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11898 defined on systems conforming to POSIX.1-2001.
11899
11900 2018-10-17 Arjun Shankar <arjun@redhat.com>
11901
11902 [BZ #22062]
11903 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11904 indentation.
11905 * (__gconv_read_conf): Mark function static.
11906 * (once): New static variable.
11907 * (__gconv_load_conf): New function.
11908 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11909 * iconv/gconv_db.c (once): Remove static variable.
11910 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11911 __gconv_read_conf.
11912 * (__gconv_find_transform): Likewise.
11913 * iconv/tst-iconv-mt.c: New test.
11914 * iconv/Makefile: Add tst-iconv_mt.
11915
11916 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11917
11918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11919 bits/shm-pad.h.
11920 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11921 (shmatt_t): Define as __syscall_ulong_t.
11922 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11923 and [__SHM_PAD_AFTER_TIME].
11924 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11925 Define shm_segsz and associated padding based on
11926 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11927 Use __syscall_ulong_t instead of unsigned long int.
11928 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11929 unsigned long int.
11930 [__USE_MISC] (struct shm_info): Likewise.
11931 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11932 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11933 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11934 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11935 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11936 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11937 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11938 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11939 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11940 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11941 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11942
11943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11944 bits/shmlba.h.
11945 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11946 (SHMLBA): Remove macro.
11947 (__getpagesize): Remove function declaration.
11948 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11949 <bits/shmlba.h>.
11950 (SHMLBA): Remove macro.
11951 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11952 <bits/shmlba.h>.
11953 (SHMLBA): Remove macro.
11954 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11955 <bits/shmlba.h>.
11956 (SHMLBA): Remove macro.
11957 (__getpagesize): Remove function declaration.
11958 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11959 <bits/shmlba.h>.
11960 (SHMLBA): Remove macro.
11961 (__getshmlba): Remove function declaration.
11962 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11963 (SHMLBA): Remove macro.
11964 (__getpagesize): Remove function declaration.
11965 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11966 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11967 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11968 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11969 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11970 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11971 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11972 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11973 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11974 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11975
11976 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11977
11978 [BZ #23275]
11979 * nptl/tst-mutex10.c: New File.
11980 * nptl/Makefile (tests): Add tst-mutex10.
11981 (tst-mutex10-ENV): New variable.
11982 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11983 Ensure that elision path is used if elision is available.
11984 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11985 Likewise.
11986 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11987 Likewise.
11988 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11989 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11990 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11991 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11992 Likewise.
11993 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11994 (__pthread_mutex_cond_lock_adjust): Likewise.
11995 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11996 Likewise.
11997 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11998 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11999 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12000 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
12001 Add comments.
12002 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12003 Use atomic_load_relaxed and atomic_store_relaxed.
12004 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
12005 Use atomic_store_relaxed.
12006
12007 2018-10-17 Andreas Schwab <schwab@suse.de>
12008
12009 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
12010 * crypt/badsalttest.c (TIMEOUT): Likewise.
12011 * crypt/sha256c-test.c (TIMEOUT): Likewise.
12012 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
12013 * io/test-lfs.c (TIMEOUT): Likewise.
12014 * libio/tst-atime.c (TIMEOUT): Likewise.
12015 * localedata/tst-leaks.c (TIMEOUT): Likewise.
12016 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
12017 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
12018 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
12019 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
12020 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
12021 * nptl/tst-cond11.c (TIMEOUT): Likewise.
12022 * nptl/tst-cond14.c (TIMEOUT): Likewise.
12023 * nptl/tst-cond15.c (TIMEOUT): Likewise.
12024 * nptl/tst-cond24.c (TIMEOUT): Likewise.
12025 * nptl/tst-cond25.c (TIMEOUT): Likewise.
12026 * nptl/tst-kill2.c (TIMEOUT): Likewise.
12027 * nptl/tst-kill3.c (TIMEOUT): Likewise.
12028 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
12029 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
12030 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
12031 * nptl/tst-once2.c (TIMEOUT): Likewise.
12032 * nptl/tst-once3.c (TIMEOUT): Likewise.
12033 * nptl/tst-once4.c (TIMEOUT): Likewise.
12034 * nptl/tst-robust8.c (TIMEOUT): Likewise.
12035 * nptl/tst-robust9.c (TIMEOUT): Likewise.
12036 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
12037 * nptl/tst-sem14.c (TIMEOUT): Likewise.
12038 * nptl/tst-sem6.c (TIMEOUT): Likewise.
12039 * nptl/tst-signal3.c (TIMEOUT): Likewise.
12040 * nptl/tst-spin4.c (TIMEOUT): Likewise.
12041 * nptl/tst-tls3.c (TIMEOUT): Likewise.
12042 * nptl/tst-tls4.c (TIMEOUT): Likewise.
12043 * posix/tst-chmod.c (TIMEOUT): Likewise.
12044 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
12045 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
12046 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
12047 * posix/tst-regex2.c (TIMEOUT): Likewise.
12048 * posix/tst-waitid.c (TIMEOUT): Likewise.
12049 * rt/tst-aio.c (TIMEOUT): Likewise.
12050 * rt/tst-aio10.c (TIMEOUT): Likewise.
12051 * rt/tst-aio4.c (TIMEOUT): Likewise.
12052 * rt/tst-aio5.c (TIMEOUT): Likewise.
12053 * rt/tst-aio6.c (TIMEOUT): Likewise.
12054 * rt/tst-aio64.c (TIMEOUT): Likewise.
12055 * rt/tst-aio7.c (TIMEOUT): Likewise.
12056 * rt/tst-aio9.c (TIMEOUT): Likewise.
12057 * rt/tst-clock.c (TIMEOUT): Likewise.
12058 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
12059 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
12060 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
12061 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
12062 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
12063 * rt/tst-timer4.c (TIMEOUT): Likewise.
12064 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
12065 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
12066 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
12067 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
12068 * time/tst-ftime.c (TIMEOUT): Likewise.
12069 * timezone/tst-tzset.c (TIMEOUT): Likewise.
12070
12071 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
12072
12073 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
12074 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
12075 for thunderX2.
12076
12077 2018-10-15 Joseph Myers <joseph@codesourcery.com>
12078
12079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12080 bits/sem-pad.h.
12081 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
12082 instead of <bits/wordsize.h>.
12083 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
12084 and [__SEM_PAD_AFTER_TIME].
12085 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
12086 __syscall_ulong_t instead of unsigned long int.
12087 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
12088 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
12089 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
12090 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
12091 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
12092 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
12093 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
12094 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
12095 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12096 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12097 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12098
12099 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
12100
12101 regex: simplify by using intprops.h
12102 [BZ#23744]
12103 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12104 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12105 intprops.h defines them.
12106
12107 regex: __builtin_expect → __glibc_unlikely
12108 [BZ#23744]
12109 This refactoring was prompted by a problem when the regex code is
12110 used as part of Gnulib and when the builder’s compiler does not grok
12111 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12112 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12113 Although this refactoring does not fix the problem directly,
12114 we might as well have Gawk use the now-preferred glibc style for when
12115 __builtin_expect is unavailable.
12116 * posix/regex_internal.h (BE): Remove.
12117 All uses replaced by __glibc_unlikely or __glibc_likely.
12118
12119 2018-10-11 Joseph Myers <joseph@codesourcery.com>
12120
12121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12122 bits/msq-pad.h.
12123 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12124 instead of <bits/wordsize.h>.
12125 (msgqnum_t): Define as __syscall_ulong_t.
12126 (msglen_t): Likewise.
12127 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12128 and [__MSQ_PAD_AFTER_TIME].
12129 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12130 __syscall_ulong_t instead of unsigned long int.
12131 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12132 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12133 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12134 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12135 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12136 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12137 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12138 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12139 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12140 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12141 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12142
12143 2018-10-10 Joseph Myers <joseph@codesourcery.com>
12144
12145 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12146 (struct shmid_ds): Condition padding after time fields on
12147 [__WORDSIZE == 32].
12148 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12149 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12150 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12151
12152 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12153 (struct semid_ds): Condition padding after time fields on
12154 [__WORDSIZE == 32].
12155 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12156 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12157 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12158 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12159
12160 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12161 (struct msqid_ds): Condition padding after time fields on
12162 [__WORDSIZE == 32].
12163 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12164 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12165 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12166 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12167
12168 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12169
12170 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12171
12172 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12173
12174 * libio/tst-readline.c (TIMEOUT): Define.
12175
12176 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12177
12178 mktime fix for Gnulib + coreutils
12179 [BZ#23745]
12180 This fix affects only Gnulib. Problem discovered when
12181 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12182 * time/mktime.c:
12183 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12184 Do not define since it is not used. Defining an unused static
12185 function prompts a warning from GCC when Coreutils is configured
12186 with --enable-gcc-warnings.
12187
12188 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12189
12190 * benchtests/scripts/compare_bench.py (main): set float type on
12191 threshold argument.
12192
12193 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
12194
12195 [BZ #23740]
12196 * localedata/locales/kl_GL (mon): Update, the relative case.
12197 (alt_mon): Add, fill with month names in the nominative case.
12198 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12199 (d_fmt): Set to "%b %d %Y".
12200
12201 2018-10-04 Joseph Myers <joseph@codesourcery.com>
12202
12203 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12204 <bits/mman-linux.h>.
12205 (PROT_READ): Don't define here.
12206 (PROT_WRITE): Likewise.
12207 (PROT_EXEC): Likewise.
12208 (PROT_NONE): Likewise.
12209 (PROT_GROWSDOWN): Likewise.
12210 (PROT_GROWSUP): Likewise.
12211 (MAP_SHARED): Likewise.
12212 (MAP_PRIVATE): Likewise.
12213 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12214 [__USE_MISC] (MAP_FILE): Likewise.
12215 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12216 [__USE_MISC] (MAP_ANON): Likewise.
12217 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12218 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12219 (MCL_CURRENT): Likewise.
12220 (MCL_FUTURE): Likewise.
12221 (MCL_ONFAULT): Likewise.
12222 [__USE_MISC] (MADV_NORMAL): Likewise.
12223 [__USE_MISC] (MADV_RANDOM): Likewise.
12224 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12225 [__USE_MISC] (MADV_WILLNEED): Likewise.
12226 [__USE_MISC] (MADV_DONTNEED): Likewise.
12227 [__USE_MISC] (MADV_FREE): Likewise.
12228 [__USE_MISC] (MADV_REMOVE): Likewise.
12229 [__USE_MISC] (MADV_DONTFORK): Likewise.
12230 [__USE_MISC] (MADV_DOFORK): Likewise.
12231 [__USE_MISC] (MADV_HWPOISON): Likewise.
12232 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12233 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12234 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12235 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12236 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12237 (__MAP_ANONYMOUS): New macro.
12238 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12239 <bits/mman-linux.h> inclusion.
12240 (MAP_FIXED): Likewise.
12241 (MS_SYNC): Likewise.
12242 (MS_ASYNC): Likewise.
12243 (MS_INVALIDATE): Likewise.
12244 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12245 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12246 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12247 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12248 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12249 [__USE_MISC] (MADV_DODUMP): Likewise.
12250 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12251 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12252
12253 [BZ #23735]
12254 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12255 Define.
12256 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12257 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12258 Add test-nldbl-redirect.
12259 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12260 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12261 $(objpfx)libnldbl_nonshared.a.
12262
12263 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12264
12265 * support/support.h (support_objdir_elf_ldso): New variable.
12266 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12267 * support/Makefile (CFLAGS-support_paths.c): Add definition
12268 for OBJDIR_ELF_LDSO_PATH.
12269 * support/test-container.c (main): Search for the ld.so
12270 which is also used by the testsuite.
12271
12272 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12273
12274 [BZ #20209]
12275 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12276 should be "sap" rather than "sab".
12277 (day): Fix spelling of Sunday, should be "sapaat" rather than
12278 "sabaat".
12279
12280 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12281
12282 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12283
12284 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12285
12286 [BZ #19444]
12287 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12288 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12289 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12290
12291 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12292
12293 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12294
12295 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12296
12297 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12298 Add -mrtm.
12299 (CFLAGS-elision-unlock.c): Likewise.
12300 (CFLAGS-elision-timed.c): Likewise.
12301 (CFLAGS-elision-trylock.c): Likewise.
12302 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12303
12304 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12305
12306 [BZ #21037]
12307 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12308 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12309 new fd_to_filename interface.
12310 * libio/freopen64.c (freopen64): Likewise.
12311 * libio/tst-memstream.h: New file.
12312 * libio/tst-memstream4.c: Likewise.
12313 * libio/tst-wmemstream4.c: Likewise.
12314 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12315 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12316 and remove internal dynamic allocation.
12317
12318 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12319
12320 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12321 (MREMAP_MAYMOVE): Do not define here.
12322 [__USE_GNU] (MREMAP_FIXED): Likewise.
12323 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12324 (MREMAP_MAYMOVE): Define here instead.
12325 [__USE_GNU] (MREMAP_FIXED): Likewise.
12326 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12327 (MREMAP_MAYMOVE): Remove.
12328 [__USE_GNU] (MREMAP_FIXED): Likewise.
12329
12330 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12331
12332 * math/fromfp.h: Do not include <math_private.h>.
12333 * math/s_cacosh_template.c: Likewise.
12334 * math/s_casin_template.c: Likewise.
12335 * math/s_casinh_template.c: Likewise.
12336 * math/s_ccos_template.c: Likewise.
12337 * math/s_cproj_template.c: Likewise.
12338 * math/s_fdim_template.c: Likewise.
12339 * math/s_fmaxmag_template.c: Likewise.
12340 * math/s_fminmag_template.c: Likewise.
12341 * math/s_iseqsig_template.c: Likewise.
12342 * math/s_ldexp_template.c: Likewise.
12343 * math/s_nextdown_template.c: Likewise.
12344 * math/w_log1p_template.c: Likewise.
12345 * math/w_scalbln_template.c: Likewise.
12346 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12347 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12348 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12349 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12350 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12351 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12352 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12353 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12354 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12355 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12356 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12357 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12358 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12359 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12360 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12361 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12362 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12366 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12367 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12368 * sysdeps/ieee754/k_standardf.c: Likewise.
12369 * sysdeps/ieee754/k_standardl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12372 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12378 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12379 * sysdeps/ieee754/s_signgam.c: Likewise.
12380 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12381 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12382 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12383 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12384 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12385 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12386 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12387 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12388 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12389 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12390 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12391 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12392 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12393 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12394 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12395 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12396 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12397 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12398 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12399 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12400 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12401 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12402 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12403 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12404 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12405 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12406 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12407 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12408 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12409 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12410 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12411 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12412 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12413 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12414 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12415 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12416 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12417 <math_private.h>.
12418 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12419
12420 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12421
12422 [BZ #23716]
12423 * sysdeps/i386/dl-cet.c: Removed.
12424 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12425 prototype.
12426 (_dl_runtime_profile_shstk): Likewise.
12427 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12428 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12429
12430 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12431
12432 [BZ #23579]
12433 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12434 do_test_with_invalid_iov): New tests.
12435 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12436 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12437 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12438 errno is ENOSYS.
12439 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12440 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12441 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12442
12443 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12444
12445 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12446 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12447 (MATH_REDIRECT_BINARY_ARGS): New macro.
12448 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12449 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12450 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12451 header inclusion.
12452 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12454 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12455 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12460 Likewise.
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12462 Likewise.
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12465 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12466 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12468 Likewise.
12469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12470 Likewise.
12471 * sysdeps/generic/math_private_calls.h
12472 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12473 Do not declare and define as an inline function.
12474 * math/divtc3.c (__divtc3): Use copysign functions instead of
12475 __copysign variants.
12476 * math/multc3.c (__multc3): Likewise.
12477 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12478 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12479 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12480 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12481 Likewise.
12482 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12483 (__ieee754_yn): Likewise.
12484 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12485 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12487 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12488 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12489 (__sin): Likewise.
12490 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12491 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12492 Likewise.
12493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12494 Likewise.
12495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12496 Likewise.
12497 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12498 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12499 Likewise.
12500 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12501 (__ieee754_ynf): Likewise.
12502 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12503 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12504 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12505 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12506 Likewise.
12507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12508 (__ieee754_ynl): Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12512 Likewise.
12513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12514 (__ieee754_ynl): Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12517 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12519 Likewise.
12520 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12521 (__ieee754_ynl)
12522 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12523 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12524 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12525 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12526 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12527
12528 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12529 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12530 using MATH_REDIRECT.
12531 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12532 header inclusion.
12533 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12534 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12535 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12536 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12537 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12544 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12545 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12547 (round): Redirect to __round.
12548 (__roundl): Call round instead of __round.
12549 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12550 Remove macro.
12551 [_ARCH_PWR5X] (__roundf): Likewise.
12552 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12553 functions instead of __round variants.
12554 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12555 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12556 Likewise.
12557 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12558 Likewise.
12559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12560 Likewise.
12561 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12563 __lroundl.
12564 (__ieee754_expl): Call roundl instead of __roundl.
12565
12566 2018-09-27 Andreas Schwab <schwab@suse.de>
12567
12568 [BZ #23717]
12569 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12570 (do_test): Make st1 static.
12571
12572 2018-09-26 Andreas Schwab <schwab@suse.de>
12573
12574 [BZ #23707]
12575 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12576 * elf/Makefile (tests): Add tst-unwind-ctor.
12577 (modules-names): Add tst-unwind-ctor-lib.
12578 ($(objpfx)tst-unwind-ctor): Depend on
12579 $(objpfx)tst-unwind-ctor-lib.so.
12580
12581 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12582
12583 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12584 file. Most contents moved from ....
12585 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12586 and include <bits/mman-map-flags-generic.h>.
12587 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12588 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12589 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12590 <bits/mman-map-flags-generic.h>.
12591 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12592 macros defined in <bits/mman-map-flags-generic.h>.
12593 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12594 <bits/mman-map-flags-generic.h>.
12595 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12596 defined in <bits/mman-map-flags-generic.h>.
12597
12598 2018-09-26 Andreas Schwab <schwab@suse.de>
12599
12600 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12601 output.
12602
12603 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12604 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12605 Fangrui Song <maskray@google.com>
12606
12607 [BZ #20480]
12608 * config.make.in (have-textrel_ifunc): New define.
12609 * configure.ac: Add check if linker supports textrel relocation with
12610 ifunc.
12611 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12612 tst-ifunc-textrel.
12613 (CFLAGS-tst-ifunc-textrel.c): New rule.
12614 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12615 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12616 * elf/tst-ifunc-textrel.c: New file.
12617
12618 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12619
12620 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12621 <bits/procfs-prregset.h>.
12622 (prgregset_t): Define using __prgregset_t.
12623 (prfpregset_t): Define using __prfpregset_t.
12624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12625 (sysdep_headers): Add bits/procfs-prregset.h.
12626 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12627 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12628 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12629 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12630
12631 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12632 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12633 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12634 pr_uid and pr_gid.
12635 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12636 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12637 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12638 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12639 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12640 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12641 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12642 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12643 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12644 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12645 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12646 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12647 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12648 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12649 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12650 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12651 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12652 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12653 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12654 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12655 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12656 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12657 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12658 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12659
12660 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12661 AArch64 version. Include <bits/procfs.h>.
12662 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12663 (sysdep_headers): Add bits/procfs.h.
12664 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12665 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12666 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12667 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12668 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12669 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12670 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12671 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12672 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12673 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12674 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12675 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12676 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12677 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12678 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12679 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12680 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12681
12682 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12683
12684 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12685 Use libsupport.
12686
12687 2018-09-25 Arjun Shankar <arjun@redhat.com>
12688
12689 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12690 (__gconv_max_path_elem_len): Likewise.
12691 (__gconv_nmodules): Likewise.
12692 (__gconv_get_path): Likewise.
12693 (path_elem): Move to ...
12694 * iconv/gconv_conf.c: ... here.
12695 (__gconv_get_path): Mark function static.
12696 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12697 * iconv/gconv_open.c: ... here.
12698
12699 2018-09-24 Andreas Schwab <schwab@suse.de>
12700
12701 * scripts/haveversions.awk: New file.
12702 * Makerules ($(common-objpfx)Versions.def)
12703 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12704 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12705 Move rules ...
12706 * Makeconfig ($(common-objpfx)Versions.def)
12707 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12708 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12709 ... here.
12710 ($(common-objpfx)Versions.mk): New rule. Include it.
12711 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12712 Emit error if build-obsolete-nsl = yes.
12713 * manual/install.texi (Configuring and compiling): Describe
12714 --enable-obsolete-nsl as unavaiable after version 2.28.
12715 * INSTALL: Regenerate.
12716
12717 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12718
12719 * NEWS: Add note about new TLE support on powerpc64le.
12720 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12721 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12722 __ununsed1.
12723 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12724 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12725 * sysdeps/powerpc/powerpc32/sysdep.h,
12726 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12727 ABORT_TRANSACTION): Remove macros.
12728 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12729 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12730 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12732 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12733 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12734 usage.
12735 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12736
12737 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12738
12739 [BZ #10425]
12740 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12741 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12742 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12743 which is the same as in it_IT.
12744 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12745 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12746
12747 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12748
12749 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12750 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12751 using MATH_REDIRECT.
12752 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12753 header inclusion.
12754 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12756 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12758 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12764 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12765 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12766 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12767 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12768 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12769 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12770 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12772 (ceil): Redirect to __ceil.
12773 (floor): Redirect to __floor.
12774 (trunc): Redirect to __trunc.
12775 (__truncl): Call trunc instead of __trunc.
12776 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12777 Remove macro.
12778 [_ARCH_PWR5X] (__truncf): Likewise.
12779 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12780 trunc functions instead of __trunc variants.
12781 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12782 Likewise.
12783 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12784 Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12786 Likewise.
12787 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12788 Likewise.
12789
12790 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12791 [__i586__ || __pentium__].
12792 [__i486__]: Handle explicitly.
12793 (HAS_CPUID): Define to 1 if above macros are undefined.
12794 (HAS_I586): Likewise.
12795 (HAS_I686): Likewise.
12796
12797 2018-09-20 Florian Weimer <fweimer@redhat.com>
12798
12799 * misc/tst-gethostid.c: New file.
12800 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12801 (tst-gethostid): Link with -ldl.
12802
12803 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12804
12805 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12806 value from gethostbyname_r.
12807
12808 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12809
12810 * stdlib/tst-setcontext9.c (f1): Rename to...
12811 (f1a): ... this.
12812 (f1b): New function implementing lower half of f1 in alternate stack.
12813
12814 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12815
12816 Fix mktime localtime offset confusion
12817 [BZ #23603]
12818 * include/time.h (__mktime_internal): The localtime offset is now
12819 of type long int instead of time_t. This is the longstanding type
12820 in glibc, and it is more than enough to represent difference
12821 between localtime and gmtime even if it is 32 bits and time_t is
12822 64. Changing it now will let us avoid an unnecessary change when
12823 time_t is widened to 64 bits on 32-bit platforms.
12824 * time/mktime-internal.h (mktime_offset_t): Now long int.
12825
12826 Merge mktime, timegm from upstream Gnulib
12827 [BZ #23603][BZ #16346]
12828 This fixes some obscure problems with integer overflow.
12829 Although it looks scary, it is almost all a byte-for-byte copy
12830 from Gnulib, and the Gnulib code has been tested reasonably well.
12831 * include/intprops.h: New file, copied from Gnulib.
12832 * include/verify.h, time/mktime-internal.h:
12833 New tiny files, simplified from Gnulib.
12834 * time/mktime.c: Copy from Gnulib. This has the following changes:
12835 Do not include config.h if DEBUG_MKTIME is nonzero.
12836 Include stdbool.h, intprops.h, verify.h.
12837 Include string.h only if needed.
12838 Include stdlib.h on MS-Windows.
12839 Include mktime-internal.h.
12840 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12841 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12842 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12843 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12844 simplify later conditionals; default the others to zero. Use
12845 these conditionals to express only the code needed on the current
12846 platform. In uses of these conditionals, explicitly spell out how
12847 _LIBC affects things, so it’s easier to review from a glibc
12848 viewpoint.
12849 (WRAPV): Remove; no longer needed now that we have
12850 systematic overflow checking.
12851 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12852 compartmentalize tzset issues. Move system-dependent tzsettish
12853 code here from mktime.
12854 (verify): Remove; now done by verify.h. All uses changed.
12855 (long_int): Use a more-conservative definition, to avoid
12856 integer overflow.
12857 (SHR): Remove, replacing with ...
12858 (shr): New function, which means we needn’t worry about side
12859 effects in args, and conversion analysis is simpler.
12860 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12861 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12862 (time_t_avg, time_t_add_ok): Remove.
12863 (mktime_min, mktime_max): New constants.
12864 (leapyear, isdst_differ): Use bool for booleans.
12865 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12866 Use long_int, not time_t, for mktime differences.
12867 (long_int_avg): New function, replacing time_t_avg.
12868 INT_ADD_WRAPV replaces time_t_add_ok.
12869 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12870 All uses changed.
12871 (convert_time): New function.
12872 (ranged_convert): Use it.
12873 (__mktime_internal): Last arg now points to mktime_offset_t, not
12874 time_t. All uses changed. This is a no-op on glibc, where
12875 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12876 offset guess. Directly check for integer overflow instead of
12877 using a heuristic that works only 99.9...% of the time.
12878 Access *OFFSET only once, to avoid an unlikely race if the
12879 compiler delays a load and if this cascades into a signed integer
12880 overflow.
12881 (mktime): Move tzsettish code to my_tzset, and move
12882 localtime_offset to within mktime so that it doesn’t
12883 need a separate ifdef.
12884 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12885 instead of localtime.
12886 * time/timegm.c: Copy from Gnulib. This has the following changes:
12887 Include mktime-internal.h.
12888 [!_LIBC]: Include config.h and time.h. Do not include
12889 timegm.h or time_r.h. Make __mktime_internal a macro,
12890 and include mktime-internal.h to get its declaration.
12891 (timegm): Temporary is now mktime_offset_t, not time_t.
12892 This affects only Gnulib.
12893
12894 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12895
12896 [BZ #23637]
12897 * string/test-strstr.c (pr23637): New function.
12898 (test_main): Add tests with longer needles.
12899 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12900 * string/strstr.c (AVAILABLE): Likewise.
12901
12902 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12903
12904 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12905
12906 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12907
12908 * NEWS: Mention pow improvements.
12909 * math/Makefile (type-double-routines): Add e_pow_log_data.
12910 * sysdeps/generic/math_private.h (__exp1): Remove.
12911 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12912 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12913 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12914 contraction.
12915 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12916 (exp_inline): Remove.
12917 (__ieee754_exp): Only single double input is handled.
12918 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12919 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12920 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12921 (__pow_log_data): Define.
12922 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12923 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12924 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12925 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12926 contraction.
12927 (CFLAGS-e_pow-fma4.c): Likewise.
12928
12929 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12930
12931 Simplify tzfile fstat failure code
12932 [BZ #21716]
12933 * time/tzfile.c (__tzfile_read): Simplify slightly.
12934
12935 Fix tzfile low-memory assertion failure
12936 [BZ #21716]
12937 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12938 when registering time zone abbreviations.
12939
12940 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12941
12942 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12943 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12944 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12945 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12946 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12947 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12948 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12951
12952 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12953 __ceil.
12954 (__ceill): Call ceil instead of __ceil.
12955 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12956 __floor.
12957 (__floorl): Call floor instead of __floor.
12958
12959 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12960
12961 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12962 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12963 using MATH_REDIRECT.
12964 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12965 header inclusion.
12966 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12967 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12969 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12970 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12973 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12978 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12979 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12982 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12983 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12984 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12985 Remove macro.
12986 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12987 functions instead of __ceil variants.
12988 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12989 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12990 Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12992 Likewise.
12993 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12994 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12995 Likewise.
12996 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12997 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12998
12999 [BZ #21286]
13000 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
13001 constant.
13002 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
13003 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
13004 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
13005 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
13006 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
13007 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
13008 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
13009 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
13010 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
13011 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
13012 (ILL_BADIADDR): Remove constant.
13013 (TRAP_BRANCH): Likewise.
13014 (TRAP_HWBKPT): Likewise.
13015
13016 2018-09-14 Joseph Myers <joseph@codesourcery.com>
13017
13018 [BZ #23656]
13019 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
13020 Remove [_MIPS_SIM = _ABIN32] conditional case.
13021 (struct elf_prpsinfo): Likewise.
13022
13023 [BZ #23649]
13024 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
13025 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
13026 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
13027 Likewise.
13028 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
13029 elf_prpsinfo): Likewise.
13030 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
13031 elf_prpsinfo): Likewise.
13032 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
13033 Likewise.
13034
13035 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13036 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
13037 using MATH_REDIRECT.
13038 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
13039 header inclusion.
13040 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
13041 * sysdeps/alpha/fpu/s_rint.c: Likewise.
13042 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
13043 * sysdeps/i386/fpu/s_rintl.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13046 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
13047 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13050 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
13051 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
13052 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
13053 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13054 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13055 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13056 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13057 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13058 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
13060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
13061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13063 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13064 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13065 * sysdeps/x86_64/fpu/math_private.h: Remove file.
13066 * math/e_scalb.c (invalid_fn): Use rint functions instead of
13067 __rint variants.
13068 * math/e_scalbf.c (invalid_fn): Likewise.
13069 * math/e_scalbl.c (invalid_fn): Likewise.
13070 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13071 Likewise.
13072 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13073 Likewise.
13074 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
13075 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
13076 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13077 Likewise.
13078 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13079 Likewise.
13080 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13081 Likewise.
13082 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
13083 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
13084
13085 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13086 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
13087 New macro.
13088 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13089 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
13090 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13091 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
13092 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13093 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
13094 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13095 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
13096 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13097 && !NO_MATH_REDIRECT] (floor): Likewise.
13098 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
13099 header inclusion.
13100 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13103 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13104 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13107 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13112 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13113 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13116 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13117 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13118 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13119 Remove macro.
13120 [_ARCH_PWR5X] (__floorf): Likewise.
13121 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13122 inline function.
13123 [__SSE4_1__] (__floorf): Likewise.
13124 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13125 instead of __floor variants.
13126 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13127 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13128 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13129 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13130 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13131 * math/w_tgamma_compat.c (__tgamma): Likewise.
13132 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13133 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13134 * math/w_tgammal_compat.c (__tgammal): Likewise.
13135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13137 Likewise.
13138 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13139 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13140 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13142 Likewise.
13143 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13144 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13145 Likewise.
13146 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13147 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13148 Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13151 Likewise.
13152 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13155 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13156 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13157 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13158
13159 2018-09-12 Joseph Myers <joseph@codesourcery.com>
13160
13161 * elf/Makefile (modules-names-tests): New variable.
13162
13163 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13164
13165 * NEWS: Mention log2 improvements.
13166 * math/Makefile (type-double-routines): Add e_log2_data.
13167 * sysdeps/i386/fpu/e_log2_data.c: New file.
13168 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13169 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13170 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13171 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13172 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13173 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13174
13175 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13176
13177 * NEWS: Mention log improvement.
13178 * math/Makefile (type-double-routines): Add e_log_data.
13179 * sysdeps/i386/fpu/e_log_data.c: New file.
13180 * sysdeps/ia64/fpu/e_log_data.c: New file.
13181 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13182 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13183 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13184 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13185 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13186 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13187
13188 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13189 Xuepeng Guo <xuepeng.guo@intel.com>
13190
13191 [BZ #23606]
13192 * sysdeps/i386/start.S: Include <sysdep.h>
13193 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13194 enabled. Add cfi_undefined (eip).
13195
13196 2018-09-11 Joseph Myers <joseph@codesourcery.com>
13197
13198 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13199 (MOVQ): Likewise.
13200 (EXTRACT_WORDS64): Likewise.
13201 (INSERT_WORDS64): Likewise.
13202 (GET_FLOAT_WORD): Likewise.
13203 (SET_FLOAT_WORD): Likewise.
13204
13205 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13206 argument.
13207 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13208 build, but not for second build if --full-gcc. Use
13209 --enable-languages=all for second build if --full-gcc.
13210 (get_parser): Add --full-gcc option.
13211 (main): Update call to Context.
13212
13213 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
13214
13215 [BZ #10797]
13216 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13217 Single Quotation Mark).
13218 (thousands_sep): Likewise.
13219 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13220 * localedata/locales/it_IT (thousands_sep): Use ".".
13221 (grouping): Use "3;3".
13222
13223 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13224
13225 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13226 x86_64 and i686 configs using --enable-obsolete-rpc
13227 --enable-obsolete-nsl.
13228
13229 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13230
13231 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13232
13233 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13234
13235 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13236 Increment size of new_argv by one.
13237
13238 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13239
13240 [BZ #17426]
13241 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13242 * localedata/locales/ar_IN (d_fmt): Likewise.
13243 * localedata/locales/bhb_IN (d_fmt): Likewise.
13244 * localedata/locales/bho_IN (d_fmt): Likewise.
13245 * localedata/locales/bn_BD (d_fmt): Likewise.
13246 * localedata/locales/bn_IN (d_fmt): Likewise.
13247 * localedata/locales/doi_IN (d_fmt): Likewise.
13248 * localedata/locales/gu_IN (d_fmt): Likewise.
13249 * localedata/locales/hi_IN (d_fmt): Likewise.
13250 * localedata/locales/hne_IN (d_fmt): Likewise.
13251 * localedata/locales/kn_IN (d_fmt): Likewise.
13252 * localedata/locales/mag_IN (d_fmt): Likewise.
13253 * localedata/locales/mai_IN (d_fmt): Likewise.
13254 * localedata/locales/mjw_IN (d_fmt): Likewise.
13255 * localedata/locales/ml_IN (d_fmt): Likewise.
13256 * localedata/locales/mni_IN (d_fmt): Likewise.
13257 * localedata/locales/mr_IN (d_fmt): Likewise.
13258 * localedata/locales/pa_IN (d_fmt): Likewise.
13259 * localedata/locales/raj_IN (d_fmt): Likewise.
13260 * localedata/locales/sat_IN (d_fmt): Likewise.
13261 * localedata/locales/sd_IN (d_fmt): Likewise.
13262 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13263 * localedata/locales/ta_IN (d_fmt): Likewise.
13264 * localedata/locales/ta_LK (d_fmt): Likewise.
13265 * localedata/locales/tcy_IN (d_fmt): Likewise.
13266 * localedata/locales/ur_IN (d_fmt): Likewise.
13267
13268 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13269 * localedata/locales/ks_IN (d_fmt): Likewise.
13270 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13271
13272 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13273 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13274 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13275 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13276
13277 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13278
13279 * NEWS: Mention exp and exp2 improvements.
13280 * math/Makefile (libm-support): Remove t_exp.
13281 (type-double-routines): Add math_err and e_exp_data.
13282 * sysdeps/aarch64/libm-test-ulps: Update.
13283 * sysdeps/arm/libm-test-ulps: Update.
13284 * sysdeps/i386/fpu/e_exp_data.c: New file.
13285 * sysdeps/i386/fpu/math_err.c: New file.
13286 * sysdeps/i386/fpu/t_exp.c: Remove.
13287 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13288 * sysdeps/ia64/fpu/math_err.c: New file.
13289 * sysdeps/ia64/fpu/t_exp.c: Remove.
13290 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13291 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13292 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13293 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13294 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13295 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13296 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13297 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13298 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13299 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13300 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13301 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13302 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13303 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13306
13307 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13308
13309 * sysdeps/alpha/fpu/math_private.h: Remove.
13310
13311 * sysdeps/generic/math_private.h
13312 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13313 Move this inline function ....
13314 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13315 * include/math.h [!_ISOMAC]: To here....
13316
13317 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13318
13319 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13320 code ....
13321 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13322 * include/fenv.h [!_ISOMAC]: ... to here.
13323 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13324 (feraiseexcept): Likewise.
13325 * math/fromfp.h: Do not include <fenv_private.h>.
13326 * math/s_cexp_template.c: Likewise.
13327 * math/s_csin_template.c: Likewise.
13328 * math/s_csinh_template.c: Likewise.
13329 * math/s_ctan_template.c: Likewise.
13330 * math/s_ctanh_template.c: Likewise.
13331 * math/s_iseqsig_template.c: Likewise.
13332 * math/w_acos_compat.c: Likewise.
13333 * math/w_acosf_compat.c: Likewise.
13334 * math/w_acosl_compat.c: Likewise.
13335 * math/w_asin_compat.c: Likewise.
13336 * math/w_asinf_compat.c: Likewise.
13337 * math/w_asinl_compat.c: Likewise.
13338 * math/w_j0_compat.c: Likewise.
13339 * math/w_j0f_compat.c: Likewise.
13340 * math/w_j0l_compat.c: Likewise.
13341 * math/w_j1_compat.c: Likewise.
13342 * math/w_j1f_compat.c: Likewise.
13343 * math/w_j1l_compat.c: Likewise.
13344 * math/w_jn_compat.c: Likewise.
13345 * math/w_jnf_compat.c: Likewise.
13346 * math/w_log10_compat.c: Likewise.
13347 * math/w_log10f_compat.c: Likewise.
13348 * math/w_log10l_compat.c: Likewise.
13349 * math/w_log2_compat.c: Likewise.
13350 * math/w_log2f_compat.c: Likewise.
13351 * math/w_log2l_compat.c: Likewise.
13352 * math/w_log_compat.c: Likewise.
13353 * math/w_logf_compat.c: Likewise.
13354 * math/w_logl_compat.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13360 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13361 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13362 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13363 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13364 * sysdeps/ieee754/k_standardl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13382 * math/w_ilogb_template.c: Include <fenv.h> instead of
13383 <fenv_private.h>.
13384 * math/w_llogb_template.c: Likewise.
13385 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13387
13388 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13389
13390 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13391 * math/fromfp.h: Include <fenv_private.h>.
13392 * math/math-narrow.h: Likewise.
13393 * math/s_cexp_template.c: Likewise.
13394 * math/s_csin_template.c: Likewise.
13395 * math/s_csinh_template.c: Likewise.
13396 * math/s_ctan_template.c: Likewise.
13397 * math/s_ctanh_template.c: Likewise.
13398 * math/s_iseqsig_template.c: Likewise.
13399 * math/w_acos_compat.c: Likewise.
13400 * math/w_acosf_compat.c: Likewise.
13401 * math/w_acosl_compat.c: Likewise.
13402 * math/w_asin_compat.c: Likewise.
13403 * math/w_asinf_compat.c: Likewise.
13404 * math/w_asinl_compat.c: Likewise.
13405 * math/w_ilogb_template.c: Likewise.
13406 * math/w_j0_compat.c: Likewise.
13407 * math/w_j0f_compat.c: Likewise.
13408 * math/w_j0l_compat.c: Likewise.
13409 * math/w_j1_compat.c: Likewise.
13410 * math/w_j1f_compat.c: Likewise.
13411 * math/w_j1l_compat.c: Likewise.
13412 * math/w_jn_compat.c: Likewise.
13413 * math/w_jnf_compat.c: Likewise.
13414 * math/w_llogb_template.c: Likewise.
13415 * math/w_log10_compat.c: Likewise.
13416 * math/w_log10f_compat.c: Likewise.
13417 * math/w_log10l_compat.c: Likewise.
13418 * math/w_log2_compat.c: Likewise.
13419 * math/w_log2f_compat.c: Likewise.
13420 * math/w_log2l_compat.c: Likewise.
13421 * math/w_log_compat.c: Likewise.
13422 * math/w_logf_compat.c: Likewise.
13423 * math/w_logl_compat.c: Likewise.
13424 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13425 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13426 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13427 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13452 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13453 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13454 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13455 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13456 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13457 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13458 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13459 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13460 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13461 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13462 * sysdeps/ieee754/k_standardl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13488 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13489 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13493 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13494 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13499 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13500 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13501 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13502 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13503 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13504 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13505 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13506 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13507 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13508 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13509 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13510 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13511 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13512 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13513 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13514 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13515 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13516 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13517 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13518 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13519 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13520 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13521 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13522 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13523 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13524 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13525 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13526 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13527 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13528 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13529 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13530 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13531 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13532 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13533 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13534
13535 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13536
13537 [BZ #20271]
13538 * include/stdio.h (__libc_fatal): Mention newline in comment.
13539 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13540 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13542 * nss/nsswitch.c (__nss_next2): Likewise.
13543 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13544 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13545 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13546 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13547 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13548 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13549 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13550 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13551 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13552 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13553 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13554 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13555 (__netlink_assert_response): Likewise.
13556
13557 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13558
13559 * conform/glibcconform.py: New file.
13560 * conform/list-header-symbols.py: Likewise.
13561 * conform/list-header-symbols.pl: Remove.
13562 * conform/Makefile (tests-special): Only add linknamespace tests
13563 if [PYTHON].
13564 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13565
13566 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13567
13568 [BZ #23597]
13569 * support/Makefile (libsupport-routines): Add
13570 support_copy_file_range and xcopy_file_range.
13571 * support/support.h: Include <sys/types.h>.
13572 (support_copy_file_range): New prototype.
13573 * support/support_copy_file_range.c: New file. Copied and
13574 modified from io/copy_file_range-compat.c.
13575 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13576 instead of copy_file_range.
13577 * support/xcopy_file_range.c: New file.
13578 * support/xunistd.h (xcopy_file_range): New prototype.
13579
13580 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13581
13582 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13583 xpthread_create and xpthread_join.
13584
13585 2018-08-30 Florian Weimer <fweimer@redhat.com>
13586
13587 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13588
13589 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13590
13591 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13592 if malloc fails.
13593
13594 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13595
13596 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13597 and minus_oflow as non-finite.
13598
13599 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13600
13601 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13602 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13603 moved to fenv_private.h except for ...
13604 (TOINT_INTRINSICS): Kept in math_private.h.
13605 (roundtoint): Likewise.
13606 (converttoint): Likewise.
13607 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13608 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13609 * sysdeps/arm/math_private.h: Remove.
13610 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13611 ....
13612 * sysdeps/generic/math_private.h: ... this file. Include
13613 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13614 Include <fenv_private.h>. Remove functions and macros moved to
13615 fenv_private.h.
13616 * sysdeps/i386/fpu/math_private.h: Remove.
13617 * sysdeps/mips/math_private.h: Move to ....
13618 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13619 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13620 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13621 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13622 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13623 * sysdeps/powerpc/fpu/math_private.h: Do not include
13624 <fenv_private.h>.
13625 * sysdeps/riscv/rvf/math_private.h: Move to ....
13626 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13627 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13628 <fenv_private.h>.
13629 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13630 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13631 * sysdeps/sparc/fpu/math_private.h: Remove.
13632 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13633 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13634 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13635 <fenv_private.h>.
13636 * sysdeps/x86_64/fpu/math_private.h: Do not include
13637 <sysdeps/i386/fpu/fenv_private.h>.
13638
13639 2018-08-28 Florian Weimer <fweimer@redhat.com>
13640
13641 [BZ #23578]
13642 * posix/tst-regcomp-truncated.c: New file.
13643 * posix/Makefile (tests): Add it.
13644 (tst-regcomp-truncated.out): Depend on generated locales.
13645
13646 2018-08-28 Florian Weimer <fweimer@redhat.com>
13647
13648 * support/test-container.c (main): Treat unshare failure with
13649 EPERM as an unsupported test.
13650
13651 2018-08-28 Florian Weimer <fweimer@redhat.com>
13652
13653 [BZ #23520]
13654 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13655 * nscd/netgroupcache.c
13656 (addgetnetgrentX): Add tofreep parameter. Do not free
13657 heap-allocated buffer.
13658 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13659 (addgetnetgrentX_ignore): New function.
13660 (addgetnetgrent): Call it.
13661 (readdgetnetgrent): Likewise.
13662
13663 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13664
13665 * string/memmem.c: Use memcmp for first match.
13666
13667 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13668
13669 [BZ #17426]
13670 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13671
13672 2018-08-27 DJ Delorie <dj@redhat.com>
13673
13674 * support/Makefile (others): Don't list programs explicitly as a
13675 dependency of "others".
13676
13677 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13678
13679 * sysdeps/generic/math-tests-trap-force.h: New file.
13680 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13681 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13682 * sysdeps/powerpc/math-tests.h: Remove file.
13683 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13684
13685 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13686 Torvald Riegel <triegel@redhat.com>
13687
13688 [BZ #23538]
13689 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13690 Update r to include the set wake-request flag if waiters are
13691 remaining after spinning.
13692
13693 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13694
13695 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13696
13697 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13698
13699 [BZ #23578]
13700 regex: fix uninitialized memory access
13701 I introduced this bug into gnulib in commit
13702 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13703 eventually it was merged into glibc. The bug was found by
13704 project-repo <bugs@feusi.co> and reported here:
13705 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13706 Diagnosis and draft fix reported by Assaf Gordon here:
13707 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13708 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13709 * posix/regex_internal.c (build_wcs_upper_buffer):
13710 Fix bug when mbrtowc returns 0.
13711
13712 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13713
13714 * po/be.po: Update translation.
13715
13716 2018-08-24 DJ Delorie <dj@delorie.com>
13717
13718 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13719 $(libunwind).
13720
13721 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13722
13723 [BZ #23400]
13724 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13725 create temporary files in source tree.
13726
13727 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13728
13729 * sysdeps/generic/math-tests-trap.h: New file.
13730 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13731 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13732 * sysdeps/aarch64/math-tests.h: Remove file.
13733 * sysdeps/arm/math-tests.h: Likewise.
13734 * sysdeps/riscv/math-tests.h: Likewise.
13735 * sysdeps/aarch64/math-tests-trap.h: New file.
13736 * sysdeps/arm/math-tests-trap.h: Likewise.
13737 * sysdeps/riscv/math-tests-trap.h: Likewise.
13738
13739 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13740
13741 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13742 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13743 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13744 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13745 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13746 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13750 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13751 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13752 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13753 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13754 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13755 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13756 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13757 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13758 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13759
13760 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13761
13762 * sysdeps/generic/math-tests-exceptions.h: New file.
13763 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13764 (EXCEPTION_TESTS_float): Do not define here.
13765 (EXCEPTION_TESTS_double): Likewise.
13766 (EXCEPTION_TESTS_long_double): Likewise.
13767 (EXCEPTION_TESTS_float128): Likewise.
13768 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13769 Likewise.
13770 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13771 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13772 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13773 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13774 * sysdeps/mips/math-tests.h: Likewise.
13775 * sysdeps/nios2/math-tests.h: Likewise.
13776 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13777 (EXCEPTION_TESTS_float): Do not define here.
13778 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13779 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13780 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13781
13782 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13783
13784 * NEWS: Move optimized sinf entry to 2.29.
13785
13786 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13787
13788 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13789
13790 2018-08-22 DJ Delorie <dj@redhat.com>
13791
13792 * Makefile (testroot.pristine): New rules to initialize the
13793 test-in-container "testroot".
13794 * Makerules (all-testsuite): Add tests-container.
13795 * Rules (tests-expected): Add tests-container.
13796 (binaries-all-tests): Likewise.
13797 (tests-container): New, run these tests in the testroot container.
13798 * support/Makefile (others): Add *-container, support_paths.c,
13799 xmkdirp, and links-dso-program.
13800 * support/links-dso-program-c.c: New.
13801 * support/links-dso-program.cc: New.
13802 * support/test-container.c: New.
13803 * support/shell-container.c: New.
13804 * support/echo-container.c: New.
13805 * support/true-container.c: New.
13806 * support/xmkdirp.c: New.
13807 * support/xsymlink.c: New.
13808 * support/support_paths.c: New.
13809 * support/support.h: Add support paths prototypes.
13810 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13811
13812 * nss/tst-nss-test3.c: Convert to test-in-container.
13813 * nss/tst-nss-test3.root/: New.
13814
13815 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13816
13817 regex: port Gnulib code to z/OS POSIX environment
13818 Problem reported by Arnold Robbins in:
13819 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13820 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13821 Undef.
13822
13823 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13824
13825 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13826 (ROUNDING_TESTS_double): Remove.
13827 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13828 (ROUNDING_TESTS_double): Remove.
13829 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13830 (ROUNDING_TESTS_double): Remove.
13831 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13832 (ROUNDING_TESTS_float): Remove.
13833 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13834 (ROUNDING_TESTS_float): Remove.
13835 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13836 (ROUNDING_TESTS_float): Remove.
13837 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13838 !TEST_MATHVEC here.
13839 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13840 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13841
13842 * sysdeps/generic/math-tests-rounding.h: New file.
13843 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13844 (ROUNDING_TESTS_float): Do not define here.
13845 (ROUNDING_TESTS_double): Likewise.
13846 (ROUNDING_TESTS_long_double): Likewise.
13847 (ROUNDING_TESTS_float128): Likewise.
13848 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13849 (ROUNDING_TESTS_double): Undefine before defining.
13850 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13851 (ROUNDING_TESTS_double): Undefine before defining.
13852 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13853 (ROUNDING_TESTS_double): Undefine before defining.
13854 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13855 (ROUNDING_TESTS_float): Undefine before defining.
13856 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13857 (ROUNDING_TESTS_float): Undefine before defining.
13858 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13859 (ROUNDING_TESTS_float): Undefine before defining.
13860 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13861 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13862 not define here.
13863 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13864 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13865 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13866 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13867 (ROUNDING_TESTS_float): Do not define here.
13868 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13869 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13870 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13871 (ROUNDING_TESTS_float): Likewise.
13872 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13873 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13874 * sysdeps/mips/math-tests.h [__mips_soft_float]
13875 (ROUNDING_TESTS_float): Likewise.
13876 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13877 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13878 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13879 (ROUNDING_TESTS_double): Likewise.
13880 (ROUNDING_TESTS_long_double): Likewise.
13881
13882 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13883
13884 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13885 (PF_XDP): New macro.
13886 (AF_XDP): New macro.
13887 (SOL_XDP): New macro.
13888
13889 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13890
13891 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13892 (TCP_INQ): Likewise.
13893 (TCP_CM_INQ): Likewise.
13894 (TCP_REPAIR_ON): Likewise.
13895 (TCP_REPAIR_OFF): Likewise.
13896 (TCP_REPAIR_OFF_NO_WP): Likewise.
13897 (struct tcp_zerocopy_receive): New type.
13898
13899 2018-08-21 Florian Weimer <fweimer@redhat.com>
13900
13901 * support/support.h (support_descriptor_supports_holes): Declare.
13902 * support/Makefile (libsupport-routines): Add
13903 support_descriptor_supports_holes.
13904 * support/support_descriptor_supports_holes.c: New file.
13905 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13906 and stop testing if holes are not supported.
13907 * io/test-lfs.c (do_prepare): Likewise.
13908 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13909 Likewise.
13910 * timezone/tst-tzset.c (create_tz_file): Likewise.
13911 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13912 variable.
13913 (do_prepare): Set it.
13914 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13915
13916 2018-08-21 Florian Weimer <fweimer@redhat.com>
13917
13918 [BZ #17248]
13919 * Makeconfig (+cflags): Do not sort (and deduplicate).
13920
13921 2018-08-21 Florian Weimer <fweimer@redhat.com>
13922
13923 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13924 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13925
13926 2018-08-20 Florian Weimer <fweimer@redhat.com>
13927
13928 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13929 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13930
13931 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13932
13933 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13934 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13935 and ssi_arch members.
13936
13937 * elf/elf.c (NT_VMCOREDD): New macro.
13938 (AT_MINSIGSTKSZ): Likewise.
13939
13940 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13941
13942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13943 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13944 s_cosf-ppc64 and s_cosf-power8.
13945 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13946 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13947 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13948 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13955 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13956 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13957
13958 2018-08-17 Florian Weimer <fweimer@redhat.com>
13959
13960 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13961
13962 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13963
13964 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13965
13966 2018-08-16 Florian Weimer <fweimer@redhat.com>
13967
13968 * configure.ac: Add --with-nonshared-cflags option.
13969 * config.make.in (extra-nonshared-cflags): Set variable.
13970 * Makeconfig (CFLAGS-.oS): Use it.
13971 * manual/install.texi (Configuring and compiling): Document
13972 --with-nonshared-cflags.
13973 * configure: Regenerate.
13974 * INSTALL: Likewise.
13975
13976 2018-08-16 Florian Weimer <fweimer@redhat.com>
13977
13978 * Makeconfig (ASFLAGS): Always append required assembler flags.
13979
13980 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13981
13982 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13983 (malloc_consolidate): Likewise.
13984
13985 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13986
13987 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13988
13989 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13990
13991 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13992 every strlen call.
13993
13994 * benchtests/bench-strlen.c: Print performance numbers in json.
13995
13996 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13997
13998 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13999 (sysdep_routines): Build strcmp-power9 and strncmp-power9
14000 only for little endian.
14001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14002 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
14003 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
14004 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
14005 Add check for little endian.
14006 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
14007 (__strcmp_power9): Add check for little endian.
14008 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
14009 Add check for little endian.
14010 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
14011 (__strncmp_power9): Add check for little endian.
14012 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
14013 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
14014 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
14015 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
14016 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
14017
14018 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14019
14020 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
14021 [!STRLEN](STRLEN): Set to __strlen.
14022 * sysdeps/aarch64/multiarch/strlen.c: New file.
14023 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
14024 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
14025 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14026 (__libc_ifunc_impl_list): Add strlen.
14027 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14028 strlen_generic and strlen_asimd.
14029
14030 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14031
14032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
14033 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
14034 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14035
14036 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14037
14038 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
14039
14040 2018-08-14 Florian Weimer <fweimer@redhat.com>
14041
14042 [BZ #23519]
14043 * include/stdio.h (__vfxprintf): Declare.
14044 * stdio-common/fxprintf.c (__vfxprintf): New function.
14045 (__fxprintf): Call it.
14046 * misc/err.c (convert_and_print): Remove function.
14047 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
14048 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
14049 * misc/Makefile (tests): Add tst-warn-wide.
14050 * misc/tst-warn-wide.c: New file.
14051
14052 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
14053 Szabolcs Nagy <szabolcs.nagy@arm.com>
14054
14055 * NEWS: Mention sinf, cosf, sincosf.
14056 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
14057 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
14058 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
14059 constants rather than including generic sincosf.h.
14060 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
14061 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
14062 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
14063 (reduced_cos): Remove.
14064 (sinf_poly): New function.
14065 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
14066
14067 2018-08-14 Florian Weimer <fweimer@redhat.com>
14068
14069 [BZ #23521]
14070 [BZ #23522]
14071 * nss/nss_files/files-alias.c (get_next_alias): During :include:
14072 processing, bail out if no room, and close the stream before
14073 returning ERANGE.
14074 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
14075 (tst-nss-files-alias-leak): Link with libdl.
14076 (tst-nss-files-alias-leak.out): Depend on nss_files.
14077
14078 * nss/tst-nss-files-alias-leak.c: New file.
14079
14080 2018-08-14 Florian Weimer <fweimer@redhat.com>
14081
14082 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
14083 server_user, stat_user.
14084
14085 2018-08-13 Joseph Myers <joseph@codesourcery.com>
14086
14087 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14088 version to 4.18.
14089 (io_pgetevents): New syscall.
14090 (rseq): Likewise.
14091
14092 * manual/install.texi (Configuring and compiling): Do not list
14093 tools used for testing pretty printers here.
14094 (Tools for Compilation): List Python, PExpect and GDB here.
14095 Update descriptions of uses of Perl and Python.
14096 * INSTALL: Regenerate.
14097
14098 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14099 version to 4.18.
14100
14101 2018-08-13 Florian Weimer <fweimer@redhat.com>
14102
14103 * misc/error.c (error): Add missing va_end call.
14104 (error_at_line): Likewise.
14105
14106 2018-08-13 Florian Weimer <fweimer@redhat.com>
14107
14108 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14109
14110 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14111
14112 * benchtests/scripts/benchout.schema.json (properties): Add
14113 new properties.
14114
14115 * benchtests/bench-skeleton.c (main): Add duration and
14116 iterations attributes.
14117
14118 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14119
14120 regex: Gnulib unibyte RRI uses bytes not chars
14121 Adjust the non-glibc code to agree with what Gawk needs for
14122 rational range interpretation (RRI) for regular expression ranges.
14123 In unibyte locales, Gawk wants ranges to use the underlying byte
14124 rather than the character code point. This change does not affect
14125 glibc proper.
14126 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14127 In unibyte locales, use the byte value rather than
14128 running it through btowc.
14129
14130 2018-08-10 Joseph Myers <joseph@codesourcery.com>
14131
14132 * sysdeps/generic/math-tests-snan.h: New file.
14133 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14134 (SNAN_TESTS_float): Do not define here.
14135 (SNAN_TESTS_double): Likewise.
14136 (SNAN_TESTS_long_double): Likewise.
14137 (SNAN_TESTS_float128): Likewise.
14138 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14139 * sysdeps/i386/fpu/math-tests.h: Remove file.
14140 * sysdeps/ia64/math-tests-snan.h: New file.
14141 * sysdeps/ia64/math-tests.h: Remove file.
14142 * sysdeps/x86/math-tests.h: Likewise.
14143 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14144
14145 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14146 Szabolcs Nagy <szabolcs.nagy@arm.com>
14147
14148 * math/Makefile: Add s_sincosf_data.c.
14149 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14150 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14151 (sincosf_poly): Likewise.
14152 (reduce_small): Likewise.
14153 (reduce_large): Likewise.
14154 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14155 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14156 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14157 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14158
14159 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14160 Szabolcs Nagy <szabolcs.nagy@arm.com>
14161
14162 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14163 (converttoint): Use lround.
14164 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14165 document the semantics when TOINT_INTRINSICS is set.
14166 (converttoint): Likewise.
14167 (TOINT_RINT): Remove.
14168 (TOINT_SHIFT): Remove.
14169 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14170 path.
14171
14172 2018-08-10 Florian Weimer <fweimer@redhat.com>
14173
14174 [BZ #23497]
14175 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14176 function.
14177 (__old_getdents64): Use getdents64. Convert entries without
14178 moving them.
14179 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14180 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14181 tst-readdir64-compat.
14182
14183 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14184
14185 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14186 Fix unwind.
14187
14188 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14189
14190 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14191 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14192 code to s390x-mcount.h and #include it.
14193 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14194 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14195 (__fentry__): Add.
14196
14197 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14198
14199 * stdlib/Versions: Remove __fentry__.
14200 * sysdeps/i386/Versions: Add __fentry__.
14201 * sysdeps/x86_64/Versions: Add __fentry__.
14202
14203 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14204
14205 * sysdeps/s390/Makefile: Register the new tests.
14206 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14207 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14208 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14209 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14210 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14211 * sysdeps/s390/tst-dl-runtime.c: New file.
14212
14213 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14214
14215 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14216 Do not clobber R0.
14217
14218 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14219
14220 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14221 Do not clobber R0.
14222
14223 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14224
14225 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14226 Do not clobber R0.
14227
14228 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14229
14230 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14231 Do not clobber R0.
14232
14233 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14234
14235 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14236 Use symbolic offsets for stack variables.
14237
14238 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14239
14240 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14241 Use symbolic offsets for stack variables.
14242
14243 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14244
14245 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14246 Use symbolic offsets for stack variables.
14247
14248 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14249
14250 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14251 Use symbolic offsets for stack variables.
14252
14253 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14254
14255 * math/gen-libm-test.py: New file.
14256 * math/gen-libm-test.pl: Remove.
14257 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14258 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14259 gen-libm-test.pl.
14260 ($(libm-test-c-noauto-obj)): Likewise.
14261 ($(libm-test-c-auto-obj)): Likewise.
14262 ($(libm-test-c-narrow-obj)): Likewise.
14263 (regen-ulps): Likewise.
14264 * math/README.libm-test: Update references to gen-libm-test.pl.
14265 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14266 referencing gen-libm-test.pl.
14267 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14268 * math/libm-test-support.c: Likewise.
14269 * math/libm-test-support.h: Likewise.
14270 * sysdeps/generic/libm-test-ulps: Likewise.
14271
14272 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14273
14274 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14275 Fix value.
14276
14277 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14278
14279 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14280 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14281
14282 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14283
14284 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14285 symbols.
14286 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14287 __pthread_setspecific): Add hidden proto.
14288 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14289 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14290
14291 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14292
14293 * benchtests/bench-string.h (buf1_size, buf2_size): New
14294 variables.
14295 (init_sizes): New function.
14296 (test_init): Use it.
14297 (alloc_buf, exit_error): New functions.
14298 (alloc_bufs): Use ALLOC_BUF.
14299 (realloc_bufs): Remove.
14300 * benchtests/bench-memcmp.c (do_test): Adjust.
14301 * benchtests/bench-memset-large.c (do_test): Likewise.
14302 * benchtests/bench-memset-walk.c (do_test): Likewise.
14303 * benchtests/bench-memset.c (do_test): Likewise.
14304 * benchtests/bench-strncmp.c (do_test): Likewise.
14305
14306 2018-08-06 Andreas Schwab <schwab@suse.de>
14307
14308 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14309 of CONST_THREAD_AREA.
14310
14311 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14312
14313 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14314 (STATE_SAVE_MASK): Likewise.
14315 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14316 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14317 (STATE_SAVE_MASK): Likewise.
14318 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14319 instead of <cpu-features.h>.
14320
14321 2018-08-03 DJ Delorie <dj@redhat.com>
14322
14323 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14324 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14325
14326 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14327
14328 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14329
14330 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14331 after TEST_* calls.
14332 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14333 * math/libm-test-logb.inc (logb_test_data): Likewise.
14334
14335 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14336
14337 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14338 * string/strstr.c (AVAILABLE): Likewise.
14339
14340 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14343 <init-arch.h>.
14344 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14345 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14346 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14347
14348 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14349
14350 * po/be.po: Update translation.
14351
14352 * po/be.po: Update translation.
14353
14354 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14355
14356 * sysdeps/x86/cpu-features-offsets.sym
14357 (rtld_global_ro_offsetof): Removed.
14358 (CPU_FEATURES_SIZE): Likewise.
14359 (CPUID_OFFSET): Likewise.
14360 (CPUID_SIZE): Likewise.
14361 (CPUID_EAX_OFFSET): Likewise.
14362 (CPUID_EBX_OFFSET): Likewise.
14363 (CPUID_ECX_OFFSET): Likewise.
14364 (CPUID_EDX_OFFSET): Likewise.
14365 (FAMILY_OFFSET): Likewise.
14366 (MODEL_OFFSET): Likewise.
14367 (FEATURE_OFFSET): Likewise.
14368 (FEATURE_SIZ): Likewise.
14369 (COMMON_CPUID_INDEX_1): Likewise.
14370 (COMMON_CPUID_INDEX_7): Likewise.
14371 (FEATURE_INDEX_1): Likewise.
14372 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14373
14374 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14375
14376 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14377 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14378 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14379 (install-locales): Depend on install-locale-archive.
14380 (install-locale-archive): Define.
14381 (install-locale-files): Define.
14382 (build-one-locale): Define macro.
14383 * manual/install.texi (Running make install): Document.
14384 * manual/INSTALL: Regenerate.
14385
14386 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14387
14388 * benchtests/scripts/compare_strings.py: Import traceback.
14389 (parse_file): Pretty-print error.
14390
14391 * NEWS: Mention the change.
14392 * elf/dl-tunables.list: Rename tune namespace to cpu.
14393 * sysdeps/powerpc/dl-tunables.list: Likewise.
14394 * sysdeps/x86/dl-tunables.list: Likewise.
14395 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14396 cpu.name.
14397 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14398 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14399 * manual/README.tunables: Likewise.
14400 * manual/tunables.texi: Likewise.
14401 * sysdeps/powerpc/cpu-features.c: Likewise.
14402 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14403 (init_cpu_features): Likewise.
14404 * sysdeps/x86/cpu-features.c: Likewise.
14405 * sysdeps/x86/cpu-features.h: Likewise.
14406 * sysdeps/x86/cpu-tunables.c: Likewise.
14407 * sysdeps/x86_64/Makefile: Likewise.
14408 * sysdeps/x86/dl-cet.c: Likewise.
14409
14410 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14411
14412 [BZ #23479]
14413 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14414 [__mips_hard_float].
14415 (FE_UNDERFLOW): Likewise.
14416 (FE_OVERFLOW): Likewise.
14417 (FE_DIVBYZERO): Likewise.
14418 (FE_INVALID): Likewise.
14419 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14420 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14421 (FE_UPWARD): Likewise.
14422 (FE_DOWNWARD): Likewise.
14423 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14424 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14425 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14426 [__mips_hard_float].
14427 (FP_ROUNDMODE): Likewise.
14428 (FP_RND_NEAREST): Likewise.
14429 (FP_RND_ZERO): Likewise.
14430 (FP_RND_PINF): Likewise.
14431 (FP_RND_MINF): Likewise.
14432 (FP_EX_INVALID): Likewise.
14433 (FP_EX_OVERFLOW): Likewise.
14434 (FP_EX_UNDERFLOW): Likewise.
14435 (FP_EX_DIVZERO): Likewise.
14436 (FP_EX_INEXACT): Likewise.
14437 (FP_INIT_ROUNDMODE): Likewise.
14438 * sysdeps/mips/nofpu/fesetenv.c: New file.
14439 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14440
14441 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14442
14443 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14444 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14445 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14446 conditional on [FE_UPWARD].
14447
14448 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14449
14450 regex: fix memory leak in Gnulib
14451 Problem and fix reported by Assaf Gordon in:
14452 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14453 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14454 range_ends members too, as they are defined in 'struct
14455 re_charset_t' even if not _LIBC. This affects only Gnulib.
14456
14457 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14458
14459 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14460 ...
14461 (get_common_indices): This.
14462 (init_cpu_features): Updated.
14463
14464 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14465
14466 * sysdeps/generic/math-tests-snan-payload.h: New file.
14467 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14468 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14469 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14470 * sysdeps/generic/math-tests.h: Include
14471 <math-tests-snan-payload.h>.
14472 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14473 * sysdeps/hppa/math-tests.h: Remove file.
14474 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14475 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14476 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14477 Likewise.
14478
14479 * sysdeps/generic/math-tests-snan-cast.h: New file.
14480 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14481 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14482 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14483 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14484
14485 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14486
14487 * version.h (RELEASE): Set to "development".
14488 (VERSION): Set to "2.28.9000".
14489 * NEWS (2.29): New section.
14490
14491 * version.h (RELEASE): Set to "stable".
14492 (VERSION): Set to "2.28".
14493 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14494 * NEWS: Add the list of bugs fixed in 2.28.
14495
14496 * po/ca.po: Update to latest version.
14497 * po/cs.po: Likewise
14498 * po/da.po: Likewise
14499 * po/el.po: Likewise
14500 * po/eo.po: Likewise
14501 * po/es.po: Likewise
14502 * po/fi.po: Likewise
14503 * po/fr.po: Likewise
14504 * po/gl.po: Likewise
14505 * po/hu.po: Likewise
14506 * po/ia.po: Likewise
14507 * po/id.po: Likewise
14508 * po/it.po: Likewise
14509 * po/ja.po: Likewise
14510 * po/ko.po: Likewise
14511 * po/lt.po: Likewise
14512 * po/nb.po: Likewise
14513 * po/nl.po: Likewise
14514 * po/pt_BR.po: Likewise
14515 * po/ru.po: Likewise
14516 * po/rw.po: Likewise
14517 * po/sk.po: Likewise
14518 * po/sl.po: Likewise
14519 * po/tr.po: Likewise
14520 * po/zh_CN.po: Likewise
14521 * po/zh_TW.po: Likewise
14522
14523 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14524
14525 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14526 initialization...
14527 (init): ... before initializing libpthread.
14528
14529 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14530 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14531 (__mach_setup_tls): ... new function.
14532 (mach_setup_tls): New alias.
14533 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14534 __mach_setup_thread.
14535 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14536 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14537 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14538 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14539
14540 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14541
14542 * manual/install.texi: Update versions.
14543 * INSTALL: Regenerate.
14544
14545 * manual/contrib.texi (Contributors): Update contributions.
14546
14547 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14548
14549 * po/be.po: Update translations.
14550
14551 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14552
14553 * sysdeps/sh/libm-test-ulps: Update.
14554
14555 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14556
14557 * po/bg.po: Update translations.
14558 * po/de.po: Likewise.
14559 * po/hr.po: Likewise.
14560 * po/pt_BR.po: Likewise.
14561 * po/sv.po: Likewise.
14562 * po/vi.po: Likewise.
14563
14564 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14565
14566 [BZ #23467]
14567 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14568 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14569 (CFLAGS-tst-cet-property-1.o): New.
14570 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14571 ($(objpfx)tst-cet-property-2): Likewise.
14572 ($(objpfx)tst-cet-property-2.out): Likewise.
14573 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14574 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14575 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14576 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14577 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14578
14579 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14580
14581 [BZ #23458]
14582 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14583
14584 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14585
14586 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14587 __sbrk): Do not set attribute_hidden.
14588 * sysdeps/mach/hurd/not-errno.h: New file.
14589 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14590 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14591
14592 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14593
14594 * po/uk.po: Update translations.
14595 * po/cs.po: Likewise.
14596 * po/pl.po: Likewise.
14597
14598 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14599
14600 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14601 parse beyond the note end.
14602
14603 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14604
14605 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14606 kernel does not support OFD locks.
14607 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14608
14609 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14610
14611 * sysdeps/mach/hurd/Versions (libc): Make __access and
14612 __access_noerrno external so they can override the ld symbols.
14613 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14614 __writev, __open64, __access_noerrno extern so they can be overrided.
14615 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14616 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14617
14618 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14619
14620 * po/libc.pot: Regenerate.
14621
14622 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14623
14624 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14625
14626 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14627
14628 [BZ #23459]
14629 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14630 function.
14631 (init_cpu_features): Call get_extended_indices for both Intel
14632 and AMD CPUs.
14633 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14634 Remove "for AMD" comment.
14635
14636 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14637
14638 [BZ # 23456]
14639 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14640 COMMON_CPUID_INDEX_80000001.
14641
14642 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14643
14644 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14645 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14646
14647 2018-07-26 Florian Weimer <fweimer@redhat.com>
14648
14649 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14650 aliases for symbols not in the implementation namespace.
14651
14652 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14653
14654 [BZ #23393]
14655 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14656 lowercase in LATIN script.
14657 * localedata/Makefile (test-input): Add en_US.UTF-8.
14658 * localedata/en_US.UTF-8.in: New file.
14659 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14660 and restore old tests.
14661 * posix/tst-regexloc.c (do_test): Add back range expression test.
14662
14663 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14666
14667 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14668
14669 * nptl/threads.h: Move to ...
14670 * sysdeps/nptl/threads.h: ... here.
14671 * sysdeps/hurd/stdc-predef.h: New file.
14672
14673 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14674
14675 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14676 tst-cet-setcontext-1 if CET is enabled.
14677 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14678 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14679
14680 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14681
14682 * include/threads.h: Move to ...
14683 * sysdeps/nptl/threads.h: ... here.
14684 * sysdeps/htl/threads.h: New file.
14685 * conform/Makefile (linknamespace-libs-ISO11): Use
14686 static-thread-library instead of linking libpthread.
14687 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14688
14689 2018-07-25 Florian Weimer <fweimer@redhat.com>
14690
14691 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14692 nanoseconds into seconds.
14693 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14694 (do_test): Likewise.
14695 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14696 (do_test): Likewise. Avoid nanosecond overflow and spurious
14697 timeouts due to system load.
14698 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14699 (child_wait): Increment it.
14700 (do_test): Wait as long as necessary until all expected threads
14701 have arrived.
14702
14703 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14704 H.J. Lu <hongjiu.lu@intel.com>
14705
14706 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14707 __ssp.
14708 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14709 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14710 (__push___start_context): New.
14711 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14712 <asm/prctl.h>.
14713 (__getcontext): Record the current shadow stack base. Save the
14714 caller's shadow stack pointer and base.
14715 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14716 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14717 (__push___start_context): New prototype.
14718 (__makecontext): Call __push___start_context to allocate a new
14719 shadow stack, push __start_context onto the new stack as well
14720 as the new shadow stack.
14721 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14722 <asm/prctl.h>.
14723 (__setcontext): Restore the target shadow stack.
14724 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14725 <asm/prctl.h>.
14726 (__swapcontext): Record the current shadow stack base. Save
14727 the caller's shadow stack pointer and base. Restore the target
14728 shadow stack.
14729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14730 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14731 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14732
14733 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14734
14735 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14736 tst-setcontext8 and tst-setcontext9.
14737 * stdlib/tst-setcontext6.c: New file.
14738 * stdlib/tst-setcontext7.c: Likewise.
14739 * stdlib/tst-setcontext8.c: Likewise.
14740 * stdlib/tst-setcontext9.c: Likewise.
14741
14742 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14743
14744 * stdlib/Makefile ((tests): Add tst-setcontext5.
14745 * stdlib/tst-setcontext5.c: New file.
14746
14747 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14748
14749 * stdlib/Makefile (tests): Add tst-setcontext4.
14750 * stdlib/tst-setcontext4.c: New file.
14751
14752 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14753
14754 * stdlib/Makefile (tests): Add tst-swapcontext1.
14755 * stdlib/tst-swapcontext1.c: New test.
14756
14757 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14758
14759 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14760 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14761 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14762 and tst-cet-legacy-4c.
14763 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14764 and tst-cet-legacy-mod-4.
14765 (CFLAGS-tst-cet-legacy-2.c): New.
14766 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14767 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14768 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14769 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14770 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14771 ($(objpfx)tst-cet-legacy-1): Likewise.
14772 ($(objpfx)tst-cet-legacy-2): Likewise.
14773 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14774 ($(objpfx)tst-cet-legacy-2a): Likewise.
14775 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14776 ($(objpfx)tst-cet-legacy-4): Likewise.
14777 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14778 ($(objpfx)tst-cet-legacy-4a): Likewise.
14779 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14780 (tst-cet-legacy-4a-ENV): Likewise.
14781 ($(objpfx)tst-cet-legacy-4b): Likewise.
14782 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14783 (tst-cet-legacy-4b-ENV): Likewise.
14784 ($(objpfx)tst-cet-legacy-4c): Likewise.
14785 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14786 (tst-cet-legacy-4c-ENV): Likewise.
14787 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14788 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14789 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14790 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14791 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14792 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14793 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14794 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14795 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14796 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14797 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14798
14799 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14800
14801 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14802 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14803 with ssp_base.
14804 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14805 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14806 with ssp_base.
14807
14808 2018-07-25 Andreas Schwab <schwab@suse.de>
14809
14810 [BZ #23442]
14811 * locale/weightwc.h (findidx): Handle the case where usrc is a
14812 prefix of cp but one character too short.
14813
14814 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14815
14816 * NEWS: Add ISO C threads addition.
14817
14818 2018-07-24 Florian Weimer <fweimer@redhat.com>
14819
14820 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14821 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14822 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14823 4.13.
14824
14825 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14826
14827 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14828 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14829 <sys/prctl.h> and <asm/prctl.h>.
14830 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14831 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14832 and <asm/prctl.h>.
14833 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14834 ARCH_CET_LEGACY_BITMAP.
14835 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14836 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14837 * sysdeps/x86/libc-start.c: Include <startup.h>.
14838
14839 2018-07-24 Florian Weimer <fweimer@redhat.com>
14840
14841 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14842 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14843
14844 2018-07-24 Rical Jasan <rj@2c3t.io>
14845 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14846 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14847
14848 [BZ #14092]
14849 * manual/debug.texi: Update adjacent chapter name.
14850 * manual/probes.texi: Likewise.
14851 * manual/threads.texi (ISO C Threads): New section.
14852 (POSIX Threads): Convert to a section.
14853
14854 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14855 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14856
14857 [BZ# 14092]
14858 * nptl/Makefile (tests): Add new test files.
14859 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14860 * nptl/tst-cnd-basic.c: Likewise.
14861 * nptl/tst-cnd-broadcast.c: Likewise.
14862 * nptl/tst-cnd-timedwait.c: Likewise.
14863 * nptl/tst-mtx-basic.c: Likewise.
14864 * nptl/tst-mtx-recursive.c: Likewise.
14865 * nptl/tst-mtx-timedlock.c: Likewise.
14866 * nptl/tst-mtx-trylock.c: Likewise.
14867 * nptl/tst-thrd-basic.c: Likewise.
14868 * nptl/tst-thrd-detach.c: Likewise.
14869 * nptl/tst-thrd-sleep.c: Likewise.
14870 * nptl/tst-tss-basic.c: Likewise.
14871
14872 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14873
14874 [BZ #14092]
14875 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14876 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14877 symbols.
14878 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14891 Likewise.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14893 Likewise.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14895 Likewise.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14906 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14907 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14908 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14909 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14910 Likewise.
14911 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14923 ikewise.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14926 Likewise.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14928 Likewise.
14929 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14937
14938 [BZ #14092]
14939 * conform/data/threads.h-data (thread_local): New macro.
14940 (TSS_DTOR_ITERATIONS): Likewise.
14941 (tss_t): New type.
14942 (tss_dtor_t): Likewise.
14943 (tss_create): New function.
14944 (tss_get): Likewise.
14945 (tss_set): Likewise.
14946 (tss_delete): Likewise.
14947 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14948 tss_get, and tss_set objects.
14949 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14950 * nptl/tss_create.c: New file.
14951 * nptl/tss_delete.c: Likewise.
14952 * nptl/tss_get.c: Likewise.
14953 * nptl/tss_set.c: Likewise.
14954 * sysdeps/nptl/threads.h (thread_local): New define.
14955 (TSS_DTOR_ITERATIONS): Likewise.
14956 (tss_t): New typedef.
14957 (tss_dtor_t): Likewise.
14958 (tss_create): New prototype.
14959 (tss_get): Likewise.
14960 (tss_set): Likewise.
14961 (tss_delete): Likewise.
14962
14963 [BZ #14092]
14964 * conform/data/threads.h-data (cnd_t): New type.
14965 (cnd_init): New function.
14966 (cnd_signal): Likewise.
14967 (cnd_broadcast): Likewise.
14968 (cnd_wait): Likewise.
14969 (cnd_timedwait): Likewise.
14970 (cnd_destroy): Likewise.
14971 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14972 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14973 object.
14974 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14975 * nptl/cnd_broadcast.c: New file.
14976 * nptl/cnd_destroy.c: Likewise.
14977 * nptl/cnd_init.c: Likewise.
14978 * nptl/cnd_signal.c: Likewise.
14979 * nptl/cnd_timedwait.c: Likewise.
14980 * nptl/cnd_wait.c: Likewise.
14981 * sysdeps/nptl/threads.h (cnd_t): New type.
14982 (cnd_init): New prototype.
14983 (cnd_signa): Likewise.
14984 (cnd_broadcast): Likewise.
14985 (cnd_wait): Likewise.
14986 (cnd_timedwait): Likewise.
14987 (cnd_destroy): Likewise.
14988
14989 [BZ #14092]
14990 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14991 (once_flag): New type.
14992 (call_once): New function.
14993 * nptl/Makefile (libpthread-routines): Add call_once object.
14994 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14995 * nptl/call_once.c: New file.
14996 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14997 (once_flag): New type.
14998 (call_once): New prototype.
14999
15000 [BZ #14092]
15001 * conform/data/threads.h-data (mtx_plain): New constant.
15002 (mtx_recursive): Likewise.
15003 (mtx_timed): Likewise.
15004 (mtx_t): New type.
15005 (mtx_init): New function.
15006 (mtx_lock): Likewise.
15007 (mtx_timedlock): Likewise.
15008 (mtx_trylock): Likewise.
15009 (mtx_unlock): Likewise.
15010 (mtx_destroy): Likewise.
15011 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
15012 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
15013 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
15014 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
15015 * nptl/mtx_destroy.c: New file.
15016 * nptl/mtx_init.c: Likewise.
15017 * nptl/mtx_lock.c: Likewise.
15018 * nptl/mtx_timedlock.c: Likewise.
15019 * nptl/mtx_trylock.c: Likewise.
15020 * nptl/mtx_unlock.c: Likewise.
15021 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
15022 (mtx_recursive): Likewise.
15023 (mtx_timed): Likewise.
15024 (mtx_t): New type.
15025 (mtx_init): New prototype.
15026 (mtx_lock): Likewise.
15027 (mtx_timedlock): Likewise.
15028 (mtx_trylock): Likewise.
15029 (mtx_unlock): Likewise.
15030 (mtx_destroy): Likewise.
15031
15032 [BZ #14092]
15033 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
15034 (linknamespace-libs-ISO11): Add libpthread.a.
15035 * conform/data/threads.h-data: New file: add C11 thrd_* types and
15036 functions.
15037 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
15038 * nptl/Makefile (headers): Add threads.h.
15039 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
15040 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
15041 thrd_yield.
15042 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
15043 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
15044 thrd_join, thrd_sleep, and thrd_yield symbols.
15045 * nptl/descr.h (struct pthread): Add c11 field.
15046 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
15047 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
15048 routine with expected function prototype.
15049 (__pthread_create_2_1): Add C11 threads check based on attribute
15050 value.
15051 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
15052 * nptl/thrd_create.c: New file.
15053 * nptl/thrd_current.c: Likewise.
15054 * nptl/thrd_detach.c: Likewise.
15055 * nptl/thrd_equal.c: Likewise.
15056 * nptl/thrd_exit.c: Likewise.
15057 * nptl/thrd_join.c: Likewise.
15058 * nptl/thrd_priv.h: Likewise.
15059 * nptl/thrd_sleep.c: Likewise.
15060 * nptl/thrd_yield.c: Likewise.
15061 * include/threads.h: Likewise.
15062
15063 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 * bits/indirect-return.h: New file.
15066 * misc/sys/cdefs.h (__glibc_has_attribute): New.
15067 * sysdeps/x86/bits/indirect-return.h: Likewise.
15068 * stdlib/Makefile (headers): Add bits/indirect-return.h.
15069 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
15070 (swapcontext): Add __INDIRECT_RETURN.
15071 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
15072 (prepare_test_buffer): Use it.
15073
15074 2018-07-24 Andreas Schwab <schwab@suse.de>
15075
15076 [BZ #23448]
15077 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
15078 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
15079
15080 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15081
15082 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
15083 Redefine if shadow stack is enabled.
15084 (SYSCALL_ERROR_LABEL): Likewise.
15085 (__vfork): Pop shadow stack and jump back to to caller directly
15086 when shadow stack is in use.
15087 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
15088 Redefine if shadow stack is enabled.
15089 (SYSCALL_ERROR_LABEL): Likewise.
15090 (__vfork): Pop shadow stack and jump back to to caller directly
15091 when shadow stack is in use.
15092
15093 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15094
15095 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
15096 enabled.
15097 (foo): Likewise.
15098 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
15099 (foo): Likewise.
15100
15101 2018-07-20 Joseph Myers <joseph@codesourcery.com>
15102
15103 * scripts/build-many-glibcs.py (Context.checkout): Default
15104 binutils version to 2.31 branch.
15105
15106 2018-07-20 Zong Li <zong@andestech.com>
15107
15108 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15109 URL of gcc's tarball.
15110
15111 2018-07-20 Florian Weimer <fweimer@redhat.com>
15112
15113 [BZ #23396]
15114 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15115 not compare an extra byte after the end of the weights.
15116
15117 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15118
15119 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15120 to 1.
15121 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15122 hidden prototypes.
15123 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15124 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
15125 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15126 list of libraries whose stack executability is expected.
15127 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15128 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15129 variable.
15130 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15131 libc.so libpthread.so.
15132
15133 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15134
15135 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15136 SOCK_NONBLOCK.
15137 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15138 and SOCK_NONBLOCK.
15139 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15140 implement __pipe2.
15141 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
15142
15143 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15144
15145 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15146 library to improve command line parsing.
15147 (__main__): make schema file as optional parameter (--schema),
15148 defaulting to benchtests/scripts/benchout.schema.json.
15149 (main): move out of the parsing stuff to __main_  and leave it
15150 only as caller of main comparison functions.
15151
15152 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15153
15154 * NEWS: Add a note for Intel CET status.
15155 * manual/install.texi: Likewise.
15156 * INSTALL: Regenerated.
15157
15158 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
15159
15160 [BZ #23140]
15161 * localedata/locales/oc_FR (mon): Rename to...
15162 (alt_mon): This, then update October (typo fix).
15163 (mon): New content (genitive case, month names preceded by
15164 "de" or "d’").
15165
15166 [BZ #23422]
15167 * localedata/locales/oc_FR (abday): Update all items.
15168 (day): Update Wednesday and Saturday (typo fixes).
15169 (abmon): Update all items, except May.
15170 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15171 (LC_IDENTIFICATION): Bump the revision number and date.
15172 Keep the "category" entries in alphabetic order.
15173 (LC_ADDRESS): Remove no longer needed comment.
15174 (LC_COLLATE): Use “copy "ca_ES"”.
15175 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15176 "name_mrs".
15177
15178 2018-07-18 Joseph Myers <joseph@codesourcery.com>
15179
15180 * grp/tst_fgetgrent.c: Include <unistd.h>.
15181 (main): Use mkstemp instead of tmpnam.
15182 * io/test-utime.c (main): Likewise.
15183 * posix/annexc.c (macrofile): Change to modifiable array.
15184 (main): Remove macrofile here.
15185 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15186 macrofile here.
15187 (check_header): Do not remove macrofile here.
15188 * posix/bug-getopt1.c: Include <stdlib.h>.
15189 (do_test): Use mkstemp instead of tmpnam.
15190 * posix/bug-getopt2.c: Include <stdlib.h>.
15191 (do_test): Use mkstemp instead of tmpnam.
15192 * posix/bug-getopt3.c: Include <stdlib.h>.
15193 (do_test): Use mkstemp instead of tmpnam.
15194 * posix/bug-getopt4.c: Include <stdlib.h>.
15195 (do_test): Use mkstemp instead of tmpnam.
15196 * posix/bug-getopt5.c: Include <stdlib.h>.
15197 (do_test): Use mkstemp instead of tmpnam.
15198 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15199 (main): Use mkstemp instead of tmpnam.
15200 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15201 (main): Use mkstemp instead of tmpnam.
15202 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15203 (main): use mkstemp instead of tmpnam.
15204 * stdlib/isomac.c (macrofile): Change to modifiable array.
15205 (main): Remove macrofile here.
15206 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15207 macrofile here.
15208 (check_header): Do not remove macrofile here.
15209
15210 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15211
15212 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15213 glibc.tune.x86_shstk.
15214
15215 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15216
15217 * NEWS: Mention --enable-cet.
15218 * manual/install.texi: Document --enable-cet.
15219 * INSTALL: Regenerated.
15220
15221 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15222
15223 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15224 Add _CET_NOTRACK before indirect jump to jump table.
15225
15226 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15227
15228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15229 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15230 to jump table.
15231
15232 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15233
15234 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15235 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15236 to jump table.
15237
15238 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15239
15240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15241 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15242 to jump table.
15243
15244 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15245
15246 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15247 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15248 to jump table.
15249
15250 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15251
15252 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15253 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15254 to jump table.
15255 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15256
15257 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15258
15259 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15260 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15261 to jump table.
15262
15263 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15264
15265 * sysdeps/i386/i686/multiarch/memset-sse2.S
15266 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15267 to jump table.
15268
15269 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15270
15271 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15272 indirect jump to jump table.
15273
15274 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15277 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15278 to jump table.
15279 (MEMCPY): Likewise.
15280
15281 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15282
15283 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15284 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15285 to jump table.
15286 (MEMCPY): Likewise.
15287
15288 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15289
15290 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15291 _CET_NOTRACK before indirect jump to jump table.
15292
15293 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15294
15295 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15296 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15297 to jump table.
15298
15299 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15300
15301 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15302 indirect jump to jump table.
15303
15304 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15305
15306 [BZ #22241]
15307 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15308 (LOCALES): Likewise.
15309 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15310 * localedata/locales/sah_RU: New file.
15311 * localedata/sah_RU.UTF-8.in: New file.
15312
15313 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15314
15315 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15316 "sysdep.h".
15317 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15318 _CET_ENDBR to indirect jump targets and adjust jump destination
15319 for _CET_ENDBR.
15320 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15321 "sysdep.h".
15322 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15323 _CET_ENDBR to indirect jump targets and adjust jump destination
15324 for _CET_ENDBR.
15325 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15326 "sysdep.h".
15327 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15328 _CET_ENDBR to indirect jump targets and adjust jump destination
15329 for _CET_ENDBR.
15330
15331 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15332
15333 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15334 _CET_ENDBR.
15335
15336 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15337
15338 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15339 _CET_ENDBR.
15340 (_dl_tlsdesc_undefweak): Likewise.
15341 (_dl_tlsdesc_dynamic): Likewise.
15342 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15343 (_dl_tlsdesc_resolve_rel): Likewise.
15344 (_dl_tlsdesc_resolve_rela): Likewise.
15345 (_dl_tlsdesc_resolve_hold): Likewise.
15346 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15347 (_dl_tlsdesc_undefweak): Likewise.
15348 (_dl_tlsdesc_dynamic): Likewise.
15349 (_dl_tlsdesc_resolve_rela): Likewise.
15350 (_dl_tlsdesc_resolve_hold): Likewise.
15351
15352 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15353
15354 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15355 (_fini): Likewise.
15356 * sysdeps/x86_64/crti.S (_init): Likewise.
15357 (_fini): Likewise.
15358
15359 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15360
15361 [BZ #23140]
15362 * localedata/locales/os_RU (mon): Rename to...
15363 (alt_mon): This.
15364 (mon): Import from CLDR (genitive case).
15365
15366 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15367
15368 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15369 cet-tunables.h> when CET is enabled.
15370
15371 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15372
15373 [BZ #21598]
15374 * configure.ac: Add --enable-cet.
15375 * configure: Regenerated.
15376 * elf/Makefille (all-built-dso): Add a comment.
15377 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15378 Include <dl-prop.h>.
15379 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15380 segment.
15381 * elf/dl-open.c: Include <dl-prop.h>.
15382 (dl_open_worker): Call _dl_open_check.
15383 * elf/rtld.c: Include <dl-prop.h>.
15384 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15385 _rtld_main_check.
15386 * sysdeps/generic/dl-prop.h: New file.
15387 * sysdeps/i386/dl-cet.c: Likewise.
15388 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15389 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15390 * sysdeps/x86/cet-tunables.h: Likewise.
15391 * sysdeps/x86/check-cet.awk: Likewise.
15392 * sysdeps/x86/configure: Likewise.
15393 * sysdeps/x86/configure.ac: Likewise.
15394 * sysdeps/x86/dl-cet.c: Likewise.
15395 * sysdeps/x86/dl-procruntime.c: Likewise.
15396 * sysdeps/x86/dl-prop.h: Likewise.
15397 * sysdeps/x86/libc-start.h: Likewise.
15398 * sysdeps/x86/link_map.h: Likewise.
15399 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15400 _CET_ENDBR.
15401 (_dl_runtime_profile): Likewise.
15402 (_dl_runtime_resolve_shstk): New.
15403 (_dl_runtime_profile_shstk): Likewise.
15404 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15405 if CET is enabled.
15406 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15407 (CFLAGS-.os): Likewise.
15408 (CFLAGS-.op): Likewise.
15409 (CFLAGS-.oS): Likewise.
15410 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15411 is enabled.
15412 (tests-special): Add $(objpfx)check-cet.out.
15413 (cet-built-dso): New.
15414 (+$(cet-built-dso:=.note)): Likewise.
15415 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15416 ($(objpfx)check-cet.out): New.
15417 (generated): Add check-cet.out.
15418 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15419 <cet-tunables.h>.
15420 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15421 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15422 (init_cpu_features): Call get_cet_status to check CET status
15423 and update dl_x86_feature_1 with CET status. Call
15424 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15425 (set_x86_shstk). Disable and lock CET in libc.a.
15426 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15427 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15428 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15429 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15430 (_CET_ENDBR): Define if not defined.
15431 (ENTRY): Add _CET_ENDBR.
15432 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15433 x86_shstk.
15434 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15435 _CET_ENDBR.
15436 (_dl_runtime_profile): Likewise.
15437
15438 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15439
15440 [BZ #21895]
15441 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15442 restore r2 on longjmp.
15443 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15444 test list.
15445 Added rules to build test tst-setjmp-bug21895-static.
15446 Added module setjmp-bug21895 and rules to build a shared object from it.
15447 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15448 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15449
15450 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15451
15452 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15453 * benchtests/bench-strstr.c: Likewise.
15454 * string/memmem.c (FASTSEARCH): Define.
15455 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15456 Add support for FASTSEARCH.
15457 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15458 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15459 (FASTSEARCH): Define.
15460 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15461 * string/test-strstr.c: Likewise.
15462
15463 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15464
15465 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15466 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15467
15468 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15469 H.J. Lu <hongjiu.lu@intel.com>
15470
15471 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15472 (__longjmp): Restore shadow stack pointer if shadow stack is
15473 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15474 isn't defined for __longjmp_cancel.
15475 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15476 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15477 and SHADOW_STACK_POINTER_OFFSET is defined.
15478 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15479 (setjmp): Save shadow stack pointer if shadow stack is enabled
15480 and SHADOW_STACK_POINTER_OFFSET is defined.
15481 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15482 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15483 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15484 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15485 <jmp_buf-ssp.h>.
15486 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15487 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15488 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15489 Remove jmp_buf-ssp.sym.
15490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15491 <jmp_buf-ssp.h>.
15492 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15493 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15494 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15495 jmp_buf-ssp.sym.
15496 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15497 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15498 (__longjmp): Restore shadow stack pointer if shadow stack is
15499 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15500 isn't defined for __longjmp_cancel.
15501 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15502 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15503 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15504
15505 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15506
15507 [BZ #22563]
15508 * nptl/pthread_create.c: Include <tls-setup.h>.
15509 (__pthread_create_2_1): Call tls_setup_tcbhead.
15510 * sysdeps/generic/tls-setup.h: New file.
15511 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15512 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15513 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15514 Likewise.
15515 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15516 to feature_1.
15517 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15518 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15519 (X86_FEATURE_1_SHSTK): Likewise.
15520 (CET_ENABLED): Likewise.
15521 (IBT_ENABLED): Likewise.
15522 (SHSTK_ENABLED): Likewise.
15523
15524 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15525
15526 [BZ #23208]
15527 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15528 (LOCALES): Likewise.
15529 * localedata/dsb_DE.UTF-8.in: New file.
15530 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15531
15532 2018-07-12 Florian Weimer <fweimer@redhat.com>
15533
15534 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15535 __mprotect, not mprotect.
15536
15537 2018-07-11 Florian Weimer <fweimer@redhat.com>
15538
15539 * io/Makefile (headers): Add bits/statx.h.
15540
15541 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15542
15543 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15544 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15545 and headers.
15546 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15547 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15548 for utf8_gen.py
15549
15550 2018-07-10 Florian Weimer <fweimer@redhat.com>
15551
15552 * io/Makefile (routines): Add statx.
15553 (tests-internal): Add tst-statx.
15554 * io/Versions (GLIBC_2.28): Export statx.
15555 * io/bits/statx.h: New file.
15556 * io/sys/stat.h [__USE_GNU]: Include it.
15557 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15558 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15559 Define.
15560 * io/statx.c: New file.
15561 * io/statx_generic.: Likewise.
15562 * io/tst-statx.: Likewise.
15563 * include/bits/statx.h: Likewise.
15564 * sysdeps/unix/sysv/linux/kernel-features.h
15565 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15566 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15567 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15568 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15569 Undefine.
15570 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15571 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15572 * sysdeps/unix/sysv/linux/statx.c: New file.
15573 * manual/filesys.texi: Note that statx is undocumented.
15574 * sysdeps/**/libc*.abilist: Update.
15575
15576 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15577
15578 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15579 a kernel issue which lead to test failure in some cases.
15580
15581 2018-07-10 Florian Weimer <fweimer@redhat.com>
15582
15583 [BZ #23036]
15584 * posix/regexec.c (check_node_accept_bytes): When comparing
15585 weights, do not compare an extra byte after the end of the
15586 weights.
15587
15588 2018-07-10 Florian Weimer <fweimer@redhat.com>
15589
15590 * libio/readline.c: Fix copyright year.
15591 * libio/tst-readline.c Likewise.
15592 * nss/tst-nss-files-hosts-getent.c: Likewise.
15593
15594 2018-07-06 Florian Weimer <fweimer@redhat.com>
15595
15596 [BZ #18991]
15597 * nss/nss_files/files-XXX.c (internal_getent): Use
15598 __libc_readline_unlocked. Seek back to the start of the line if
15599 parsing failes with ERANGE.
15600 (get_contents_ret, get_contents): Remove.
15601 * nss/tst-nss-files-hosts-getent.c: New file.
15602 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15603 (tst-nss-files-hosts-getent): Link with -ldl.
15604
15605 2018-07-06 Florian Weimer <fweimer@redhat.com>
15606
15607 * include/stdio.h (__libc_readline_unlocked): Declare.
15608 (__ftello64, __fseeko64): Declare aliases.
15609 * libio/readline.c: New file.
15610 * libio/tst-readline.c: Likewise.
15611 (routines): Add readline.
15612 (tests-internal): Add tst-readlime.
15613 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15614 __libc_readline_unlocked.
15615 * libio/fseeko.c (__fseeko): Rename from fseeko.
15616 (fseeko): Add alias.
15617 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15618 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15619 (fseeko64): Add alias.
15620 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15621 * libio/ftello64.c (__ftello64): Rename from ftello64.
15622 (ftello64): Add alias.
15623
15624 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15625
15626 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15627 HWCAP_ATOMICS.
15628
15629 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15630
15631 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15632 Use dl_hwcap without masking.
15633 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15634 Remove HWCAP_CPUID.
15635
15636 2018-07-06 Florian Weimer <fweimer@redhat.com>
15637
15638 * conform/conformtest.pl (checknamespace): Escape literal braces
15639 in regular expressions.
15640
15641 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15642
15643 * sysdeps/x86/cpu-features.c (get_common_indeces):
15644 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15645 * sysdeps/x86/cpu-features.c (init_cpu_features):
15646 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15647
15648 2018-07-05 Florian Weimer <fweimer@redhat.com>
15649
15650 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15651 protector.
15652 (CFLAGS-elf-init.oS): Likewise.
15653
15654 2018-07-05 Florian Weimer <fweimer@redhat.com>
15655 Carlos O'Donell <carlos@redhat.com>
15656
15657 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15658 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15659 with stack protector enabled because there is no risk of infinite
15660 recursion.
15661
15662 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15663
15664 [BZ #19818]
15665 [BZ #23307]
15666 * libc-abis (ABSOLUTE): New ABI.
15667 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15668 * NEWS: Mention the new ABI.
15669
15670 2018-07-05 Florian Weimer <fweimer@redhat.com>
15671
15672 [BZ # 17662]
15673 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15674 (RENAME_WHITEOUT): Define.
15675 [__USE_GNU] (renameat2): Declare.
15676 * stdio-common/Makefile (routines): Add renameat2.
15677 (tests): Add tst-renameat2.
15678 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15679 * stdio-common/renameat2.c: New file.
15680 * stdio-common/tst-renameat2.c: Likewise.
15681 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15682 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15683 undocumented.
15684 * sysdeps/unix/sysv/linux/kernel-features.h
15685 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15686 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15687 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15689 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15690 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15691 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15692 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15693 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15694 * include/stdio.h (__renameat): Add alias for renameat.
15695 * stdio-common/renameat.c (__renameat): Rename from renameat.
15696 Add hidden definition and alias.
15697 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15698 * sysdeps/mach/hurd/renameat.c: Likewise.
15699 * sysdeps/**/libc*.abilist: Add renameat2.
15700
15701 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15702
15703 * posix/bug-regex33.c: Fix build after regex sync.
15704
15705 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15706
15707 [BZ #23164]
15708 * localedata/tst-langinfo-setlocale.c: New file.
15709 * localedata/tst-langinfo-setlocale-static.c: New file.
15710 * localedata/tst-langinfo-newlocale.c: New file.
15711 * localedata/tst-langinfo-newlocale-static.c: New file.
15712 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15713 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15714 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15715 (tests-static): Remove tst-langinfo-static. Add
15716 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15717 (tests-special): Remove $(objpfx)tst-langinfo.out,
15718 $(objpfx)tst-langinfo-static.out. Add
15719 $(objpfx)tst-langinfo-setlocale.out,
15720 $(objpfx)tst-langinfo-newlocale.out,
15721 $(objpfx)tst-langinfo-setlocale-static.out,
15722 $(objpfx)tst-langinfo-newlocale-static.out.
15723 ($(objpfx)tst-langinfo.out): Remove.
15724 ($(objpfx)tst-langinfo-static.out): Remove.
15725 ($(objpfx)tst-langinfo-newlocale.out): New target.
15726 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15727 (test-xfail-tst-langinfo-newlocale-static): Add.
15728 ($(objpfx)tst-langinfo-setlocale.out): New target.
15729 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15730 * localedata/tst-langinfo.c: Call test_locale.
15731 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15732 data.
15733
15734 2018-07-04 Florian Weimer <fweimer@redhat.com>
15735
15736 testrun.sh: Implement --tool=strace, --tool=valgrind
15737 * Makefile (testrun-script): Define variable.
15738 (testrun.sh): Use variable.
15739 * manual/install.texi (Tools for Compilation): make 4.0 or later
15740 is required.
15741 * configure.ac: Check for make 4.0 or later.
15742 * INSTALL: Regenerate.
15743 * configure: Likewise.
15744
15745 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15746
15747 [BZ #23233]
15748 [BZ #21163]
15749 [BZ #18986]
15750 [BZ #13762]
15751 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15752 * posix/PCRE.tests: Remove invalid test.
15753 * posix/bug-regex28.c: Fix expected values for used syntax.
15754 * posix/bug-regex37.c: New file.
15755 * posix/bug-regex38.c: Likewise.
15756 * posix/regcomp.c: Sync with gnulib.
15757 * posix/regex.c: Likewise.
15758 * posix/regex.h: Likewise.
15759 * posix/regex_internal.c: Likewise.
15760 * posix/regex_internal.h: Likewise.
15761 * posix/regexec.c: Likewise.
15762
15763 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15764
15765 [BZ #23308]
15766 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15767 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15768 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15769 * localedata/unicode-gen/PropList.txt: likewise.
15770 * localedata/unicode-gen/UnicodeData.txt: likewise.
15771 * localedata/charmaps/UTF-8: Regenerate.
15772 * localedata/locales/i18n_ctype: likewise.
15773 * localedata/locales/tr_TR: likewise.
15774 * localedata/locales/translit_circle: likewise.
15775 * localedata/locales/translit_cjk_compat: likewise.
15776 * localedata/locales/translit_combining: likewise.
15777 * localedata/locales/translit_compat: likewise.
15778 * localedata/locales/translit_font: likewise.
15779 * localedata/locales/translit_fraction: likewise.
15780
15781 2018-07-03 Florian Weimer <fweimer@redhat.com>
15782
15783 [BZ #23363]
15784 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15785 * stdio-common/tst-printf.sh: Adjust expected output.
15786 * LICENSES: Update.
15787
15788 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15789
15790 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15791 symbol.
15792
15793 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15794
15795 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15796 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15797 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15798 * stdio-common/tst-printfsz-islongdouble.c: New file.
15799 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15801 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15802 [subdir == stdio-common] (tests-internal): Add
15803 test-printf-size-ieee128, and test-printf-size-ibm128.
15804 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15805 (CFLAGS-test-printf-size-ibm128.c): New variables.
15806 [subdir == stdio-common] (tests-special): Add
15807 $(objpfx)test-printf-size-ieee128.out and
15808 $(objpfx)test-printf-size-ibm128.out.
15809 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15810 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15811 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15812 __printf_sizeieee128.
15813 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15814 New file.
15815 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15816 Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15818 Likewise.
15819
15820 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15821
15822 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15823 (exp2f_inline): Likewise.
15824 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15825 (__math_uflowf): Likewise.
15826 (__math_may_uflowf): Likewise.
15827 (__math_divzerof): Likewise.
15828 (__math_invalidf): Likewise.
15829 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15830 (__math_oflowf): Likewise.
15831 (__math_uflowf): Likewise.
15832 (__math_may_uflowf): Likewise.
15833 (__math_divzerof): Likewise.
15834 (__math_invalidf): Likewise.
15835
15836 2018-06-29 DJ Delorie <dj@redhat.com>
15837 Carlos O'Donell <carlos@redhat.com>
15838
15839 [BZ #23329]
15840 * include/libc-symbols.h: Comment the freeres framework.
15841 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15842 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15843 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15844 * dlfcn/dlerror.c: Include libc-symbols.h
15845 (__dlerror_main_freeres): New function.
15846 * dlfcn/dlfreeres.c: New file.
15847 * dlfcn/sdlfreeres.c: New file.
15848 * include/dlfcn.h: Declare __dlerror_main_freeres.
15849 * malloc/set-freeres.c: Declare __libdl_freeres, and
15850 __libpthread_freeres.
15851 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15852 the releavant libraries are loaded.
15853 * malloc/thread-freeres.c: Add comments.
15854 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15855 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15856 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15857 (__free_stacks): Rename to...
15858 (free_stacks): ...this. Mark static.
15859 (queue_stack): Call free_stacks.
15860 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15861 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15862 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15863 ptr_freeres element from struct.
15864 (pthread_functions): Remove .ptr_freeres from struct initializer.
15865 [SHARED] (nptl_freeres): Remove.
15866 * nptl/nptlfreeres.c: New file.
15867 * nptl/pthreadP.h
15868 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15869 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15870 attribute_hidden.
15871 (__free_stacks): Rename to...
15872 (__nptl_stacks_freeres): ...this.
15873 (__shm_directory_freeres): Declare.
15874 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15875 (__nptl_unwind_freeres): ...this.
15876 * resolv/res-close.c: Add comment.
15877 * resolv/resolv_conf.c: Include libc-symbols.h.
15878 * string/strerror_l.c: Include libc-symbols.h.
15879 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15880 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15881 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15882 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15883
15884 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15885
15886 * stdlib/tst-strfmon_l.c: Add tests for long double.
15887
15888 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15889
15890 [BZ #23208]
15891 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15892 * localedata/locales/dsb_DE: New file.
15893
15894 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15895
15896 [BZ #23140]
15897 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15898 genitive case).
15899 (alt_mon): New entry, import from CLDR (nominative case).
15900
15901 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15902
15903 [BZ #22996]
15904 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15905
15906 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15907
15908 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15909 Use vector registers.
15910
15911 * sysdeps/aarch64/multiarch/memmove_falkor.S
15912 (__memcpy_falkor): Use vector registers.
15913
15914 2018-06-29 Martin Sebor <msebor@redhat.com>
15915
15916 * manual/stdio.texi (Customizing Printf): Mention interaction
15917 with GCC built-ins.
15918
15919 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15920
15921 [BZ #23307]
15922 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15923 `st_value' is 0 if `st_shndx' is SHN_ABS.
15924 * elf/tst-absolute-zero.c: New file.
15925 * elf/tst-absolute-zero-lib.c: New file.
15926 * elf/tst-absolute-zero-lib.lds: New file.
15927 * elf/Makefile (tests): Add `tst-absolute-zero'.
15928 (modules-names): Add `tst-absolute-zero-lib'.
15929 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15930 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15931 ($(objpfx)tst-absolute-zero: New dependency.
15932
15933 2018-06-29 Zack Weinberg <zackw@panix.com>
15934
15935 * configure.ac: New command-line option --disable-crypt.
15936 Force --disable-nss-crypt when --disable-crypt is given, with a
15937 warning if it was explicitly enabled.
15938 * configure: Regenerate.
15939 * config.make.in: New boolean substitution variable $(build-crypt).
15940 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15941 when $(build-crypt).
15942 * manual/install.texi: Document --disable-crypt.
15943 * INSTALL: Regenerate.
15944
15945 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15946 which is never set.
15947 * conform/Makefile: Only include libcrypt.a in
15948 linknamespace-libs-xsi and linknamespace-libs-XPG4
15949 when $(build-crypt).
15950 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15951 USE_CRYPT to 1 when $(build-crypt).
15952 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15953 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15954 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15955
15956 2018-06-29 Zack Weinberg <zackw@panix.com>
15957
15958 * crypt/crypt.h, posix/unistd.h: Update comments and
15959 prototypes for crypt and crypt_r.
15960
15961 * manual/crypt.texi (Cryptographic Functions): New initial
15962 exposition.
15963 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15964 (Unpredictable Bytes): Improve initial exposition. Clarify error
15965 behavior of getentropy and getrandom.
15966 * manual/examples/genpass.c: Generate a salt using getentropy
15967 instead of the current time. Use hash $5$ (SHA-2-256).
15968 * manual/examples/testpass.c: Demonstrate validation against
15969 hashes generated with three different one-way functions.
15970
15971 * manual/intro.texi: crypt.texi does not need an overview
15972 anymore.
15973
15974 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15975 * manual/terminal.texi: Consistently refer to "passphrases"
15976 * instead of "passwords", and to the "user database" instead
15977 * of the "password database".
15978 * manual/users.texi: Similarly. Add notes about how actual
15979 passphrase hashes are now stored in the shadow database.
15980 Remove 20-year-old junk todo note.
15981
15982 2018-06-29 Zack Weinberg <zackw@panix.com>
15983
15984 * manual/crypt.texi: Use a normal top-level @node declaration.
15985 Move most of the introductory text to the 'crypt' section.
15986 Move the example programs below the @deftypefun for 'crypt_r'.
15987 Move the 'getpass' section...
15988 * manual/terminal.texi: ...here.
15989
15990 2018-06-29 Zack Weinberg <zackw@panix.com>
15991 Florian Weimer <fweimer@redhat.com>
15992
15993 * posix/unistd.h: Do not declare encrypt.
15994 (_XOPEN_CRYPT): Remove macro definition.
15995 (crypt): Declare only for _USE_MISC.
15996 * stdlib/stdlib.h: Do not declare setkey.
15997 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15998 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15999
16000 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
16001 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
16002 into compat symbols. Don't define initial_perm if it's not
16003 going to be used.
16004 * crypt/cert.c: Link explicitly with the expected versions for
16005 setkey and encrypt. If they are not available at all, mark
16006 the test as unsupported.
16007
16008 * sunrpc/des_crypt.c: Unconditionally block linkage with
16009 cbc_crypt and ecb_crypt for new binaries.
16010 * sunrpc/des_soft.c: Unconditionally block linkage with
16011 des_setparity for new binaries.
16012
16013 * manual/crypt.texi: Remove the entire "DES Encryption"
16014 section. Also remove the paragraph talking about FIPS 140-2
16015 from the introduction.
16016 * manual/string.texi (strfry, memfrob): Revise. Recommend use
16017 of libgcrypt for "real" encryption, not DES.
16018 * manual/conf.texi (Constants for Sysconf): Mention that
16019 _XOPEN_CRYPT is no longer impelemented.
16020
16021 * conform/data/unistd.h-data: Remove crypt function declaration.
16022
16023 2018-06-29 Florian Weimer <fweimer@redhat.com>
16024
16025 [BZ #23351]
16026 * malloc/hooks.c: Update comments on restoring of dumped heaps.
16027 (disallow_malloc_check): Remove variable.
16028 (__malloc_check_init): Adjust.
16029 (malloc_set_state): Update comment.
16030 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
16031 declarations.
16032
16033 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
16034
16035 [BZ #23140]
16036 * localedata/locales/ast_ES (mon): Rename to...
16037 (alt_mon): This.
16038 (mon): Import from CLDR (genitive case).
16039
16040 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
16041 Jakub Sitnicki <jkbs@redhat.com>
16042
16043 [BZ #21812]
16044 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
16045 on NLM_F_DUMP_INTR.
16046
16047 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
16048
16049 * manual/llio.texi: Remove spurious space.
16050
16051 2018-06-28 Florian Weimer <fweimer@redhat.com>
16052
16053 [BZ #23349]
16054 * time/bits/types/struct_timespec.h: Change header inclusion guard to
16055 _STRUCT_TIMESPEC.
16056
16057 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16058
16059 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
16060 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
16061 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
16062 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
16063 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
16064 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
16065 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
16066
16067 2018-06-27 Maciej W. Rozycki <macro@mips.com>
16068
16069 [BZ #23266]
16070 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
16071 Copy and null-terminate entries that are not terminated, in
16072 addition to empty ones.
16073
16074 2018-06-27 Florian Weimer <fweimer@redhat.com>
16075
16076 [BZ #18023]
16077 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
16078 (extend_alloca_account): Remove.
16079 * manual/stdio.texi (Variable Arguments Output): Update comment.
16080
16081 2018-06-27 Joseph Myers <joseph@codesourcery.com>
16082
16083 * nptl/sockperf.c: Remove file.
16084
16085 2018-06-27 Florian Weimer <fweimer@redhat.com>
16086
16087 [BZ #18023]
16088 * elf/dl-deps.c (_dl_map_object_deps): Use struct
16089 scratch_buffer instead of extend_alloca.
16090
16091 2018-06-27 Florian Weimer <fweimer@redhat.com>
16092
16093 [BZ #18023]
16094 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
16095 scratch_buffer instead of extend_alloca. Update comments.
16096
16097 2018-06-27 Florian Weimer <fweimer@redhat.com>
16098
16099 [BZ #18023]
16100 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
16101 instead of extend_alloca.
16102
16103 2018-06-26 Joseph Myers <joseph@codesourcery.com>
16104
16105 [BZ #13888]
16106 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16107 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16108 /tmp.
16109 * scripts/test-installation.pl: Put temporary files in build
16110 directory, not /tmp.
16111 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16112 (CFLAGS-bug4.c): Likewise.
16113 (CFLAGS-bug5.c): Likewise.
16114 (CFLAGS-test-fseek.c): Likewise.
16115 (CFLAGS-test-popen.c): Likewise.
16116 (CFLAGS-test_rdwr.c): Likewise.
16117 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16118 /tmp.
16119 * stdio-common/bug4.c (main): Likewise.
16120 * stdio-common/bug5.c (main): Likewise.
16121 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16122 * stdio-common/test-popen.c (do_test): Likewise.
16123 * stdio-common/test_rdwr.c (main): Likewise.
16124
16125 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
16126
16127 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16128 (sem_open): Set sem.newsem.pad to zero for valgrind.
16129
16130 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16131
16132 [BZ #20251]
16133 * NEWS: Mention fcntl64 addition.
16134 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16135 * login/utmp_file.c: Likewise.
16136 * sysdeps/posix/fdopendir.c: Likewise.
16137 * sysdeps/posix/opendir.c: Likewise.
16138 * sysdeps/unix/pt-fcntl.c: Likewise.
16139 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16140 __fcntl64_nocancel_adjusted): New prototype.
16141 (__fcntl_nocancel_adjusted): Remove prototype.
16142 * io/Makefile (routines): Add fcntl64.
16143 (CFLAGS-fcntl64.c): New rule.
16144 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16145 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16146 * io/fcntl.h (fcntl64): Add prototype and redirect if
16147 __USE_FILE_OFFSET64 is defined.
16148 * io/fcntl64.c: New file.
16149 * manual/llio.text: Add a note for which commands fcntl acts a
16150 cancellation point.
16151 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16152 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16153 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16154 New symbols.
16155 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16156 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16157 non-LFS case.
16158 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16159 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16160 to __fcntl64_nocancel.
16161 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16162 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16163 to __fcntl64_nocancel.
16164 * sysdeps/generic/not-cancel.h: Likewise.
16165 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16166 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16167 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16168 (fcntl64): New symbol.
16169 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16180 fcntl64): Likewise.
16181 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16183 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16191 Likewise.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16193 Likewise.
16194 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16197
16198 2018-06-26 Florian Weimer <fweimer@redhat.com>
16199
16200 Run thread shutdown functions in an explicit order.
16201 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16202 definition.
16203 (__libc_thread_freeres): Call thread shutdown functions
16204 explicitly.
16205 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16206 * include/string.h (__strerror_thread_freeres): Declare.
16207 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16208 arena_thread_freeres. No longer static. Remove thread shutdown
16209 hook registration.
16210 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16211 Declare.
16212 * resolv/res-close.c (__res_thread_freeres): Renamed from
16213 res_thread_freeres. No longer static. Remove thread shutdown
16214 hook registration.
16215 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16216 * resolv/resolv_conf.c (freeres): Remove incorrect section
16217 attribute and use libc_freeres_fn.
16218 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16219 strerror_thread_freeres. No longer static. Remove thread
16220 shutdown hook registration.
16221 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16222 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16223 shutdown hook registration.
16224 * Makerules (shlib.lds): Do not provide section boundary symbols
16225 for __libc_thread_subfreeres.
16226 * manual/memory.texi (Basic Allocation): Update comment.
16227
16228 2018-06-26 Florian Weimer <fweimer@redhat.com>
16229
16230 Remove always-defined _RPC_THREAD_SAFE_ macro.
16231 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16232 Do not define _RPC_THREAD_SAFE_.
16233 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16234 conditional.
16235 * sunrpc/clnt_perr.c: Likewise.
16236 * sunrpc/clnt_raw.c: Likewise.
16237 * sunrpc/clnt_simp.c: Likewise.
16238 * sunrpc/key_call.c: Likewise.
16239 * sunrpc/rpc_common.c: Likewise.
16240 * sunrpc/rpc_main.c: Likewise.
16241 * sunrpc/rpc_thread.c: Likewise.
16242 * sunrpc/svc.c: Likewise.
16243 * sunrpc/svc_raw.c: Likewise.
16244 * sunrpc/svc_simple.c: Likewise.
16245 * sumrpc/svcauth_des.c: Likewise.
16246
16247 2018-06-26 Florian Weimer <fweimer@redhat.com>
16248
16249 * libio/Makefile (tests-internal): Add tst-vtables,
16250 tst-vtables-interposed.
16251 * libio/tst-vtables.c: New file.
16252 * libio/tst-vtables-common.c: Likewise.
16253 * libio/tst-vtables-interposed.c: Likewise.
16254
16255 2018-06-26 Florian Weimer <fweimer@redhat.com>
16256
16257 * support/support_test_main.c (support_test_main): Only call
16258 setvbuf if not disables.
16259 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16260 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16261
16262 2018-06-26 Florian Weimer <fweimer@redhat.com>
16263
16264 [BZ #23313]
16265 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16266
16267 2018-06-25 Florian Weimer <fweimer@redhat.com>
16268
16269 [BZ #18023]
16270 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16271 Use struct scratch_buffer instead of extend_alloca.
16272
16273 2018-06-25 Florian Weimer <fweimer@redhat.com>
16274
16275 [BZ #18023]
16276 * nss/getent.c (initgroups_keys): Use dynarray instead of
16277 extend_alloca.
16278
16279 2018-06-25 Florian Weimer <fweimer@redhat.com>
16280
16281 [BZ #18023]
16282 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16283 Use struct scratch_buffer instead of extend_alloca.
16284
16285 2018-06-25 Florian Weimer <fweimer@redhat.com>
16286
16287 [BZ #18023]
16288 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16289 back to malloc directly, without stack allocations.
16290
16291 2018-06-25 Florian Weimer <fweimer@redhat.com>
16292
16293 [BZ #18023]
16294 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16295 of extend_alloca.
16296
16297 2018-06-25 Florian Weimer <fweimer@redhat.com>
16298
16299 [BZ #18023]
16300 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16301 of extend_alloca.
16302 * nscd/hstcache.c (addhstbyX): Likewise.
16303 * nscd/pwdcache.c (addpwbyX): Likewise.
16304 * nscd/servicescache.c (addservbyX): Likewise.
16305
16306 2018-06-25 Florian Weimer <fweimer@redhat.com>
16307
16308 [BZ #18023]
16309 * nscd/connections.c (read_cmdline): New function.
16310 (restart): Use it. Update comment.
16311
16312 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16313
16314 [BZ #23140]
16315 * localedata/locales/csb_PL (mon): Rename to...
16316 (alt_mon): This.
16317 (abmon): Rename to...
16318 (ab_alt_mon): This.
16319 (mon): Add with proper genitive forms, copy from Wikipedia.
16320 (abmon): Likewise.
16321
16322 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16323
16324 [BZ #19485]
16325 * localedata/locales/csb_PL (mon): Fix typos:
16326 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16327 (yesstr): Add, value is "jo".
16328 (nostr): Add, value is "nié".
16329
16330 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16331
16332 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16333 all log1p and significand functions on m680x0.
16334 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16335 of s_significand.c..
16336 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16337 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16338 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16339 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16340 s_log1p.c and include it..
16341
16342 2018-06-21 Vincent Chen <vincentc@andestech.com>
16343
16344 * elf/elf.h (R_NDS32_NONE): New define.
16345 (R_NDS32_32_RELA): Likewise.
16346 (R_NDS32_COPY): Likewise.
16347 (R_NDS32_GLOB_DAT): Likewise.
16348 (R_NDS32_JUMP_SLOT): Likewise.
16349 (R_NDS32_RELATIVE): Likewise.
16350 (R_NDS32_TLS_TPOFF): Likewise.
16351 (R_NDS32_TLS_DESC): Likewise.
16352
16353 2018-06-21 Mark Wielaard <mark@klomp.org>
16354
16355 * elf/elf.h (R_BPF_MAP_FD): Removed.
16356 (R_BPF_64_64, R_BPF_64_32): New.
16357
16358 2018-06-21 Florian Weimer <fweimer@redhat.com>
16359
16360 [BZ #23253]
16361 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16362 Renamed from libc_feholdsetround_ctx.
16363 (default_libc_feresetround_ctx): Renamed from
16364 libc_feresetround_ctx.
16365 (default_libc_feholdsetround_noex_ctx): Renamed from
16366 libc_feholdsetround_noex_ctx.
16367 (default_libc_feresetround_noex_ctx): Renamed from
16368 libc_feresetround_noex_ctx.
16369 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16370 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16371 forwardning to the old implementations under the new names.
16372 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16373 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16374 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16375 (libc_feresetround_ctx): Forward to default implements for i386
16376 and MATH_SET_BOTH_ROUNDING_MODES.
16377 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16378 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16379
16380 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16381
16382 * string/tst-cmp.c: Include <libc-diag.h>.
16383 (strncmp_max): Disable -Wstringop-overflow= around call to
16384 strncmp.
16385 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16386 strncasecmp.
16387
16388 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16389 (main): Disable -Wunused-value around call to strpbrk.
16390 * string/bug-strspn1.c: Include <libc-diag.h>.
16391 (main): Disable -Wunused-value around call to strspn.
16392
16393 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16394 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16395
16396 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16397 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16398
16399 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16400
16401 * math/Makefile (libm-calls): Move s_significandF to...
16402 (gen-libm-calls): ... here.
16403 * math/s_significand_template.c: New file.
16404 * math/s_significand.c: Removed.
16405 * math/s_significandf.c: Removed.
16406 * math/s_significandl.c: Removed.
16407 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16408 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16409
16410 * math/e_exp2_template.c (declare_mgen_finite_alias,
16411 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16412 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16413 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16414
16415 2018-06-20 Florian Weimer <fweimer@redhat.com>
16416
16417 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16418
16419 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16420
16421 [BZ #23280]
16422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16423 floating-point number to strtod functions rather than possibly
16424 negating result of those functions.
16425 * stdio-common/tst-scanf-round.c: New file.
16426 * stdio-common/Makefile (tests): Add tst-scanf-round.
16427 ($(objpfx)tst-scanf-round): Depend on $(libm).
16428
16429 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16430
16431 * sysdeps/mach/hurd/localplt.data: Move to...
16432 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16433 R_386_GLOB_DAT like on Linux i386.
16434
16435 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16436
16437 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16438 (SHM_STAT_ANY): New macro.
16439 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16440 (SHM_STAT_ANY): Likewise.
16441 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16442 (SHM_STAT_ANY): Likewise.
16443 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16444 (SHM_STAT_ANY): Likewise.
16445 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16446 (SHM_STAT_ANY): Likewise.
16447 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16448 (SHM_STAT_ANY): Likewise.
16449 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16450 (SHM_STAT_ANY): Likewise.
16451 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16452 (SHM_STAT_ANY): Likewise.
16453 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16454 (SHM_STAT_ANY): Likewise.
16455 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16456 (SHM_STAT_ANY): Likewise.
16457 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16458 (SHM_STAT_ANY): Likewise.
16459 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16460 (SHM_STAT_ANY): Likewise.
16461
16462 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16463 (SEM_STAT_ANY): New macro.
16464 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16465 (SEM_STAT_ANY): Likewise.
16466 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16467 (SEM_STAT_ANY): Likewise.
16468 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16469 (SEM_STAT_ANY): Likewise.
16470 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16471 (SEM_STAT_ANY): Likewise.
16472 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16473 (SEM_STAT_ANY): Likewise.
16474 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16475 (SEM_STAT_ANY): Likewise.
16476 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16477 (SEM_STAT_ANY): Likewise.
16478 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16479 (SEM_STAT_ANY): Likewise.
16480 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16481 (SEM_STAT_ANY): Likewise.
16482
16483 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16484 (MSG_STAT_ANY): New macro.
16485 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16486 (MSG_STAT_ANY): Likewise.
16487 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16488 (MSG_STAT_ANY): Likewise.
16489 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16490 (MSG_STAT_ANY): Likewise.
16491 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16492 (MSG_STAT_ANY): Likewise.
16493 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16494 (MSG_STAT_ANY): Likewise.
16495 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16496 (MSG_STAT_ANY): Likewise.
16497 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16498 (MSG_STAT_ANY): Likewise.
16499 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16500 (MSG_STAT_ANY): Likewise.
16501 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16502 (MSG_STAT_ANY): Likewise.
16503
16504 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16505 (MAP_TYPE): Change value to 0x2b.
16506
16507 2018-06-18 Florian Weimer <fweimer@redhat.com>
16508
16509 [BZ #15722]
16510 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16511 socket with SOCK_CLOEXEC.
16512
16513 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16514
16515 [BZ #23303]
16516 * sysdeps/powerpc/powerpc64/le/Makefile
16517 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16518 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16519 (gnulib-tests): Also add $(f128-loader-link) for
16520 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16521
16522 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16523
16524 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16525 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16526 of sendfile.
16527 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16528 (sendfile64): New strong alias.
16529 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16530 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16531 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16532 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16533 attribute.
16534 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16535 ___pthread_get_cleanup_stack.
16536 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16537 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16538 * mach/shortcut.awk: Make syscall stubs include
16539 <mach-shortcuts-hidden.h> and add hidden definition.
16540 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16541 (__mach_msg): Add hidden prototype.
16542 * mach/msg.c: Include <mach.h>.
16543 (__mach_msg): Add hidden definition.
16544 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16545 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16546 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16547 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16548 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16549 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16550 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16551 prototype and definition.
16552 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16553 hidden target for _hurd_self_sigstate.
16554
16555 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16556
16557 [BZ #23007]
16558 * stdlib/tst-strtod-nan-sign-main.c: New file.
16559 * stdlib/tst-strtod-nan-sign.c: Likewise.
16560 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16561 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16562 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16563 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16564 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16565
16566 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16567
16568 [BZ #23007]
16569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16570 appropriate sign.
16571
16572 2018-06-14 Florian Weimer <fweimer@redhat.com>
16573
16574 [BZ #23290]
16575 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16576 that the result stays within the ISO-8859-1 range.
16577 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16578 characters are defined in IBM273.
16579
16580 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16581
16582 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16583 __mach_task_self): Remove attribute_hidden.
16584
16585 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16586
16587 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16588 ignore -Wrestrict for one test.
16589
16590 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16591 Szabolcs Nagy <szabolcs.nagy@arm.com>
16592
16593 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16594
16595 2018-06-14 Florian Weimer <fweimer@redhat.com>
16596
16597 * scripts/update-abilist.sh: Accept empty list of files to patch.
16598
16599 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16600
16601 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16602 test-xfail-check-abi-libmachuser): Add.
16603 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16604 __libc_read and __libc_write to __read and __write.
16605 * sysdeps/hurd/include/hurd/port.h: New file.
16606 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16607 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16608 __thread_switch, __evc_wait): Move declarations to...
16609 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16610 attribute_hidden.
16611 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16612 use PLT to call _hurd_self_sigstate.
16613
16614 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16615
16616 [BZ #23279]
16617 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16618 MAX_EXP as overflowing.
16619 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16620 overflow flag.
16621 (round_str): Output also whether result overflows in each rounding
16622 mode.
16623 * stdlib/tst-strtod-round-data: Add more tests.
16624 * stdlib/tst-strtod-round-data.h: Regenerated.
16625 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16626 (TEST): Handle extra arguments for overflow flags.
16627 (struct test_overflow): New type.
16628 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16629 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16630 (test_in_one_mode): Take argument with overflow information.
16631 (do_test): Update calls to test_in_one_mode.
16632
16633 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16634
16635 * elf/dl-load (_dl_dst_substitute): Correct comment.
16636 (_dl_dst_count): Likewise.
16637
16638 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16639 lll_futex_timed_wait.
16640
16641 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16642
16643 [BZ #23277]
16644 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16645 attribute.
16646 * math/test-nan-const.c: New file.
16647 * math/Makefile (tests): Add test-nan-const.
16648 (CFLAGS-test-nan-const.c): New variable.
16649
16650 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16651
16652 * benchtests/scripts/compare_strings.py (process_results): Add
16653 funcs argument. Compare only functions which are selected.
16654 (main): Check if base function is among selected functions.
16655 Pass selected functions to process_results.
16656 (__main__): Add -f/--functions argument.
16657
16658 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16659 Hongbo Zhang <hongbo.zhang@linaro.org>
16660
16661 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16662 __memcpy_falkor for phecda core.
16663 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16664 __memmove_falkor for phecda core.
16665 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16666 __memset_falkor for phecda core.
16667 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16668 for phecda core.
16669 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16670 macro to identify phecda core.
16671
16672 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16673 Andreas Schwab <schwab@suse.de>
16674 Dmitry V. Levin <ldv@altlinux.org>
16675 Florian Weimer <fweimer@redhat.com>
16676
16677 [BZ #23102]
16678 [BZ #21942]
16679 [BZ #18018]
16680 [BZ #23259]
16681 CVE-2011-0536
16682 * elf/dl-dst.h: Remove DL_DST_COUNT.
16683 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16684 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16685 (is_dst): Comment. Support ELF gABI.
16686 (_dl_dst_count): Comment. Simplify and count DSTs.
16687 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16688 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16689 locals.
16690
16691 2018-06-12 Zack Weinberg <zackw@panix.com>
16692
16693 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16694 * sysdeps/unix/sysv/linux/dl-sysdep.c
16695 Include not-cancel.h. Use __close_nocancel instead of __close,
16696 __open64_nocancel instead of __open, __read_nocancel instead of
16697 __libc_read, and __write_nocancel instead of __libc_write.
16698
16699 * csu/check_fds.c (check_one_fd)
16700 * sysdeps/posix/fdopendir.c (__fdopendir)
16701 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16702 instead of __fcntl and/or __libc_fcntl.
16703
16704 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16705 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16706 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16707 Use __open64_nocancel instead of __open_nocancel.
16708
16709 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16710 hidden_proto declarations to the end and issue them if either
16711 IS_IN(libc) or IS_IN(rtld).
16712 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16713 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16714 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16715 read_nocancel, waitpid_nocancel, write_nocancel.
16716
16717 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16718 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16719 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16720
16721 * nptl/pt-fcntl.c: New file.
16722 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16723 (libpthread-routines): Add pt-fcntl.
16724 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16725 (__libc_fcntl): Remove attribute_hidden.
16726 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16727 __fcntl_nocancel_adjusted, not fcntl_common.
16728 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16729 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16730 to fcntl_nocancel.c.
16731 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16734 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16735
16736 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16737 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16738 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16739 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16740 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16741 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16742 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16743 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16744 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16745 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16746 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16747 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16748 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16749 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16750 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16751 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16752 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16753 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16754 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16755 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16756
16757 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16758 libpthread-routines.
16759 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16760 defines nothing.
16761
16762 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16763 __libc_read, and __write instead of __libc_write. Define
16764 __open64 in addition to __open.
16765
16766 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16767
16768 [BZ #23250]
16769 [BZ #10686]
16770 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16771 to _private_tm[3] and add __glibc_reserved2.
16772 Add _Static_assert of offset of __private_ss == 0x30.
16773 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16774 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16775
16776 2018-06-12 Florian Weimer <fweimer@redhat.com>
16777
16778 x86: Make strncmp usable from rtld.
16779 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16780 __strncmp_ia32 if in libc (and not in rtld).
16781 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16782 strncmp if not in libc (and not to __strncmp_sse2).
16783
16784 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16785
16786 [BZ #23140]
16787 * localedata/locales/gd_GB (mon): Rename to...
16788 (alt_mon): This.
16789 (mon): Import from CLDR (genitive case).
16790 * localedata/locales/hsb_DE (mon): Rename to...
16791 (alt_mon): This.
16792 (mon): Import from CLDR (genitive case).
16793 * localedata/locales/wa_BE (mon): Rename to...
16794 (alt_mon): This.
16795 (mon): Add, fill with the proper genitive forms, but CLDR data
16796 is incomplete; completed according to the comments in this file.
16797 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16798
16799 * localedata/locales/wa_BE (country_name): Reword
16800 "Beljike" -> "Beldjike".
16801
16802 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16803
16804 [BZ #23272]
16805 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16806 cases of non-finite arguments.
16807 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16808
16809 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16810
16811 [BZ #23174]
16812 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16813
16814 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16815
16816 [BZ #23264]
16817 * include/unistd.h (__execvpex): New prototype.
16818 * posix/Makefile (tests): Add tst-spawn4.
16819 (tests-internal): Add tst-spawn4-compat.
16820 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16821 * posix/tst-spawn4-compat.c: New file.
16822 * posix/tst-spawn4.c: Likewise.
16823 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16824 binaries as shell scripts.
16825 * sysdeps/posix/spawni.c (__spawni): Likewise.
16826
16827 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16828
16829 [BZ #23145]
16830 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16831 ($(all-built-dso:=.dynsym): New target.
16832 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16833 ($(objpfx)check-initfini.out): New target.
16834 (generated): Add check-initfini.out.
16835 * scripts/check-initfini.awk: New file.
16836 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16837 (_fini): Likewise.
16838 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16839 (_fini): Likewise.
16840 * sysdeps/arm/crti.S (_init): Mark as hidden.
16841 (_fini): Likewise.
16842 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16843 (_fini): Likewise.
16844 * sysdeps/i386/crti.S (_init): Mark as hidden.
16845 (_fini): Likewise.
16846 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16847 (_fini): Likewise.
16848 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16849 (_fini): Likewise.
16850 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16851 (_fini): Likewise.
16852 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16853 (_fini): Likewise.
16854 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16855 (_fini): Likewise.
16856 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16857 (_fini): Likewise.
16858 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16859 (_fini): Likewise.
16860 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16861 (_fini): Likewise.
16862 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16863 (_fini): Likewise.
16864 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16865 (_fini): Likewise.
16866 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16867 (_fini): Likewise.
16868 * sysdeps/sh/crti.S (_init): Mark as hidden.
16869 (_fini): Likewise.
16870 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16871 (_fini): Likewise.
16872 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16873 (_fini): Likewise.
16874
16875 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16876
16877 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16878 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16879 and TF redirection to KFtype and KF only when the default
16880 long double type is not the IEEE 128-bit floating point type.
16881
16882 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16883
16884 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16885 macro.
16886 (HWCAP_USCAT): Likewise.
16887 (HWCAP_ILRCPC): Likewise.
16888 (HWCAP_FLAGM): Likewise.
16889 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16890 Increase to 28.
16891 (_dl_aarch64_cap_flags): Add new flag names.
16892
16893 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16894 (MAP_FIXED_NOREPLACE): New macro.
16895 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16896 (MAP_FIXED_NOREPLACE): Likewise.
16897 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16898 (MAP_FIXED_NOREPLACE): Likewise.
16899 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16900 (MAP_FIXED_NOREPLACE): Likewise.
16901 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16902 (MAP_FIXED_NOREPLACE): Likewise.
16903 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16904 (MAP_FIXED_NOREPLACE): Likewise.
16905 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16906 (MAP_FIXED_NOREPLACE): Likewise.
16907 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16908 (MAP_FIXED_NOREPLACE): Likewise.
16909 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16910 (MAP_FIXED_NOREPLACE): Likewise.
16911 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16912 (MAP_FIXED_NOREPLACE): Likewise.
16913 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16914 (MAP_FIXED_NOREPLACE): Likewise.
16915 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16916 (MAP_FIXED_NOREPLACE): Likewise.
16917 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16918 (MAP_FIXED_NOREPLACE): Likewise.
16919 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16920 (MAP_FIXED_NOREPLACE): Likewise.
16921 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16922 (MAP_FIXED_NOREPLACE): Likewise.
16923
16924 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16925 version to 4.17.
16926
16927 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16928
16929 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16930 version to 4.17
16931
16932 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16933
16934 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16935 int.
16936 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16937
16938 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16939
16940 * benchtests/scripts/compare_string.py: (process_results) Catch
16941 exception in non-existent base_func and catch exception in
16942 non-existent attribute.
16943 (parse_file) Catch exception if input file does not exist.
16944
16945 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16946
16947 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16948 options to avoid diff calculation and omit header, respectively.
16949 (main): process --no-diff and --no-header
16950
16951 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16952 H.J. Lu <hongjiu.lu@intel.com>
16953
16954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16955 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16956 wcsncmp-sse2.
16957 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16958 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16959 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16960 and __wcsncmp_sse2.
16961 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16962 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16963 AVX unaligned load is fast and vzeroupper is preferred.
16964 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16965 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16966 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16967 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16968 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16969 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16970 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16971 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16972 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16973 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16974 is undefined.
16975
16976 2018-06-01 Florian Weimer <fweimer@redhat.com>
16977
16978 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16979 configuring with --disable-multi-arch, building with
16980 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16981 Haswell-era CPU.
16982
16983 2018-06-01 Florian Weimer <fweimer@redhat.com>
16984
16985 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16986 results from building with “-march=x86-64 -mtune=generic
16987 -mfpmath=sse” and running on a Haswell-era CPU.
16988
16989 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16990
16991 [BZ #18473]
16992 * soft-fp/sqrttf2.c: Remove file.
16993 * soft-fp/sqrtdf2.c: Move to ....
16994 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16995 <shlib-compat.h>.
16996 (__sqrtdf2): Make conditional on
16997 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16998 symbol.
16999 * soft-fp/sqrtsf2.c: Move to ....
17000 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
17001 <shlib-compat.h>.
17002 (__sqrtsf2): Make conditional on
17003 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17004 symbol.
17005 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
17006 (gcc-double-routines): Remove sqrtdf2.
17007 (gcc-quad-routines): Remove sqrttf2.
17008 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17009 Do not filter out sqrtsf2 and sqrtdf2.
17010 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17011 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
17012
17013 2018-06-01 Florian Weimer <fweimer@redhat.com>
17014
17015 * sysdeps/generic/libcidn.abilist: Remove file.
17016
17017 2018-06-01 Florian Weimer <fweimer@redhat.com>
17018
17019 [BZ #23236]
17020 * libio/strfile.h (struct _IO_str_fields): Rename members to
17021 discourage their use and add comment.
17022 (_IO_STR_DYNAMIC): Remove unused macro.
17023 * libio/strops.c (_IO_str_init_static_internal): Do not use
17024 callback pointers. Call malloc and free.
17025 (_IO_str_overflow): Do not use callback pointers. Call malloc
17026 and free.
17027 (enlarge_userbuf): Likewise.
17028 (_IO_str_finish): Call free.
17029 * libio/wstrops.c (_IO_wstr_init_static): Initialize
17030 _allocate_buffer_unused.
17031 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
17032 and free.
17033 (enlarge_userbuf): Likewise.
17034 (_IO_wstr_finish): Call free.
17035 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
17036 _allocate_buffer_unused, _free_buffer_unused.
17037 * libio/memstream.c (__open_memstream): Likewise.
17038 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17039 * libio/wmemstream.c (open_wmemstream): Likewise.
17040
17041 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17042
17043 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
17044 AMD Ryzen 7 1800X.
17045
17046 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17047
17048 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
17049 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
17050 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
17051 New file.
17052 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
17053 Likewise.
17054 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
17055
17056 2018-05-29 Florian Weimer <fweimer@redhat.com>
17057
17058 * support/Makefile (libsupport-routines): Add
17059 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
17060 xpthread_barrierattr_setpshared.
17061 * support/xpthread_barrierattr_destroy.c: New file.
17062 * support/xpthread_barrierattr_init.c: Likewise.
17063 * support/xpthread_barrierattr_setpshared.c: Likewise.
17064
17065 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
17066
17067 [BZ #23206]
17068 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
17069 _r_debug and update DT_DEBUG for debugger.
17070
17071 2018-05-29 Florian Weimer <fweimer@redhat.com>
17072
17073 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
17074 (tst-strtod5i.out): Likewise.
17075
17076 2018-05-25 Joseph Myers <joseph@codesourcery.com>
17077
17078 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
17079 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
17080 (sparc64-quad-routines): New variable. Moved from ....
17081 [$(subdir) = soft-fp] (sysdep_routines): Add
17082 $(sparc64-quad-routines). Moved from ....
17083 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
17084 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
17085 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
17086 moved from ....
17087 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
17088 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
17089 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
17090 * sysdeps/sparc/sparc64/qp_add.c: ... here.
17091 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
17092 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
17093 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
17094 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
17095 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
17096 * sysdeps/sparc/sparc64/qp_div.c: ... here.
17097 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
17098 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
17099 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
17100 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
17101 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
17102 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17103 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17104 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17105 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17106 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17107 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17108 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17109 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17110 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17111 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17112 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17113 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17114 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17115 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17116 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17117 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17118 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17119 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17120 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17121 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17122 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17123 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17124 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17125 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17126 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17127 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17128 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17129 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17130 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17131 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17132 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17133 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17134 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17135 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17136 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17137 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17138 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17139 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17140 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17141 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17142 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17143 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17144 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17145
17146 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17147 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17148 (sparc32-quad-routines): New variable. Moved from ....
17149 [$(subdir) = soft-fp] (sysdep_routines): Add
17150 $(sparc32-quad-routines). Moved from ....
17151 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17152 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17153 moved from ....
17154 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17155 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17156 * sysdeps/sparc/sparc32/q_add.c: ... here.
17157 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17158 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17159 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17160 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17161 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17162 * sysdeps/sparc/sparc32/q_div.c: ... here.
17163 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17164 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17165 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17166 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17167 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17168 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17169 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17170 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17171 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17172 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17173 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17174 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17175 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17176 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17177 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17178 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17179 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17180 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17181 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17182 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17183 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17184 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17185 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17186 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17187 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17188 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17189 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17190 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17191 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17192 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17193 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17194 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17195 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17196 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17197 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17198 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17199 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17200 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17201 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17202 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17203 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17204 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17205 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17206 * sysdeps/sparc/sparc32/q_util.c: ... here.
17207 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17208 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17209 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17210 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17211
17212 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17213 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17214
17215 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17216 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17217 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17218 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17219
17220 2018-05-24 Joseph Myers <joseph@codesourcery.com>
17221
17222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17223 powerpc/soft-fp.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17225 Likewise.
17226 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17227 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17228
17229 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17230
17231 [BZ #23171]
17232 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17233 double version.
17234
17235 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17236
17237 * sysdeps/sh/Implies: Remove sh/soft-fp.
17238 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17239 * sysdeps/sh/sfp-machine.h: ... here.
17240
17241 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17242
17243 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17244 (__mempcpy_erms): Skip zero length.
17245 (__memmove_erms): Likewise.
17246 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17247 (__memset_erms): Likewise.
17248
17249 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17250
17251 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17252 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17253 Add functions moved from ....
17254 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17255 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17256 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17257 from ....
17258 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17259 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17260 * sysdeps/alpha/e_sqrtl.c: ... here.
17261 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17262 * sysdeps/alpha/local-soft-fp.h: ... here.
17263 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17264 * sysdeps/alpha/ots_add.c: ... here.
17265 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17266 * sysdeps/alpha/ots_cmp.c: ... here.
17267 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17268 * sysdeps/alpha/ots_cmpe.c: ... here.
17269 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17270 * sysdeps/alpha/ots_cvtqux.c: ... here.
17271 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17272 * sysdeps/alpha/ots_cvtqx.c: ... here.
17273 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17274 * sysdeps/alpha/ots_cvttx.c: ... here.
17275 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17276 * sysdeps/alpha/ots_cvtxq.c: ... here.
17277 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17278 * sysdeps/alpha/ots_cvtxt.c: ... here.
17279 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17280 * sysdeps/alpha/ots_div.c: ... here.
17281 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17282 * sysdeps/alpha/ots_mul.c: ... here.
17283 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17284 * sysdeps/alpha/ots_nintxq.c: ... here.
17285 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17286 * sysdeps/alpha/ots_sub.c: ... here.
17287 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17288 * sysdeps/alpha/sfp-machine.h: ... here.
17289
17290 2018-05-23 Florian Weimer <fweimer@redhat.com>
17291
17292 [BZ #19728]
17293 [BZ #19729]
17294 [BZ #22247]
17295 CVE-2016-6261
17296 CVE-2016-6263
17297 CVE-2017-14062
17298 Switch to extern IDNA implementation (libidn2).
17299 * libidn: Remove subdirectory.
17300 * LICENSES: Do not mention licensing conditions for the removed
17301 libidn code.
17302 * config.h.in (HAVE_LIBIDN): Remove.
17303 * include/dlfcn.h (__libc_dlopen): Update comment.
17304 * include/idna.h: Remove file.
17305 * inet/Makefile (routines): Add idna.
17306 (tests-static, tests-internal): Add tst-idna_name_classify.
17307 (LOCALES): Generate locales for tests.
17308 (tst-idna_name_classify.out): Depend on generated locales.
17309 * inet/idna_name_classify.c: New file.
17310 * inet/tst-idna_name_classify.c: Likewise.
17311 * inet/net-internal.h (__idna_to_dns_encoding)
17312 (__idna_from_dns_encoding): Declare.
17313 * inet/net-internal.h (enum idna_name_classification): Define.
17314 (__idna_name_classify): Declare.
17315 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17316 __idna_from_dns_encoding.
17317 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17318 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17319 name as a fallback in case of encoding errors.
17320 (getnameinfo): Use DEPRECATED_NI_IDN.
17321 * inet/idna.c: New file.
17322 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17323 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17324 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17325 (modules-names): Add tst-no-libidn2.
17326 (extra-test-objs): Add tst-no-libidn2.os.
17327 (LDFLAGS-tst-no-libidn2.so): Set soname.
17328 (LOCALES): Set, and generate locales.
17329 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17330 (tst-resolv-ai_idn-latin1): Likewise.
17331 (tst-resolv-ai_idn-nolibidn2): Likewise.
17332 (tst-resolv-ai_idn.out): Depend on locales.
17333 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17334 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17335 tst-no-libidn2.so.
17336 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17337 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17338 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17339 * resolv/tst-resolv-ai_idn.c: New file.
17340 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17341 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17342 * resolv/tst-no-libidn2.c: Likewise.
17343 * support/support_format_addrinfo.c (format_ai_flags): Do not
17344 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17345 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17346 (gaih_inet): Call __idna_to_dns_encoding and
17347 __idna_from_dns_encoding, and use the original (punycode) name if
17348 __idna_from_dns_encoding fails due to an encoding error.
17349 (getaddrinfo): Use DEPRECATED_AI_IDN.
17350 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17351 * sysdeps/unix/inet/configure: Remove file.
17352 * sysdeps/unix/inet/configure.ac: Likewise.
17353
17354 2018-05-23 Florian Weimer <fweimer@redhat.com>
17355
17356 Implement allocate_once.
17357 * include/allocate_once.h: New file.
17358 * misc/allocate_once.c: Likewise.
17359 * misc/tst-allocate_once.c: Likewise.
17360 * misc/Makefile (routines): Add allocate_once.
17361 (tests-internal): Add tst-allocate_once.
17362 (generated): Add tst-allocate_once.mtrace,
17363 tst-allocate_once-mem.out.
17364 (tests-special): Add tst-allocate_once-mem.out.
17365 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17366 (tst-allocate_once-mem.out): Call mtrace.
17367 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17368
17369 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17370
17371 [BZ #23196]
17372 * string/test-memcpy.c (do_test1): New function.
17373 (test_main): Call it.
17374
17375 2018-05-23 Andreas Schwab <schwab@suse.de>
17376
17377 [BZ #23196]
17378 CVE-2018-11237
17379 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17380 (L(preloop_large)): Save initial destination pointer in %r11 and
17381 use it instead of %rax after the loop.
17382 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17383
17384 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17385
17386 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17387 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17388 -I../soft-fp. Moved from ....
17389 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17390 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17391 * sysdeps/aarch64/e_sqrtl.c: ... here.
17392 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17393 * sysdeps/aarch64/sfp-machine.h: ... here.
17394
17395 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17396 -Wmaybe-uninitialized around access to fq[0].
17397 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17398 Likewise.
17399
17400 [BZ #18471]
17401 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17402 aliases for non-libc case of versioned symbols.
17403 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17404 (llseek): Define as compat symbol if
17405 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17406 with link warning.
17407 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17408 Make into a compat symbol, disabled for minimum symbol version
17409 GLIBC_2.28 and later.
17410 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17411
17412 2018-05-22 Florian Weimer <fweimer@redhat.com>
17413
17414 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17415 not add -mpreferred-stack-boundary=4.
17416 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17417 (stack-align-test-flags): Likewise.
17418 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17419 Likewise.
17420 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17421 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17422 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17423 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17424 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17425 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17426 (CFLAGS-tst-align2.c): Likewise.
17427
17428 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17431 (index_arch_Prefer_FSRM): Likewise.
17432 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17433 Also check Prefer_FSRM.
17434 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17435 Also return OPTIMIZE (erms) for Prefer_FSRM.
17436
17437 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17438
17439 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17440 (index_cpu_FSRM): Likewise.
17441 (reg_FSRM): Likewise.
17442
17443 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17444
17445 * math/gen-tgmath-tests.py: Import sys.
17446 (Tests.__init__): Initialize macros_seen.
17447 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17448 if requested to do so for this macro.
17449 (Tests.add_all_tests): Take argument for macro for which to
17450 generate tests.
17451 (Tests.check_macro_list): New function.
17452 (main): Handle check-list argument and argument specifying macro
17453 for which to generate tests.
17454 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17455 [PYTHON] (tgmath3-macro-tests): Likewise.
17456 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17457 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17458 not test-tgmath3.c.
17459 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17460 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17461 to CFLAGS.
17462 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17463 [PYTHON] ($(foreach
17464 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17465 rule.
17466 [PYTHON] (tests-special): Add
17467 $(objpfx)test-tgmath3-macro-list.out.
17468 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17469
17470 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17471 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17472 later.
17473
17474 [BZ #22639]
17475 * time/tzset.c (SECSPERDAY): Cast to time_t.
17476 * time/tst-y2039.c: New file.
17477 * time/Makefile (tests): Add tst-y2039.
17478
17479 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17480
17481 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17482 (PREFETCH_ONE_SET): Remove duplicate line.
17483
17484 2018-05-17 Florian Weimer <fweimer@redhat.com>
17485
17486 * sysdeps/generic/math-type-macros-double.h: Include
17487 <math-nan-payload-double.h> after <libm-alias-double.h>.
17488 * sysdeps/generic/math-type-macros-float.h: Include
17489 <math-nan-payload-float.h> after <libm-alias-float.h>.
17490 * sysdeps/generic/math-type-macros-float128.h: Include
17491 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17492 * sysdeps/generic/math-type-macros-ldouble.h: Include
17493 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17494
17495 2018-05-17 Andreas Schwab <schwab@suse.de>
17496
17497 * resolv/res_send.c (__res_context_send): Don't set errno when
17498 returing error after malloc failure.
17499
17500 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17501
17502 * nptl/allocatestack.c (allocate_stack): Remove the
17503 !__ASSUME_PRIVATE_FUTEX paths.
17504 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17505 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17506 Likewise.
17507 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17508 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17509 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17510 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17511 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17512 !__ASSUME_PRIVATE_FUTEX path.
17513 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17514 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17515 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17516 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17517 !__ASSUME_PRIVATE_FUTEX macros.
17518 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17519 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17520 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17521 * sysdeps/unix/sysv/linux/kernel-features.h
17522 (__ASSUME_PRIVATE_FUTEX): Removed.
17523
17524 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17525
17526 * math/Makefile (libm-narrow-fns): Add div.
17527 (libm-test-funcs-narrow): Likewise.
17528 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17529 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17530 * math/gen-auto-libm-tests.c (test_functions): Add div.
17531 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17532 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17533 (NARROW_DIV_TRIVIAL): Likewise.
17534 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17535 macro.
17536 (__ddivl): Likewise.
17537 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17538 ddiv.
17539 (CFLAGS-nldbl-ddiv.c): New variable.
17540 (CFLAGS-nldbl-fdiv.c): Likewise.
17541 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17542 __nldbl_ddivl.
17543 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17544 prototype.
17545 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17546 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17547 * math/auto-libm-test-in: Add tests of div.
17548 * math/auto-libm-test-out-narrow-div: New generated file.
17549 * math/libm-test-narrow-div.inc: New file.
17550 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17553 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17554 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17555 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17556 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17558 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17562 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17564 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17565 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17566 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17567 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17569 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17575 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17576 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17577 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17578 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17579 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17580 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17581 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17594
17595 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17596
17597 [BZ #23178]
17598 * nscd/nscd-client.h (sendfileall): Remove prototype.
17599 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17600 (handle_request): Use writeall instead of sendfileall.
17601 * nscd/aicache.c (addhstaiX): Likewise.
17602 * nscd/grpcache.c (cache_addgr): Likewise.
17603 * nscd/hstcache.c (cache_addhst): Likewise.
17604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17605 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17606 * nscd/pwdcache.c (cache_addpw): Likewise.
17607 * nscd/servicescache.c (cache_addserv): Likewise.
17608 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17609 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17611 Remove define.
17612
17613 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17616 Include <string/strncat.c>.
17617 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17618 alias.
17619 (__GI___strncat): New hidden alias.
17620
17621 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17622
17623 * sysdeps/mips/mips32/libm-test-ulps: Update.
17624 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17625
17626 2018-05-16 Florian Weimer <fweimer@redhat.com>
17627
17628 * support/Makefile (libsupport-routines): Add support_quote_blob,
17629 support_test_compare_blob.
17630 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17631 * support/check.h (TEST_COMPARE_BLOB): Define.
17632 (support_test_compare_blob): Declare.
17633 * support/support.h (support_quote_blob): Declare.
17634 * support/support_quote_blob.c: New file.
17635 * support/support_test_compare_blob.c: Likewise.
17636 * support/tst-support_quote_blob.c: Likewise.
17637 * support/tst-test_compare_blob.c: Likewise.
17638
17639 2018-05-16 Florian Weimer <fweimer@redhat.com>
17640
17641 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17642 of <strtod_nan_double.h>.
17643 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17644 instead of SET_MANTISSA.
17645 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17646 of include <strtod_nan_float.h>.
17647 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17648 instead of <strtod_nan_ldouble.h>.
17649 * stdlib/strtod_nan_double.h: Move to ...
17650 * sysdeps/generic/math-nan-payload-double.h: ... here.
17651 (FLOAT): Remove definition.
17652 (SET_MANTISSA): Rename to ...
17653 (SET_NAN_PAYLOAD): ... this.
17654 * stdlib/strtod_nan_float.h: Move to ...
17655 * sysdeps/generic/math-nan-payload-float.h: ... here.
17656 (FLOAT): Remove definition.
17657 (SET_MANTISSA): Rename to ...
17658 (SET_NAN_PAYLOAD): ... this.
17659 * sysdeps/generic/math-type-macros-double.h: Include
17660 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17661 instead of <math-svid-compat.h>.
17662 * sysdeps/generic/math-type-macros-float.h: Include
17663 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17664 instead of <math-svid-compat.h>.
17665 * sysdeps/generic/math-type-macros-float128.h: Include
17666 <math-nan-payload-float128.h>.
17667 * sysdeps/generic/math-type-macros-ldouble.h: Include
17668 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17669 instead of <math-svid-compat.h>.
17670 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17671 check for definition.
17672 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17673 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17674 Include <ieee754_float128.h>.
17675 (FLOAT): Remove definition.
17676 (SET_MANTISSA): Rename to ...
17677 (SET_NAN_PAYLOAD): ... this.
17678 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17679 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17680 Do not include <float128_private.h>.
17681 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17683 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17684 (FLOAT): Remove definition.
17685 (SET_MANTISSA): Rename to ...
17686 (SET_NAN_PAYLOAD): ... this.
17687 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17688 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17689 (FLOAT): Remove definition.
17690 (SET_MANTISSA): Rename to ...
17691 (SET_NAN_PAYLOAD): ... this.
17692 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17693 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17694 (FLOAT): Remove definition.
17695 (SET_MANTISSA): Rename to ...
17696 (SET_NAN_PAYLOAD): ... this.
17697 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17698 of "../stdlib/strtod_nan_double.h".
17699 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17700 of "../stdlib/strtod_nan_float.h".
17701 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17702 instead of "../stdlib/strtod_nan_ldouble.h".
17703 * manual/arith.texi (Parsing of Floats): Adjust comment.
17704
17705 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17706
17707 * math/Makefile (libm-narrow-fns): Add mul.
17708 (libm-test-funcs-narrow): Likewise.
17709 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17710 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17711 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17712 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17713 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17714 (NARROW_MUL_TRIVIAL): Likewise.
17715 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17716 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17717 macro.
17718 (__dmull): Likewise.
17719 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17720 dmul.
17721 (CFLAGS-nldbl-dmul.c): New variable.
17722 (CFLAGS-nldbl-fmul.c): Likewise.
17723 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17724 __nldbl_dmull.
17725 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17726 prototype.
17727 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17728 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17729 * math/auto-libm-test-in: Add tests of mul.
17730 * math/auto-libm-test-out-narrow-mul: New generated file.
17731 * math/libm-test-narrow-mul.inc: New file.
17732 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17733 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17734 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17735 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17736 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17737 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17740 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17741 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17742 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17743 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17744 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17745 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17746 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17747 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17748 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17749 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17751 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17757 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17758 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17760 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17761 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17762 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17763 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17768 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17774 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17776
17777 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17778
17779 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17780 with *%eax in call.
17781
17782 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17783
17784 * sysdeps/i386/ldsodefs.h: Removed.
17785 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17786 * sysdeps/x86/ldsodefs.h: This.
17787 (La_i86_regs): New.
17788 (La_i86_retval): Likewise.
17789 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17790 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17791
17792 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17793
17794 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17795 unnecessary testl.
17796
17797 2018-05-13 Alan Modra <amodra@gmail.com>
17798
17799 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17800 R_PARISC_TLS_DTPOFF32 reloc addend.
17801
17802 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17803
17804 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17805 * math/math.h: Restrict the prototype definition for the functions
17806 issignaling(_Float128) and iszero(_Float128); and template
17807 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17808 __HAVE_FLOAT128_UNLIKE_LDBL.
17809 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17810 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17811 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17812 __f128() constants; define the type _Float128 as long double;
17813 and reuse long double in __CFLOAT128.
17814
17815 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17816
17817 * sysdeps/generic/math_private.h: Do not include
17818 <math-barriers.h>.
17819 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17820 <math_private.h>.
17821 * math/fromfp.h: Include <math-barriers.h>.
17822 * math/math-narrow.h: Likewise.
17823 * math/s_nextafter.c: Likewise.
17824 * math/s_nexttowardf.c: Likewise.
17825 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17826 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17827 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17828 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17845 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17846 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17847 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17849 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17850 * sysdeps/ieee754/k_standardl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17867 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17868 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17869 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17870 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17871 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17872 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17873
17874 2018-05-11 Florian Weimer <fweimer@redhat.com>
17875
17876 Use 64-bit epoch values in the time zone file parser.
17877 * include/time.h (internal_time_t): Define.
17878 (__tzfile_compute): Use it.
17879 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17880 member.
17881 (transitions): Switch to internal_time_t.
17882 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17883 types.
17884 (__tzfile_compute): Use internal_time_t for timer argument. Check
17885 for truncation before calling __offtime.
17886
17887 2018-05-11 Florian Weimer <fweimer@redhat.com>
17888
17889 [BZ #23166]
17890 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17891 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17892 Likewise.
17893 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17894 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17895 export without --enable-obsolete-rpc.
17896 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17897 symbol. This should not have been exported, ever.
17898
17899 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17900
17901 [BZ #23152]
17902 * localedata/locales/gd_GB (abmon): Fix typo in May:
17903 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17904
17905 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17906
17907 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17908 Use multiple registers to copy data in loop tail.
17909
17910 * sysdeps/aarch64/multiarch/memmove_falkor.S
17911 (__memmove_falkor): Use multiple registers to move data in
17912 loop tail.
17913
17914 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17915
17916 * math/math-underflow.h: New file.
17917 * sysdeps/generic/math_private.h: Do not include <float.h>.
17918 (fabs_tg): Remove macro. Moved to math-underflow.h.
17919 (min_of_type_f): Likewise.
17920 (min_of_type_): Likewise.
17921 (min_of_type_l): Likewise.
17922 (min_of_type_f128): Likewise.
17923 (min_of_type): Likewise.
17924 (math_check_force_underflow): Likewise.
17925 (math_check_force_underflow_nonneg): Likewise.
17926 (math_check_force_underflow_complex): Likewise.
17927 * math/e_exp2_template.c: Include <math-underflow.h>.
17928 * math/k_casinh_template.c: Likewise.
17929 * math/s_catan_template.c: Likewise.
17930 * math/s_catanh_template.c: Likewise.
17931 * math/s_ccosh_template.c: Likewise.
17932 * math/s_cexp_template.c: Likewise.
17933 * math/s_clog10_template.c: Likewise.
17934 * math/s_clog_template.c: Likewise.
17935 * math/s_csin_template.c: Likewise.
17936 * math/s_csinh_template.c: Likewise.
17937 * math/s_csqrt_template.c: Likewise.
17938 * math/s_ctan_template.c: Likewise.
17939 * math/s_ctanh_template.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17958 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17959 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17960 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17961 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17962 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17963 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17965 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17966 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17967 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17968 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17969 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17971 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18010 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18017 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18018 * sysdeps/x86/fpu/powl_helper.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
18020 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18024
18025 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18026
18027 * sysdeps/generic/math-barriers.h: New file.
18028 * sysdeps/generic/math_private.h [!math_opt_barrier]
18029 (math_opt_barrier): Move to math-barriers.h.
18030 [!math_opt_barrier] (math_force_eval): Likewise.
18031 * sysdeps/aarch64/fpu/math-barriers.h: New file.
18032 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
18033 math-barriers.h.
18034 (math_force_eval): Likewise.
18035 * sysdeps/alpha/fpu/math-barriers.h: New file.
18036 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
18037 math-barriers.h.
18038 (math_force_eval): Likewise.
18039 * sysdeps/x86/fpu/math-barriers.h: New file.
18040 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
18041 math-barriers.h.
18042 (math_force_eval): Likewise.
18043 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
18044 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
18045 multiple-include guard for rename.
18046 * sysdeps/powerpc/fpu/math-barriers.h: New file.
18047 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
18048 math-barriers.h.
18049 (math_force_eval): Likewise.
18050
18051 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18052
18053 [BZ #22786]
18054 CVE-2018-11236
18055 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
18056 computation.
18057 * stdlib/Makefile (test-bz22786): New test.
18058 * stdlib/test-bz22786.c: New test.
18059
18060 2018-05-09 Joseph Myers <joseph@codesourcery.com>
18061
18062 * include/math-narrow-eval.h: New file. Contents moved from ....
18063 * sysdeps/generic/math_private.h: ... here.
18064 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
18065 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18066 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
18067 * stdlib/strtod_l.c: Likewise.
18068 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18069 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18070 * sysdeps/i386/fpu/s_fdim.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18083 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18085 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18087 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18088 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18090 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18092 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18097
18098 2018-05-08 Andreas Schwab <schwab@suse.de>
18099
18100 * sysdeps/nptl/internaltypes.h: Fix comment.
18101
18102 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18103
18104 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18105 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18106 hidden.
18107
18108 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18109
18110 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18111 of I into loop header.
18112 * benchtests/bench-memmove-walk.c
18113 (test_main): Likewise.
18114
18115 2018-05-07 Alexandre Oliva <oliva@gnu.org>
18116
18117 Revert:
18118 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18119 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18120
18121 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18122
18123 [BZ #20419]
18124 * elf/dl-load.c (open_verify): Fix stack overflow.
18125 * elf/Makefile (tst-big-note): New test.
18126 * elf/tst-big-note-lib.S: New.
18127 * elf/tst-big-note.c: New.
18128
18129 2018-05-04 Joseph Myers <joseph@codesourcery.com>
18130
18131 * scripts/abilist.awk: Ignore absolute symbols.
18132 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18133 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18134 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18135 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18136 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18137 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18138 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18139 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18140 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18141 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18142 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18143 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18224 Likewise.
18225 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18233 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18237 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18238 Likewise.
18239 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18240 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18266 Likewise.
18267 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18282 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18287 Likewise.
18288 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18290 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18297 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18298 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18299 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18300 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18301 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18302 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18303 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18304 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18305 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18306 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18307 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18308 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18310 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18311 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18312 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18313 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18314 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18315 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18320 Likewise.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18326 Likewise.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18328 Likewise.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18331 Likewise.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18334 Likewise.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18336 Likewise.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18340 Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18342 Likewise.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18349 Likewise.
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18356 Likewise.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18359 Likewise.
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18361 Likewise.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18363 Likewise.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18365 Likewise.
18366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18369 Likewise.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18371 Likewise.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18373 Likewise.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18377 Likewise.
18378 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18383 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18385 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18386 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18387 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18388 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18389 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18392 Likewise.
18393 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18396 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18399 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18400 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18402 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18404 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18405 Likewise.
18406 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18421 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18422 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18423 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18424 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18426 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18427 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18431 Likewise.
18432 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18445 Likewise.
18446 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18467 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18468 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18482 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18483 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18484
18485 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18486
18487 [BZ #23137]
18488 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18489 Use atomic_load_acquire to load __tid.
18490
18491 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18492
18493 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18494 Restore the pointer into %rdx, after syscall and use %rdx,
18495 instead of %rsi, to restore context.
18496
18497 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18500 Pop the pointer into %rdx after syscall and use %rdx, instead
18501 of %rsi, to restore context.
18502
18503 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18504
18505 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18506 handlers after setjmp.
18507 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18508 defined.
18509 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18510 <libc-pointer-arith.h>.
18511 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18512 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18513 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18514 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18515 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18516 * sysdeps/x86/__longjmp_cancel.S: New file.
18517 * sysdeps/x86/longjmp.c: Likewise.
18518 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18519
18520 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18521
18522 * NEWS: Add ustat.h deprecation entry.
18523 * bits/ustat.h: Remove file.
18524 * misc/sys/ustat.h: Likewise.
18525 * misc/ustat.h: Likewise.
18526 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18527 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18528 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18529 compatibility mode.
18530 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18531 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18532 generic Linux implementation.
18533
18534 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18535
18536 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18537 * math/w_expl_compat.c: Likewise.
18538 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18539
18540 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18541
18542 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18543
18544 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18545
18546 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18547 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18548 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18549 Remove.
18550 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18552 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18553 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18554 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18555 and SYSCALL_LL64.
18556
18557 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18558
18559 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18560
18561 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18562 * math/w_asin_template.c: Likewise.
18563 * math/w_atanh_template.c: Likewise.
18564
18565 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18566
18567 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18568 to powerpc/powerpc64/be for big-endian.
18569 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18570 little-endian.
18571
18572 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18573 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18574 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18575 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18576 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18577 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18578 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18579 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18580 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18581 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18582 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18583 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18584 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18585 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18586 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18587 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18588 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18589 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18590 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18591 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18592 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18593 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18594 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18595 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18596 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18597 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18598 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18599 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18600 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18601 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18602 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18603 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18604
18605 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18606 adjusted to imply powerpc64 and older processors on powerpc64/be.
18607 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18608 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18609 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18610 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18611 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18612 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18613 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18614 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18615 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18616 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18617 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18618 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18619 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18620 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18621 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18622 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18623 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18624 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18625 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18626 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18627 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18628 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18629 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18630 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18631 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18632 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18633 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18634 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18635 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18636 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18637 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18638
18639 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18640 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18641 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18642 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18643
18644 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18645 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18646 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18647 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18648
18649 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18650 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18651 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18652 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18653 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18654 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18655 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18656 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18657 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18658 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18659 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18660
18661 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18662 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18663 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18664 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18665 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18666 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18667 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18668 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18669 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18670 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18671 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18672
18673 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18674 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18675 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18676 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18677 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18678 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18679 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18680 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18681 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18682 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18683 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18684 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18685
18686 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18687 and adjusted to imply olders processors.
18688 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18689 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18690 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18691 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18692 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18693 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18694 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18695 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18696 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18697 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18698 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18699
18700 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18701 powerpc64/le.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18704
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18706 powerpc64le.
18707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18709
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18711 powerpc64/be.
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18715
18716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18717 powerpc64 and adjusted.
18718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18721 Likewise.
18722
18723 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18724
18725 * sysdeps/tile: Remove.
18726 * sysdeps/unix/sysv/linux/tile: Likewise.
18727 * README (tilegx-*-linux-gnu): Remove from list of supported
18728 configurations.
18729 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18730 contribution of support for generic Linux kernel syscall
18731 interface.
18732 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18733 tilegx configurations.
18734 (Config.install_linux_headers): Do not handle tile.
18735 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18736 in comment.
18737 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18738 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18739 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18740 conditional undefine and redefine.
18741 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18742 in comment.
18743 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18744 conditional undefine and redefine.
18745
18746 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18747
18748 * signal/tst-sigaction.c: New file to test BZ #23069.
18749 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18750
18751 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18752
18753 [BZ #22766]
18754 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18755 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18756 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18757 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18758
18759 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18760
18761 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18762 _DIRENT_MATCHES_DIRENT64 is not defined.
18763 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18764 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18765 is defined.
18766 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18767 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18768
18769 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18770
18771 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18772 version to GCC 8 branch.
18773
18774 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18775
18776 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18777 (check_no_hidden): Use type of original function when declaring
18778 alias.
18779
18780 * sysdeps/unix/sysv/linux/sys/ptrace.h
18781 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18782 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18783 (struct __ptrace_seccomp_metadata): New type.
18784 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18785 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18786 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18787 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18788 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18789 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18791 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18793 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18794 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18795 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18796 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18797 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18798 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18799 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18800
18801 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18802
18803 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18804 defined.
18805 * dirent/versionsort.c (versionsort): Likewise.
18806 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18807 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18808 * dirent/versionsort64.c (versionsort64): Likewise.
18809 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18810 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18811 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18812 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18813 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18814 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18815 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18816 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18817 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18818 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18821 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18822 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18823
18824 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18825
18826 * elf/elf.h (NT_PPC_PKEY): New macro.
18827
18828 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18829
18830 [BZ #23094]
18831 * localedata/locales/hr_HR: fix thousands_sep and
18832 mon_thousands_sep
18833
18834 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18835
18836 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18837 (XTABS): Define to TAB3.
18838
18839 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18840
18841 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18842
18843 * dirent/scandir-tail-common.c: New file.
18844 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18845 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18846 * dirent/scandir.c: Use scandir-tail-common.c.
18847 * dirent/scandirat.c: Likewise.
18848 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18849 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18850 if _DIRENT_MATCHES_DIRENT64 is defined.
18851 * dirent/scandirat64.c (scandirat64): Likewise.
18852 * include/dirent.h (__scandir_tail): Only define iff
18853 _DIRENT_MATCHES_DIRENT64 is not defined.
18854 (__scandir64_tail): Define regardless.
18855 (__scandirat, scandirat64): Remove libc_hidden_proto.
18856 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18857 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18859 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18860 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18861 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18862 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18863
18864 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18865
18866 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18867 New macro.
18868 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18869 Increase to 24.
18870 (_dl_aarch64_cap_flags): Add asimdfhm.
18871
18872 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18873
18874 * sysdeps/nios2/libm-test-ulps: Update.
18875
18876 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18877
18878 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18879 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18880
18881 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18882 requirements.
18883 (_DIRENT_MATCHES_DIRENT64): Undef
18884 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18885 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18886 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18887 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18888 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18889 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18890 use getdents64 syscalls as base.
18891 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18892 symbol if required.
18893 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18894 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18895 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18896 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18897 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18898 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18899 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18900 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18902 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18903 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18904
18905 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18906
18907 * scripts/test_printers_common.py (init_test): Disable lock elision.
18908
18909 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18910
18911 * math/test-tgmath.c (count_double, count_float,
18912 count_ldouble, count_cdouble, count_cfloat,
18913 count_cldouble): Use volatile int.
18914
18915 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18916
18917 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18918 (conformtest-xfail-conds): Add i386-gnu.
18919 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18920 i386-gnu.
18921 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18922 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18923 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18924 msqid_ds.msg_lrpid): Likewise.
18925 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18926 Likewise.
18927 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18928 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18929 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18930 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18931 unsigned int.
18932 (struct statvfs64): Likewise.
18933 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18934 Likewise.
18935 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18936 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18937 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18938 instead of wait_queue.
18939 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18940 instead of vm_area_struct.
18941 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18942 struct sched_param definition to it.
18943 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18944 * bits/types/struct_sched_param.h: New file.
18945 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18946 <bits/types/struct_sched_param.h> instead of <sched.h>.
18947 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18948 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18949 generic version but include <bits/pthreadtypes.h> to make struct
18950 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18951 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18952 non-compliant.
18953 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18954 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18955 [__USE_XOPEN] (OFDEL): New macro.
18956 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18957 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18958 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18959 prototypes.
18960 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18961 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18962 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18963 non-compliant.
18964 * sysdeps/i386/sys/ucontext.h: Likewise.
18965 * sysdeps/m68k/sys/ucontext.h: Likewise.
18966 * sysdeps/mips/sys/ucontext.h: Likewise.
18967 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18968 * sysdeps/mach/hurd/i386/Makefile
18969 (test-xfail-POSIX/fcntl.h/conform): Add.
18970 (test-xfail-POSIX/signal.h/conform): Add.
18971 (test-xfail-POSIX/semaphore.h/conform): Add.
18972 (test-xfail-POSIX/regex.h/conform): Add.
18973 (test-xfail-POSIX/aio.h/conform): Add.
18974 (test-xfail-POSIX/mqueue.h/conform): Add.
18975 (test-xfail-POSIX/sys/types.h/conform): Add.
18976 (test-xfail-UNIX98/fcntl.h/conform): Add.
18977 (test-xfail-UNIX98/netdb.h/conform): Add.
18978 (test-xfail-UNIX98/signal.h/conform): Add.
18979 (test-xfail-UNIX98/semaphore.h/conform): Add.
18980 (test-xfail-UNIX98/regex.h/conform): Add.
18981 (test-xfail-UNIX98/aio.h/conform): Add.
18982 (test-xfail-UNIX98/ftw.h/conform): Add.
18983 (test-xfail-UNIX98/mqueue.h/conform): Add.
18984 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18985 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18986 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18987 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18988 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18989 (test-xfail-UNIX98/sys/types.h/conform): Add.
18990 (test-xfail-UNIX98/stdlib.h/conform): Add.
18991 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18992 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18993 (test-xfail-POSIX2008/netdb.h/conform): Add.
18994 (test-xfail-POSIX2008/signal.h/conform): Add.
18995 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18996 (test-xfail-POSIX2008/regex.h/conform): Add.
18997 (test-xfail-POSIX2008/aio.h/conform): Add.
18998 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18999 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
19000 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
19001 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
19002 (test-xfail-POSIX2008/sys/types.h/conform): Add.
19003 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
19004 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
19005 (test-xfail-XOPEN2K/netdb.h/conform): Add.
19006 (test-xfail-XOPEN2K/signal.h/conform): Add.
19007 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
19008 (test-xfail-XOPEN2K/regex.h/conform): Add.
19009 (test-xfail-XOPEN2K/aio.h/conform): Add.
19010 (test-xfail-XOPEN2K/ftw.h/conform): Add.
19011 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
19012 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
19013 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
19014 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
19015 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
19016 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
19017 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
19018 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
19019 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
19020 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
19021 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
19022 (test-xfail-XOPEN2K8/signal.h/conform): Add.
19023 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
19024 (test-xfail-XOPEN2K8/regex.h/conform): Add.
19025 (test-xfail-XOPEN2K8/aio.h/conform): Add.
19026 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
19027 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
19028 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
19029 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
19030 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
19031 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
19032 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
19033 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
19034 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
19035 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
19036 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
19037 i386-gnu.
19038 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
19039 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
19040
19041 2018-04-18 Joseph Myers <joseph@codesourcery.com>
19042
19043 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19044 --enable-obsolete for powerpc-linux-gnuspe.
19045
19046 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19047
19048 * conform/data/sys/un.h-data: Allow sun_ prefix.
19049 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
19050 prototypes.
19051 * sysdeps/mach/include/mach.h: Likewise.
19052 * sysdeps/mach/include/mach/mig_support.h: Likewise.
19053 * sysdeps/mach/include/mach_error.h: Likewise.
19054
19055 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19056
19057 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
19058 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
19059 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19060 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
19061
19062 2018-04-16 Andreas Schwab <schwab@suse.de>
19063
19064 [BZ #19527]
19065 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
19066
19067 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19068
19069 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
19070 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
19071
19072 2018-04-12 DJ Delorie <dj@redhat.com>
19073
19074 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19075 version to 4.16.
19076
19077 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19078
19079 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
19080 (struct kernel_sigaction): Use the same definition on 31bit as is used
19081 on 64bit.
19082
19083 2018-04-09 Florian Weimer <fweimer@redhat.com>
19084
19085 [BZ #23037]
19086 * resolv/res_send.c (send_dg): Use designated initializers instead
19087 of assignment to zero-initialize other fields of struct mmsghdr.
19088
19089 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19090
19091 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
19092 __READDIR_ALIAS): Undefine after usage.
19093 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
19094 __READDIR_R_ALIAS): Likewise.
19095 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
19096 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
19097 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
19098 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
19099 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
19100 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
19101 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19102 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19103 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19104 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19105 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19106 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19107 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19108 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19109 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19110 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19111 * sysdeps/unix/sysv/linux/readdir.c: New file.
19112 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19113 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19114 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19115
19116 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19117
19118 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19119
19120 * manual/charset.texi (Converting a Character): Fix typo.
19121
19122 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19123
19124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19125
19126 * sysdeps/arm/libm-test-ulps: Update.
19127
19128 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19129 as base implementation.
19130 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19131 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19132 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19133 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19134 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19135 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19136 remove unrequired definitions and update comments.
19137 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19138 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19139 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19140 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19141 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19142 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19144 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19145 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19146 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19147 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19148 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19149 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19150 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19151 and RESET_SA_RESTORER hooks.
19152
19153 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19154
19155 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19156
19157 2018-04-05 Florian Weimer <fweimer@redhat.com>
19158
19159 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19160 integer overflow, memory leak on error, and indeterminate errno
19161 value. Add a null wide character to terminate the result string.
19162 * manual/charset.texi (Converting a Character): Mention embedded
19163 null bytes in the mbrtowc input string. Explain what happens in
19164 the -2 result case. Do not claim that mbrtowc is simple or
19165 obvious to use. Adjust the description of the code example. Use
19166 @code, not @var, for concrete variables.
19167
19168 2018-04-05 Florian Weimer <fweimer@redhat.com>
19169
19170 * manual/examples/mbstouwcs.c: New file.
19171 * manual/charset.texi (Converting a Character): Include it.
19172
19173 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19174
19175 * include/dirent.h (dirfd): Add hidden proto.
19176 * dirent/dirfd.c (dirfd): Add hidden def.
19177 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19178 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
19179
19180 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19181
19182 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19183 sin, cos and sincos to 1 ULP.
19184
19185 2018-04-04 Maciej W. Rozycki <macro@mips.com>
19186
19187 [BZ #19818]
19188 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19189 symbols.
19190 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19191 * elf/tst-absolute-sym.c: New file.
19192 * elf/tst-absolute-sym-lib.c: New file.
19193 * elf/tst-absolute-sym-lib.lds: New file.
19194 * elf/Makefile (tests): Add `tst-absolute-sym'.
19195 (modules-names): Add `tst-absolute-sym-lib'.
19196 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19197 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19198 ($(objpfx)tst-absolute-sym): New dependency.
19199
19200 [BZ #19818]
19201 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19202 parameter.
19203 (SYMBOL_ADDRESS): New macro.
19204 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19205 SYMBOL_ADDRESS for symbol address calculation.
19206 * elf/dl-runtime.c (_dl_fixup): Likewise.
19207 (_dl_profile_fixup): Likewise.
19208 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19209 * elf/rtld.c (dl_main): Likewise.
19210 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19211 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19212 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19213 (elf_machine_rela): Likewise.
19214 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19215 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19216 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19217 (elf_machine_rela): Likewise.
19218 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19219 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19220 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19221 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19222 Likewise.
19223 (elf_machine_reloc): Likewise.
19224 (elf_machine_got_rel): Likewise.
19225 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19226 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19227 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19228 Likewise.
19229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19230 Likewise.
19231 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19232 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19233 Likewise.
19234 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19235 Likewise.
19236 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19237 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19238 Likewise.
19239 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19240 Likewise.
19241 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19242 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19243
19244 2018-04-04 Zack Weinberg <zackw@panix.com>
19245
19246 * sysdeps/generic/internal-signals.h: Include signal.h,
19247 sigsetops.h, and stdbool.h.
19248 (__libc_signal_block_all): Actually block all signals.
19249 (__libc_signal_block_app): Likewise.
19250 (__libc_signal_restore_set): Actually restore the signal mask.
19251
19252 2018-04-04 Florian Weimer <fweimer@redhat.com>
19253
19254 inet: Actually build and run tst-deadline.
19255 * inet/Makefile (tests-internal): Add tst-deadline and do not
19256 overwrite the variable.
19257 (tests-static-internal): Remove variable.
19258
19259 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19260
19261 [BZ #22947]
19262 * bits/uio-ext.h (RWF_APPEND): New.
19263 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19264 * manual/llio.texi: Document RWF_APPEND.
19265 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19266 (RWF_SUPPORTED): Add RWF_APPEND.
19267
19268 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19269
19270 [BZ #22391]
19271 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19272 check for internal nptl signals.
19273 * nptl/sigaction.c (__sigaction): Likewise.
19274 * signal/sigaddset.c (sigaddset): Likewise.
19275 * signal/sigdelset.c (sigdelset): Likewise.
19276 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19277 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19278 value.
19279 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19280 to filter out internal nptl signals.
19281 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19282 also check realtime signals using standard macros.
19283 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19284 __is_internal_signal, __libc_signal_block_all,
19285 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19286 * sysdeps/nptl/sigfillset.c: Remove file.
19287 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19288 Change return to bool.
19289 (__clear_internal_signals): Remove SIGTIMER clean since it is
19290 equal to SIGCANEL on Linux.
19291 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19292 signal set was constructed using standard functions.
19293
19294 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19295
19296 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19297 ifname is too long.
19298 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19299 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19300 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19301 hidden def.
19302 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19303 * signal/sigaddset.c: Include <sigsetopts.h>.
19304 * signal/sigdelset.c: Likewise.
19305
19306 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19307
19308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19309 (__cos): Likewise.
19310 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19311 logic as sin and cos.
19312
19313 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19314
19315 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19316 inputs. Return correct sign.
19317 (do_sincos): Remove small input check before do_sin, let do_sin set
19318 the sign.
19319 (__sin): Likewise.
19320 (__cos): Likewise.
19321
19322 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19323
19324 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19325 (do_cos_slow): Likewise.
19326 (do_sin_slow): Likewise.
19327 (reduce_and_compute): Likewise.
19328 (slow): Likewise.
19329 (slow1): Likewise.
19330 (slow2): Likewise.
19331 (sloww): Likewise.
19332 (sloww1): Likewise.
19333 (sloww2): Likewise.
19334 (bslow): Likewise.
19335 (bslow1): Likewise.
19336 (bslow2): Likewise.
19337 (cslow2): Likewise.
19338
19339 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19340
19341 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19342 (do_cos): Remove corp parameter and calculations.
19343 (do_sin): Likewise.
19344 (do_sincos): Remove cor variable.
19345 (__sin): Use do_sincos for huge inputs.
19346 (__cos): Likewise.
19347 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19348 (reduce_and_compute_sincos): Remove unused function.
19349
19350 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19351
19352 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19353 reduce_sincos, improve accuracy to 136 bits.
19354 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19355 (__sin): Use improved reduction and simplified do_sincos calculation.
19356 (__cos): Likewise.
19357 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19358
19359 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19360
19361 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19362 (do_sincos_2): Likewise.
19363 (__sin): Remove middle range reduction case.
19364 (__cos): Likewise.
19365 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19366 reduction case.
19367
19368 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19369
19370 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19372 inputs.
19373 (__cos): Likewise.
19374 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19375
19376 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19377
19378 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19379 version to 4.16
19380
19381 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19382
19383 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19384 Remove definitions.
19385 (opendir_oflags): Use O_DIRECTORY regardless.
19386 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19387 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19388
19389 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19390
19391 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19392 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19393 macros.
19394 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19395 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19396 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19397 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19398 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19399 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19400
19401 * htl/Makefile: Bump licence to LGPL 2.1+.
19402 * htl/alloca_cutoff.c: Likewise.
19403 * htl/cthreads-compat.c: Likewise.
19404 * htl/lockfile.c: Likewise.
19405 * htl/pt-alloc.c: Likewise.
19406 * htl/pt-cancel.c: Likewise.
19407 * htl/pt-cleanup.c: Likewise.
19408 * htl/pt-create.c: Likewise.
19409 * htl/pt-dealloc.c: Likewise.
19410 * htl/pt-detach.c: Likewise.
19411 * htl/pt-exit.c: Likewise.
19412 * htl/pt-getattr.c: Likewise.
19413 * htl/pt-initialize.c: Likewise.
19414 * htl/pt-internal.h: Likewise.
19415 * htl/pt-join.c: Likewise.
19416 * htl/pt-self.c: Likewise.
19417 * htl/pt-setcancelstate.c: Likewise.
19418 * htl/pt-setcanceltype.c: Likewise.
19419 * htl/pt-sigmask.c: Likewise.
19420 * htl/pt-spin-inlines.c: Likewise.
19421 * htl/pt-testcancel.c: Likewise.
19422 * htl/pt-yield.c: Likewise.
19423 * htl/tests/test-1.c: Likewise.
19424 * htl/tests/test-10.c: Likewise.
19425 * htl/tests/test-11.c: Likewise.
19426 * htl/tests/test-12.c: Likewise.
19427 * htl/tests/test-13.c: Likewise.
19428 * htl/tests/test-14.c: Likewise.
19429 * htl/tests/test-15.c: Likewise.
19430 * htl/tests/test-16.c: Likewise.
19431 * htl/tests/test-17.c: Likewise.
19432 * htl/tests/test-2.c: Likewise.
19433 * htl/tests/test-3.c: Likewise.
19434 * htl/tests/test-4.c: Likewise.
19435 * htl/tests/test-5.c: Likewise.
19436 * htl/tests/test-6.c: Likewise.
19437 * htl/tests/test-7.c: Likewise.
19438 * htl/tests/test-8.c: Likewise.
19439 * htl/tests/test-9.c: Likewise.
19440 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19441 * sysdeps/htl/bits/cancelation.h: Likewise.
19442 * sysdeps/htl/bits/pthread-np.h: Likewise.
19443 * sysdeps/htl/bits/pthread.h: Likewise.
19444 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19445 * sysdeps/htl/bits/semaphore.h: Likewise.
19446 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19447 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19448 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19449 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19450 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19451 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19452 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19453 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19454 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19455 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19456 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19457 * sysdeps/htl/old_pt-atfork.c: Likewise.
19458 * sysdeps/htl/pt-atfork.c: Likewise.
19459 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19460 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19461 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19462 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19463 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19464 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19465 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19466 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19467 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19468 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19469 * sysdeps/htl/pt-attr-init.c: Likewise.
19470 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19471 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19472 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19473 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19474 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19475 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19476 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19477 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19478 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19479 * sysdeps/htl/pt-attr.c: Likewise.
19480 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19481 * sysdeps/htl/pt-barrier-init.c: Likewise.
19482 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19483 * sysdeps/htl/pt-barrier.c: Likewise.
19484 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19485 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19486 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19487 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19488 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19489 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19490 * sysdeps/htl/pt-cond-init.c: Likewise.
19491 * sysdeps/htl/pt-cond-signal.c: Likewise.
19492 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19493 * sysdeps/htl/pt-cond-wait.c: Likewise.
19494 * sysdeps/htl/pt-cond.c: Likewise.
19495 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19496 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19497 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19498 * sysdeps/htl/pt-condattr-init.c: Likewise.
19499 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19500 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19501 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19502 * sysdeps/htl/pt-equal.c: Likewise.
19503 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19504 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19505 * sysdeps/htl/pt-getschedparam.c: Likewise.
19506 * sysdeps/htl/pt-getspecific.c: Likewise.
19507 * sysdeps/htl/pt-init-specific.c: Likewise.
19508 * sysdeps/htl/pt-key-create.c: Likewise.
19509 * sysdeps/htl/pt-key-delete.c: Likewise.
19510 * sysdeps/htl/pt-key.h: Likewise.
19511 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19512 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19513 * sysdeps/htl/pt-mutex-init.c: Likewise.
19514 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19515 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19516 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19517 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19518 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19519 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19520 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19521 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19522 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19523 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19524 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19525 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19526 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19527 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19528 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19529 * sysdeps/htl/pt-mutexattr.c: Likewise.
19530 * sysdeps/htl/pt-once.c: Likewise.
19531 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19532 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19533 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19534 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19535 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19536 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19537 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19538 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19539 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19540 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19541 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19542 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19543 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19544 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19545 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19546 * sysdeps/htl/pt-setschedparam.c: Likewise.
19547 * sysdeps/htl/pt-setschedprio.c: Likewise.
19548 * sysdeps/htl/pt-setspecific.c: Likewise.
19549 * sysdeps/htl/pt-spin.c: Likewise.
19550 * sysdeps/htl/pt-startup.c: Likewise.
19551 * sysdeps/htl/pthread.h: Likewise.
19552 * sysdeps/htl/sem-close.c: Likewise.
19553 * sysdeps/htl/sem-destroy.c: Likewise.
19554 * sysdeps/htl/sem-getvalue.c: Likewise.
19555 * sysdeps/htl/sem-init.c: Likewise.
19556 * sysdeps/htl/sem-open.c: Likewise.
19557 * sysdeps/htl/sem-post.c: Likewise.
19558 * sysdeps/htl/sem-timedwait.c: Likewise.
19559 * sysdeps/htl/sem-trywait.c: Likewise.
19560 * sysdeps/htl/sem-unlink.c: Likewise.
19561 * sysdeps/htl/sem-wait.c: Likewise.
19562 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19563 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19564 * sysdeps/mach/htl/pt-block.c: Likewise.
19565 * sysdeps/mach/htl/pt-spin.c: Likewise.
19566 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19567 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19568 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19569 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19570 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19571 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19572 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19573 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19574 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19575 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19576 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19577 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19578 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19579 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19580 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19581 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19582 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19583 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19584 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19585 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19586 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19587 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19588 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19589 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19590 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19591 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19592 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19593 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19594 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19595 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19596 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19597 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19598 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19599 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19600 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19601 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19602 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19603 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19604 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19605 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19606 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19607 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19608 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19609
19610 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19611 * README: Remove the mention of out-of-tree patches needed for
19612 GNU/Hurd.
19613
19614 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19615 (UTIME_NOW, UTIME_OMIT): Define macros.
19616
19617 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19618 instead of pthread_detach.
19619 (__cthread_fork): Call __pthread_create instead of pthread_create.
19620 (__cthread_keycreate): Call __pthread_key_create instead of
19621 pthread_key_create.
19622 (__cthread_getspecific): Call __pthread_getspecific instead of
19623 pthread_getspecific.
19624 (__cthread_setspecific): Call __pthread_setspecific instead of
19625 pthread_setspecific.
19626 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19627 __pthread_mutex_unlock instead of pthread_mutex_lock and
19628 pthread_mutex_unlock.
19629 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19630 ___pthread_get_cleanup_stack.
19631 (__pthread_get_cleanup_stack): New strong alias.
19632 * htl/pt-create.c: Include <pthreadP.h>.
19633 (entry_point): Call __pthread_exit instead of pthread_exit.
19634 (pthread_create): Rename to __pthread_create.
19635 (pthread_create): New strong alias.
19636 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19637 (pthread_detach): New strong alias.
19638 (__pthread_detach): Call __pthread_cond_broadcast instead of
19639 pthread_cond_broadcast.
19640 * htl/pt-exit.c: Include <pthreadP.h>.
19641 (__pthread_exit): Call __pthread_setcancelstate and
19642 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19643 __pthread_get_cleanup_stack.
19644 * htl/pt-testcancel.c: Include <pthreadP.h>.
19645 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19646 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19647 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19648 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19649 pthread_attr_getstacksize.
19650 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19651 Rename to __pthread_attr_getstackaddr.
19652 (pthread_attr_getstackaddr): New strong alias.
19653 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19654 Rename to __pthread_attr_getstacksize.
19655 (pthread_attr_getstacksize): New strong alias.
19656 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19657 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19658 (pthread_attr_setstack): New strong alias.
19659 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19660 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19661 pthread_attr_getstacksize, pthread_attr_setstacksize and
19662 pthread_attr_setstackaddr.
19663 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19664 Rename to __pthread_attr_setstackaddr.
19665 (pthread_attr_setstackaddr): New strong alias.
19666 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19667 Rename to __pthread_attr_setstacksize.
19668 (pthread_attr_setstacksize): New strong alias.
19669 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19670 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19671 pthread_exit.
19672 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19673 (__pthread_key_create): New hidden def.
19674 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19675 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19676 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19677 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19678 __pthread_setspecific, __pthread_setcancelstate,
19679 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19680 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19681 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19682 declarations.
19683 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19684 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19685 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19686 (pthread_attr_setstackaddr): New strong alias.
19687 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19688 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19689 (pthread_attr_setstacksize): New strong alias.
19690 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19691 (call_exit): Call __pthread_exit instead of pthread_exit.
19692 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19693 (_pthread_mutex_init): New hidden definition.
19694 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19695 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19696 instead of pthread_attr_init and pthread_attr_setstack.
19697
19698 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19699 __vm_deallocate instead of vm_allocate and vm_deallocate.
19700 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19701 setenv.
19702 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19703 of geteuid.
19704 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19705 strdup.
19706 * hurd/siginfo.c: Include <libioP.h>.
19707 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19708 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19709 munmap.
19710 * mach/devstream.c: Include <libioP.h>.
19711 (dealloc_ref): Call __mach_port_deallocate instead of
19712 mach_port_deallocate.
19713 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19714 Call __mach_port_deallocate instead of mach_port_deallocate.
19715 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19716 pathconf.
19717 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19718 munmap.
19719 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19720 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19721 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19722 of munmap.
19723 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19724 of close.
19725 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19726 instead of sysconf.
19727 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19728 __clock_gettime instead of clock_gettime.
19729 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19730 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19731 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19732 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19733 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19734 tcgetattr.
19735 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19736 __clock_gettime and __nanosleep instead of clock_gettime and
19737 nanosleep.
19738 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19739 __hurd_catch_signal.
19740 (hurd_catch_signal): New strong alias.
19741 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19742 __hurd_catch_signal instead of hurd_catch_signal.
19743 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19744 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19745 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19746 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19747 (_hurd_thread_sigstate): Add hidden def.
19748 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19749 mutex_unlock.
19750 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19751 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19752 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19753 __hurd_file_name_path_lookup.
19754 (hurd_file_name_path_lookup): New strong alias.
19755 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19756 hurd_file_name_path_lookup.
19757 * mach/errstring.c (mach_error_type): Add hidden def.
19758 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19759 * mach/mutex-init.c (__mutex_init): Add hidden def.
19760 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19761 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19762 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19763 * sysdeps/mach/hurd/getcwd.c
19764 (_hurd_canonicalize_directory_name_internal): Rename to
19765 __hurd_canonicalize_directory_name_internal.
19766 (_hurd_canonicalize_directory_name_internal): New strong alias.
19767 (__canonicalize_directory_name_internal, __getcwd): Call
19768 __hurd_canonicalize_directory_name_internal instead of
19769 _hurd_canonicalize_directory_name_internal.
19770 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19771 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19772 hidden defs.
19773 * sysdeps/hurd/include/hurd.h: New file.
19774 * sysdeps/hurd/include/hurd/fd.h: New file.
19775 * sysdeps/hurd/include/hurd/signal.h: New file.
19776 * sysdeps/mach/include/lock-intern.h: New file.
19777 * sysdeps/mach/include/mach.h: New file.
19778 * sysdeps/mach/include/mach/mig_support.h: New file.
19779 * sysdeps/mach/include/mach_error.h: New file.
19780 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19781 prototype.
19782 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19783 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19784 _HEADER_H_HIDDEN_DEF macro.
19785 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19786 _hurd_fd_error_signal): Add hidden prototype.
19787 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19788 hidden def.
19789 * libio/iolibio.h (_IO_puts): New hidden prototype.
19790 * libio/ioputs.c (_IO_puts): New hidden def.
19791 * sysdeps/mach/hurd/localplt.data: New file.
19792
19793 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19794 Amos Jeffries <squid3@treenet.co.nz>
19795 David Michael <fedora.dm0@gmail.com>
19796 Marco Gerards <marco@gnu.org>
19797 Marcus Brinkmann <marcus@gnu.org>
19798 Neal H. Walfield <neal@gnu.org>
19799 Pino Toscano <toscano.pino@tiscali.it>
19800 Richard Braun <rbraun@sceen.net>
19801 Roland McGrath <roland@gnu.org>
19802 Samuel Thibault <samuel.thibault@ens-lyon.org>
19803 Thomas DiModica <ricinwich@yahoo.com>
19804 Thomas Schwinge <tschwinge@gnu.org>
19805
19806 * htl: New directory.
19807 * sysdeps/htl: New directory.
19808 * sysdeps/hurd/htl: New directory.
19809 * sysdeps/i386/htl: New directory.
19810 * sysdeps/mach/htl: New directory.
19811 * sysdeps/mach/hurd/htl: New directory.
19812 * sysdeps/mach/hurd/i386/htl: New directory.
19813 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19814 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19815 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19816
19817 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19818
19819 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19820 signals in thread created for runing timers.
19821
19822 2018-04-01 Florian Weimer <fweimer@redhat.com>
19823
19824 * support/support_format_addrinfo.c (support_format_addrinfo):
19825 Include unknown error number in formatted result.
19826
19827 2018-03-29 Florian Weimer <fweimer@redhat.com>
19828
19829 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19830 capture SIGBUS.
19831
19832 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19833
19834 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19835 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19836 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19837 (__ASSUME_CLONE_BACKWARDS): Define.
19838
19839 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19840
19841 [BZ #23024]
19842 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19843 early when linux sentinel value is set.
19844
19845 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19846
19847 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19848
19849 2018-03-27 Andreas Schwab <schwab@suse.de>
19850
19851 [BZ #23005]
19852 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19853 allocation of private copy of nsaddr_list fails.
19854
19855 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19856
19857 [BZ #16552]
19858 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19859 * sysdeps/unix/sysv/linux/umount.c: ... here.
19860 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19861 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19862 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19863 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19865 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19866 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19867
19868 2018-03-26 Andreas Schwab <schwab@suse.de>
19869
19870 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19871 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19872 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19873 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19874 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19875 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19876 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19877 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19878 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19879 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19880 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19881 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19882 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19883 (R_RISCV_NUM): Define.
19884
19885 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19886
19887 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19888 TLS declaration of errno.
19889 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19890 __libc_setup_tls.
19891 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19892 (ARCH_SETUP_TLS): Likewise.
19893 * sysdeps/mach/hurd/libc-start.h: New file copied from
19894 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19895 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19896 instead of __libc_setup_tls.
19897 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19898 __libc_setup_tls before initializing libpthread and running _hurd_init
19899 which starts the signal thread.
19900 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19901 Declare function.
19902 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19903
19904 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 [BZ #22998]
19907 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19908 after it is defined.
19909
19910 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19911 Max Horn <max@quendi.de>
19912
19913 [BZ #22644]
19914 CVE-2017-18269
19915 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19916 branch conditions.
19917 * string/test-memmove.c (do_test2): New testcase.
19918
19919 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19920
19921 * sysdeps/generic/frame.h: Remove file.
19922 * sysdeps/arm/frame.h: Likewise.
19923 * sysdeps/hppa/frame.h: Likewise.
19924 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19925 macro.
19926 (GET_FRAME): Likewise.
19927 (GET_STACK): Likewise.
19928 (CALL_SIGHANDLER): Likewise.
19929 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19930 Likewise.
19931 (GET_FRAME): Likewise.
19932 (GET_STACK): Likewise.
19933 (CALL_SIGHANDLER): Likewise.
19934 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19935 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19936 (GET_FRAME): Likewise.
19937 (GET_STACK): Likewise.
19938 (CALL_SIGHANDLER): Likewise.
19939 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19940 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19941 (GET_FRAME): Likewise.
19942 (GET_STACK): Likewise.
19943 (ADVANCE_STACK_FRAME): Likewise.
19944 (CALL_SIGHANDLER): Likewise.
19945 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19946 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19947 (GET_FRAME): Likewise.
19948 (GET_STACK): Likewise.
19949 (CALL_SIGHANDLER): Likewise.
19950 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19951 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19952 (GET_FRAME): Likewise.
19953 (GET_STACK): Likewise.
19954 (CALL_SIGHANDLER): Likewise.
19955 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19956 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19957 (GET_FRAME): Likewise.
19958 (GET_STACK): Likewise.
19959 (CALL_SIGHANDLER): Likewise.
19960 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19961 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19962 (GET_FRAME): Likewise.
19963 (GET_STACK): Likewise.
19964 (CALL_SIGHANDLER): Likewise.
19965 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19966 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19967 (GET_FRAME): Likewise.
19968 (GET_STACK): Likewise.
19969 (CALL_SIGHANDLER): Likewise.
19970 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19971 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19972 (GET_FRAME): Likewise.
19973 (GET_STACK): Likewise.
19974 (CALL_SIGHANDLER): Likewise.
19975 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19976 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19977 (GET_FRAME): Likewise.
19978 (GET_STACK): Likewise.
19979 (CALL_SIGHANDLER): Likewise.
19980 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19981 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19982 (GET_FRAME): Likewise.
19983 (GET_STACK): Likewise.
19984 (CALL_SIGHANDLER): Likewise.
19985 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19986 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19987 (GET_FRAME): Likewise.
19988 (GET_STACK): Likewise.
19989 (CALL_SIGHANDLER): Likewise.
19990 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19991 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19992 (FIRST_FRAME_POINTER): Likewise.
19993 (ADVANCE_STACK_FRAME): Likewise.
19994 (GET_STACK): Likewise.
19995 (GET_FRAME): Likewise.
19996 (CALL_SIGHANDLER): Likewise.
19997 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19998 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19999 (ADVANCE_STACK_FRAME): Likewise.
20000 (GET_STACK): Likewise.
20001 (GET_FRAME): Likewise.
20002 (CALL_SIGHANDLER): Likewise.
20003 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
20004 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20005 (GET_FRAME): Likewise.
20006 (GET_STACK): Likewise.
20007 (CALL_SIGHANDLER): Likewise.
20008 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
20009 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20010 (GET_FRAME): Likewise.
20011 (GET_STACK): Likewise.
20012 (CALL_SIGHANDLER): Likewise.
20013
20014 2018-03-21 Joseph Myers <joseph@codesourcery.com>
20015
20016 * sysdeps/x86_64/backtrace.c: Move to ....
20017 * debug/backtrace.c: ... here.
20018 * sysdeps/aarch64/backtrace.c: Remove file.
20019 * sysdeps/alpha/backtrace.c: Likewise.
20020 * sysdeps/hppa/backtrace.c: Likewise.
20021 * sysdeps/ia64/backtrace.c: Likewise.
20022 * sysdeps/mips/backtrace.c: Likewise.
20023 * sysdeps/nios2/backtrace.c: Likewise.
20024 * sysdeps/riscv/backtrace.c: Likewise.
20025 * sysdeps/sh/backtrace.c: Likewise.
20026 * sysdeps/tile/backtrace.c: Likewise.
20027
20028 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20029
20030 [BZ #22987]
20031 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
20032 function.
20033 (fdimf): Likewise.
20034 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
20035
20036 [BZ #17343]
20037 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
20038 possibly overflowing computations.
20039
20040 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
20041
20042 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
20043 values from Linux-specific section now that it is in the GNU section.
20044 * sysdeps/gnu/errlist.c: Regenerate.
20045
20046 2018-03-20 Joseph Myers <joseph@codesourcery.com>
20047
20048 * math/Makefile (libm-narrow-fns): Add sub.
20049 (libm-test-funcs-narrow): Likewise.
20050 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
20051 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
20052 * math/gen-auto-libm-tests.c (test_functions): Add sub.
20053 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
20054 (NARROW_SUB_ROUND_TO_ODD): Likewise.
20055 (NARROW_SUB_TRIVIAL): Likewise.
20056 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
20057 macro.
20058 (__dsubl): Likewise.
20059 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
20060 dsub.
20061 (CFLAGS-nldbl-dsub.c): New variable.
20062 (CFLAGS-nldbl-fsub.c): Likewise.
20063 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20064 __nldbl_dsubl.
20065 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
20066 prototype.
20067 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
20068 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
20069 * math/auto-libm-test-in: Add tests of sub.
20070 * math/auto-libm-test-out-narrow-sub: New generated file.
20071 * math/libm-test-narrow-sub.inc: New file.
20072 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
20073 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
20074 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
20075 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
20076 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
20077 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
20078 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
20079 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
20080 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
20081 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
20082 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
20083 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
20084 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
20085 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
20086 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
20087 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
20088 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
20089 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
20090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20091 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20092 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20093 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20094 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20095 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20096 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20097 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20098 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20099 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20100 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20101 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20103 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20108 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20109 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20110 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20111 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20112 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20113 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20114 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20115 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20116 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20117 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20118
20119 2018-03-19 Joseph Myers <joseph@codesourcery.com>
20120
20121 [BZ #20079]
20122 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20123
20124 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20125
20126 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20127
20128 2018-03-18 Richard Braun <rbraun@sceen.net>
20129
20130 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20131 thread reference.
20132
20133 2018-03-18 Agustina Arzille <avarzille@riseup.net>
20134
20135 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20136 (__libc_cleanup_fct): Define function.
20137 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20138 __libc_cleanup_end): Rewrite implementation using
20139 __attribute__ ((__cleanup__)).
20140 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
20141 * hurd/Makefile (routines): Add hurdlock.
20142 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20143 interface.
20144 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20145 * hurd/hurdpid.c: Include <lowlevellock.h>
20146 (_S_msg_proc_newids): Use lll_wait to synchronize.
20147 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20148 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20149 * mach/Makefile (lock-headers): Remove machine-lock.h.
20150 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20151 <machine-lock.h>.
20152 (__spin_lock_t): New type.
20153 (__SPIN_LOCK_INITIALIZER): New macro.
20154 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20155 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20156 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20157 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20158 (__mutex_init): Initialize with lll.
20159 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20160 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20161 needing lll.
20162 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20163 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20164 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20165 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20166 (__setpgid): Use lll for synchronization.
20167 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20168 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20169 instead of <cthreads.h>.
20170 (_IO_lock_inexpensive): New macro
20171 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20172 (__libc_lock_self0): New declaration.
20173 (__libc_lock_owner_self): New macro.
20174 (__libc_key_t): Remove type.
20175 (_LIBC_LOCK_INITIALIZER): New macro.
20176 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20177 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20178 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20179 __libc_lock_define_initialized_recursive,
20180 __rtld_lock_define_initialized_recursive,
20181 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20182 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20183 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20184 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20185 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20186 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20187 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20188 New macros.
20189 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20190 * hurd/hurdlock.c: New file.
20191 * hurd/hurdlock.h: New file.
20192 * mach/lowlevellock.h: New file
20193
20194 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20195
20196 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
20197 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20198 when opening a symlink with O_NOFOLLOW.
20199 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20200 path when flags contains O_NOFOLLOW.
20201 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20202 if flags contains O_DIRECTORY and the result is a directory.
20203 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20204 oneself when the pointer given in D is nul (as set by ext2fs).
20205 * sysdeps/mach/hurd/mlockall.c: New file.
20206 * sysdeps/mach/hurd/munlockall.c: New file.
20207
20208 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20209
20210 * hurd/hurdsig.c: Include <pthread.h>.
20211 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20212 get the signal thread stack layout.
20213 * hurd/Makefile (headers): Remove threadvar.h.
20214 (inline-headers): Remove threadvar.h.
20215 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20216 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20217 __hurd_threadvar_max, __hurd_errno_location.
20218 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20219 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20220 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20221 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20222 unless TLS is not initialized yet, in which case we do not need a
20223 critical section yet anyway.
20224 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20225 <machine-sp.h>.
20226 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20227 declarations.
20228 (__hurd_threadvar_index): Remove enum.
20229 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20230 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20231 inlines.
20232 (__hurd_reply_port0): New variable declaration.
20233 (__hurd_local_reply_port): New macro.
20234 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20235 (interrupted_reply_port_location): Add thread_t parameter. Use it
20236 with THREAD_TCB to access thread-local variables.
20237 (_hurdsig_abort_rpcs): Pass ss->thread to
20238 interrupted_reply_port_location.
20239 (_hurd_internal_post_signal): Likewise.
20240 (_hurdsig_init): Use presence of cthread_fork instead of
20241 __hurd_threadvar_stack_mask to start signal thread by hand.
20242 Remove signal thread threadvar initialization.
20243 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20244 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20245 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20246 of threadvar.
20247 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20248 __libc_lock_self0.
20249 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20250 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20251 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20252 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20253 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20254 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20255 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20256 define variables.
20257 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20258 <hurd/threadvar.h>.
20259 [IS_IN(rtld)] (rtld_errno): New variable.
20260 [IS_IN(rtld)] (__errno_location): New weak function.
20261 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20262 * sysdeps/mach/hurd/errno.c: Remove file.
20263 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20264 (__fork): Remove THREADVAR_SPACE macro and its use.
20265 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20266 variable.
20267 (init): Do not initialize threadvar.
20268 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20269 symbol.
20270 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20271 __hurd_local_reply_port instead of threadvar.
20272 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20273 _hurd_sigstate fields.
20274 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20275 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20276 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20277 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20278 instead of threadvar.
20279 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20280 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20281 (use_threadvar, global_reply_port): Remove variables.
20282 (__hurd_reply_port0): New variable.
20283 (__mig_get_reply_port): Use __hurd_local_reply_port and
20284 __hurd_reply_port0 instead of threadvar.
20285 (__mig_dealloc_reply_port): Likewise.
20286 (__mig_init): Do not initialize threadvar.
20287 * sysdeps/mach/hurd/profil.c: Fix comment.
20288 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20289 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20290 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20291 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20292 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20293 __cthread_setspecific.
20294 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20295 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20296 __cthread_t instead of cthread_fork, cthread_detach,
20297 pthread_getattr_np, pthread_attr_getstack.
20298 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20299 __cthread_keycreate.
20300 (cthread_getspecific): Rename to __cthread_getspecific.
20301 (cthread_setspecific): Rename to __cthread_setspecific.
20302 (__libc_getspecific): Use __cthread_getspecific instead of
20303 cthread_getspecific.
20304 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20305 __cthread_keycreate instead of cthread_keycreate.
20306 (__libc_setspecific): Use __cthread_setspecific instead of
20307 cthread_setspecific.
20308 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20309 Likewise.
20310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20311 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20312 testing whether it is defined.
20313
20314 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20315
20316 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20317 Define macro.
20318 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20319 * sysdeps/mach/i386/thread_state.h
20320 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20321 i386_THREAD_STATE.
20322 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20323 i386_THREAD_STATE.
20324 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20325
20326 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20327 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20328
20329 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20330 macros.
20331 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20332 descriptor instead of creating a new one.
20333 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20334
20335 * mach/setup-thread.c: Include <ldsodefs.h>.
20336 (__mach_setup_thread): Call _dl_allocate_tls, pass
20337 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20338 MACHINE_THREAD_STATE_FLAVOR, before getting
20339 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20340 MACHINE_THREAD_STATE_FLAVOR with the result.
20341 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20342 MACHINE_THREAD_STATE_FIX_NEW.
20343 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20344 too. Add original thread parameter.
20345
20346 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20347
20348 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20349 Remove inline function.
20350
20351 * sysdeps/i386/fpu/libm-test-ulps: Update.
20352 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20353
20354 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20355
20356 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20357 commit.
20358
20359 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20360
20361 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20362 (__sincos_code): Remove define and undefine.
20363 [__FAST_MATH__] (__sincos): Remove inline function.
20364 [__FAST_MATH__] (__sincosf): Remove inline function.
20365 [__FAST_MATH__] (__sincosl): Remove inline function.
20366 (__atan2l): Remove inline functions.
20367 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20368 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20369 function.
20370 (floor): Remove inline function.
20371 (ceil): Likewise.
20372 [__FAST_MATH__] (__ldexp_code): Remove macro.
20373 [__FAST_MATH__] (ldexp): Remove inline function.
20374 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20375 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20376 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20377 [__USE_ISOC99] (__lrint_code): Remove macro.
20378 [__USE_ISOC99] (__llrint_code): Likewise.
20379 [__USE_ISOC99] (lrintf): Remove inline function.
20380 [__USE_ISOC99] (lrint): Likewise.
20381 [__USE_ISOC99] (lrintl): Likewise.
20382 [__USE_ISOC99] (llrint): Likewise.
20383 [__USE_ISOC99] (llrintf): Likewise.
20384 [__USE_ISOC99] (llrintl): Likewise.
20385
20386 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20387
20388 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20389 (__ieee754_sqrtf): Remove.
20390 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20391 (__ieee754_sqrtf): Remove.
20392 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20393 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20394 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20395 (__ieee754_sqrtf): Remove.
20396 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20397 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20398 (sqrtf): Remove.
20399 (sqrtl): Remove.
20400 (__ieee754_sqrt): Remove.
20401 (__ieee754_sqrtf): Remove.
20402 (__ieee754_sqrtl): Remove.
20403 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20404 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20405 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20406 (__ieee754_sqrtf): Remove.
20407 (__ieee754_sqrtl): Remove.
20408
20409 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20410
20411 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20412 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20413 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20414 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20415 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20416 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20417 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20419 Likewise.
20420 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20421 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20422 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20423 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20424 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20425 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20426 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20427 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20428 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20429 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20430 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20431 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20432 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20433 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20434 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20435 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20436 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20437 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20438 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20446 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20449 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20450 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20451 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20452 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20453 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20454 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20455 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20456 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20457 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20458 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20459 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20460
20461 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20462
20463 * include/math.h (sqrt): Declare with asm redirect.
20464 (sqrtf): Likewise.
20465 (sqrtl): Likewise.
20466 (sqrtf128): Likewise.
20467 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20468 nonlib and libnldbl with -fmath-errno.
20469 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20470 * math/w_sqrt_template.c: Likewise.
20471 * math/w_sqrtf_compat.c: Likewise.
20472 * math/w_sqrtl_compat.c: Likewise.
20473 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20474 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20475 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20476 complex.h.
20477
20478 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20479
20480 * benchtests/Makefile: Define _ISOMAC.
20481 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20482 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20483 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20484 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20485 * benchtests/bench-timing.h: Define attribute_hidden.
20486
20487 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20488
20489 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20490 mov + lsr.
20491
20492 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20493
20494 [BZ #22963]
20495 * localedata/locales/cs_CZ (mon): Rename to...
20496 (alt_mon): This.
20497 (mon): Import from CLDR (genitive case).
20498
20499 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20500
20501 [BZ #22937]
20502 * localedata/locales/el_CY (abmon): Rename to...
20503 (ab_alt_mon): This.
20504 (abmon): Import from CLDR (abbreviated genitive case).
20505 * localedata/locales/el_GR (abmon): Rename to...
20506 (ab_alt_mon): This.
20507 (abmon): Import from CLDR (abbreviated genitive case).
20508
20509 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20510
20511 [BZ #22932]
20512 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20513
20514 2018-03-15 Robert Buj <robert.buj@gmail.com>
20515
20516 [BZ #22848]
20517 * localedata/locales/ca_ES (abmon): Rename to...
20518 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20519 (mon): Rename to...
20520 (alt_mon): This.
20521 (abmon): Import from CLDR (genitive case, month names preceded by
20522 "de" or "d’").
20523 (mon): Likewise.
20524 (abday): Synchronize with CLDR.
20525 (d_t_fmt): Likewise.
20526 (d_fmt): Likewise.
20527 (am_pm): Likewise.
20528
20529 (LC_TIME): Improve indentation.
20530 (LC_TELEPHONE): Likewise.
20531 (LC_NAME): Likewise.
20532 (LC_ADDRESS): Likewise.
20533
20534 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20535
20536 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20537 (lrintf): Remove definitions used only with old GCC.
20538 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20539 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20540 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20541 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20542 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20543 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20544 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20545 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20546 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20547 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20548 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20549 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20550 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20551 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20552 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20553 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20554 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20555 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20556 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20557 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20558 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20559 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20560 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20561 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20562 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20563 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20564 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20565 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20566
20567 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20568
20569 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20570 instruction to unbreak builds with binutils 2.26 and older.
20571
20572 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20573
20574 * sysdeps/aarch64/strncmp.S (count): New macro.
20575 (strncmp): Store misaligned length in SRC1 in COUNT.
20576 (mutual_align): Adjust.
20577 (misaligned8): Load dword at a time when it is safe.
20578
20579 2018-03-12 Zack Weinberg <zackw@panix.com>
20580
20581 [BZ #1190]
20582 [BZ #19476]
20583 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20584 if the _IO_EOF_SEEN bit is already set; update commentary.
20585 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20586 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20587
20588 * support/support_openpty.c, support/tty.h: New files.
20589 * support/Makefile (libsupport-routines): Add support_openpty.
20590
20591 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20592 New test cases.
20593 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20594 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20595
20596 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20597
20598 * po/pt_BR.po: Update translations.
20599
20600 2018-03-12 David Michael <fedora.dm0@gmail.com>
20601
20602 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20603 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20604 get a port to the startup server.
20605
20606 2018-03-11 Zack Weinberg <zackw@panix.com>
20607
20608 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20609 before nldbl-compat.h.
20610
20611 2018-03-10 Zack Weinberg <zackw@panix.com>
20612
20613 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20614 math.h or math_private.h.
20615
20616 * sysdeps/alpha/fpu/s_isnan.c
20617 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20618 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20619 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20620 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20621 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20622 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20623 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20624 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20625 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20631 Include math_private.h.
20632
20633 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20634 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20635 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20636 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20637 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20638 * sysdeps/powerpc/power7/fpu/s_logb.c:
20639 Include math.h and math_private.h.
20640
20641 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20642 uses of $at in .set noat / .set at.
20643
20644 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20645
20646 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20647 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20648 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20649 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20650 Likewise.
20651
20652 2018-03-09 Florian Weimer <fweimer@redhat.com>
20653
20654 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20655 in comment.
20656
20657 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20658
20659 [BZ #22919]
20660 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20661 Add nop before __startcontext, add explaining comments.
20662
20663 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20664
20665 [BZ #22926]
20666 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20667 empty for __SPE__.
20668 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20669 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20670 Do not build hardware transactional code for __SPE__.
20671 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20672 (__lll_trylock_elision): Likewise.
20673 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20674 (__lll_unlock_elision): Likewise.
20675
20676 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20677 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20678 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20679 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20680 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20681 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20682 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20683 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20684 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20685 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20686 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20687 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20688 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20689 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20690 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20691 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20692 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20693 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20694 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20695 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20696 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20698 (__ASSUME_CLONE_BACKWARDS): Define.
20699 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20700 __clone2 if __NR_clone2 is defined.
20701 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20702 (__ASSUME_CLONE_BACKWARDS): Likewise.
20703 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20704 (__ASSUME_CLONE_BACKWARDS): Likewise.
20705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20706 (__ASSUME_CLONE2): Likewise.
20707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20708 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20709 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20710 variants and the define architecture can use.
20711 (__ASSUME_CLONE_DEFAULT): Define as default.
20712 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20713 (__ASSUME_CLONE_BACKWARDS): Likewise.
20714 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20715 (__ASSUME_CLONE_BACKWARDS): Likewise.
20716 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20717 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20718
20719 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20720
20721 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20722
20723 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20724 time.
20725
20726 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20727 (do_test_limit): Likewise.
20728
20729 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20730 for every implementation.
20731 (do_test): Likewise.
20732
20733 * benchtests/bench-strncmp.c: Convert output to json.
20734
20735 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20736
20737 * io/futimens.c: Add missing start-of-file descriptive comment.
20738 * io/utime.c: Likewise.
20739 * misc/futimesat.c: Likewise.
20740 * misc/utimes.c: Likewise.
20741 * sysdeps/mach/hurd/futimesat.c: Likewise.
20742 * sysdeps/mach/hurd/utimes.c: Likewise.
20743 * sysdeps/posix/utime.c: Likewise.
20744 * sysdeps/posix/utimes.c: Likewise.
20745 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20746 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20747 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20748 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20749
20750 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20751
20752 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20753 hurd_futimes.
20754 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20755 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20756 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20757 (__futimens): Move implementation to...
20758 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20759 utime_tvalue_from_tspec): ... new helper functions.
20760 (hurd_futimens): New function.
20761 * sysdeps/mach/hurd/futimesat.c: New file.
20762 * sysdeps/mach/hurd/utimensat.c: New file.
20763
20764 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20765
20766 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20767 UTIME_OMIT): New macros.
20768 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20769 before reverting to converting time spec to time value and calling
20770 __file_utimes.
20771 * sysdeps/mach/hurd/utime-helper.c: New file.
20772 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20773 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20774 reverting to utime_tvalue_from_tval and __file_utimes.
20775 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20776 (__lutimes): Just call hurd_futimens after lookup.
20777 * sysdeps/mach/hurd/utimes.c: Likewise.
20778
20779 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20780
20781 * bits/sigaction.h: Add include guard.
20782 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20783 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20784 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20785 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20786 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20787 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20788 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20789 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20790 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20791
20792 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20793
20794 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20795 -Wmaybe-uninitialized for -Os.
20796 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20797 this disabling.
20798
20799 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20800
20801 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20802 __INO_T_MATCHES_INO64_T is defined.
20803 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20804 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20805 of definition.
20806 * dirent/alphasort64.c: Likewise.
20807 * dirent/scandir.c: Likewise.
20808 * dirent/scandir64-tail.c: Likewise.
20809 * dirent/scandir64.c: Likewise.
20810 * dirent/scandirat.c: Likewise.
20811 * dirent/scandirat64.c: Likewise.
20812 * dirent/versionsort.c: Likewise.
20813 * dirent/versionsort64.c: Likewise.
20814 * include/dirent.h: Likewise.
20815
20816 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20817 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20818 for socketpair endpoint.
20819 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20820 WRITE_BUFFER_SIZE as buffer size for sending socket.
20821 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20822 issue on system where send is implemented with sendto syscall.
20823 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20824 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20825 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20826 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20827
20828 [BZ #21269]
20829 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20830 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20831 sa_restorer for vDSO case.
20832 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20833
20834 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20835
20836 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20837 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20838 * hurd/hurd/ioctl.h: Include <mach/port.h>
20839 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20840 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20841 <mach/mach_types.h> and <mach/message.h>.
20842 (headers): Move mach/param.h to bits/mach/param.h.
20843 * sysdeps/mach/i386/mach/param.h: Move file to ...
20844 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20845 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20846 of <mach/param.h>.
20847 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20848 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20849 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20850 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20851 trivial, for C++ conformity.
20852 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20853 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20854 Process mig output through $(migheadersed).
20855 * hurd/Makefile (migheadersed): Define variable.
20856 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20857 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20858 headers.
20859 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20860 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20861 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20862 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20863 <bits/types/sigset_t.h>.
20864 [!defined __USE_GNU]: Do not #error out.
20865 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20866 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20867 Include <stddef.h> and <bits/types/sigset_t.h>
20868 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20869 instead of sighandler_t.
20870 * stdlib/errno.h (error_t): Move definition to...
20871 * bits/types/error_t.h: ... new header.
20872 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20873 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20874 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20875 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20876 * hurd/hurd.h: Include <bits/types/error_t.h>
20877 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20878 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20879 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20880 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20881 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20882 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20883 * sysdeps/mach/hurd/futimens.c: New file.
20884
20885 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20886
20887 [BZ #22918]
20888 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20889 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20890 * nscd/gai.c (__nss_hosts_database): Readd definition.
20891 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20892 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20893 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20894
20895 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20896
20897 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20898 (ifunc_one): Likewise.
20899
20900 2018-03-01 DJ Delorie <dj@delorie.com>
20901
20902 [BZ #22342]
20903 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20904 key value.
20905
20906 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20907
20908 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20909 `match_pid' parameter.
20910 (td_ta_thr_iter): Update accordingly.
20911
20912 2018-03-01 Florian Weimer <fweimer@redhat.com>
20913
20914 * nptl/Makefile (install-lib-ldscripts): Remove.
20915 (install): Remove rule.
20916 ($(inst_libdir)/libpthread.so): Likewise.
20917
20918 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20919
20920 [BZ #22896]
20921 * localedata/locales/an_ES: update month and day names,
20922 improve d_fmt, improve postal_fmt, add country_post,
20923 add country_isbn
20924
20925 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20926
20927 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20928 Ukrainian instead of Bulgarian.
20929
20930 2018-03-01 Florian Weimer <fweimer@redhat.com>
20931
20932 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20933 reference.
20934
20935 2018-03-01 Florian Weimer <fweimer@redhat.com>
20936
20937 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20938 * nptl/Makefile (routines): Add pthread_atfork.
20939 (static-only-routines): Set to pthread_atfork.
20940 (libpthread-routines): Remove pthread_atfork.
20941 (libpthread-static-only-routines): Remove.
20942 (install): Update comment.
20943 (libpthread.so): Do not install libpthread_nonshared.a.
20944 (tests): Do not link with libpthread_nonshared.a.
20945 (generated): Remove libpthread_nonshared.a.
20946 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20947 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20948 with libpthread_nonshared.a.
20949
20950 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20951
20952 [BZ #22902]
20953 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20954 (libc_feholdexcept_setroundf128): New macro.
20955 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20956
20957 [BZ #15105]
20958 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20959 libc_hidden_def.
20960 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20961 * include/inttypes.h: New file.
20962
20963 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20964
20965 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20966 -Os in two more places.
20967
20968 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20969
20970 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20971 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20972 be sorted correctly at the moment because of a bug.
20973
20974 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20975
20976 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20977 treat ñ as a primary different character, sync the collation
20978 for Spanish with CLDR.
20979 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20980 * localedata/Makefile: Add new test files.
20981 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20982 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20983 collation order.
20984 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20985 * localedata/am_ET.UTF-8.in: New test file.
20986 * localedata/az_AZ.UTF-8.in: Likewise.
20987 * localedata/be_BY.UTF-8.in: Likewise.
20988 * localedata/ber_DZ.UTF-8.in: Likewise.
20989 * localedata/ber_MA.UTF-8.in: Likewise.
20990 * localedata/bg_BG.UTF-8.in: Likewise.
20991 * localedata/br_FR.UTF-8.in: Likewise.
20992 * localedata/cmn_TW.UTF-8.in: Likewise.
20993 * localedata/crh_UA.UTF-8.in: Likewise.
20994 * localedata/csb_PL.UTF-8.in: Likewise.
20995 * localedata/cv_RU.UTF-8.in: Likewise.
20996 * localedata/cy_GB.UTF-8.in: Likewise.
20997 * localedata/dz_BT.UTF-8.in: Likewise.
20998 * localedata/eo.UTF-8.in: Likewise.
20999 * localedata/es_ES.UTF-8.in: Likewise.
21000 * localedata/fa_IR.UTF-8.in: Likewise.
21001 * localedata/fi_FI.UTF-8.in: Likewise.
21002 * localedata/fil_PH.UTF-8.in: Likewise.
21003 * localedata/fur_IT.UTF-8.in: Likewise.
21004 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
21005 * localedata/ha_NG.UTF-8.in: Likewise.
21006 * localedata/ig_NG.UTF-8.in: Likewise.
21007 * localedata/ik_CA.UTF-8.in: Likewise.
21008 * localedata/kk_KZ.UTF-8.in: Likewise.
21009 * localedata/ku_TR.UTF-8.in: Likewise.
21010 * localedata/ky_KG.UTF-8.in: Likewise.
21011 * localedata/ln_CD.UTF-8.in: Likewise.
21012 * localedata/mi_NZ.UTF-8.in: Likewise.
21013 * localedata/ml_IN.UTF-8.in: Likewise.
21014 * localedata/mn_MN.UTF-8.in: Likewise.
21015 * localedata/mr_IN.UTF-8.in: Likewise.
21016 * localedata/mt_MT.UTF-8.in: Likewise.
21017 * localedata/nb_NO.UTF-8.in: Likewise.
21018 * localedata/om_KE.UTF-8.in: Likewise.
21019 * localedata/os_RU.UTF-8.in: Likewise.
21020 * localedata/ps_AF.UTF-8.in: Likewise.
21021 * localedata/ro_RO.UTF-8.in: Likewise.
21022 * localedata/ru_RU.UTF-8.in: Likewise.
21023 * localedata/sc_IT.UTF-8.in: Likewise.
21024 * localedata/se_NO.UTF-8.in: Likewise.
21025 * localedata/sq_AL.UTF-8.in: Likewise.
21026 * localedata/sv_SE.UTF-8.in: Likewise.
21027 * localedata/szl_PL.UTF-8.in: Likewise.
21028 * localedata/tg_TJ.UTF-8.in: Likewise.
21029 * localedata/tk_TM.UTF-8.in: Likewise.
21030 * localedata/tt_RU.UTF-8.in: Likewise.
21031 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
21032 * localedata/ug_CN.UTF-8.in: Likewise.
21033 * localedata/uz_UZ.UTF-8.in: Likewise.
21034 * localedata/vi_VN.UTF-8.in: Likewise.
21035 * localedata/yi_US.UTF-8.in: Likewise.
21036 * localedata/yo_NG.UTF-8.in: Likewise.
21037 * localedata/zh_CN.UTF-8.in: Likewise.
21038 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
21039 file and fix bugs in the collation.
21040 * localedata/locales/az_AZ: Likewise.
21041 * localedata/locales/be_BY: Likewise.
21042 * localedata/locales/ber_DZ: Likewise.
21043 * localedata/locales/ber_MA: Likewise.
21044 * localedata/locales/bg_BG: Likewise.
21045 * localedata/locales/br_FR: Likewise.
21046 * localedata/locales/br_FR@euro: Likewise.
21047 * localedata/locales/ca_ES: Likewise.
21048 * localedata/locales/cns11643_stroke: Likewise.
21049 * localedata/locales/crh_UA: Likewise.
21050 * localedata/locales/cs_CZ: Likewise.
21051 * localedata/locales/csb_PL: Likewise.
21052 * localedata/locales/cv_RU: Likewise.
21053 * localedata/locales/cy_GB: Likewise.
21054 * localedata/locales/da_DK: Likewise.
21055 * localedata/locales/dz_BT: Likewise.
21056 * localedata/locales/en_CA: Likewise.
21057 * localedata/locales/eo: Likewise.
21058 * localedata/locales/es_CU: Likewise.
21059 * localedata/locales/es_EC: Likewise.
21060 * localedata/locales/es_ES: Likewise.
21061 * localedata/locales/es_US: Likewise.
21062 * localedata/locales/et_EE: Likewise.
21063 * localedata/locales/fa_IR: Likewise.
21064 * localedata/locales/fi_FI: Likewise.
21065 * localedata/locales/fil_PH: Likewise.
21066 * localedata/locales/fur_IT: Likewise.
21067 * localedata/locales/gez_ER@abegede: Likewise.
21068 * localedata/locales/ha_NG: Likewise.
21069 * localedata/locales/hr_HR: Likewise.
21070 * localedata/locales/hsb_DE: Likewise.
21071 * localedata/locales/hu_HU: Likewise.
21072 * localedata/locales/ig_NG: Likewise.
21073 * localedata/locales/ik_CA: Likewise.
21074 * localedata/locales/is_IS: Likewise.
21075 * localedata/locales/iso14651_t1_pinyin: Likewise.
21076 * localedata/locales/kk_KZ: Likewise.
21077 * localedata/locales/ku_TR: Likewise.
21078 * localedata/locales/ky_KG: Likewise.
21079 * localedata/locales/ln_CD: Likewise.
21080 * localedata/locales/lt_LT: Likewise.
21081 * localedata/locales/lv_LV: Likewise.
21082 * localedata/locales/mi_NZ: Likewise.
21083 * localedata/locales/ml_IN: Likewise.
21084 * localedata/locales/mn_MN: Likewise.
21085 * localedata/locales/mr_IN: Likewise.
21086 * localedata/locales/mt_MT: Likewise.
21087 * localedata/locales/nb_NO: Likewise.
21088 * localedata/locales/om_KE: Likewise.
21089 * localedata/locales/os_RU: Likewise.
21090 * localedata/locales/pl_PL: Likewise.
21091 * localedata/locales/ps_AF: Likewise.
21092 * localedata/locales/ro_RO: Likewise.
21093 * localedata/locales/ru_RU: Likewise.
21094 * localedata/locales/ru_UA: Likewise.
21095 * localedata/locales/sc_IT: Likewise.
21096 * localedata/locales/se_NO: Likewise.
21097 * localedata/locales/si_LK: Likewise.
21098 * localedata/locales/sq_AL: Likewise.
21099 * localedata/locales/sv_FI: Likewise.
21100 * localedata/locales/sv_FI@euro: Likewise.
21101 * localedata/locales/sv_SE: Likewise.
21102 * localedata/locales/szl_PL: Likewise.
21103 * localedata/locales/tg_TJ: Likewise.
21104 * localedata/locales/ti_ER: Likewise.
21105 * localedata/locales/tk_TM: Likewise.
21106 * localedata/locales/tl_PH: Likewise.
21107 * localedata/locales/tr_TR: Likewise.
21108 * localedata/locales/tt_RU: Likewise.
21109 * localedata/locales/tt_RU@iqtelif: Likewise.
21110 * localedata/locales/ug_CN: Likewise.
21111 * localedata/locales/uk_UA: Likewise.
21112 * localedata/locales/uz_UZ: Likewise.
21113 * localedata/locales/uz_UZ@cyrillic: Likewise.
21114 * localedata/locales/vi_VN: Likewise.
21115 * localedata/locales/yi_US: Likewise.
21116 * localedata/locales/yo_NG: Likewise.
21117
21118 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21119
21120 * gen-locales.mk: Make test files which contain @ modifiers in their
21121 name work.
21122 * localedata/gen-locale.sh: Likewise.
21123
21124 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21125
21126 * posix/tst-fnmatch.input: Fix results for range expressions
21127 for non C locales.
21128 * posix/tst-regexloc.c: Do not use a range expression for
21129 de_DE.ISO-8859-1 locale.
21130
21131 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21132
21133 * posix/bug-regex5.c: Fix test case because with the new
21134 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21135 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21136 file.
21137
21138 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21139
21140 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21141 downloaded from ISO, the collation order of @-. and space has changed.
21142 Therefore, this test file needed to be adapted.
21143 * localedata/fr_CA.UTF-8.in: Likewise.
21144 * localedata/fr_FR.UTF-8.in: Likewise.
21145 * localedata/uk_UA.UTF-8.in: Likewise.
21146
21147 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21148
21149 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21150 order of ȥ in the new iso14651_t1_common file.
21151 * localedata/pl_PL.UTF-8.in: Likewise.
21152
21153 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21154
21155 * localedata/locales/iso14651_t1_common: Add sections for various
21156 scripts to the iso14651_t1_common file.
21157
21158 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21159
21160 * localedata/locales/iso14651_t1_common: Use the code point of a
21161 character in the fourth collation level instead of IGNORE for all
21162 entries which have IGNORE on all 4 levels.
21163
21164 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21165
21166 * localedata/locales/iso14651_t1_common: Add some convenient collation
21167 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21168 rules similar to those in CLDR.
21169
21170 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21171
21172 * localedata/locales/iso14651_t1_common: The new version of this
21173 file downloaded from ISO contained several syntax errors which
21174 are fixed by this patch.
21175
21176 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21177
21178 * localedata/locales/iso14651_t1_common: replace all <U.....>
21179 with <U000.....> because glibc understands only 4 digit or 8 digit
21180
21181 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21182
21183 * localedata/locales/iso14651_t1_common: Necessary changes
21184 to make the file downloaded from ISO usable by glibc.
21185
21186 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21187
21188 [BZ #14095]
21189 * localedata/locales/iso14651_t1_common: Update file to
21190 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21191
21192 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21193
21194 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21195 of <nptl/pthreadP.h>
21196 (thread_attr_compare): Move function to...
21197 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
21198 * sysdeps/nptl/timer_routines.h: ... new header.
21199 * sysdeps/mach/hurd/gai_misc.h: New file.
21200
21201 2018-02-26 Joseph Myers <joseph@codesourcery.com>
21202
21203 * string/strcoll_l.c: Include <libc-diag.h>.
21204 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21205 declarations of seq1 and seq2.
21206
21207 [BZ #15105]
21208 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21209 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21210
21211 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21212
21213 [BZ #22433]
21214 [BZ #22807]
21215 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21216 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21217 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21218 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21219 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21220 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21221
21222 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21223
21224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21225 macros used in __ptrace_request.
21226
21227 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21228
21229 [BZ #22792]
21230 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21231 to $(CC).
21232 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21233 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21234 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21235 <tcb-offsets.h>.
21236
21237 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21238
21239 [BZ #15105]
21240 * ctype/ctype.c (tolower): Use libc_hidden_def.
21241 (toupper): Likewise.
21242 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21243 [!_ISOMAC] (toupper): Likewise.
21244
21245 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21246
21247 * localedata/Makefile: Remove --quiet argument when
21248 installing locales
21249
21250 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21251
21252 [BZ #17438]
21253 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21254 in d_fmt.
21255 * localedata/locales/pt_PT (LC_TIME): likewise
21256
21257 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21258
21259 [BZ #22646]
21260 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21261 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21262 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21263
21264 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21265
21266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21267
21268 * nptl/Makefile (routines): Remove unregister-atfork.
21269 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21270 (fork_handler_alloc): Remove function.
21271 (fork_handlers, fork_handler_init): New variables.
21272 (__fork_lock): Rename to atfork_lock.
21273 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21274 to use a dynamic array to add/remove atfork handlers.
21275 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21276 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21277 Remove declaration.
21278 (fork_handler): Remove next, refcntr, and need_signal member.
21279 (__run_fork_handler_type): New enum.
21280 (__run_fork_handlers): New prototype.
21281 * nptl/register-atfork.c: Remove file.
21282 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21283
21284 * sysdeps/nptl/nptl-signals.h: Move to ...
21285 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21286 comments.
21287 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21288 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21289 unnecessary check for SIGTIMER.
21290 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21291 remove unnecessary removal of SIGTIMER.
21292 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21293 include-signals.h rename.
21294 * nptl/pthreadP.h: Likewise.
21295 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21296 __is_internal_signal instead of __nptl_is_internal_signal.
21297
21298 2018-02-22 Andrew Waterman <andrew@sifive.com>
21299
21300 [BZ # 22884]
21301 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21302 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21303 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21304 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21305
21306 2018-02-22 DJ Delorie <dj@delorie.com>
21307
21308 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21309
21310 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21311
21312 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21313 do_misaligned, not misaligned8.
21314
21315 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21316
21317 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21318 Add memcpy_thunderx2.
21319 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21320 Increment to 4.
21321 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21322 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21323 and IS_THUNDERX2PA checks.
21324 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21325 Use macro to set name appropriately.
21326 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21327 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21328 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21329 New macro.
21330 (IS_THUNDERX2): New macro.
21331
21332 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21333
21334 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21335
21336 2018-02-21 Zack Weinberg <zackw@panix.com>
21337
21338 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21339 Define here, unconditionally.
21340 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21341 * libio/libioP.h: Remove #if 0 blocks.
21342 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21343 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21344 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21345
21346 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21347 Assume weak_alias is always defined.
21348
21349 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21350 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21351 Remove #if 0 and #ifdef TODO blocks.
21352 Assume text_set_element is always defined.
21353
21354 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21355 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21356 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21357
21358 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21359 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21360 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21361 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21362 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21363 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21364 Reformat bit flags for _flags field to make occupancy clearer.
21365 Update commentary.
21366 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21367 Keep definitions consistent with those in libio/libio.h.
21368
21369 * libio/libio.h (_IO_file_flags): Remove macro.
21370 All uses changed to _flags.
21371
21372 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21373 (__HAVE_COLUMN, _IO_BE): Don't define.
21374 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21375 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21376 * libio/libioP.h (EOF): Don't define.
21377 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21378 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21379 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21380 testing _IO_UNIFIED_JUMPTABLES.
21381
21382 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21383 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21384 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21385 (_IO_size_t): Delete; all uses changed to size_t.
21386 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21387 (_IO_off_t): Delete; all uses changed to off_t.
21388 (_IO_off64_t): Delete; all uses changed to off64_t.
21389 (_IO_pid_t): Delete; all uses changed to pid_t.
21390 (_IO_uid_t): Delete; all uses changed to uid_t.
21391 (_IO_wint_t): Delete; all uses changed to wint_t.
21392 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21393 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21394 (_IO_cookie_io_functions_t): Delete; all uses changed to
21395 cookie_io_functions_t.
21396 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21397 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21398 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21399 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21400
21401 * libio/iofopncook.c: Remove unnecessary forward declarations.
21402 * libio/iolibio.h: Correct outdated commentary.
21403 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21404 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21405 Remove unnecessary casts.
21406 * stdio-common/getline.c: Use _IO_getdelim directly.
21407 Don't redefine ssize_t.
21408 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21409 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21410 Remove outdated comments.
21411 * stdio-common/vfscanf.c: Don't redefine va_list.
21412
21413 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21414 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21415 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21416 which are always true, and __cplusplus, which is always false.
21417
21418 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21419
21420 [BZ #15105]
21421 [BZ #19463]
21422 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21423 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21424 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21425 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21426 libc_hidden_proto.
21427 [!_ISOMAC] (putc_unlocked): Likewise.
21428 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21429 define inline if [__USE_EXTERN_INLINES].
21430 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21431 putc_unlocked.
21432
21433 [BZ #15105]
21434 [BZ #19463]
21435 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21436 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21437 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21438 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21439 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21440 getc_unlocked.
21441 * time/tzfile.c (__tzfile_read): Likewise.
21442
21443 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21444
21445 [BZ #22517]
21446 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21447
21448 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21449
21450 * io/fcntl.h: Fix a typo in a comment.
21451
21452 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21453
21454 [BZ #22862]
21455 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21456 define _DEFAULT_SOURCE.
21457 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21458
21459 2018-02-21 Florian Weimer <fweimer@redhat.com>
21460
21461 [BZ #20890]
21462 * elf/cache.c (save_cache): Call fsync on temporary file before
21463 renaming it.
21464 (save_aux_cache): Call fdatasync on temporary file before renaming
21465 it.
21466
21467 2018-02-21 Florian Weimer <fweimer@redhat.com>
21468
21469 [BZ #22787]
21470 * include/caller.h: Remove file.
21471 * elf/dl-caller.c: Likewise.
21472 * elf/Makefile (dl-routines): Remove dl-caller.
21473 (shared-only-routines): Do not add dl-caller.
21474 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21475 __check_caller.
21476 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21477 member.
21478 (dl_open_worker): Do not call __check_caller.
21479 (_dl_open): Do not set caller_dl_open member.
21480 * elf/rtld.c (_rtld_global_ro): Do not initialize
21481 _dl_check_caller member.
21482 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21483 _dl_check_caller member.
21484 (_dl_check_caller): Remove declaration.
21485 * sysdeps/unix/sysv/linux/dl-execstack.c
21486 (_dl_make_stack_executable): Do not call __check_caller.
21487
21488 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21489
21490 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21491 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21492
21493 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21494
21495 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21496 description.
21497
21498 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21499
21500 [BZ #16335]
21501 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21502 of 199606L, 200112L, and 200809L.
21503 (_XOPEN_SOURCE): Document special values of 600 and 700.
21504 (_ISOC11_SOURCE): Document macro.
21505 (_ATFILE_SOURCE): Likewise.
21506 (_FORTIFY_SOURCE): Likewise.
21507
21508 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21509
21510 [BZ #15105]
21511 [BZ #19463]
21512 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21513 and define as weak alias of __ferror_unlocked. Use
21514 libc_hidden_weak.
21515 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21516 libc_hidden_proto.
21517 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21518 function if [__USE_EXTERN_INLINES].
21519 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21520 ferror_unlocked.
21521
21522 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21523
21524 [BZ #6889]
21525 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21526
21527 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21528
21529 [BZ #22818]
21530 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21531 the GLIBC_2.1 version.
21532
21533 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21534
21535 [BZ #21508]
21536 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21537 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21538 intl/tst-gettext-de.po from po/de.po by removing the
21539 POT-Creation-Date line.
21540 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21541 ../po/de.po.
21542 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21543 ../po/de.po.
21544
21545 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21546
21547 * mach/Makefile (headers): Add mach/param.h.
21548 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21549 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21550 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21551 (__ptsname_r): Move implementation to...
21552 (__ptsname_internal): ... new function. Add filling the STP
21553 structure.
21554
21555 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21556
21557 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21558 idouble to 1 ULP.
21559
21560 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21561
21562 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21563 syntax.
21564
21565 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21566
21567 * nptl/Makefile (tst-mutex8-ENV): Delete.
21568 * nptl/tst-mutex8.c (check_type):
21569 Add runtime check if mutex will be elided.
21570
21571 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21572
21573 [BZ #20980]
21574 [BZ #21234]
21575 * manual/install.texi (Configuring and compiling): Describe
21576 passing CC and CFLAGS on configure command line, not as
21577 environment variables. Use @code markup on those variables.
21578 Specify what options go in CC and what go in CFLAGS. Note the
21579 requirement to compile with optimization.
21580 * INSTALL: Regenerated.
21581
21582 [BZ #18124]
21583 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21584 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21585 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21586 __sigprocmask instead of sigprocmask.
21587 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21588 Likewise.
21589 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21590 __sigsetjmp and sigprocmask.
21591
21592 [BZ #15105]
21593 * include/argz.h (argz_next): Use libc_hidden_proto.
21594 (__argz_next): Likewise.
21595 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21596 (argz_next): Use libc_hidden_weak.
21597
21598 [BZ #15105]
21599 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21600 libc_hidden_proto.
21601 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21602 libc_hidden_def.
21603
21604 [BZ #15105]
21605 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21606 libc_hidden_proto.
21607 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21608
21609 [BZ #15105]
21610 [BZ #19463]
21611 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21612 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21613 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21614 (__feof_unlocked): New declaration, and inline function if
21615 [__USE_EXTERN_INLINES].
21616 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21617 instead of feof_unlocked.
21618 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21619 * nss/nsswitch.c (nss_parse_file): Likewise.
21620 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21621 Likewise.
21622 * time/getdate.c (__getdate_r): Likewise.
21623 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21624 Define as macro to call __feof_unlocked.
21625
21626 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21627
21628 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21629
21630 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21631
21632 * math/Makefile: Remove mpexp.c and mplog.c
21633 * sysdeps/i386/fpu/mpexp.c: Delete file.
21634 * sysdeps/i386/fpu/mplog.c: Likewise.
21635 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21636 * sysdeps/ia64/fpu/mplog.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21638 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21639 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21640 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21641 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21642 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21643 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21644 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21645 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21646 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21647 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21648 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21649 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21650 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21651 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21652 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21653
21654 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21655
21656 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21657
21658 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21659
21660 * sysdeps/sh/libm-test-ulps: Update.
21661
21662 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21663
21664 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21665 idouble to 1 ULP.
21666
21667 2018-02-12 Zack Weinberg <zackw@panix.com>
21668
21669 [BZ #19239]
21670 * posix/sys/types.h: Don't include sys/sysmacros.h.
21671 * misc/sys/sysmacros.h: Remove the conditional deprecation
21672 warnings for the macros defined by this header.
21673
21674 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21675
21676 * manual/probes.texi: Remove slowexp probes.
21677 * math/Makefile: Remove slowexp.
21678 * sysdeps/generic/math_private.h (__slowexp): Remove.
21679 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21680 document error bounds.
21681 * sysdeps/i386/fpu/slowexp.c: Remove.
21682 * sysdeps/ia64/fpu/slowexp.c: Remove.
21683 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21684 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21685 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21686 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21687 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21688 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21690 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21691 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21692 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21693 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21694
21695 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21696
21697 [BZ #13932]
21698 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21699 * benchtests/pow-inputs: Update comment for slow path cases.
21700 * manual/probes.texi (slowpow_p10): Delete removed probe.
21701 (slowpow_p10): Likewise.
21702 * math/Makefile: Remove halfulp.c and slowpow.c.
21703 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21704 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21705 (__halfulp): Remove.
21706 (__slowpow): Remove.
21707 * sysdeps/i386/fpu/halfulp.c: Delete file.
21708 * sysdeps/i386/fpu/slowpow.c: Likewise.
21709 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21710 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21712 improve comments and add error analysis.
21713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21714 (power1): Remove function:
21715 (log1): Remove error argument, add error analysis.
21716 (my_log2): Remove function.
21717 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21719 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21720 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21721 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21722 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21723 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21724 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21725 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21726 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21727 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21728 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21729 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21731
21732 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21733
21734 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21735 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21736
21737 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21738
21739 [BZ #22433]
21740 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21741 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21742 and PTRACE_SETHBPREGS.
21743
21744 2018-02-10 Zack Weinberg <zackw@panix.com>
21745
21746 [BZ #22830]
21747 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21748 correctly.
21749 * malloc/tst-malloc-stats-cancellation.c: New test case.
21750 * malloc/Makefile: Add new test case.
21751
21752 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21753
21754 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21755
21756 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21757
21758 * math/Makefile (libm-narrow-fns): Add add.
21759 (libm-test-funcs-narrow): Likewise.
21760 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21761 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21762 * math/gen-auto-libm-tests.c (test_functions): Add add.
21763 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21764 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21765 (NARROW_ADD_TRIVIAL): Likewise.
21766 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21767 macro.
21768 (__daddl): Likewise.
21769 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21770 dadd.
21771 (CFLAGS-nldbl-dadd.c): New variable.
21772 (CFLAGS-nldbl-fadd.c): Likewise.
21773 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21774 __nldbl_daddl.
21775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21776 prototype.
21777 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21778 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21779 * math/auto-libm-test-in: Add tests of add.
21780 * math/auto-libm-test-out-narrow-add: New generated file.
21781 * math/libm-test-narrow-add.inc: New file.
21782 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21785 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21786 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21787 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21796 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21797 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21798 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21799 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21801 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21802 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21803 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21805 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21806 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21807 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21808 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21809 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21810 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21811 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21812 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21813 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21818 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21819 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21820 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21821 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21822 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21823 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21824 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21825 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21827 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21828
21829 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21830 (f128-pairs): New variable.
21831 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21832 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21833 to CFLAGS.
21834 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21835 Also make tests add $(f128-loader-link) to gnulib-tests.
21836
21837 2018-02-09 DJ Delorie <dj@redhat.com>
21838
21839 [BZ #22827]
21840 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21841 64-bit ELF type for 64-bit ELF objects.
21842
21843 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21844
21845 * math/libm-test-driver.c (snan_tests_arg): New variable.
21846 * math/libm-test-support.h (snan_tests_arg): New declaration.
21847 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21848
21849 * math/Makefile (test-type-pairs): New variable.
21850 (test-type-pairs-f64xf128-yes): Likewise.
21851 (tests): Add test-narrow-macros.
21852 (libm-test-funcs-narrow): New variable.
21853 (libm-test-c-narrow): Likewise.
21854 (generated): Add $(libm-test-c-narrow).
21855 (libm-tests-base-narrow): New variable.
21856 (libm-tests-narrow): Likewise.
21857 (libm-tests): Add $(libm-tests-narrow).
21858 (libm-tests-for-type): Handle $(libm-tests-narrow).
21859 (libm-test-c-narrow-obj): New variable.
21860 ($(libm-test-c-narrow-obj)): New rule.
21861 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21862 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21863 $(o-iterator) to set dependencies and CFLAGS.
21864 * math/gen-auto-libm-tests.c: Document use for narrowing
21865 functions.
21866 (output_for_one_input_case): Take argument NARROW.
21867 (generate_output): Likewise. Update call to
21868 output_for_one_input_case.
21869 (main): Take --narrow option. Update call to generate_output.
21870 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21871 (apply_lit): Update call to _apply_lit.
21872 (apply_arglit): New function.
21873 (parse_args): Handle "a" arguments.
21874 (parse_auto_input): Handle format names using ":".
21875 * math/README.libm-test: Document "a" parameter type.
21876 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21877 (ARG_TYPE_TRUE_MIN): Likewise.
21878 (ARG_TYPE_MAX): Likwise.
21879 (ARG_MIN_EXP): Likewise.
21880 (ARG_MAX_EXP): Likewise.
21881 (ARG_MANT_DIG): Likewise.
21882 (TEST_COND_arg_ibm128): Likewise.
21883 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21884 (TEST_COND_arg_fmt): New macro.
21885 (init_max_error): Update prototype.
21886 * math/libm-test-support.c (test_ibm128): New variable.
21887 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21888 instead of using [TEST_COND_ibm128] conditional.
21889 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21890 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21891 [TEST_NARROW] (TEST_MSG): New definition.
21892 (arg_plus_zero): New macro.
21893 (arg_minus_zero): Likewise.
21894 (arg_plus_infty): Likewise.
21895 (arg_minus_infty): Likewise.
21896 (arg_qnan_value_pl): Likewise.
21897 (arg_qnan_value): Likewise.
21898 (arg_snan_value_pl): Likewise.
21899 (arg_snan_value): Likewise.
21900 (arg_max_value): Likewise.
21901 (arg_min_value): Likewise.
21902 (arg_min_subnorm_value): Likewise.
21903 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21904 (RUN_TEST_LOOP_aa_f): New macro.
21905 (TEST_SUFF): New macro.
21906 (TEST_SUFF_STR): Likewise.
21907 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21908 (TEST_COND_any_ibm128): New macro.
21909 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21910 this_func. Update call to init_max_error.
21911 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21912 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21913 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21914 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21915 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21916 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21917 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21918 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21919 * math/test-math-vector.h (TEST_NARROW): Likewise.
21920 * math/test-arg-double.h: New file.
21921 * math/test-arg-float128.h: Likewise.
21922 * math/test-arg-float32x.h: Likewise.
21923 * math/test-arg-float64.h: Likewise.
21924 * math/test-arg-float64x.h: Likewise.
21925 * math/test-arg-ldouble.h: Likewise.
21926 * math/test-math-narrow.h: Likewise.
21927 * math/test-narrow-macros.c: Likewise.
21928 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21929 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21930 test-narrow-macros-ldbl-64.
21931 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21932
21933 * math/bits/mathcalls-narrow.h: New file.
21934 * include/bits/mathcalls-narrow.h: Likewise.
21935 * math/math-narrow.h: Likewise.
21936 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21937 (__MATHCALL_NARROW_ARGS_2): Likewise.
21938 (__MATHCALL_NARROW_ARGS_3): Likewise.
21939 (__MATHCALL_NARROW_NORMAL): Likewise.
21940 (__MATHCALL_NARROW_REDIR): Likewise.
21941 (__MATHCALL_NARROW): Likewise.
21942 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21943 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21944 defined.
21945 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21946 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21947 (libm-narrow-fns): New variable.
21948 (libm-narrow-types-basic): Likewise.
21949 (libm-narrow-types-ldouble-yes): Likewise.
21950 (libm-narrow-types-float128-yes): Likewise.
21951 (libm-narrow-types-float128-alias-yes): Likewise.
21952 (libm-narrow-types): Likewise.
21953 (libm-routines): Add narrowing functions.
21954 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21955 (libc_feholdexcept_setroundf128): New macro.
21956 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21957 * sysdeps/ieee754/float128/float128_private.h: Include
21958 <math/math-narrow.h>.
21959 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21960 Undefine and redefine.
21961 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21962 (libm_alias_float_ldouble): Undefine and redefine.
21963 (libm_alias_double_ldouble): Likewise.
21964
21965 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21966
21967 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21968
21969 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21970 FPCR/FPSR.
21971
21972 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21973
21974 * manual/creature.texi: Convert references to gcc.info to gcc.
21975 * manual/stdio.texi: Likewise.
21976 * manual/string.texi: Likewise.
21977
21978 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21979
21980 [BZ #17979]
21981 * posix/bits/types.h (__int_least8_t): New typedef.
21982 (__uint_least8_t): Likewise.
21983 (__int_least16_t): Likewise.
21984 (__uint_least16_t): Likewise.
21985 (__int_least32_t): Likewise.
21986 (__uint_least32_t): Likewise.
21987 (__int_least64_t): Likewise.
21988 (__uint_least64_t): Likewise.
21989 * sysdeps/generic/stdint.h (int_least8_t): Define using
21990 __int_least8_t.
21991 (int_least16_t): Define using __int_least16_t.
21992 (int_least32_t): Define using __int_least32_t.
21993 (int_least64_t): Define using __int_least64_t.
21994 (uint_least8_t): Define using __uint_least8_t.
21995 (uint_least16_t): Define using __uint_least16_t.
21996 (uint_least32_t): Define using __uint_least32_t.
21997 (uint_least64_t): Define using __uint_least64_t.
21998 * wcsmbs/uchar.h: Include <bits/types.h>.
21999 (char16_t): Define using __uint_least16_t conditional only on
22000 [!__USE_ISOCXX11].
22001 (char32_t): Define using __uint_least32_t conditional only on
22002 [!__USE_ISOCXX11].
22003 * wcsmbs/test-char-types.c: New file.
22004 * wcsmbs/Makefile (tests): Add test-char-types.
22005
22006 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
22007 version to 4.0.1.
22008
22009 2018-02-07 Zack Weinberg <zackw@panix.com>
22010
22011 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
22012 Delete all contents except for definitions of _G_HAVE_MMAP and
22013 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
22014 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
22015 sysdeps/unix/sysv/linux/_G_config.h. Make same content
22016 change as above.
22017
22018 * libio/libio.h: Don't include bits/_G_config.h here.
22019 Include stddef.h with __need_wchar_t defined. Include
22020 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
22021 Define _IO_iconv_t here, directly.
22022 Don't define _IO_HAVE_ST_BLKSIZE.
22023 * libio/libioP.h: Include _G_config.h here. Move include of
22024 shlib-compat.h up with rest of includes. Simplify conditionals
22025 controlling definition of _IO_JUMPS_OFFSET.
22026
22027 * csu/init.c: Remove always-true #if around entire file.
22028 Don't include stdio.h. Set _IO_stdin_used to hardwired
22029 constant 0x20001, and update commentary.
22030 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
22031 Replace all uses of _G_va_list with __gnuc_va_list.
22032 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
22033 instead of #if _IO_HAVE_ST_BLKSIZE.
22034 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
22035 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
22036 not #ifdef.
22037
22038 * libio/bits/libio.h: Move back to libio/libio.h and adjust
22039 multiple-include guard to match.
22040 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
22041 into this file.
22042 Remove preprocessor conditionals that are always true and/or
22043 redundant to other preprocessor conditionals in the same nest.
22044 Include shlib-compat.h unconditionally.
22045 Error out if _LIBC is not defined, or if _ISOMAC is defined,
22046 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
22047 defined after including stdio.h.
22048 Use __BEGIN_DECLS/__END_DECLS.
22049
22050 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
22051 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
22052 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
22053
22054 2018-02-07 Zack Weinberg <zackw@panix.com>
22055
22056 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
22057 New single-type headers split from _G_config.h.
22058 * libio/bits/types/cookie_io_functions_t.h
22059 * libio/bits/types/struct_FILE.h
22060 New single-type headers split from libio.h.
22061
22062 * libio/Makefile: Install the above new headers. Don't install
22063 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
22064 bits/libio-ldbl.h.
22065 * libio/_G_config.h, libio/libio.h: Delete file.
22066
22067 * libio/bits/libio.h: Remove improper-inclusion guard.
22068 Include stdio.h and don't repeat anything that it does.
22069 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
22070 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
22071 __io_read_fn as cookie_read_function_t,
22072 __io_write_fn as cookie_write_function_t,
22073 __io_seek_fn as cookie_seek_function_t,
22074 __io_close_fn as cookie_close_function_t,
22075 and _IO_cookie_io_functions_t as cookie_io_functions_t.
22076 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
22077 here, in the "compatibility defines" section. Remove an #if 0
22078 block. Use the "body" macros from bits/types/struct_FILE.h to
22079 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
22080 and _IO_ferror_unlocked.
22081 Move prototypes of __uflow and __overflow...
22082
22083 * libio/stdio.h: ...here. Don't include bits/libio.h.
22084 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
22085 directly from stdarg.h. Include bits/types/__fpos_t.h,
22086 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
22087 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
22088 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
22089 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
22090 cookie_io_functions_t, not _IO_cookie_io_functions_t;
22091 __ssize_t, not _IO_ssize_t. Unconditionally define
22092 BUFSIZ as 8192 and EOF as (-1).
22093
22094 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
22095 macros from bits/types/struct_FILE.h instead of _IO_* macros
22096 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
22097 instead of _IO_ssize_t.
22098 * libio/bits/stdio2.h: Similarly.
22099
22100 * libio/iolibio.h: Add multiple-include guard.
22101 Include bits/libio.h after stdio.h.
22102 * libio/libioP.h: Add multiple-include guard.
22103 Include stdio.h and bits/libio.h before iolibio.h.
22104
22105 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
22106 * include/bits/types/cookie_io_functions_t.h
22107 * include/bits/types/struct_FILE.h: New wrappers.
22108
22109 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
22110 Get definitions of _G_fpos_t and _G_fpos64_t from
22111 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22112 respectively. Remove improper-inclusion guards.
22113
22114 * conform/data/stdio.h-data: Update expectations of va_list.
22115 * scripts/check-installed-headers.sh: Remove special case for
22116 libio.h and _G_config.h.
22117
22118 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22119
22120 [BZ #15105]
22121 [BZ #19463]
22122 * include/sys/sysmacros.h [!_ISOMAC]
22123 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22124 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22125 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22126 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22127 libc_hidden_proto.
22128 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22129 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22130 Likewise.
22131 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22132 Undefine and redefine to add use __gnu_dev_ prefix.
22133 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22134 Likewise.
22135 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22136 and define as hidden inline function.
22137 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22138 Likewise.
22139 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22140 Likewise.
22141 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22142 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22143 (gnu_dev_minor): Likewise.
22144 (gnu_dev_makedev): Likewise.
22145 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22146 makedev.
22147 * posix/wordexp.c (exec_comm_child): Likewise.
22148 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22149 instead of minor and __gnu_dev_major instead of major.
22150 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22151 __gnu_dev_major instead of major.
22152 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22153 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22154 instead of gnu_dev_minor.
22155 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22156 (SLAVE_P): Likewise.
22157 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22158 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22159 instead of major.
22160
22161 [BZ #21313]
22162 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22163 in another place.
22164 * locale/weightwc.h (findidx): Likewise.
22165
22166 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22167
22168 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22169 (slowlog_inexact): Likewise
22170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22171 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22172
22173 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22174
22175 [BZ #22797]
22176 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22177 missing second underscore to parameter name.
22178
22179 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22180
22181 [BZ #14508]
22182 [BZ #15512]
22183 [BZ #17082]
22184 [BZ #20530]
22185 * bits/byteswap.h: Update file comment. Do not include
22186 <bits/byteswap-16.h>.
22187 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22188 constant.
22189 (__bswap_16): Define as inline function.
22190 (__bswap_constant_32): Reformat definition.
22191 (__bswap_32): Always define as inline function, not macro, using
22192 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22193 otherwise __bswap_constant_32.
22194 (__bswap_constant_64): Reformat definition. Do not use
22195 __extension__ here.
22196 (__bswap_64): Always define as inline function, not macro. Use
22197 __extension__ on function definition. Use __builtin_bswap64 if
22198 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22199 * string/test-endian-file-scope.c: New file.
22200 * string/test-endian-sign-conversion.c: Likewise.
22201 * string/Makefile (headers): Remove bits/byteswap-16.h.
22202 (tests): Add test-endian-file-scope and
22203 test-endian-sign-conversion.
22204 (CFLAGS-test-endian-sign-conversion.c): New variable.
22205 * bits/byteswap-16.h: Remove file.
22206 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22207 * sysdeps/ia64/bits/byteswap.h: Likewise.
22208 * sysdeps/m68k/bits/byteswap.h: Likewise.
22209 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22210 * sysdeps/s390/bits/byteswap.h: Likewise.
22211 * sysdeps/tile/bits/byteswap.h: Likewise.
22212 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22213 * sysdeps/x86/bits/byteswap.h: Likewise.
22214
22215 [BZ #17721]
22216 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22217 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22218 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22219 199901L] (__restrict): Define to restrict.
22220
22221 [BZ #19667]
22222 * string/testcopy.c: Include <support/support.h>. Do not include
22223 <malloc.h>. Use <support/test-driver.c>.
22224 (main): Rename to do_test. Make static. Use xmalloc instead of
22225 malloc.
22226
22227 [BZ #13575]
22228 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22229 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22230 (SSIZE_MAX): Define to INT_MAX.
22231 * posix/test-ssize-max.c: New file.
22232 * posix/Makefile (tests): Add test-ssize-max.
22233
22234 [BZ #19668]
22235 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22236 <support/support.h>. Do not include <malloc.h>.
22237 (query_auxv): Use xmalloc instead of malloc.
22238
22239 [BZ #14553]
22240 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22241 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22242 instead of loff_t.
22243
22244 2018-02-06 Florian Weimer <fweimer@redhat.com>
22245
22246 [BZ #18023]
22247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22248 Use scratch_buffer instead of extend_alloca.
22249
22250 2018-02-06 Zack Weinberg <zackw@panix.com>
22251
22252 * libio/stdio.h: Don't define getc or putc as macros.
22253 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22254 not _IO_getc and _IO_putc.
22255
22256 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22257 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22258
22259 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22260
22261 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22262 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22263
22264 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22265
22266 [BZ #14890]
22267 * elf/elf.h (NT_PRFPREG): New macro.
22268 (NT_S390_VXRS_LOW): Likewise.
22269 (NT_S390_VXRS_HIGH): Likewise.
22270 (NT_S390_GS_CB): Likewise.
22271 (NT_S390_GS_BC): Likewise.
22272 (NT_S390_RI_CB): Likewise.
22273
22274 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22275 (MAP_SYNC): New macro.
22276 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22277 Likewise.
22278 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22279 (MAP_SYNC): Likewise.
22280 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22281 (MAP_SYNC): Likewise.
22282 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22283 (MAP_SYNC): Likewise.
22284 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22285 (MAP_SYNC): Likewise.
22286 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22287 (MAP_SYNC): Likewise.
22288 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22289 (MAP_SYNC): Likewise.
22290 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22291 Likewise.
22292 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22293 Likewise.
22294
22295 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22296 (MAP_SHARED_VALIDATE): New macro.
22297 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22298 (MAP_SHARED_VALIDATE): Likewise.
22299
22300 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22301
22302 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22303 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22304 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22305
22306 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22307
22308 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22309 (DT_NUM): Updated to 35.
22310
22311 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22314 __builtin_expect with __glibc_likely and __glibc_unlikely.
22315 (elf_machine_rela): Likewise.
22316 (elf_machine_lazy_rel): Likewise.
22317
22318 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22319
22320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22321 __builtin_expect with __glibc_likely and __glibc_unlikely.
22322 (elf_machine_lazy_rel): Likewise.
22323
22324 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22325
22326 [BZ #22638]
22327 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22328 SHARED.
22329 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22330
22331 2018-02-05 Andreas Schwab <schwab@suse.de>
22332
22333 [BZ #22761]
22334 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22335 string.
22336
22337 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22338
22339 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22340 not check against PTHREAD_STACK_MIN.
22341
22342 2018-02-02 Sean McKean <smckean83@gmail.com>
22343
22344 [BZ #22735]
22345 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22346
22347 2018-02-02 Florian Weimer <fweimer@redhat.com>
22348
22349 [BZ #22753]
22350 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22351 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22352 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22353 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22354 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22355 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22356 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22357 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22358 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22359 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22360 * misc/tst-preadvwritev2.c (do_test): Call it.
22361 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22362
22363 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22364
22365 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22366
22367 * benchtests/bench-memcmp.c: Print json instead of plain text.
22368
22369 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22370 every test run.
22371
22372 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22373
22374 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22375 version to 4.15.
22376 (s390_sthyi): New syscall.
22377
22378 * sysdeps/generic/ldbl-classify-compat.h: New file.
22379 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22380 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22381 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22382 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22383 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22384 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22385 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22386 <ldbl-classify-compat.h>.
22387 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22388 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22389 <ldbl-classify-compat.h>.
22390 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22391 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22392 <ldbl-classify-compat.h>.
22393 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22395 <ldbl-classify-compat.h>.
22396 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22398 <ldbl-classify-compat.h>.
22399 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22401 <ldbl-classify-compat.h>.
22402 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22403 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22404 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22405 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22406 * sysdeps/microblaze/math_private.h: Likewise.
22407 * sysdeps/nios2/math_private.h: Likewise.
22408 * sysdeps/sh/math_private.h: Likewise.
22409
22410 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22411 * sysdeps/m68k/coldfire/math_private.h: ... here.
22412 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22413 * sysdeps/tile/math_private.h: Likewise.
22414 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22415 Remove macro.
22416 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22417 Likewise.
22418
22419 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22420 Remove macro.
22421 (libc_fetestexcept): Likewise.
22422 (libc_feupdateenv_test): Likewise.
22423 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22424 (libc_fetestexcept): Likewise.
22425 (libc_feupdateenv_test): Likewise.
22426 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22427 (libc_fetestexcept): Likewise.
22428 (libc_feupdateenv_test): Likewise.
22429 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22430 (libc_fetestexcept): Likewise.
22431 (libc_feupdateenv_test): Likewise.
22432
22433 * sysdeps/generic/math_private.h
22434 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22435 New inline function.
22436 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22437 Likewise.
22438
22439 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22440 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22441 * sysdeps/generic/math_private.h
22442 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22443 inline function.
22444 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22445 Likewise.
22446 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22447 Likewise.
22448 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22449 Likewise.
22450 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22451 Likewise.
22452 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22453 Likewise.
22454 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22455 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22456 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22457 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22458 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22459 (__fegetenv): Likewise.
22460 (fesetenv): Likewise.
22461 (__fesetenv): Likewise.
22462 (feupdateenv): Likewise.
22463 (__feupdateenv): Likewise.
22464 (fegetround): Likewise.
22465 (__fegetround): Likewise.
22466 (fesetround): Likewise.
22467 (__fesetround): Likewise.
22468
22469 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22470 (feraiseexcept): New macro.
22471 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22472 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22473 Remove macro.
22474 (__feraiseexcept): Likewise.
22475 (feclearexcept): Likewise.
22476 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22477 (__feraiseexcept): Likewise.
22478 (feclearexcept): Likewise.
22479 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22480 (__feraiseexcept): Likewise.
22481 (feclearexcept): Likewise.
22482 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22483 (__feraiseexcept): Likewise.
22484 (feclearexcept): Likewise.
22485 (fetestexcept): Likewise.
22486
22487 * sysdeps/m68k/coldfire/math-tests.h: New file.
22488
22489 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22490 * sysdeps/m68k/bits/fenv.h: ... here.
22491 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22492 not define.
22493 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22494 Likewise.
22495 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22496 Likewise.
22497 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22498 Likewise.
22499 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22500 Likewise.
22501 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22502 Define to 0.
22503 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22504 (__FE_UNDEFINED): New enum constant.
22505 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22506 Do not define.
22507 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22508 Likewise.
22509 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22510 Likewise.
22511 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22512 to match generic bits/fenv.h.
22513 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22514 Do not define.
22515
22516 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22517 packed on bits.
22518 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22519 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22520 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22521 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22522
22523 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22524 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22525 Joseph Myers <joseph@codesourcery.com>
22526
22527 [BZ #21314]
22528 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22529 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22530 computation using c.
22531 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22532 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22533 computation using c.
22534
22535 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22536
22537 * version.h (RELEASE): Set to "development".
22538 (VERSION): Set to "2.27.9000".
22539 * NEWS (2.28): New section.
22540
22541 * version.h (RELEASE): Set to "stable".
22542 (VERSION): Set to "2.27".
22543 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22544
22545 * NEWS: Add the list of bugs fixed in 2.27.
22546
22547 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22548
22549 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22550 against PTHREAD_STACK_MIN.
22551
22552 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22553
22554 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22555 New entries.
22556 (Rafał Lużyński, Andreas Schwab): Update.
22557
22558 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22559
22560 [BZ #10871]
22561 * NEWS: List the languages which actually use the alternative
22562 months feature in this release. Also explain that "alt_mon" and
22563 "ab_alt_mon" are optional.
22564
22565 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22566
22567 [BZ #22765]
22568 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22569
22570 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22571
22572 * manual/install.texi (Tools for Compilation): Update the newest
22573 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22574 * INSTALL: Regenerated.
22575
22576 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22577
22578 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22579 instead of __builtin_expect.
22580
22581 2018-01-30 Florian Weimer <fweimer@redhat.com>
22582
22583 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22584 data.
22585 * nss/tst-nss-getpwent.c (do_test): Likewise.
22586
22587 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22588
22589 [BZ #10871]
22590 * localedata/locales/hr_HR (mon): Rename to...
22591 (alt_mon): This.
22592 (mon): Import from CLDR (genitive case).
22593 (d_t_fmt): Update the comment.
22594
22595 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22596
22597 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22598 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22599 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22600
22601 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22602
22603 * mach/Versions: Fix version when __mach_host_self_ was added.
22604 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22605 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22606 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22607 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22608 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22609 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22610 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22611 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22612 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22613 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22614 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22615 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22616 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22617 || to respect codestyle.
22618 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22619 (do_test_bz20181): Rename accordingly.
22620 * malloc/malloc.c: Include <assert.h>.
22621 (assert): Do not define.
22622 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22623 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22624 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22625 * sysdeps/mach/hurd/hp-timing.h: New file.
22626 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22627
22628 2018-01-29 Darius Rad <darius@bluespec.com>
22629
22630 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22631
22632 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22633
22634 * sysdeps/init_array/crti.S (.section .init_array): Add
22635 PREINIT_FUNCTION when defined.
22636 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22637 * config.h.in: Regenerate.
22638 * manual/platform.texi: Add RISC-V documenation for
22639 __riscv_flush_icache.
22640 * sysdeps/riscv/__longjmp.S: New file.
22641 * sysdeps/riscv/backtrace.c: Likewise.
22642 * sysdeps/riscv/bits/endian.h: Likewise.
22643 * sysdeps/riscv/bits/setjmp.h: Likewise.
22644 * sysdeps/riscv/bits/wordsize.h: Likewise.
22645 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22646 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22647 * sysdeps/riscv/dl-trampoline.S: Likewise.
22648 * sysdeps/riscv/gccframe.h: Likewise.
22649 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22650 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22651 * sysdeps/riscv/machine-gmon.h: Likewise.
22652 * sysdeps/riscv/memusage.h: Likewise.
22653 * sysdeps/riscv/setjmp.S: Likewise.
22654 * sysdeps/riscv/sys/asm.h: Likewise.
22655 * sysdeps/riscv/tls-macros.h: Likewise.
22656 * sysdeps/riscv/dl-tls.h: New file.
22657 * sysdeps/riscv/libc-tls.c: Likewise.
22658 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22659 * sysdeps/riscv/nptl/tls.h: Likewise.
22660 * sysdeps/riscv/stackinfo.h: Likewise.
22661 * sysdeps/riscv/bits/fenv.h: New file.
22662 * sysdeps/riscv/e_sqrtl.c: Likewise.
22663 * sysdeps/riscv/fpu_control.h: Likewise.
22664 * sysdeps/riscv/math-tests.h: Likewise.
22665 * sysdeps/riscv/nofpu/Implies: Likewise.
22666 * sysdeps/riscv/sfp-machine.h: Likewise.
22667 * sysdeps/riscv/tininess.h: Likewise.
22668 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22669 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22670 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22671 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22672 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22673 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22674 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22675 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22676 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22677 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22678 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22679 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22680 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22681 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22682 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22683 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22684 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22685 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22686 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22687 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22688 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22689 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22690 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22691 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22692 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22693 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22694 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22695 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22696 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22697 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22698 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22699 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22700 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22701 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22702 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22703 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22704 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22705 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22706 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22707 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22708 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22709 * sysdeps/riscv/rvf/math_private.h: Likewise.
22710 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22711 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22712 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22713 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22714 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22715 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22716 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22717 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22718 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22719 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22720 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22721 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22722 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22723 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22724 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22725 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22726 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22727 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22728 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22729 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22730 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22731 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22732 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22733 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22734 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22735 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22736 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22737 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22738 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22739 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22740 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22741 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22742 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22743 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22744 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22745 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22746 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22747 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22748 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22749 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22750 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22751 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22752 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22753 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22754 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22755 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22756 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22757 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22758 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22759 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22760 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22761 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22762 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22763 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22764 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22765 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22766 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22767 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22768 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22769 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22770 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22771 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22772 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22773 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22774 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22775 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22776 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22777 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22778 * sysdeps/riscv/Implies: New file.
22779 * sysdeps/riscv/Makefile: Likewise.
22780 * sysdeps/riscv/configure: Likewise.
22781 * sysdeps/riscv/configure.ac: Likewise.
22782 * sysdeps/riscv/nptl/Makefile: Likewise.
22783 * sysdeps/riscv/preconfigure: Likewise.
22784 * sysdeps/riscv/rv64/Implies-after: Likewise.
22785 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22786 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22787 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22788 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22789 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22790 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22791 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22792 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22793 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22794 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22795 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22796 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22797 (Config): Likewise.
22798
22799 2018-01-29 Florian Weimer <fweimer@redhat.com>
22800
22801 [BZ #22701]
22802 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22803 libnsl_hidden_proto.
22804 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22805 libnsl_hidden_proto.
22806 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22807 * nis/Makefile (libnsl-routines): Add nss-default only for
22808 build-obsolete-nsl.
22809 * nis/nis_defaults.c (__nis_default_ttl): Add
22810 libnsl_hidden_nolink_def.
22811 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22812 declaration.
22813 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22814 * nis/ypclnt.c (yp_maplist): Likewise.
22815
22816 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22817
22818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22819 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22820
22821 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22822
22823 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22824 clean -dxfq for git updates when replacing sources.
22825
22826 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22827 --disable-libcilkrts unconditionally, not just for the final GCC
22828 build for Hurd.
22829
22830 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22831 version to 4.15.
22832
22833 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22834
22835 [BZ #10871]
22836 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22837 case).
22838
22839 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22840
22841 [BZ #10871]
22842 * localedata/locales/be_BY (mon): Rename to...
22843 (alt_mon): This, then synchronize with CLDR (nominative case).
22844 (abmon): Rename to...
22845 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22846 (mon): Import from CLDR (genitive case).
22847 (abmon): Likewise.
22848 * localedata/locales/be_BY@latin (mon): Rename to...
22849 (alt_mon): This.
22850 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22851
22852 * localedata/locales/be_BY@latin (lang_name): Reworded to
22853 "biełaruskaja mova".
22854
22855 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22856
22857 [BZ #10871]
22858 * localedata/locales/el_CY (mon): Renamed to...
22859 (alt_mon): This.
22860 (mon): Import from CLDR (genitive case).
22861 * localedata/locales/el_GR: Likewise.
22862
22863 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22864
22865 [BZ #10871]
22866 * localedata/locales/ru_RU (mon): Rename to...
22867 (alt_mon): This.
22868 (abmon): Rename to...
22869 (ab_alt_mon): This.
22870 (mon): Import from CLDR (genitive case).
22871 (abmon): Copy from the old content except the 5th month which is
22872 now in the genitive case, even when abbreviated.
22873 * localedata/locales/ru_UA: Likewise.
22874 * time/tst-strptime.c (day_tests): Add an actual example of
22875 a difference between %b and %Ob in Russian.
22876
22877 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22878
22879 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22880 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22881 a `c' variable.
22882 * resolv/res-close.c: Include <stdlib.h>.
22883 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22884 <sys/wait.h>, <time.h>, <sys/uio.h>.
22885 (NOT_CANCEL_H): Add inclusion guard.
22886 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22887 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22888 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22889 return 0.
22890 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22891 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22892 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22893 instead of void *.
22894 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22895 timer_ptr2id to cast struct timer_node * to void *.
22896 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22897 --disable-libcilkrts to gcc configure.
22898 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22899 and make them the default for now.
22900 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22901 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22902 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22903 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22904 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22905 MACH_IPC_COMPAT.
22906 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22907 __task_terminate would ever return successfully.
22908 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22909 to global scope.
22910 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22911 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22912 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22913 critical section to make code simpler and avoid warning.
22914 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22915 critical section to make code simpler and avoid warning.
22916 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22917 const char * instead of char *.
22918 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22919 __hurd_file_name_split, hurd_file_name_split,
22920 __hurd_directory_name_split, hurd_directory_name_split,
22921 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22922 hurd_file_name_path_lookup): Make lookup function parameter take a
22923 const char *name instead of char *name.
22924 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22925 __hurd_directory_name_split): Likewise.
22926 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22927 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22928 * sysdeps/mach/hurd/check_native.c: New file.
22929 * sysdeps/mach/hurd/check_pf.c: New file.
22930 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22931 (__freeifaddrs): Define macro to freeifaddrs.
22932 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22933 * sysdeps/mach/libmachuser.abilist: New file.
22934 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22935 (do_test_bz20181): Rename accordingly.
22936 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22937 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22938 <sys/mount.h>.
22939 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22940 version only if __USE_EXTERN_INLINES is defined.
22941 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22942 __hurd_sockfail): Likewise.
22943 (_hurd_fd_get): Always declare functions, and provide inline versions
22944 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22945 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22946 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22947 _hurd_port_set): Always declare functions, and provide inline versions
22948 only if __USE_EXTERN_INLINES and _LIBC are defined and
22949 IS_IN(libc).
22950 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22951 _hurd_critical_section_unlock): Likewise.
22952 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22953 * __hurd_threadvar_location): Likewise.
22954 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22955 _hurd_userlink_clear): Likewise.
22956 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22957 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22958 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22959 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22960 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22961 __spin_lock_locked): Likewise.
22962 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22963 __spin_lock_locked): Likewise.
22964 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22965 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22966 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22967 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22968 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22969 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22970 _POSIX_NO_TRUNC): Define to 0.
22971 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22972 check size against PTHREAD_STACK_MIN.
22973 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22974 IS_IN(libpthread)]: Include <sigsetops.h>.
22975 * mach/Makefile (user-interfaces): Add mach/gnumach.
22976 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22977 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22978 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22979 instead of invalid -1.
22980 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22981 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22982 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22983 <net/ppp_defs.h>.
22984
22985 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22986
22987 * hurd/fcntl-internal.h: New file.
22988
22989 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22990
22991 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22992
22993 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22994
22995 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22996
22997 [BZ #22701]
22998 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22999 Build only shared objects.
23000
23001 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23002
23003 * README: Update for hppa.
23004
23005 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23006
23007 * sysdeps/sparc/fpu/libm-test-ulps: Update
23008 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
23009
23010 2018-01-26 Carlos O'Donell <carlos@redhat.com>
23011
23012 Revert:
23013
23014 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23015
23016 [BZ #22563]
23017 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23018 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23019 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23020 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23021 to feature_1.
23022
23023 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23024
23025 [BZ #22563]
23026 * bits/types/__cancel_jmp_buf_tag.h: New file.
23027 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23028 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23029 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23030 * nptl/Makefile (headers): Add
23031 bits/types/__cancel_jmp_buf_tag.h.
23032 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23033 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23034 * sysdeps/nptl/pthread.h: Include
23035 <bits/types/__cancel_jmp_buf_tag.h>.
23036 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23037 __cancel_jmp_buf.
23038 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23039
23040 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
23041
23042 [BZ #10871]
23043 * localedata/locales/uk_UA (mon): Renamed to...
23044 (alt_mon): This.
23045 (alt_digits): "0" removed and then renamed to...
23046 (mon): This.
23047 (date_fmt): Definition changed not to use the alternative
23048 digits hack.
23049
23050 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
23051
23052 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
23053 FLAG_RISCV_FLOAT_ABI_DOUBLE.
23054 * elf/elf.h (EF_RISCV_RVC): New define.
23055 (EF_RISCV_FLOAT_ABI): Likewise.
23056 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
23057 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
23058 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23059 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
23060 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23061 define.
23062 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23063
23064 2018-01-25 Andreas Schwab <schwab@suse.de>
23065
23066 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
23067 single quotes.
23068 * sysdeps/gnu/configure: Regenerate.
23069 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23070 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23072 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23073 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23074 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
23075 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23076 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23077
23078 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23079
23080 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
23081 URL, and run autoconf, make it the default for now.
23082
23083 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23084
23085 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23086 soft-float ColdFire configuration.
23087
23088 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
23089 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
23090 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
23091
23092 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
23093 MicroBlaze file.
23094
23095 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
23096 ....
23097 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
23098 ... here.
23099 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
23100 New file.
23101
23102 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23103 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23104 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23105 file.
23106
23107 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23108
23109 [BZ #22742]
23110 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23111 Rename to __reserved and add comment.
23112 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23113 Rename to __reserved.
23114
23115 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23116
23117 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23118 i686-gnu configurations.
23119 (Context.run_builds): Include mig, gnumach and hurd in components
23120 considered.
23121 (Context.checkout): Add mig, gnumach and hurd to components.
23122 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23123 hurd.
23124 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23125 (Config.build): Install gnumach headers, build mig and install
23126 hurd headers for 'gnu' OS.
23127 (Config.install_gnumach_headers): New function.
23128 (Config.install_hurd_headers): Likewise.
23129 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23130 when building for 'gnu' OS.
23131
23132 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
23133
23134 * manual/tunables.texi (Hardware Capability Tunables): Fix
23135 spelling.
23136
23137 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
23138
23139 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23140 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23141 (ALTMON_11, ALTMON_12): Improve documentation.
23142 * manual/time.texi (strftime): Likewise.
23143
23144 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23145
23146 [BZ #10871]
23147 * localedata/locales/pl_PL: Alternative month names added,
23148 primary month names are genitive now.
23149 * time/tst-strptime.c (day_tests): Actually use a genitive case
23150 of a month name in Polish language.
23151
23152 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23153
23154 [BZ #10871]
23155 * manual/locale.texi: Document ALTMON_1..12 constants for
23156 nl_langinfo. Specify when to use ALTMON instead of MON.
23157 * manual/time.texi (strftime, strptime): Document GNU extension
23158 permitting O modifier with %B and %b. Specify when to use
23159 %OB instead of %B.
23160
23161 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23162
23163 [BZ #10871]
23164 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23165 names, define them as the same as abbreviated month names explicitly.
23166 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23167 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23168 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23169 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23170 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23171 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23172 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23173 _NL_WABALTMON_12): New enum constants.
23174 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23175 wab_alt_mon, and ab_alt_mon_defined members.
23176 (time_output): Output ab_alt_mon and wab_alt_mon members.
23177 (time_read): Read them, initialize them as copies of abmon and wabmon
23178 respectively if they are missing, initialize ab_alt_mon_defined.
23179 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23180 * locale/programs/locfile-kw.h: Regenerate.
23181 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23182 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23183 and ru_RU.UTF-8.
23184 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23185 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23186 (__strftime_internal): Handle %Ob and %Oh formats.
23187 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23188 (__strptime_internal): Handle %Ob and %Oh formats.
23189 * time/tst-strptime.c (day_tests): Add more tests to parse different
23190 forms of month names including the new %Ob format specifier.
23191
23192 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23193
23194 [BZ #10871]
23195 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23196 define them as the same as primary full month names explicitly.
23197 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23198 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23199 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23200 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23201 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23202 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23203 _NL_WALTMON_12): New enum constants.
23204 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23205 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23206 macros.
23207 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23208 walt_mon, and alt_mon_defined members.
23209 (time_output): Output alt_mon and walt_mon members.
23210 (time_read): Read them, initialize them as copies of mon and wmon
23211 respectively if they are missing, initialize alt_mon_defined.
23212 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23213 * locale/programs/locfile-kw.h: Regenerate.
23214 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23215 * localedata/tst-langinfo.c (map): Add tests for the new constants
23216 ALTMON_1 .. ALTMON_12.
23217 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23218 and pl_PL.UTF-8.
23219 * time/strftime_l.c (f_altmonth): New macro.
23220 (__strftime_internal): Handle %OB format.
23221 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23222 (__strptime_internal): Handle %OB format.
23223 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23224 of month names including the new %OB format specifier.
23225
23226 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23227
23228 [BZ #22685]
23229 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23230 from ABORT_TRANSACTION.
23231 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23232 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23233 ABORT_TRANSACTION_IMPL): Likewise.
23234 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23235 Linux code, but remove the code that aborts transactions.
23236
23237 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23238
23239 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23240
23241 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23242
23243 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23244 in date: "2004-14-09" should be "2004-09-14".
23245 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23246 "2003-15-09" should be "2003-09-15".
23247
23248 2018-01-18 Arjun Shankar <arjun@redhat.com>
23249
23250 [BZ #22343]
23251 [BZ #22774]
23252 CVE-2018-6485
23253 CVE-2018-6551
23254 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23255 after padding.
23256 (_int_memalign): check for integer overflow before calling
23257 _int_malloc.
23258 * malloc/tst-malloc-too-large.c: New test.
23259 * malloc/Makefile: Add tst-malloc-too-large.
23260
23261 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23262
23263 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23264 in date: "2017-24-07" should be "2017-07-24".
23265 * localedata/locales/mai_IN: Likewise.
23266 * localedata/locales/mai_NP: Likewise.
23267
23268 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23269
23270 * po/ru.po: Update translations.
23271
23272 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23273
23274 [BZ #22719]
23275 * sysdeps/hppa/backtrace.c: New file.
23276
23277 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23278
23279 [BZ #22715]
23280 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23281 align La_x86_64_retval to VEC_SIZE.
23282
23283 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23284
23285 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23286 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23287
23288 2018-01-16 Florian Weimer <fweimer@redhat.com>
23289
23290 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23291 Move tst-thread-exit-clobber ...
23292 [$(CXX)] (tests-unsupported): ... to here.
23293
23294 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23295
23296 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23297 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23298 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23299 (_dl_aarch64_cap_flags): Update.
23300 (_DL_HWCAP_COUNT): Update.
23301
23302 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23303
23304 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23305 (_DL_HWCAP_LAST): Remove.
23306 (_DL_HWCAP_COUNT): Move to ...
23307 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23308 (_DL_HWCAP_COUNT): ... here.
23309
23310 2018-01-16 Florian Weimer <fweimer@redhat.com>
23311
23312 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23313 mode with GNU extensions.
23314
23315 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23316
23317 * elf/elf.h (NT_ARM_SVE): Define.
23318
23319 2018-01-15 Florian Weimer <fweimer@redhat.com>
23320
23321 [BZ #22636]
23322 * nptl/tst-minstack-throw.cc: New file.
23323 * nptl/Makefile (tests): Add tst-minstack-throw.
23324 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23325 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23326
23327 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23328
23329 * scripts/build-many-glibcs.py (Context.checkout): Default
23330 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23331 version to 1.1.0.
23332
23333 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23334
23335 [BZ #22707]
23336 * elf/elf.h (DF_1_STUB): Define.
23337 (DF_1_PIE): Define.
23338
23339 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23340
23341 [BZ #22697]
23342 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23343 Do not add 0.5 to integer or out-of-range arguments.
23344
23345 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23346
23347 * po/bg.po: Update translations.
23348 * po/cs.po: Likewise.
23349 * po/de.po: Likewise.
23350 * po/ko.po: Likewise.
23351 * po/pl.po: Likewise.
23352 * po/sv.po: Likewise.
23353 * po/uk.po: Likewise.
23354 * po/vi.po: Likewise.
23355
23356 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23357
23358 * aarch64/start.S (_start): Use __wrap_main.
23359 (__wrap_main): New local symbol.
23360
23361 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23362
23363 [BZ #22679]
23364 CVE-2018-1000001
23365 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23366 generic_getcwd if the path returned by getcwd syscall is not absolute.
23367 * io/tst-getcwd-abspath.c: New test.
23368 * io/Makefile (tests): Add tst-getcwd-abspath.
23369
23370 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23371
23372 * malloc/malloc.c (malloc_consolidate): Add size check.
23373
23374 2018-01-12 Florian Weimer <fweimer@redhat.com>
23375
23376 * support/write_message.c (write_message): Preserve errno.
23377 * support/check.c (print_failure): Likewise.
23378 * support/support_test_verify_impl.c (support_test_verify_impl):
23379 Likewise.
23380 * support/support_test_compare_failure.c
23381 (support_test_compare_failure): Likewise.
23382
23383 2018-01-12 Florian Weimer <fweimer@redhat.com>
23384
23385 [BZ #22701]
23386 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23387 Prevent installation of libnsl.so.
23388 (libnsl-inhibit-o): Do not build (or install) static libraries.
23389
23390 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23391
23392 [BZ #22657]
23393 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23394 before the day number which may produce a double space.
23395 (date_fmt): Likewise.
23396
23397 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23398
23399 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23400 instead of fegetenv.
23401
23402 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23403
23404 [BZ #22702]
23405 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23406 comment to say exceptions are discarded.
23407 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23408 __fegetenv.
23409 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23410 be enabled.
23411
23412 2018-01-11 Florian Weimer <fweimer@redhat.com>
23413
23414 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23415 and error message.
23416
23417 2018-01-11 Florian Weimer <fweimer@redhat.com>
23418
23419 [BZ #22636]
23420 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23421 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23422
23423 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23424
23425 [BZ #22693]
23426 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23427 negative arguments in test for NaN or infinity argument.
23428
23429 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23430
23431 * po/libc.pot: Regenerate.
23432
23433 2018-01-10 Florian Weimer <fweimer@redhat.com>
23434
23435 [BZ #22636]
23436 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23437 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23438
23439 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23440
23441 * hurd/hurd/fd.h: Include <fcntl.h>
23442 (__hurd_at_flags): New function.
23443 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23444 with call to __hurd_at_flags.
23445 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23446 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23447 __faccessat
23448 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23449 (__access_noerrno): Use __faccessat_common instead of access_common.
23450 (__access): Likewise.
23451 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23452 with a call to __faccessat.
23453 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23454 (__faccessat_common): ... this. Move implementation of __access into it when
23455 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23456 reauthenticate_cwdir_at helper to implement AT mechanism.
23457 (__faccessat_noerrno): New function, just calls __faccessat_common.
23458 (__faccessat): New function, just calls __faccessat_common.
23459 (faccessat): Define weak alias.
23460
23461 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23462
23463 [BZ #22691]
23464 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23465 (CFLAGS-s_fmaxmagl.c): New variable.
23466 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23467
23468 [BZ #22690]
23469 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23470 long int for arguments of possibly overflowing addition or
23471 subtraction.
23472 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23473
23474 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23475
23476 [BZ #22688]
23477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23478 (CFLAGS-e_remainderl.c): New variable.
23479
23480 [BZ #22687]
23481 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23482 variable.
23483 (CFLAGS-s_cacoshl.c): Likewise.
23484 (CFLAGS-s_casinhl.c): Likewise.
23485 (CFLAGS-s_catanl.c): Likewise.
23486 (CFLAGS-s_catanhl.c): Likewise.
23487 (CFLAGS-s_cexpl.c): Likewise.
23488 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23489 (CFLAGS-s_csinhl.c): Likewise.
23490 (CFLAGS-s_clogl.c): Likewise.
23491 (CFLAGS-s_clog10l.c): Likewise.
23492 (CFLAGS-s_csinl.c): Likewise.
23493 (CFLAGS-s_csqrtl.c): Likewise.
23494
23495 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23496 2017-01-09 Svante Signell <svante.signell@gmail.com>
23497
23498 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23499 (_hurd_exec_paths): New function.
23500 * hurd/hurd.h (_hurd_exec): Deprecate function.
23501 (_hurd_exec_paths): Declare function.
23502 * hurd/Versions: Export _hurd_exec_paths.
23503 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23504 (__execve): Use __getcwd to build absolute path, and use
23505 _hurd_exec_paths instead of _hurd_exec.
23506 * sysdeps/mach/hurd/spawni.c: Likewise.
23507 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23508 _hurd_exec.
23509
23510 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23511
23512 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23513 test instead of failing in case of ENOENT returned by posix_openpt.
23514
23515 2018-01-08 Florian Weimer <fweimer@redhat.com>
23516
23517 resolv: Support binary labels in test framework.
23518 * support/resolv_test.c (struct to_be_freed): Remove.
23519 (struct compressed_name): New.
23520 (allocate_compressed_name, ascii_tolower)
23521 (compare_compressed_name): New functions.
23522 (struct resolv_response_builder): Update type of
23523 compression_offsets for use with tsearch. Rempve to_be_freed.
23524 (response_push_pointer_to_free): Remove function.
23525 (resolv_response_add_name): Rewrite using struct compressed_name
23526 and tsearch instead of hsearch_r.
23527 (response_builder_allocate): Remove initialization of
23528 compression_offsets.
23529 (response_builder_free): Update for removal of to_be_freed. Use
23530 tdestroy instead of hdestroy_r.
23531 * resolv/Makefile (tests): Add tst-resolv-binary.
23532 (tst-resolv-binary): Link with -lresolv -lpthread.
23533
23534 2018-01-08 Florian Weimer <fweimer@redhat.com>
23535
23536 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23537 time. Pass positive flag instead of negative flag to
23538 support_test_compare_failure.
23539 (support_test_compare_failure): Change negative parameter to
23540 positive.
23541 * support/support_test_compare_failure.c (report)
23542 (support_test_compare_failure): Likewise.
23543 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23544 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23545
23546 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23547
23548 [BZ #22637]
23549 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23550 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23551 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23552 stacksize.
23553 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23554
23555 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23556
23557 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23558 Add s_sincosf-sse2 and s_sincosf-fma.
23559 (CFLAGS-s_sincosf-fma.c): New.
23560 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23561 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23562 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23563 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23564 __sincosf is defined.
23565
23566 2018-01-08 Florian Weimer <fweimer@redhat.com>
23567
23568 * nptl/tst-thread-exit-clobber.cc: New file.
23569 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23570 C++11 mode.
23571 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23572 (tests): Add tst-thread-exit-clobber.
23573 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23574
23575 2018-01-08 Florian Weimer <fweimer@redhat.com>
23576
23577 * support/check.h (support_static_assert): Define.
23578 (TEST_COMPARE): Use it.
23579
23580 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23581
23582 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23583 [!__RLIM_T_MATCHES_RLIM64_T]
23584 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23585 __getrlimit64. Add libc_hidden_weak.
23586
23587 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23588
23589 * elf/elf.h (R_RISCV_NONE): New define.
23590 (R_RISCV_32): Likewise.
23591 (R_RISCV_64): Likewise.
23592 (R_RISCV_RELATIVE): Likewise.
23593 (R_RISCV_COPY): Likewise.
23594 (R_RISCV_JUMP_SLOT): Likewise.
23595 (R_RISCV_TLS_DTPMOD32): Likewise.
23596 (R_RISCV_TLS_DTPMOD64): Likewise.
23597 (R_RISCV_TLS_DTPREL32): Likewise.
23598 (R_RISCV_TLS_DTPREL64): Likewise.
23599 (R_RISCV_TLS_TPREL32): Likewise.
23600 (R_RISCV_TLS_TPREL64): Likewise.
23601 * Makerules (make-link-multidir): Make directories before linking into
23602 them.
23603 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23604 define.
23605 (VDSO_HASH_LINUX_4_15): Likewise.
23606 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23607 in subdirectories of lib.
23608 * nptl/Makefile (/librt.so): Always depend on
23609 "$(shared-thread-library)".
23610
23611 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23612
23613 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23614 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23615 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23616 (___tls_get_addr).
23617 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23618 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23619 "-O2 -march=i686".
23620 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23621 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23622 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23623 * sysdeps/gnu/glob-lstat-compat.c: New file.
23624 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23625 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23626
23627 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23628
23629 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23630 Reserve 16 chars to reloc_addr before calling _itoa_word.
23631
23632 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23633
23634 [BZ #22678]
23635 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23636 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23637
23638 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23639 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23640
23641 * resource/tst-getrlimit.c: Add copyright header.
23642
23643 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23644 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23645
23646 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23647 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23648 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23649 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23650 instead.
23651 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23652 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23653 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23654 RLIM64_INFINITY): Fix values to match the kernel ones.
23655 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23656 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23657 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23658 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23659 getrlimit64@@GLIBC_2_27.
23660 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23661 and setrlimit64.
23662 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23663 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23664 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23665 setrlimit, getrlimit64 and setrlimit64.
23666
23667 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23668
23669 [BZ #22648]
23670 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23671 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23672
23673 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23674
23675 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23676 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23677 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23678
23679 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23680
23681 [BZ #15479]
23682 [BZ #22666]
23683 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23684 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23685
23686 [BZ #15479]
23687 [BZ #22665]
23688 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23689 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23690 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23691 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23692
23693 2018-01-04 Florian Weimer <fweimer@redhat.com>
23694
23695 [BZ #22667]
23696 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23697 Align the stack before calling exit.
23698 * stdlib/tst-makecontext-align.c: New file.
23699 * stdlib/Makefile (tests): Add tst-makecontext-align.
23700
23701 2018-01-04 Florian Weimer <fweimer@redhat.com>
23702
23703 Add support for calling dlvsym from libc.so.
23704 * include/dlfcn.h (__libc_dlvsym): Declare.
23705 * elf/Makefile (tests-static-internal): Add
23706 tst-libc_dlvsym-static.
23707 (tests-internal): Add tst-libc_dlvsym.
23708 (modules-names): Add tst-libc_dlvsym-dso.
23709 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23710 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23711 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23712 object tst-libc_dlvsym-dso.so needs to be built before running
23713 these tests.
23714 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23715 * elf/Versions: Export __libc_dlvsym.
23716 * elf/dl-libc.c (struct do_dlvsym_args): New.
23717 (do_dlvsym, __libc_dlvsym): New functions.
23718 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23719 (_dl_open_hook2): New variable.
23720 (__libc_register_dl_open_hook): Set it.
23721 * elf/tst-libc_dlvsym-dso.c: New file.
23722 * elf/tst-libc_dlvsym-static.c: Likewise.
23723 * elf/tst-libc_dlvsym.c: Likewise.
23724 * elf/tst-libc_dlvsym.h: Likewise.
23725
23726 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23727
23728 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23729 include <sys/mount.h>.
23730
23731 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23732
23733 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23734 Add __NO_MATH_ERRNO__ check.
23735
23736 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23737
23738 * sysdeps/mips/mips32/libm-test-ulps: Update.
23739 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23740
23741 2018-01-02 Florian Weimer <fweimer@redhat.com>
23742
23743 * misc/tst-pselect.c: Add copyright header.
23744
23745 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23746
23747 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23748 comment.
23749 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23750 comment.
23751 (settrlimit): Rename into setrlimit.
23752 (__sttrlimit): Rename into __setrlimit.
23753
23754 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23755 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23756 never defined in that case.
23757
23758 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23759
23760 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23761
23762 * sysdeps/arm/libm-test-ulps: Update.
23763
23764 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23765 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23766
23767 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23768
23769 * NEWS: Add cosf and sincosf to list of optimized functions.
23770
23771 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23772
23773 [BZ #22660]
23774 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23775 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23776 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23777 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23778
23779 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23780
23781 [BZ #22433]
23782 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23783
23784 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23785 making a copy of it.
23786
23787 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23788
23789 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23790 trailing whitespace removed.
23791 * scripts/config.guess: Update to version 2018-01-01.
23792 * scripts/config.sub: Update to version 2018-01-01.
23793 * scripts/move-if-change: Update from gnulib.
23794
23795 * NEWS: Update copyright dates.
23796 * catgets/gencat.c (print_version): Likewise.
23797 * csu/version.c (banner): Likewise.
23798 * debug/catchsegv.sh: Likewise.
23799 * debug/pcprofiledump.c (print_version): Likewise.
23800 * debug/xtrace.sh (do_version): Likewise.
23801 * elf/ldconfig.c (print_version): Likewise.
23802 * elf/ldd.bash.in: Likewise.
23803 * elf/pldd.c (print_version): Likewise.
23804 * elf/sotruss.sh: Likewise.
23805 * elf/sprof.c (print_version): Likewise.
23806 * iconv/iconv_prog.c (print_version): Likewise.
23807 * iconv/iconvconfig.c (print_version): Likewise.
23808 * locale/programs/locale.c (print_version): Likewise.
23809 * locale/programs/localedef.c (print_version): Likewise.
23810 * login/programs/pt_chown.c (print_version): Likewise.
23811 * malloc/memusage.sh (do_version): Likewise.
23812 * malloc/memusagestat.c (print_version): Likewise.
23813 * malloc/mtrace.pl: Likewise.
23814 * manual/libc.texinfo: Likewise.
23815 * nptl/version.c (banner): Likewise.
23816 * nscd/nscd.c (print_version): Likewise.
23817 * nss/getent.c (print_version): Likewise.
23818 * nss/makedb.c (print_version): Likewise.
23819 * posix/getconf.c (main): Likewise.
23820 * scripts/test-installation.pl: Likewise.
23821 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23822
23823 * All files with FSF copyright notices: Update copyright dates
23824 using scripts/update-copyrights.
23825 * locale/programs/charmap-kw.h: Regenerated.
23826 * locale/programs/locfile-kw.h: Likewise.
23827
23828 2017-12-31 Zack Weinberg <zackw@panix.com>
23829
23830 * libio/bits/libio-ldbl.h: Correct check for improper
23831 inclusion. Add own multiple include guard.
23832
23833 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23834 Dmitry V. Levin <ldv@altlinux.org>
23835
23836 [BZ #22625]
23837 CVE-2017-16997
23838 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23839 string token expansion. Check for NULL pointer or empty string possibly
23840 returned by expand_dynamic_string_token.
23841 (decompose_rpath): Check for empty path after dynamic string
23842 token expansion.
23843
23844 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23845
23846 [BZ #22433]
23847 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23848
23849 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23850 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23851 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23852 and PTRACE_SYSCALL.
23853 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23854 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23855 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23858 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23859
23860 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23861 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23862 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23863 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23865 bits/ptrace-shared.h.
23866 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23867 <bits/ptrace-shared.h>.
23868 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23869 __ptrace_peeksiginfo_flags, ptrace): Remove.
23870 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23871 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23872 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23874 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23875
23876 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23877
23878 [BZ #17804]
23879 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23880 end of the loop. Improve comments.
23881
23882 2017-12-29 Zack Weinberg <zackw@panix.com>
23883
23884 [BZ #22615]
23885 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23886 might be set on success.
23887
23888 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23889
23890 [BZ #22611]
23891 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23892 is unchanged on success.
23893
23894 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23895
23896 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23897 updated.
23898 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23899 expand_dynamic_string_token): Likewise.
23900 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23901 is_path argument.
23902
23903 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23904 contains ':'.
23905
23906 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23907 is set and name contains ':', and all code depending on these checks.
23908
23909 2017-12-24 Zack Weinberg <zackw@panix.com>
23910
23911 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23912 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23913 respectively.
23914 * libio/libio.h: Rename the original version of this file to
23915 libio/bits/libio.h. Error out if not included by stdio.h or the
23916 stub libio.h.
23917 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23918 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23919 if not included by bits/libio.h or the stub _G_config.h.
23920 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23921 sysdeps/unix/sysv/linux/bits. Error out if not included by
23922 bits/libio.h or the stub _G_config.h.
23923 * libio/stdio.h: Include bits/libio.h, not libio.h.
23924 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23925 well as libio.h and _G_config.h.
23926
23927 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23928 * libio/strfile.h, stdio-common/vfscanf.c
23929 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23930 Include stdio.h, not _G_config.h nor libio.h.
23931 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23932 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23933
23934 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23935
23936 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23937
23938 [BZ #22347]
23939 * stdlib/getrandom.c (getrandom): Fix comment.
23940 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23941
23942 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23943
23944 [BZ #21161]
23945 * manual/arith.texi (strtoul): Fix a typo.
23946
23947 [BZ #22596]
23948 * manual/arith.texi (finite): Fix the description of the return
23949 value.
23950
23951 2017-12-22 Eric Blake <ebb9@byu.net>
23952
23953 Avoid gcc warnings on cygwin
23954 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23955 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23956 Avoid unused variable.
23957
23958 2017-12-22 Florian Weimer <fweimer@redhat.com>
23959
23960 * io/Makefile (routines): Add copy_file_range.
23961 (tests): Add tst-copy_file_range.
23962 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23963 * io/Versions (GLIBC_2.27): Export copy_file_range.
23964 * io/copy_file_range-compat.c: New file.
23965 * io/copy_file_range.c: Likewise.
23966 * io/tst-copy_file_range-compat.c: Likewise.
23967 * io/tst-copy_file_range.c: Likewise.
23968 * manual/llio.texi (Copying File Data): New section.
23969 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23970 * support/Makefile (libsupport-routines): Add support-xfstat,
23971 xftruncate, xlseek.
23972 * support/support-xfstat.c: New file.
23973 * support/xftruncate.c: Likewise.
23974 * support/xlseek.c: Likewise.
23975 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23976 * sysdeps/unix/sysv/linux/**.abilist: Update.
23977 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23978
23979 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23980
23981 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23982 disable-multi-arch variant to aarch64-linux-gnu.
23983
23984 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23985
23986 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23987 trailing whitespace removed.
23988 * scripts/config.guess: Update to version 2017-12-17.
23989 * scripts/config.sub: Update to version 2017-11-23.
23990 * scripts/install-sh: Update to version 2017-09-23.17.
23991 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23992
23993 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23994
23995 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23996 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23997 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23998 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23999 * sysdeps/tile/crtn.S: Likewise.
24000 * sysdeps/tile/dl-start.S (_start): Likewise.
24001 * sysdeps/tile/dl-trampoline.S: Likewise.
24002 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
24003 * sysdeps/tile/start.S (_start): Likewise.
24004 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
24005 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
24006 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
24007 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
24008 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
24009 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
24010 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
24011
24012 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
24013 comment.
24014 * sysdeps/tile/preconfigure: Remove tilegx folder.
24015 * sysdeps/tile/tilegx/Implies: Move definitions to ...
24016 * sysdeps/tile/Implies: ... here.
24017 * sysdeps/tile/tilegx/Makefile: Move rules to ...
24018 * sysdeps/tile/Makefile: ... here.
24019 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
24020 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
24021 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
24022 * sysdeps/tile/bits/wordsize.h: ... here.
24023 * sysdeps/tile/tilegx/*: Move to ...
24024 * sysdeps/tile/*: ... here.
24025 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
24026 * sysdeps/tile/tilegx32/Implies: ... here.
24027 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
24028 * sysdeps/tile/tilegx64/Implies: ... here.
24029 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
24030 to ...
24031 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24032 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
24033 * sysdeps/unix/sysv/linux/tile/*: ... here.
24034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
24035 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
24036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
24037 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
24038
24039 * README: Remove tilepro-*-linux-gnu from supported architecture.
24040 * scripts/build-many-glibcs.py: Likewise.
24041 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24042 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
24043 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
24044 elf_machine_matches_host, elf_machine_dynamic,
24045 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
24046 howto, elf_machine_rela): Likewise.
24047 * sysdeps/tile/dl-start.S (_start): Likewise.
24048 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
24049 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
24050 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
24051 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
24052 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
24053 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24054 Likewise.
24055 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
24056 * sysdeps/tile/preconfigure: Likewise.
24057 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
24058 POINTER_CHK_GUARD): Likewise.
24059 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
24060 * sysdeps/tile/start.S (_start): Likewise.
24061 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
24062 Likewise.
24063 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
24064 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
24065 CMOVNEZ): Remove.
24066 * sysdeps/unix/sysv/linux/tile/bits/environments.h
24067 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
24068 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
24069 Likewise.
24070 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
24071 * sysdeps/tile/tilepro/Implies: Remove file.
24072 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
24073 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
24074 * sysdeps/tile/tilepro/memchr.c: Likewise.
24075 * sysdeps/tile/tilepro/memcpy.S: Likewise.
24076 * sysdeps/tile/tilepro/memset.c: Likewise.
24077 * sysdeps/tile/tilepro/memusage.h: Likewise.
24078 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
24079 * sysdeps/tile/tilepro/strchr.c: Likewise.
24080 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
24081 * sysdeps/tile/tilepro/strlen.c: Likewise.
24082 * sysdeps/tile/tilepro/strrchr.c: Likewise.
24083 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
24084 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
24085 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24086 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
24087 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
24088 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24089 Likewise.
24090 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
24091 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24092 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
24093 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
24094 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24095 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
24096 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
24097 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
24098 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
24099 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
24100 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
24101 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
24102 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24103 tilepro mention in comment.
24104
24105 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24106 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24107 * nptl/pthread_join_common.c: New file: common function used on
24108 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24109 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24110 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24111 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24112 (cleanup): Move definition to pthread_join_common.c.
24113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24114 Remove superflous checks.
24115 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24116 Likewise.
24117
24118 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24119
24120 * sysdeps/aarch64/libm-test-ulps: Update.
24121
24122 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24123
24124 * sysdeps/aarch64/memset.S (MEMSET): Define.
24125
24126 2017-12-20 Florian Weimer <fweimer@redhat.com>
24127
24128 [BZ #22635]
24129 nptl: Provide full implementation of pthread_self in libc.so.
24130 * nptl/Makefile (routines): Add pthread_self.
24131 (libpthread-routines): Replace pthread_self with
24132 compat-pthread_self.
24133 * nptl/forward.c (pthread_self): Remove.
24134 * nptl/nptl-init.c (pthread_functions): Do not initialize
24135 ptr_pthread_self.
24136 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24137 * nptl/compat-pthread_self.c: New file.
24138 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24139 Remove ptr_pthread_self.
24140
24141 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24142
24143 * posix/regcomp.c: Fix spelling in comments.
24144 * posix/regex.h: Likewise.
24145 * posix/regex_internal.c: Likewise.
24146 * posix/regexec.c: Likewise.
24147
24148 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24149
24150 [BZ #22377]
24151 * math/Makefile [C++] (tests): Add test for iseqsig.
24152 * math/math.h [C++] (iseqsig): New implementation, which does
24153 not rely on __MATH_TG/__builtin_types_compatible_p.
24154 * math/test-math-iseqsig.cc: New file.
24155 * sysdeps/powerpc/powerpc64le/Makefile
24156 (CFLAGS-test-math-iseqsig.cc): New variable.
24157
24158 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24159
24160 * elf/dl-load.c (is_trusted_path): Remove.
24161 (fillin_rpath): Remove check_trusted argument and its use,
24162 all callers changed.
24163
24164 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 [BZ #22630]
24167 * Makeconfig (link-pie-before-libc): Replace -pie with
24168 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24169 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24170 (tst-dlopen-aout-no-pie): New.
24171 (LDFLAGS-tst-prelink): Removed.
24172 (tst-prelink-no-pie): New.
24173 (LDFLAGS-tst-main1): Removed.
24174 (tst-main1-no-pie): New.
24175 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24176 (tst-gmon-no-pie): New.
24177
24178 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24179
24180 * manual/install.texi: Document that --enable-static-pie
24181 implies PIE.
24182 * INSTALL: Regenerated.
24183
24184 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24185
24186 [BZ #21309]
24187 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24188 unsigned.
24189
24190 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24191
24192 Revert:
24193
24194 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24195
24196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24197
24198 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24199
24200 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24201 <errno.h>. Include "eexp.tbl".
24202 (half): New constant.
24203 (one): Likewise.
24204 (__ieee754_exp): Rewrite.
24205 (__slowexp): Remove prototype.
24206 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24207 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24208 * sysdeps/i386/fpu/slowexp.c: Likewise.
24209 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24210 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24211 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24212 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24214 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24215 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24216 comment.
24217 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24218 (CPPFLAGS-slowexp.c): Remove variable.
24219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24220 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24221 (CFLAGS-slowexp-fma.c): Remove variable.
24222 (CFLAGS-slowexp-fma4.c): Likewise.
24223 (CFLAGS-slowexp-avx.c): Likewise.
24224 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24225 define as macro.
24226 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24227 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24228 * math/Makefile (type-double-routines): Remove slowexp.
24229 * manual/probes.texi (slowexp_p6): Remove.
24230 (slowexp_p32): Likewise.
24231
24232 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24233
24234 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24235 arithmetic.
24236
24237 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24238
24239 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24240
24241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24242
24243 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24244
24245 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24246 <errno.h>. Include "eexp.tbl".
24247 (half): New constant.
24248 (one): Likewise.
24249 (__ieee754_exp): Rewrite.
24250 (__slowexp): Remove prototype.
24251 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24252 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24253 * sysdeps/i386/fpu/slowexp.c: Likewise.
24254 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24255 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24256 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24257 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24258 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24259 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24260 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24261 comment.
24262 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24263 (CPPFLAGS-slowexp.c): Remove variable.
24264 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24265 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24266 (CFLAGS-slowexp-fma.c): Remove variable.
24267 (CFLAGS-slowexp-fma4.c): Likewise.
24268 (CFLAGS-slowexp-avx.c): Likewise.
24269 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24270 define as macro.
24271 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24272 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24273 * math/Makefile (type-double-routines): Remove slowexp.
24274 * manual/probes.texi (slowexp_p6): Remove.
24275 (slowexp_p32): Likewise.
24276
24277 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24278 James Clarke <jrtc27@jrtc27.com>
24279
24280 [BZ #22603]
24281 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24282 addition.
24283
24284 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24285
24286 [BZ #22605]
24287 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24288 code.
24289
24290 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24291
24292 [BZ #22563]
24293 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24294 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24295 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24296 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24297 to feature_1.
24298
24299 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24300
24301 [BZ #22563]
24302 * bits/types/__cancel_jmp_buf_tag.h: New file.
24303 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24304 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24305 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24306 * nptl/Makefile (headers): Add
24307 bits/types/__cancel_jmp_buf_tag.h.
24308 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24309 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24310 * sysdeps/nptl/pthread.h: Include
24311 <bits/types/__cancel_jmp_buf_tag.h>.
24312 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24313 __cancel_jmp_buf.
24314 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24315
24316 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24317
24318 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24319 --enable-static-pie variants to x86_64, x32 and i686.
24320
24321 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24322
24323 [BZ #22631]
24324 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24325 argument for attrubutes. All callers changed.
24326 (__inline_mathop1): Likewise. All callers changed.
24327 (__inline_mathop): Likewise. All callers changed.
24328 [__USE_MISC] (scalbn): Use __inline_forward instead of
24329 __inline_forward_c.
24330 [__USE_ISOC99] (scalbln): Likewise.
24331 [__USE_ISOC99] (nearbyint): Likewise.
24332 [__USE_ISOC99] (lrint): Likewise.
24333 [__USE_MISC] (scalbnf): Likewise.
24334 [__USE_ISOC99] (scalblnf): Likewise.
24335 [__USE_ISOC99] (nearbyintf): Likewise.
24336 [__USE_ISOC99] (lrintf): Likewise.
24337 [__USE_MISC] (scalbnl): Likewise.
24338 [__USE_ISOC99] (scalblnl): Likewise.
24339 [__USE_ISOC99] (nearbyintl): Likewise.
24340 [__USE_ISOC99] (lrintl): Likewise.
24341 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24342 __inline_mathop and __m81_defun changed.
24343
24344 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24345 CPU or FPU for ARM hard-float configurations.
24346
24347 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24348
24349 * nptl/tst-attr3.c: Include <libc-diag.h>.
24350 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24351
24352 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24353
24354 * string/tester.c (test_strncat): Also disable -Warray-bounds
24355 warnings for two tests.
24356
24357 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24358
24359 [BZ #22614]
24360 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24361 $(cc-pie-default) == yes.
24362 * config.make.in (cc-pie-default): New.
24363 * configure.ac (libc_cv_pie_default): Renamed to ...
24364 (libc_cv_cc_pie_default): This.
24365 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24366 * configure: Regenerated.
24367
24368 2017-12-18 Florian Weimer <fweimer@redhat.com>
24369
24370 [BZ #20204]
24371 ld.so: Harden dl-libc/libdl hooks.
24372 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24373 (rtld_active): New function.
24374 * dlfcn/dladdr.c (__dladdr): Call it.
24375 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24376 * dlfcn/dlclose.c (__dlcose): Likewise.
24377 * dlfcn/dlerror.c (__dlerror): Likewise.
24378 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24379 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24380 * dlfcn/dlopen.c (__dlopen): Likewise.
24381 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24382 * dlfcn/dlsym.c (__dlsym): Likewise.
24383 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24384 * libio/vtables.c (_IO_vtable_check): Likewise.
24385 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24386 (__libc_dlclose): Likewise.
24387 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24388 assignment.
24389
24390 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24391
24392 [BZ #22446]
24393 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24394 buffers for readlink input and output.
24395
24396 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24397
24398 [BZ #22624]
24399 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24400 inhibit_stack_protector.
24401
24402 [BZ #22624]
24403 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24404 inhibit_stack_protector.
24405
24406 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24407
24408 [BZ #22627]
24409 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24410 code and invocation.
24411
24412 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24413
24414 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24415
24416 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24417
24418 [BZ #22505]
24419 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24420
24421 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24422
24423 * sysdeps/s390/fpu/libm-test-ulps: Update.
24424
24425 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24426
24427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24428
24429 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24430
24431 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24432 constants to s_sincosf.h file.
24433 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24434 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24435 implementation.
24436 * sysdeps/ieee754/flt-32/s_sincosf.h:
24437 New file.
24438
24439 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24440
24441 [BZ #14681]
24442 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24443 before mtrace.
24444
24445 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24446
24447 [BZ #19574]
24448 * INSTALL: Regenerated.
24449 * Makeconfig (real-static-start-installed-name): New.
24450 (pic-default): Updated for --enable-static-pie.
24451 (pie-default): New for --enable-static-pie.
24452 (default-pie-ldflag): Likewise.
24453 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24454 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24455 Replace $(static-start-installed-name) with
24456 $(real-static-start-installed-name).
24457 (+prectorT): Updated for --enable-static-pie.
24458 (+postctorT): Likewise.
24459 (CFLAGS-.o): Add $(pie-default).
24460 (CFLAGS-.op): Likewise.
24461 * NEWS: Mention --enable-static-pie.
24462 * config.h.in (ENABLE_STATIC_PIE): New.
24463 * configure.ac (--enable-static-pie): New configure option.
24464 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24465 (have-static-pie): Likewise.
24466 Enable static PIE if linker supports --no-dynamic-linker.
24467 (ENABLE_STATIC_PIE): New AC_DEFINE.
24468 (enable-static-pie): New LIBC_CONFIG_VAR.
24469 * configure: Regenerated.
24470 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24471 gr$(start-installed-name) for --enable-static-pie.
24472 (extra-objs): Likewise.
24473 (install-lib): Likewise.
24474 (extra-objs): Add static-reloc.o and static-reloc.os
24475 ($(objpfx)$(start-installed-name)): Also depend on
24476 $(objpfx)static-reloc.o.
24477 ($(objpfx)r$(start-installed-name)): New.
24478 ($(objpfx)g$(start-installed-name)): Also depend on
24479 $(objpfx)static-reloc.os.
24480 ($(objpfx)gr$(start-installed-name)): New.
24481 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24482 in libc.a.
24483 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24484 initimage.
24485 * csu/static-reloc.c: New file.
24486 * elf/Makefile (routines): Add dl-reloc-static-pie.
24487 (elide-routines.os): Likewise.
24488 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24489 (tst-tls1-static-non-pie-no-pie): New.
24490 * elf/dl-reloc-static-pie.c: New file.
24491 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24492 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24493 STATIC_PIE_BOOTSTRAP.
24494 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24495 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24496 (tests-static): Likewise.
24497 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24498 (tst-gmon-static-no-pie): New.
24499 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24500 (CRT-tst-gmon-static-pie): Likewise.
24501 (tst-gmon-static-pie-ENV): Likewise.
24502 (tests-special): Likewise.
24503 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24504 (clean-tst-gmon-static-pie-data): Likewise.
24505 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24506 * gmon/tst-gmon-static-pie.c: New file.
24507 * manual/install.texi: Document --enable-static-pie.
24508 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24509 (_dl_get_dl_main_map): Likewise.
24510 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24511 * sysdeps/x86_64/configure.ac: Likewise.
24512 * sysdeps/i386/configure: Regenerated.
24513 * sysdeps/x86_64/configure: Likewise.
24514 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24515 (ASFLAGS-.op): Likewise.
24516
24517 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24518
24519 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24520 * posix/tst-mmap-offset.c (fname): Use /tmp.
24521 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24522
24523 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24524
24525 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24526
24527 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24528
24529 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24530 errno.
24531
24532 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24533
24534 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24535 --with-float=hard for arm-linux-gnueabihf configurations.
24536
24537 [BZ #14121]
24538 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24539 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24540 ($(mo-installed)): Use $(objpfx)%.mo.
24541 (realclean): Remove rule.
24542
24543 * po/Makefile (linguas): Remove rule and dependencies.
24544 (linguas.mo): Likewise.
24545 (.PHONY): Do not depend on linguas and linguas.mo.
24546 (podir): Remove variable.
24547 (pofiles): Likewise.
24548 [$(pofiles)] (%.po): Remove rule.
24549
24550 * sysdeps/sparc/sparc32/Makefile
24551 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24552 start-of-line whitespace in argument of echo.
24553 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24554 with whitespace. Generate __wrap_.udiv alias.
24555 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24556 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24557 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24558 * sysdeps/sparc/sparc32/urem.S: Likewise.
24559
24560 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24561
24562 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24563 for aligned inputs.
24564
24565 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24566
24567 * benchtests/bench-strcmp.c: Print output in JSON format.
24568
24569 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24570
24571 2017-12-14 Florian Weimer <fweimer@redhat.com>
24572
24573 [BZ #22607]
24574 CVE-2017-1000409
24575 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24576 the expanded path string.
24577
24578 2017-12-14 Florian Weimer <fweimer@redhat.com>
24579
24580 [BZ #22606]
24581 CVE-2017-1000408
24582 * elf/dl-load.c (system_dirs): Update comment.
24583 (nsystem_dirs_len): Use array_length.
24584 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24585
24586 2017-12-14 Florian Weimer <fweimer@redhat.com>
24587
24588 Simplify compiling most of support/ outside of glibc.
24589 * support/check_addrinfo.c: Include <string.h>.
24590 * support/check_dns_packet.c: Likewise.
24591 * support/check_hostent.c: Likewise.
24592 * support/support_can_chroot.c: Include <support/xunistd.h>.
24593 * support/support_format_addrinfo.c: Include <stdlib.h>
24594 * support/support_format_dns_packet.c: Include <stdbool.h>.
24595 * support/support_format_hostent.c: Include <stdlib.h>.
24596 * support/support_format_netent.c: Likewise.
24597 * support/support_write_string.c: Include <support/xunistd.h>.
24598 * support/xdlfcn.c: Include <stddef.h>.
24599
24600 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24601
24602 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24603
24604 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24605 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24606
24607 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24608 (sysdeps_routines): Add memset-niagara7.
24609 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24610 Likewise.
24611 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24612 file.
24613 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24614 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24615 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24616 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24617 Add niagara7 option.
24618 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24619 memset.
24620
24621 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24622 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24623 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24624 Likewise.
24625 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24626 New file.
24627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24628 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24629 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24630 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24631 and __memmove_niagara7.
24632 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24633 Add niagara7 option.
24634 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24635 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24636 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24637 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24638 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24639
24640 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24641
24642 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24643 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24644 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24645 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24646
24647 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24648 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24649 _dl_sparc_cap_flags array.
24650 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24651
24652 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24653
24654 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24655 time whenever possible.
24656
24657 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24658
24659 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24660 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24661
24662 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24663
24664 * soft-fp/fmadf4.c: Move to ....
24665 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24666 * soft-fp/fmasf4.c: Move to ....
24667 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24668 * soft-fp/fmatf4.c: Move to ....
24669 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24670 * sysdeps/ieee754/soft-fp/Makefile: New file.
24671 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24672 * sysdeps/arm/preconfigure: Regenerated.
24673 * sysdeps/arm/nofpu/Implies: New file.
24674 * sysdeps/arm/s_fma.c: Remove file.
24675 * sysdeps/arm/s_fmaf.c: Likewise.
24676 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24677 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24678 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24679 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24680 * sysdeps/microblaze/s_fma.c: Remove file.
24681 * sysdeps/microblaze/s_fmaf.c: Likewise.
24682 * sysdeps/mips/mips32/nofpu/Implies: New file.
24683 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24684 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24685 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24686 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24687 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24688 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24689 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24690 implementation.
24691 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24692 * sysdeps/nios2/s_fma.c: Remove file.
24693 * sysdeps/nios2/s_fmaf.c: Likewise.
24694 * sysdeps/sh/nofpu/Implies: New file.
24695 * sysdeps/sh/s_fma.c: Remove file.
24696 * sysdeps/sh/s_fmaf.c: Likewise.
24697 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24698 * sysdeps/tile/s_fma.c: Remove file.
24699 * sysdeps/tile/s_fmaf.c: Likewise.
24700
24701 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24702
24703 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24704 Add s_cosf-sse2 and s_cosf-fma.
24705 (CFLAGS-s_cosf-fma.c): New.
24706 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24708 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24709
24710 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24711
24712 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24713
24714 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24715
24716 * libio/Makefile (tests): Add tst-bz22415.
24717 (tst-bz22415-ENV): New rule.
24718 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24719 (tests-special): Add tst-bz22415-mem.out.
24720 ($(objpfx)tst-bz22415-mem.out): New rule.
24721 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24722 in case of a successful seek operation.
24723 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24724 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24725 buffer is required.
24726 * libio/tst-bz22415.c: New test.
24727
24728 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24729
24730 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24731
24732 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24733 __IPC_64 to 0 to avoid IPC_64 being set.
24734
24735 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24736
24737 [BZ #22593]
24738 * math/bits/mathcalls.h (nextafter): Remove const.
24739 (nexttoward): Likewise.
24740
24741 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24742
24743 * configure.ac (--with-fp): Remove configure option.
24744 (with_fp_cond): New variable.
24745 (libc_cv_with_fp): New configure test. Use this variable instead
24746 of with_fp.
24747 * configure: Regenerated.
24748 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24749 * manual/install.texi (Configuring and compiling): Remove
24750 --without-fp.
24751 * INSTALL: Regenerated.
24752 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24753 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24754 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24755 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24756 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24757 use --without-fp to configure glibc.
24758
24759 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24760
24761 * manual/locale.texi (nl_langinfo): Fix a typo.
24762
24763 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24764
24765 [BZ #22588]
24766 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24767
24768 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24769
24770 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24771 (CFLAGS-argp-parse.c): Likewise.
24772 (CFLAGS-argp-fmtstream.c): Likewise.
24773 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24774 (CPPFLAGS-sha512-crypt.c): Likewise.
24775 (CPPFLAGS-md5-crypt.c): Likewise.
24776 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24777 (CFLAGS-stack_chk_fail_local.c): Likewise.
24778 (CFLAGS-backtrace.c): Likewise.
24779 (CFLAGS-sprintf_chk.c): Likewise.
24780 (CFLAGS-snprintf_chk.c): Likewise.
24781 (CFLAGS-vsprintf_chk.c): Likewise.
24782 (CFLAGS-vsnprintf_chk.c): Likewise.
24783 (CFLAGS-asprintf_chk.c): Likewise.
24784 (CFLAGS-vasprintf_chk.c): Likewise.
24785 (CFLAGS-obprintf_chk.c): Likewise.
24786 (CFLAGS-dprintf_chk.c): Likewise.
24787 (CFLAGS-vdprintf_chk.c): Likewise.
24788 (CFLAGS-printf_chk.c): Likewise.
24789 (CFLAGS-fprintf_chk.c): Likewise.
24790 (CFLAGS-vprintf_chk.c): Likewise.
24791 (CFLAGS-vfprintf_chk.c): Likewise.
24792 (CFLAGS-gets_chk.c): Likewise.
24793 (CFLAGS-fgets_chk.c): Likewise.
24794 (CFLAGS-fgets_u_chk.c): Likewise.
24795 (CFLAGS-fread_chk.c): Likewise.
24796 (CFLAGS-fread_u_chk.c): Likewise.
24797 (CFLAGS-swprintf_chk.c): Likewise.
24798 (CFLAGS-vswprintf_chk.c): Likewise.
24799 (CFLAGS-wprintf_chk.c): Likewise.
24800 (CFLAGS-fwprintf_chk.c): Likewise.
24801 (CFLAGS-vwprintf_chk.c): Likewise.
24802 (CFLAGS-vfwprintf_chk.c): Likewise.
24803 (CFLAGS-fgetws_chk.c): Likewise.
24804 (CFLAGS-fgetws_u_chk.c): Likewise.
24805 (CFLAGS-read_chk.c): Likewise.
24806 (CFLAGS-pread_chk.c): Likewise.
24807 (CFLAGS-pread64_chk.c): Likewise.
24808 (CFLAGS-recv_chk.c): Likewise.
24809 (CFLAGS-recvfrom_chk.c): Likewise.
24810 (CFLAGS-tst-longjmp_chk.c): Likewise.
24811 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24812 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24813 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24814 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24815 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24816 (CFLAGS-tst-chk1.c): Likewise.
24817 (CFLAGS-tst-chk2.c): Likewise.
24818 (CFLAGS-tst-chk3.c): Likewise.
24819 (CFLAGS-tst-chk4.cc): Likewise.
24820 (CFLAGS-tst-chk5.cc): Likewise.
24821 (CFLAGS-tst-chk6.cc): Likewise.
24822 (CFLAGS-tst-lfschk1.c): Likewise.
24823 (CFLAGS-tst-lfschk2.c): Likewise.
24824 (CFLAGS-tst-lfschk3.c): Likewise.
24825 (CFLAGS-tst-lfschk4.cc): Likewise.
24826 (CFLAGS-tst-lfschk5.cc): Likewise.
24827 (CFLAGS-tst-lfschk6.cc): Likewise.
24828 (CFLAGS-tst-ssp-1.c): Likewise.
24829 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24830 (CFLAGS-scandir64.c): Likewise.
24831 (CFLAGS-scandir-tail.c): Likewise.
24832 (CFLAGS-scandir64-tail.c): Likewise.
24833 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24834 (CFLAGS-dl-tunables.c): Likewise.
24835 (CFLAGS-dl-runtime.c): Likewise.
24836 (CFLAGS-dl-lookup.c): Likewise.
24837 (CFLAGS-dl-iterate-phdr.c): Likewise.
24838 (CFLAGS-vismain.c): Likewise.
24839 (CFLAGS-tst-linkall-static.c): Likewise.
24840 (CFLAGS-tst-linkall-static.c): Likewise.
24841 (CPPFLAGS-dl-load.c): Likewise.
24842 (CFLAGS-ldconfig.c): Likewise.
24843 (CFLAGS-dl-cache.c): Likewise.
24844 (CFLAGS-cache.c): Likewise.
24845 (CFLAGS-rtld.c): Likewise.
24846 (CFLAGS-multiload.c): Likewise.
24847 (CFLAGS-filtmod1.c): Likewise.
24848 (CFLAGS-tst-align.c): Likewise.
24849 (CFLAGS-tst-align2.c): Likewise.
24850 (CFLAGS-tst-alignmod.c): Likewise.
24851 (CFLAGS-tst-alignmod2.c): Likewise.
24852 (CPPFLAGS-tst-execstack.c): Likewise.
24853 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24854 (CFLAGS-tst-latepthreadmod.c): Likewise.
24855 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24856 (CFLAGS-getgrnam_r.c): Likewise.
24857 (CFLAGS-getgrent_r.c): Likewise.
24858 (CFLAGS-getgrent.c): Likewise.
24859 (CFLAGS-fgetgrent.c): Likewise.
24860 (CFLAGS-fgetgrent_r.c): Likewise.
24861 (CFLAGS-putgrent.c): Likewise.
24862 (CFLAGS-initgroups.c): Likewise.
24863 (CFLAGS-getgrgid.c): Likewise.
24864 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24865 (CFLAGS-getsgent.c): Likewise.
24866 (CFLAGS-fgetsgent.c): Likewise.
24867 (CFLAGS-fgetsgent_r.c): Likewise.
24868 (CFLAGS-putsgent.c): Likewise.
24869 (CFLAGS-getsgnam.c): Likewise.
24870 (CFLAGS-getsgnam_r.c): Likewise.
24871 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24872 (CFLAGS-iconv_charmap.c): Likewise.
24873 (CFLAGS-dummy-repertoire.c): Likewise.
24874 (CFLAGS-charmap.c): Likewise.
24875 (CFLAGS-linereader.c): Likewise.
24876 (CFLAGS-simple-hash.c): Likewise.
24877 (CFLAGS-gconv_conf.c): Likewise.
24878 (CFLAGS-iconvconfig.c): Likewise.
24879 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24880 (CFLAGS-gethstbyad.c): Likewise.
24881 (CFLAGS-gethstbynm_r.c): Likewise.
24882 (CFLAGS-gethstbynm.c): Likewise.
24883 (CFLAGS-gethstbynm2_r.c): Likewise.
24884 (CFLAGS-gethstbynm2.c): Likewise.
24885 (CFLAGS-gethstent_r.c): Likewise.
24886 (CFLAGS-gethstent.c): Likewise.
24887 (CFLAGS-rcmd.c): Likewise.
24888 (CFLAGS-getnetbynm_r.c): Likewise.
24889 (CFLAGS-getnetbynm.c): Likewise.
24890 (CFLAGS-getnetbyad_r.c): Likewise.
24891 (CFLAGS-getnetbyad.c): Likewise.
24892 (CFLAGS-getnetent_r.c): Likewise.
24893 (CFLAGS-getnetent.c): Likewise.
24894 (CFLAGS-getaliasent_r.c): Likewise.
24895 (CFLAGS-getaliasent.c): Likewise.
24896 (CFLAGS-getrpcent_r.c): Likewise.
24897 (CFLAGS-getrpcent.c): Likewise.
24898 (CFLAGS-getservent_r.c): Likewise.
24899 (CFLAGS-getservent.c): Likewise.
24900 (CFLAGS-getprtent_r.c): Likewise.
24901 (CFLAGS-getprtent.c): Likewise.
24902 (CFLAGS-either_ntoh.c): Likewise.
24903 (CFLAGS-either_hton.c): Likewise.
24904 (CFLAGS-getnetgrent.c): Likewise.
24905 (CFLAGS-getnetgrent_r.c): Likewise.
24906 (CFLAGS-tst-checks-posix.c): Likewise.
24907 (CFLAGS-tst-sockaddr.c): Likewise.
24908 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24909 (CFLAGS-tst-translit.c): Likewise.
24910 (CFLAGS-tst-gettext2.c): Likewise.
24911 (CFLAGS-tst-codeset.c): Likewise.
24912 (CFLAGS-tst-gettext3.c): Likewise.
24913 (CFLAGS-tst-gettext4.c): Likewise.
24914 (CFLAGS-tst-gettext5.c): Likewise.
24915 (CFLAGS-tst-gettext6.c): Likewise.
24916 * io/Makefile (CFLAGS-open.c): Likewise.
24917 (CFLAGS-open64.c): Likewise.
24918 (CFLAGS-creat.c): Likewise.
24919 (CFLAGS-creat64.c): Likewise.
24920 (CFLAGS-fcntl.c): Likewise.
24921 (CFLAGS-poll.c): Likewise.
24922 (CFLAGS-ppoll.c): Likewise.
24923 (CFLAGS-lockf.c): Likewise.
24924 (CFLAGS-statfs.c): Likewise.
24925 (CFLAGS-fstatfs.c): Likewise.
24926 (CFLAGS-statvfs.c): Likewise.
24927 (CFLAGS-fstatvfs.c): Likewise.
24928 (CFLAGS-fts.c): Likewise.
24929 (CFLAGS-fts64.c): Likewise.
24930 (CFLAGS-ftw.c): Likewise.
24931 (CFLAGS-ftw64.c): Likewise.
24932 (CFLAGS-lockf.c): Likewise.
24933 (CFLAGS-posix_fallocate.c): Likewise.
24934 (CFLAGS-posix_fallocate64.c): Likewise.
24935 (CFLAGS-fallocate.c): Likewise.
24936 (CFLAGS-fallocate64.c): Likewise.
24937 (CFLAGS-read.c): Likewise.
24938 (CFLAGS-write.c): Likewise.
24939 (CFLAGS-test-stat.c): Likewise.
24940 (CFLAGS-test-lfs.c): Likewise.
24941 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24942 (CFLAGS-fputc.c): Likewise.
24943 (CFLAGS-fputwc.c): Likewise.
24944 (CFLAGS-freopen64.c): Likewise.
24945 (CFLAGS-freopen.c): Likewise.
24946 (CFLAGS-fseek.c): Likewise.
24947 (CFLAGS-fseeko64.c): Likewise.
24948 (CFLAGS-fseeko.c): Likewise.
24949 (CFLAGS-ftello64.c): Likewise.
24950 (CFLAGS-ftello.c): Likewise.
24951 (CFLAGS-fwide.c): Likewise.
24952 (CFLAGS-genops.c): Likewise.
24953 (CFLAGS-getc.c): Likewise.
24954 (CFLAGS-getchar.c): Likewise.
24955 (CFLAGS-getwc.c): Likewise.
24956 (CFLAGS-getwchar.c): Likewise.
24957 (CFLAGS-iofclose.c): Likewise.
24958 (CFLAGS-iofflush.c): Likewise.
24959 (CFLAGS-iofgetpos64.c): Likewise.
24960 (CFLAGS-iofgetpos.c): Likewise.
24961 (CFLAGS-iofgets.c): Likewise.
24962 (CFLAGS-iofgetws.c): Likewise.
24963 (CFLAGS-iofputs.c): Likewise.
24964 (CFLAGS-iofputws.c): Likewise.
24965 (CFLAGS-iofread.c): Likewise.
24966 (CFLAGS-iofsetpos64.c): Likewise.
24967 (CFLAGS-iofsetpos.c): Likewise.
24968 (CFLAGS-ioftell.c): Likewise.
24969 (CFLAGS-iofwrite.c): Likewise.
24970 (CFLAGS-iogetdelim.c): Likewise.
24971 (CFLAGS-iogetline.c): Likewise.
24972 (CFLAGS-iogets.c): Likewise.
24973 (CFLAGS-iogetwline.c): Likewise.
24974 (CFLAGS-ioputs.c): Likewise.
24975 (CFLAGS-ioseekoff.c): Likewise.
24976 (CFLAGS-ioseekpos.c): Likewise.
24977 (CFLAGS-iosetbuffer.c): Likewise.
24978 (CFLAGS-iosetvbuf.c): Likewise.
24979 (CFLAGS-ioungetc.c): Likewise.
24980 (CFLAGS-ioungetwc.c): Likewise.
24981 (CFLAGS-oldfileops.c): Likewise.
24982 (CFLAGS-oldiofclose.c): Likewise.
24983 (CFLAGS-oldiofgetpos64.c): Likewise.
24984 (CFLAGS-oldiofgetpos.c): Likewise.
24985 (CFLAGS-oldiofsetpos64.c): Likewise.
24986 (CFLAGS-oldiofsetpos.c): Likewise.
24987 (CFLAGS-peekc.c): Likewise.
24988 (CFLAGS-putc.c): Likewise.
24989 (CFLAGS-putchar.c): Likewise.
24990 (CFLAGS-putwc.c): Likewise.
24991 (CFLAGS-putwchar.c): Likewise.
24992 (CFLAGS-rewind.c): Likewise.
24993 (CFLAGS-wfileops.c): Likewise.
24994 (CFLAGS-wgenops.c): Likewise.
24995 (CFLAGS-oldiofopen.c): Likewise.
24996 (CFLAGS-iofopen.c): Likewise.
24997 (CFLAGS-iofopen64.c): Likewise.
24998 (CFLAGS-oldtmpfile.c): Likewise.
24999 (CFLAGS-tst_putwc.c): Likewise.
25000 * locale/Makefile (CFLAGS-md5.c): Likewise.
25001 (CFLAGS-charmap.c): Likewise.
25002 (CFLAGS-locfile.c): Likewise.
25003 (CFLAGS-charmap-dir.c): Likewise.
25004 * login/Makefile (CFLAGS-grantpt.c): Likewise.
25005 (CFLAGS-getpt.c): Likewise.
25006 (CFLAGS-pt_chown.c): Likewise.
25007 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
25008 (CFLAGS-obstack.c): Likewise.
25009 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
25010 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
25011 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
25012 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
25013 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
25014 (CFLAGS-test-tgmath.c): Likewise.
25015 (CFLAGS-test-tgmath2.c): Likewise.
25016 (CFLAGS-test-tgmath-ret.c): Likewise.
25017 (CFLAGS-test-powl.c): Likewise.
25018 (CFLAGS-test-snan.c): Likewise.
25019 (CFLAGS-test-signgam-finite.c): Likewise.
25020 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25021 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25022 (CFLAGS-test-signgam-uchar.c): Likewise.
25023 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25024 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25025 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25026 (CFLAGS-test-signgam-uint.c): Likewise.
25027 (CFLAGS-test-signgam-uint-init.c): Likewise.
25028 (CFLAGS-test-signgam-uint-static.c): Likewise.
25029 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25030 (CFLAGS-test-signgam-ullong.c): Likewise.
25031 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25032 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25033 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25034 (CFLAGS-test-math-cxx11.cc): Likewise.
25035 (CFLAGS-test-math-isinff.cc): Likewise.
25036 (CFLAGS-test-math-iszero.cc): Likewise.
25037 (CFLAGS-test-math-issignaling.cc): Likewise.
25038 (CFLAGS-test-math-iscanonical.cc): Likewise.
25039 (CFLAGS-test-iszero-excess-precision.c): Likewise.
25040 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
25041 (CFLAGS-test-flt-eval-method.c): Likewise.
25042 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
25043 (CFLAGS-test-finite-macros.c): Likewise.
25044 * misc/Makefile (CFLAGS-select.c): Likewise.
25045 (CFLAGS-tsearch.c): Likewise.
25046 (CFLAGS-lsearch.c): Likewise.
25047 (CFLAGS-pselect.c): Likewise.
25048 (CFLAGS-readv.c): Likewise.
25049 (CFLAGS-writev.c): Likewise.
25050 (CFLAGS-preadv.c): Likewise.
25051 (CFLAGS-preadv64.c): Likewise.
25052 (CFLAGS-pwritev.c): Likewise.
25053 (CFLAGS-pwritev64.c): Likewise.
25054 (CFLAGS-preadv2.c): Likewise.
25055 (CFLAGS-preadv64v2.c): Likewise.
25056 (CFLAGS-pwritev2.c): Likewise.
25057 (CFLAGS-pwritev64v2.c): Likewise.
25058 (CFLAGS-usleep.c): Likewise.
25059 (CFLAGS-syslog.c): Likewise.
25060 (CFLAGS-error.c): Likewise.
25061 (CFLAGS-getpass.c): Likewise.
25062 (CFLAGS-mkstemp.c): Likewise.
25063 (CFLAGS-mkstemp64.c): Likewise.
25064 (CFLAGS-getsysstats.c): Likewise.
25065 (CFLAGS-getusershell.c): Likewise.
25066 (CFLAGS-err.c): Likewise.
25067 (CFLAGS-tst-tsearch.c): Likewise.
25068 (CFLAGS-msync.c): Likewise.
25069 (CFLAGS-fdatasync.c): Likewise.
25070 (CFLAGS-fsync.c): Likewise.
25071 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
25072 (CFLAGS-unwind.c): Likewise.
25073 (CFLAGS-unwind-forcedunwind.c): Likewise.
25074 (CFLAGS-pthread_cancel.c): Likewise.
25075 (CFLAGS-pthread_setcancelstate.c): Likewise.
25076 (CFLAGS-pthread_setcanceltype.c): Likewise.
25077 (CFLAGS-cancellation.c): Likewise.
25078 (CFLAGS-libc-cancellation.c): Likewise.
25079 (CFLAGS-pthread_exit.c): Likewise.
25080 (CFLAGS-forward.c): Likewise.
25081 (CFLAGS-pthread_testcancel.c): Likewise.
25082 (CFLAGS-pthread_join.c): Likewise.
25083 (CFLAGS-pthread_timedjoin.c): Likewise.
25084 (CFLAGS-pthread_once.c): Likewise.
25085 (CFLAGS-pthread_cond_wait.c): Likewise.
25086 (CFLAGS-sem_wait.c): Likewise.
25087 (CFLAGS-sem_timedwait.c): Likewise.
25088 (CFLAGS-fcntl.c): Likewise.
25089 (CFLAGS-lockf.c): Likewise.
25090 (CFLAGS-pread.c): Likewise.
25091 (CFLAGS-pread64.c): Likewise.
25092 (CFLAGS-pwrite.c): Likewise.
25093 (CFLAGS-pwrite64.c): Likewise.
25094 (CFLAGS-wait.c): Likewise.
25095 (CFLAGS-waitpid.c): Likewise.
25096 (CFLAGS-sigwait.c): Likewise.
25097 (CFLAGS-msgrcv.c): Likewise.
25098 (CFLAGS-msgsnd.c): Likewise.
25099 (CFLAGS-tcdrain.c): Likewise.
25100 (CFLAGS-open.c): Likewise.
25101 (CFLAGS-open64.c): Likewise.
25102 (CFLAGS-pause.c): Likewise.
25103 (CFLAGS-recv.c): Likewise.
25104 (CFLAGS-send.c): Likewise.
25105 (CFLAGS-accept.c): Likewise.
25106 (CFLAGS-sendto.c): Likewise.
25107 (CFLAGS-connect.c): Likewise.
25108 (CFLAGS-recvfrom.c): Likewise.
25109 (CFLAGS-recvmsg.c): Likewise.
25110 (CFLAGS-sendmsg.c): Likewise.
25111 (CFLAGS-close.c): Likewise.
25112 (CFLAGS-read.c): Likewise.
25113 (CFLAGS-write.c): Likewise.
25114 (CFLAGS-nanosleep.c): Likewise.
25115 (CFLAGS-sigsuspend.c): Likewise.
25116 (CFLAGS-msync.c): Likewise.
25117 (CFLAGS-fdatasync.c): Likewise.
25118 (CFLAGS-fsync.c): Likewise.
25119 (CFLAGS-pt-system.c): Likewise.
25120 (CFLAGS-tst-cleanup2.c): Likewise.
25121 (CFLAGS-tst-cleanupx2.c): Likewise.
25122 (CFLAGS-flockfile.c): Likewise.
25123 (CFLAGS-ftrylockfile.c): Likewise.
25124 (CFLAGS-funlockfile.c): Likewise.
25125 (CFLAGS-tst-initializers1.c): Likewise.
25126 (CFLAGS-tst-initializers1-c89.c): Likewise.
25127 (CFLAGS-tst-initializers1-c99.c): Likewise.
25128 (CFLAGS-tst-initializers1-c11.c): Likewise.
25129 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25130 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25131 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25132 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25133 (CFLAGS-nscd_getgr_r.c): Likewise.
25134 (CFLAGS-nscd_gethst_r.c): Likewise.
25135 (CFLAGS-nscd_getai.c): Likewise.
25136 (CFLAGS-nscd_initgroups.c): Likewise.
25137 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25138 (CFLAGS-pause.c): Likewise.
25139 (CFLAGS-pread.c): Likewise.
25140 (CFLAGS-pread64.c): Likewise.
25141 (CFLAGS-pwrite.c): Likewise.
25142 (CFLAGS-pwrite64.c): Likewise.
25143 (CFLAGS-sleep.c): Likewise.
25144 (CFLAGS-wait.c): Likewise.
25145 (CFLAGS-waitid.c): Likewise.
25146 (CFLAGS-waitpid.c): Likewise.
25147 (CFLAGS-getopt.c): Likewise.
25148 (CFLAGS-wordexp.c): Likewise.
25149 (CFLAGS-sysconf.c): Likewise.
25150 (CFLAGS-pathconf.c): Likewise.
25151 (CFLAGS-fpathconf.c): Likewise.
25152 (CFLAGS-spawn.c): Likewise.
25153 (CFLAGS-spawnp.c): Likewise.
25154 (CFLAGS-spawni.c): Likewise.
25155 (CFLAGS-glob.c): Likewise.
25156 (CFLAGS-glob64.c): Likewise.
25157 (CFLAGS-getconf.c): Likewise.
25158 (CFLAGS-nanosleep.c): Likewise.
25159 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25160 (CFLAGS-getpwent.c): Likewise.
25161 (CFLAGS-getpw.c): Likewise.
25162 (CFLAGS-fgetpwent_r.c): Likewise.
25163 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25164 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25165 (CFLAGS-mq_timedreceive.c): Likewise.
25166 (CFLAGS-mq_timedsend.c): Likewise.
25167 (CFLAGS-clock_nanosleep.c): Likewise.
25168 (CFLAGS-librt-cancellation.c): Likewise.
25169 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25170 (CFLAGS-getspent.c): Likewise.
25171 (CFLAGS-fgetspent.c): Likewise.
25172 (CFLAGS-fgetspent_r.c): Likewise.
25173 (CFLAGS-putspent.c): Likewise.
25174 (CFLAGS-getspnam.c): Likewise.
25175 (CFLAGS-getspnam_r.c): Likewise.
25176 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25177 (CFLAGS-sigsuspend.c): Likewise.
25178 (CFLAGS-sigtimedwait.c): Likewise.
25179 (CFLAGS-sigwait.c): Likewise.
25180 (CFLAGS-sigwaitinfo.c): Likewise.
25181 (CFLAGS-sigreturn.c): Likewise.
25182 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25183 (CFLAGS-vfwprintf.c): Likewise.
25184 (CFLAGS-tmpfile.c): Likewise.
25185 (CFLAGS-tmpfile64.c): Likewise.
25186 (CFLAGS-tempname.c): Likewise.
25187 (CFLAGS-psignal.c): Likewise.
25188 (CFLAGS-vprintf.c): Likewise.
25189 (CFLAGS-cuserid.c): Likewise.
25190 (CFLAGS-errlist.c): Likewise.
25191 (CFLAGS-siglist.c): Likewise.
25192 (CFLAGS-scanf15.c): Likewise.
25193 (CFLAGS-scanf17.c): Likewise.
25194 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25195 (CFLAGS-msort.c): Likewise.
25196 (CFLAGS-qsort.c): Likewise.
25197 (CFLAGS-system.c): Likewise.
25198 (CFLAGS-fmtmsg.c): Likewise.
25199 (CFLAGS-strfmon.c): Likewise.
25200 (CFLAGS-strfmon_l.c): Likewise.
25201 (CFLAGS-strfromd.c): Likewise.
25202 (CFLAGS-strfromf.c): Likewise.
25203 (CFLAGS-strfroml.c): Likewise.
25204 (CFLAGS-tst-bsearch.c): Likewise.
25205 (CFLAGS-tst-qsort.c): Likewise.
25206 (CFLAGS-tst-makecontext2.c): Likewise.
25207 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25208 (CFLAGS-xnlm_prot.c): Likewise.
25209 (CFLAGS-xrstat.c): Likewise.
25210 (CFLAGS-xyppasswd.c): Likewise.
25211 (CFLAGS-xklm_prot.c): Likewise.
25212 (CFLAGS-xrex.c): Likewise.
25213 (CFLAGS-xsm_inter.c): Likewise.
25214 (CFLAGS-xmount.c): Likewise.
25215 (CFLAGS-xrusers.c): Likewise.
25216 (CFLAGS-xspray.c): Likewise.
25217 (CFLAGS-xnfs_prot.c): Likewise.
25218 (CFLAGS-xrquota.c): Likewise.
25219 (CFLAGS-xkey_prot.c): Likewise.
25220 (CFLAGS-auth_unix.c): Likewise.
25221 (CFLAGS-key_call.c): Likewise.
25222 (CFLAGS-pmap_rmt.c): Likewise.
25223 (CFLAGS-clnt_perr.c): Likewise.
25224 (CFLAGS-openchild.c): Likewise.
25225 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25226 (CFLAGS-msgsnd.c): Likewise.
25227 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25228 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25229 (CFLAGS-tzset.c): Likewise.
25230 (CFLAGS-getdate.c): Likewise.
25231 (CFLAGS-test_time.c): Likewise.
25232 (CPPFLAGS-tst-tzname.c): Likewise.
25233 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25234 (CFLAGS-zic.c): Likewise.
25235 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25236 (CFLAGS-wcswidth.c): Likewise.
25237 (CFLAGS-wcstol.c): Likewise.
25238 (CFLAGS-wcstoul.c): Likewise.
25239 (CFLAGS-wcstoll.c): Likewise.
25240 (CFLAGS-wcstoull.c): Likewise.
25241 (CFLAGS-wcstod.c): Likewise.
25242 (CFLAGS-wcstold.c): Likewise.
25243 (CFLAGS-wcstof128.c): Likewise.
25244 (CFLAGS-wcstof.c): Likewise.
25245 (CFLAGS-wcstol_l.c): Likewise.
25246 (CFLAGS-wcstoul_l.c): Likewise.
25247 (CFLAGS-wcstoll_l.c): Likewise.
25248 (CFLAGS-wcstoull_l.c): Likewise.
25249 (CFLAGS-wcstod_l.c): Likewise.
25250 (CFLAGS-wcstold_l.c): Likewise.
25251 (CFLAGS-wcstof128_l.c): Likewise.
25252 (CFLAGS-wcstof_l.c): Likewise.
25253 (CPPFLAGS-tst-wchar-h.c): Likewise.
25254 (CPPFLAGS-wcstold_l.c): Likewise.
25255
25256 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25257
25258 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25259
25260 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25261 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25262
25263 * manual/tunables.texi (Hardware Capability Tunables): Document
25264 glibc.tune.cached_memopt.
25265 * sysdeps/powerpc/cpu-features.c: New file.
25266 * sysdeps/powerpc/cpu-features.h: New file.
25267 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25268 _dl_powerpc_cpu_features.
25269 * sysdeps/powerpc/dl-tunables.list: New file.
25270 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25271 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25272 (INIT_ARCH): Initialize use_aligned_memopt.
25273 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25274 IS_IN(rtld))]: Restrict dl_platform_init availability and
25275 initialize CPU features used by tunables.
25276 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25277 Add memcpy-power8-cached.
25278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25279 __memcpy_power8_cached.
25280 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25282 New file.
25283
25284 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25285
25286 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25287 (CFLAGS-noinl-tester.c): Likewise.
25288 (CFLAGS-tst-strlen.c): Likewise.
25289 (CFLAGS-stratcliff.c): Likewise.
25290 (CFLAGS-test-ffs.c): Likewise.
25291 (CFLAGS-tst-inlcall.c): Likewise.
25292 (CFLAGS-tst-xbzero-opt.c): Likewise.
25293 (CFLAGS-memcpy.c): Likewise.
25294 (CFLAGS-wordcopy.c): Likewise.
25295
25296 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25297
25298 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25299 Store r15 on stack and add cfi rule.
25300 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25301 Likewise.
25302
25303 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25304
25305 [BZ #22577]
25306 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25307 call.
25308
25309 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25310
25311 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25312 Add s_sinf-sse2 and s_sinf-fma.
25313 (CFLAGS-s_sinf-fma.c): New.
25314 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25315 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25316 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25317
25318 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25319
25320 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25321
25322 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25323
25324 [BZ #22568]
25325 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25326 part of result to imaginary part of argument if it is zero and the
25327 real part of the argument is not finite.
25328 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25329 of result to real part of argument if it is zero and the imaginary
25330 part of the argument is not finite.
25331
25332 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25333
25334 [BZ #22524]
25335 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25336 and to the list of locales to be built for testing.
25337 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25338 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25339 and build the collation rules upon that.
25340
25341 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25342
25343 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25344 * manual/math.texi (Mathematics): Document support for _Float32.
25345 * math/Makefile (test-types): Add float32.
25346 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25347 * stdlib/Versions (GLIBC_2.27): Likewise.
25348 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25349 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25351 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25352 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25353 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25357 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25358 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25359 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25360 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25361 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25362 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25365 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25366 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25367 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25368 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25369 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25370 Likewise.
25371 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25373 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25374 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25375 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25377 Likewise.
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25379 Likewise.
25380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25381 Likewise.
25382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25383 Likewise.
25384
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25386 Likewise.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25388 Likewise.
25389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25390 Likewise.
25391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25392 Likewise.
25393 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25394 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25395 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25396 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25397 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25398 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25399 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25400 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25402 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25404 Likewise.
25405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25406 Likewise.
25407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25408 Likewise.
25409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25410 Likewise.
25411 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25412 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25413 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25414 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25415 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25416 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25417 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25418 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25419
25420 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25421
25422 * stdlib/strtof.c: Include <bits/floatn.h>
25423 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25424 and later undefine as macro. Define as weak alias if
25425 [!USE_WIDE_CHAR].
25426 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25427 and later undefine as macro. Define as weak alias if
25428 [USE_WIDE_CHAR].
25429 * stdlib/strtof_l.c: Include <bits/floatn.h>
25430 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25431 and later undefine as macro. Define as weak alias if
25432 [!USE_WIDE_CHAR].
25433 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25434 and later undefine as macro. Define as weak alias if
25435 [USE_WIDE_CHAR].
25436
25437 * stdlib/strfromf.c: Include <bits/floatn.h>.
25438 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25439 and later undefine as macro and define as weak alias.
25440
25441 * math/test-float32.h: New file.
25442
25443 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25444 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25445 (libm_alias_float_other_r): Create f32 alias.
25446 (libm_alias_float_r): Use semicolon before call to
25447 libm_alias_float_other_r.
25448
25449 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25450 second argument to libm_alias_float_other.
25451 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25452 second argument to libm_alias_float_other.
25453 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25454 argument to libm_alias_float_other.
25455
25456 [BZ #22561]
25457 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25458 real part of result for argument 0 + i * NaN.
25459 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25460 results for tests of 0 + i * NaN.
25461
25462 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25463
25464 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25465
25466 2017-12-06 David S. Miller <davem@davemloft.net>
25467
25468 * sysdeps/sparc/fpu/libm-test-ulps: Update
25469 exp_{downward,towardzero,upward} ulps.
25470
25471 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25472
25473 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25474 variables static.
25475
25476 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25477 (Y0_2D): Likewise.
25478 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25479 (Y0_2D): Likewise.
25480 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25481 (Y0_2D): Likewise.
25482 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25483 (Y0_2D): Likewise.
25484
25485 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25486
25487 [BZ #22515]
25488 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25489 and to the list of locales to be built for testing.
25490 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25491 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25492 and build the collation rules upon that.
25493
25494 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25495
25496 * NEWS: Add sinf to list of optimized functions.
25497
25498 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25499
25500 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25501 (__HAVE_FLOAT32X): Likewise.
25502 * manual/math.texi (Mathematics): Document support for _Float64
25503 and _Float32x.
25504 * math/Makefile (test-types): Add float64 and float32x.
25505 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25506 functions.
25507 * stdlib/Versions (GLIBC_2.27): Likewise.
25508 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25509 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25510 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25511 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25512 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25513 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25514 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25515 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25516 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25517 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25518 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25519 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25520 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25521 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25522 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25523 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25524 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25525 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25526 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25527 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25528 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25529 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25530 Likewise.
25531 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25533 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25534 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25535 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25537 Likewise.
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25539 Likewise.
25540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25541 Likewise.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25543 Likewise.
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25545 Likewise.
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25547 Likewise.
25548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25549 Likewise.
25550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25551 Likewise.
25552 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25553 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25554 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25555 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25556 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25557 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25558 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25559 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25560 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25561 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25563 Likewise.
25564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25565 Likewise.
25566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25567 Likewise.
25568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25569 Likewise.
25570 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25571 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25572 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25573 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25574 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25575 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25576 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25577 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25578
25579 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25580
25581 * bits/floatn-common.h: Include <bits/long-double.h>.
25582 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25583 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25584 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25585 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25586 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25587 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25588 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25589 (__builtin_huge_valf64): Use __builtin_huge_vall.
25590 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25591 (__builtin_inff64): Use __builtin_infl.
25592 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25593 (__builtin_nanf64): Use __builtin_nanl.
25594 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25595 (__builtin_nansf64): Use __builtin_nansl.
25596
25597 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25598 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25599 Carlos O'Donell <carlos@redhat.com>
25600
25601 * elf/dl-tunables.list: Add elision parameters.
25602 * manual/tunables.texi: Add entries about elision tunable.
25603 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25604 Add callback functions to dynamically enable/disable elision.
25605 Add multiple callbacks functions to set elision parameters.
25606 Deleted __libc_enable_secure check.
25607 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25608 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25609 * configure: Regenerated.
25610 * configure.ac: Option enable_lock_elision was deleted.
25611 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25612 * config.make.in: Remove references to enable_lock_elision.
25613 * manual/install.texi: Elision configure option was removed.
25614 * INSTALL: Regenerated to remove enable_lock_elision.
25615 * nptl/Makefile:
25616 Disable elision so it can verify error case for destroying a mutex.
25617 * sysdeps/powerpc/nptl/elide.h:
25618 Cleanup ENABLE_LOCK_ELISION check.
25619 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25620 * sysdeps/s390/configure: Regenerated.
25621 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25622 * nptl/tst-mutex8.c:
25623 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25624 * sysdeps/powerpc/powerpc32/sysdep.h:
25625 Deleted all ENABLE_LOCK_ELISION checks.
25626 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25627 * sysdeps/powerpc/sysdep.h: Likewise.
25628 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25629 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25630 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25631 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25632 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25633 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25634 enable-lock-elision.
25635
25636 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25637
25638 * stdlib/strtod.c: Include <bits/floatn.h>.
25639 (BUILD_DOUBLE): New macro.
25640 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25641 (strtof64): Define and later undefine as macro. Define as weak
25642 alias if [!USE_WIDE_CHAR].
25643 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25644 (wcstof64): Define and later undefine as macro. Define as weak
25645 alias if [USE_WIDE_CHAR].
25646 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25647 (strtof32x): Define and later undefine as macro. Define as weak
25648 alias if [!USE_WIDE_CHAR].
25649 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25650 (wcstof32x): Define and later undefine as macro. Define as weak
25651 alias if [USE_WIDE_CHAR].
25652 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25653 (BUILD_DOUBLE): New macro.
25654 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25655 (strtof64_l): Define and later undefine as macro. Define as weak
25656 alias if [!USE_WIDE_CHAR].
25657 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25658 (wcstof64_l): Define and later undefine as macro. Define as weak
25659 alias if [USE_WIDE_CHAR].
25660 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25661 (strtof32x_l): Define and later undefine as macro. Define as weak
25662 alias if [!USE_WIDE_CHAR].
25663 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25664 (wcstof32x_l): Define and later undefine as macro. Define as weak
25665 alias if [USE_WIDE_CHAR].
25666
25667 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25668
25669 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25670 (reduced): Use ones as double instead of integer.
25671
25672 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25673
25674 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25675
25676 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25677
25678 * stdlib/strfromd.c: Include <bits/floatn.h>.
25679 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25680 and later undefine as macro and define as weak alias.
25681 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25682 Likewise.
25683
25684 * math/test-float32x.h: New file.
25685 * math/test-float64.h: Likewise.
25686
25687 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25688 (libm_alias_double_other_r_f64): New macro.
25689 (libm_alias_double_other_r_f32x): Likewise.
25690 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25691 libm_alias_double_other_r_f32x.
25692 (libm_alias_double_r): Use semicolon before call to
25693 libm_alias_double_other_r.
25694 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25695 <bits/floatn.h>.
25696 (libm_alias_double_other_r_f64): New macro.
25697 (libm_alias_double_other_r_f32x): Likewise.
25698 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25699 libm_alias_double_other_r_f32x.
25700
25701 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25702
25703 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25704 int.
25705 (SINF_FUNC): Likewise. Replace floor with simple casts.
25706
25707 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25708
25709 [BZ #22517]
25710 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25711 and to the list of locales to be built for testing.
25712 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25713 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25714 and build the collation rules upon that.
25715
25716 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25717
25718 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25719 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25720 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25721 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25722 instead of __insn__xxx.
25723 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25724 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25725 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25726 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25727 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25728 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25729
25730 2017-12-05 Florian Weimer <fweimer@redhat.com>
25731
25732 Linux: Implement interfaces for memory protection keys
25733 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25734 xsignal, xsysconf.
25735 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25736 * support/xunistd.h (xsysconf): Declare.
25737 * support/xraise.c: New file.
25738 * support/xsigaction.c: Likewise.
25739 * support/xsignal.c: Likewise.
25740 * support/xsysconf.c: Likewise.
25741 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25742 pkey_set, pkey_get, pkey_mprotect.
25743 [misc] (tests): Add tst-pkey.
25744 (tst-pkey): Link with -lpthread.
25745 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25746 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25747 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25748 (PKEY_DISABLE_WRITE): Define.
25749 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25750 Declare.
25751 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25752 (SEGV_PKUERR): Add.
25753 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25754 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25755 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25756 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25757 Add.
25758 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25759 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25760 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25761 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25762 * sysdeps/unix/sysv/linux/**.abilist: Update.
25763
25764 2017-12-05 Florian Weimer <fweimer@redhat.com>
25765
25766 * support/tst-test_compare.c (subprocess): Use long long instead
25767 of long argument for consistent type width across 32-bit and
25768 64-bit architectures.
25769 (do_test): Adjust expected output.
25770
25771 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25772
25773 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25774 (cosf): Define using libm_alias_float.
25775 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25776 (fabsf): Define using libm_alias_float.
25777 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25778 (fmaf): Define using libm_alias_float.
25779 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25780 (rintf): Define using libm_alias_float.
25781 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25782 (sinf): Define using libm_alias_float.
25783 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25784 <libm-alias-float.h>.
25785 (modff): Define using libm_alias_float.
25786 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25787 <libm-alias-float.h>.
25788 (logbf): Define using libm_alias_float.
25789 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25790 <libm-alias-float.h>.
25791 (ceilf): Define using libm_alias_float.
25792 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25793 <libm-alias-float.h>.
25794 (copysignf): Define using libm_alias_float.
25795 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25796 <libm-alias-float.h>.
25797 (floorf): Define using libm_alias_float.
25798 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25799 <libm-alias-float.h>.
25800 (llrintf): Define using libm_alias_float.
25801 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25802 <libm-alias-float.h>.
25803 (llroundf): Define using libm_alias_float.
25804 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25805 <libm-alias-float.h>.
25806 (lrintf): Define using libm_alias_float.
25807 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25808 <libm-alias-float.h>.
25809 (lroundf): Define using libm_alias_float.
25810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25811 <libm-alias-float.h>.
25812 (nearbyintf): Define using libm_alias_float.
25813 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25814 <libm-alias-float.h>.
25815 (rintf): Define using libm_alias_float.
25816 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25817 <libm-alias-float.h>.
25818 (roundf): Define using libm_alias_float.
25819 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25820 <libm-alias-float.h>.
25821 (truncf): Define using libm_alias_float.
25822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25823 Include <libm-alias-float.h>.
25824 (ceilf): Define using libm_alias_float.
25825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25826 Include <libm-alias-float.h>.
25827 (copysignf): Define using libm_alias_float.
25828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25829 Include <libm-alias-float.h>.
25830 (floorf): Define using libm_alias_float.
25831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25832 Include <libm-alias-float.h>.
25833 (llrintf): Define using libm_alias_float.
25834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25835 Include <libm-alias-float.h>.
25836 (llroundf): Define using libm_alias_float.
25837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25838 Include <libm-alias-float.h>.
25839 (logbf): Define using libm_alias_float.
25840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25841 Include <libm-alias-float.h>.
25842 (lrintf): Define using libm_alias_float.
25843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25844 Include <libm-alias-float.h>.
25845 (lroundf): Define using libm_alias_float.
25846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25847 Include <libm-alias-float.h>.
25848 (modff): Define using libm_alias_float.
25849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25850 Include <libm-alias-float.h>.
25851 (roundf): Define using libm_alias_float.
25852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25853 Include <libm-alias-float.h>.
25854 (truncf): Define using libm_alias_float.
25855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25856 <libm-alias-float.h>.
25857 (llrintf): Define using libm_alias_float.
25858 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25859 <libm-alias-float.h>.
25860 (llroundf): Define using libm_alias_float.
25861 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25862 <libm-alias-float.h>.
25863 (ceilf): Define using libm_alias_float.
25864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25865 <libm-alias-float.h>.
25866 (floorf): Define using libm_alias_float.
25867 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25868 <libm-alias-float.h>.
25869 (llroundf): Define using libm_alias_float.
25870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25871 <libm-alias-float.h>.
25872 (lroundf): Define using libm_alias_float.
25873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25874 <libm-alias-float.h>.
25875 (roundf): Define using libm_alias_float.
25876 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25877 <libm-alias-float.h>.
25878 (truncf): Define using libm_alias_float.
25879 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25880 <libm-alias-float.h>.
25881 (copysignf): Define using libm_alias_float.
25882 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25883 <libm-alias-float.h>.
25884 (llrintf): Define using libm_alias_float.
25885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25886 <libm-alias-float.h>.
25887 (llroundf): Define using libm_alias_float.
25888 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25889 <libm-alias-float.h>.
25890 (lrintf): Define using libm_alias_float.
25891 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25892 <libm-alias-float.h>.
25893 (lroundf): Define using libm_alias_float.
25894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25895 <libm-alias-float.h>.
25896 (ceilf): Define using libm_alias_float.
25897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25898 <libm-alias-float.h>.
25899 (copysignf): Define using libm_alias_float.
25900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25901 <libm-alias-float.h>.
25902 (cosf): Define using libm_alias_float.
25903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25904 <libm-alias-float.h>.
25905 (floorf): Define using libm_alias_float.
25906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25907 <libm-alias-float.h>.
25908 (llrintf): Define using libm_alias_float.
25909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25910 <libm-alias-float.h>.
25911 (llroundf): Define using libm_alias_float.
25912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25913 <libm-alias-float.h>.
25914 (logbf): Define using libm_alias_float.
25915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25916 <libm-alias-float.h>.
25917 (modff): Define using libm_alias_float.
25918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25919 <libm-alias-float.h>.
25920 (roundf): Define using libm_alias_float.
25921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25922 <libm-alias-float.h>.
25923 (sinf): Define using libm_alias_float.
25924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25925 <libm-alias-float.h>.
25926 (truncf): Define using libm_alias_float.
25927 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25928 <libm-alias-float.h>.
25929 (ceilf): Define using libm_alias_float.
25930 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25931 <libm-alias-float.h>.
25932 (copysignf): Define using libm_alias_float.
25933 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25934 <libm-alias-float.h>.
25935 (floorf): Define using libm_alias_float.
25936 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25937 <libm-alias-float.h>.
25938 (llrintf): Define using libm_alias_float.
25939 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25940 <libm-alias-float.h>.
25941 (llroundf): Define using libm_alias_float.
25942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25943 <libm-alias-float.h>.
25944 (nearbyintf): Define using libm_alias_float.
25945 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25946 <libm-alias-float.h>.
25947 (rintf): Define using libm_alias_float.
25948 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25949 <libm-alias-float.h>.
25950 (roundf): Define using libm_alias_float.
25951 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25952 <libm-alias-float.h>.
25953 (truncf): Define using libm_alias_float.
25954 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25955 <libm-alias-float.h>.
25956 (ceilf): Define using libm_alias_float.
25957 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25958 <libm-alias-float.h>.
25959 (floorf): Define using libm_alias_float.
25960 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25961 <libm-alias-float.h>.
25962 (llroundf): Define using libm_alias_float.
25963 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25964 <libm-alias-float.h>.
25965 (roundf): Define using libm_alias_float.
25966 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25967 <libm-alias-float.h>.
25968 (truncf): Define using libm_alias_float.
25969 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25970 <libm-alias-float.h>.
25971 (copysignf): Define using libm_alias_float.
25972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25973 <libm-alias-float.h>.
25974 (llrintf): Define using libm_alias_float.
25975 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25976 <libm-alias-float.h>.
25977 (llroundf): Define using libm_alias_float.
25978 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25979 <libm-alias-float.h>.
25980 (cosf): Define using libm_alias_float.
25981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25982 <libm-alias-float.h>.
25983 (llrintf): Define using libm_alias_float.
25984 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25985 <libm-alias-float.h>.
25986 (llroundf): Define using libm_alias_float.
25987 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25988 <libm-alias-float.h>.
25989 (sinf): Define using libm_alias_float.
25990
25991 2017-12-04 Florian Weimer <fweimer@redhat.com>
25992
25993 * support/check.h (TEST_COMPARE): Define.
25994 (support_test_compare_failure): Declare.
25995 * support/Makefile (libsupport-routines): Add
25996 support_test_compare_failure.
25997 (tests): Add tst-test_compare.
25998 * support /support_test_compare_failure.c: New file.
25999 * support/tst-test_compare.c: Likewise.
26000
26001 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26002
26003 [BZ #22527]
26004 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
26005 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
26006 available, this rewrite of the collation rules does reproduce
26007 the test file in the same order.
26008
26009 2017-12-04 Mike FABIAN <mfabian@redhat.com>
26010
26011 [BZ #10580]
26012 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
26013 digraphs in the month and day names. Using single code points for
26014 digraphs is deprecated. While there are dedicated Unicode
26015 codepoints, for the digraphs, these are included for backwards
26016 compatibility and modern texts use a sequence of Basic Latin
26017 characters. See: https://www.unicode.org/faq/ligature_digraph.html
26018 This makes the month and day names agree exactly with CLDR now,
26019 CLDR does not use the single code points for the digraphs either.
26020
26021 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
26022
26023 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
26024
26025 2017-12-04 Joseph Myers <joseph@codesourcery.com>
26026
26027 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
26028 of floor.
26029
26030 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
26031
26032 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
26033 Define only for libc.so.
26034
26035 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
26036
26037 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26038 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
26039 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
26040 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
26041 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26042
26043 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26044
26045 [BZ #5997]
26046 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
26047
26048 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
26049
26050 [BZ libc/19170]
26051 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
26052 PREINIT_FUNCTION_WEAK is nonzero.
26053 (gmon_initializer): New function. Put procedure label for it in
26054 .init_array section.
26055 (_init): Don't call PREINIT_FUNCTION.
26056 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
26057 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
26058 value when map argument is null.
26059
26060 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
26061 depi instruction from PIC pc-relative sequence.
26062 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
26063 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
26064 (elf_machine_load_address): Likewise.
26065 (elf_machine_runtime_setup): Likewise.
26066
26067 2017-12-02 Joseph Myers <joseph@codesourcery.com>
26068
26069 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
26070 <libm-alias-double.h>.
26071 (logb): Define using libm_alias_double.
26072 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26073 <libm-alias-double.h>.
26074 (copysign): Define using libm_alias_double.
26075 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
26076 <libm-alias-double.h>.
26077 (llrint): Define using libm_alias_double.
26078 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
26079 <libm-alias-double.h>.
26080 (llround): Define using libm_alias_double.
26081 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26082 <libm-alias-double.h>.
26083 (lrint): Define using libm_alias_double.
26084 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26085 <libm-alias-double.h>.
26086 (lround): Define using libm_alias_double.
26087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26088 Include <libm-alias-double.h>.
26089 (copysign): Define using libm_alias_double.
26090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
26091 Include <libm-alias-double.h>.
26092 (llrint): Define using libm_alias_double.
26093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
26094 Include <libm-alias-double.h>.
26095 (llround): Define using libm_alias_double.
26096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
26097 <libm-alias-double.h>.
26098 (logb): Define using libm_alias_double.
26099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
26100 Include <libm-alias-double.h>.
26101 (lrint): Define using libm_alias_double.
26102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26103 Include <libm-alias-double.h>.
26104 (lround): Define using libm_alias_double.
26105 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26106 <libm-alias-double.h>.
26107 (llrint): Define using libm_alias_double.
26108 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26109 <libm-alias-double.h>.
26110 (llround): Define using libm_alias_double.
26111 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26112 <libm-alias-double.h>.
26113 (llround): Define using libm_alias_double.
26114 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26115 <libm-alias-double.h>.
26116 (lround): Define using libm_alias_double.
26117 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26118 <libm-alias-double.h>.
26119 (copysign): Define using libm_alias_double.
26120 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26121 <libm-alias-double.h>.
26122 (llrint): Define using libm_alias_double.
26123 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26124 <libm-alias-double.h>.
26125 (llround): Define using libm_alias_double.
26126 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26127 <libm-alias-double.h>.
26128 (lrint): Define using libm_alias_double.
26129 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26130 <libm-alias-double.h>.
26131 (lround): Define using libm_alias_double.
26132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26133 <libm-alias-double.h>.
26134 (copysign): Define using libm_alias_double.
26135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26136 <libm-alias-double.h>.
26137 (llrint): Define using libm_alias_double.
26138 (lrint): Likewise.
26139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26140 <libm-alias-double.h>.
26141 (llround): Define using libm_alias_double.
26142 (lround): Likewise.
26143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26144 <libm-alias-double.h>.
26145 (logb): Define using libm_alias_double.
26146 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26147 <libm-alias-double.h>.
26148 (copysign): Define using libm_alias_double.
26149 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26150 <libm-alias-double.h>.
26151 (llrint): Define using libm_alias_double.
26152 (lrint): Likewise.
26153 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26154 <libm-alias-double.h>.
26155 (llround): Define using libm_alias_double.
26156 (lround): Likewise.
26157 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26158 <libm-alias-double.h>.
26159 (llround): Define using libm_alias_double.
26160 (lround): Likewise.
26161 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26162 <libm-alias-double.h>.
26163 (copysign): Define using libm_alias_double.
26164 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26165 <libm-alias-double.h>.
26166 (llrint): Define using libm_alias_double.
26167 (lrint): Likewise.
26168 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26169 <libm-alias-double.h>.
26170 (llround): Define using libm_alias_double.
26171 (lround): Likewise.
26172 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26173 <libm-alias-double.h>.
26174 (llrint): Define using libm_alias_double.
26175 (lrint): Likewise.
26176 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26177 <libm-alias-double.h>.
26178 (llround): Define using libm_alias_double.
26179 (lround): Likewise.
26180
26181 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26182
26183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26184 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26185 compat symbol based on llround.
26186
26187 * sysdeps/powerpc/power7/fpu/s_logb.c
26188 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26189 symbol based on __logb, not on logb.
26190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26191 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26193 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26194
26195 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26196 (rint): Define using libm_alias_double.
26197 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26198 <libm-alias-double.h>.
26199 (modf): Define using libm_alias_double.
26200 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26201 <libm-alias-double.h>.
26202 (ceil): Define using libm_alias_double.
26203 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26204 <libm-alias-double.h>.
26205 (floor): Define using libm_alias_double.
26206 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26207 <libm-alias-double.h>.
26208 (nearbyint): Define using libm_alias_double.
26209 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26210 <libm-alias-double.h>.
26211 (rint): Define using libm_alias_double.
26212 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26213 <libm-alias-double.h>.
26214 (round): Define using libm_alias_double.
26215 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26216 <libm-alias-double.h>.
26217 (trunc): Define using libm_alias_double.
26218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26219 <libm-alias-double.h>.
26220 (ceil): Define using libm_alias_double.
26221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26222 Include <libm-alias-double.h>.
26223 (floor): Define using libm_alias_double.
26224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26225 <libm-alias-double.h>.
26226 (modf): Define using libm_alias_double.
26227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26228 Include <libm-alias-double.h>.
26229 (round): Define using libm_alias_double.
26230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26231 Include <libm-alias-double.h>.
26232 (trunc): Define using libm_alias_double.
26233 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26234 <libm-alias-double.h>.
26235 (ceil): Define using libm_alias_double.
26236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26237 <libm-alias-double.h>.
26238 (floor): Define using libm_alias_double.
26239 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26240 <libm-alias-double.h>.
26241 (round): Define using libm_alias_double.
26242 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26243 <libm-alias-double.h>.
26244 (trunc): Define using libm_alias_double.
26245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26246 <libm-alias-double.h>.
26247 (ceil): Define using libm_alias_double.
26248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26249 <libm-alias-double.h>.
26250 (floor): Define using libm_alias_double.
26251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26252 <libm-alias-double.h>.
26253 (modf): Define using libm_alias_double.
26254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26255 <libm-alias-double.h>.
26256 (round): Define using libm_alias_double.
26257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26258 <libm-alias-double.h>.
26259 (trunc): Define using libm_alias_double.
26260 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26261 <libm-alias-double.h>.
26262 (ceil): Define using libm_alias_double.
26263 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26264 <libm-alias-double.h>.
26265 (floor): Define using libm_alias_double.
26266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26267 <libm-alias-double.h>.
26268 (nearbyint): Define using libm_alias_double.
26269 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26270 <libm-alias-double.h>.
26271 (rint): Define using libm_alias_double.
26272 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26273 <libm-alias-double.h>.
26274 (round): Define using libm_alias_double.
26275 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26276 <libm-alias-double.h>.
26277 (trunc): Define using libm_alias_double.
26278 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26279 <libm-alias-double.h>.
26280 (ceil): Define using libm_alias_double.
26281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26282 <libm-alias-double.h>.
26283 (floor): Define using libm_alias_double.
26284 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26285 <libm-alias-double.h>.
26286 (round): Define using libm_alias_double.
26287 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26288 <libm-alias-double.h>.
26289 (trunc): Define using libm_alias_double.
26290
26291 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26292 (fabs): Define using libm_alias_double.
26293 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26294 (fma): Define using libm_alias_double.
26295 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26296 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26297 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26298 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26299
26300 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26301
26302 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26303
26304 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26305 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26306 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26307
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26309 due redirect macro.
26310
26311 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26312
26313 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26314
26315 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26316
26317 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26318 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26319 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26320 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26321
26322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26323 (libm-sysdep_routines): Add s_nearbyintf-generic and
26324 s_nearbyint-generic.
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26326 New file.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26329 Likewise.
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26331 Likewise.
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26333 file.
26334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26335 Likewise.
26336
26337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26338 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26340 file.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26343 Likewise.
26344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26347
26348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26349 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26351 file.
26352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26354 Likewise.
26355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26358
26359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26360 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26362 file.
26363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26365 Likewise.
26366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26369
26370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26371 (sysdep_calls): New rule.
26372 (sysdep_routines): Use sysdep_calls as base.
26373 (libm-sysdep_routines): Add generic rule for symbols shared with
26374 libc. Add s_copysign-generic and s_copysign-generic objects.
26375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26376 New file.
26377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26379 Likewise.
26380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26383
26384 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26385
26386 [BZ #22519]
26387 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26388 the list of locales to be built for testing.
26389 * localedata/is_IS.UTF-8.in: New file.
26390 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26391 on iso14651_t1.
26392
26393 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26394
26395 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26396 <libm-alias-float.h>.
26397 (fabsf): Define using libm_alias_float.
26398
26399 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26400
26401 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26402
26403 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26404
26405 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26406 <libm-alias-float.h>.
26407 (fabsf): Define using libm_alias_float.
26408 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26409 <libm-alias-float.h>.
26410 (lrintf): Define using libm_alias_float.
26411 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26412 <libm-alias-float.h>.
26413 (rintf): Define using libm_alias_float.
26414
26415 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26416 <libm-alias-double.h>.
26417 (fabs): Define using libm_alias_double.
26418 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26419 <libm-alias-double.h>.
26420 (lrint): Define using libm_alias_double.
26421 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26422 <libm-alias-double.h>.
26423 (rint): Define using libm_alias_double.
26424
26425 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26426 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26427 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26428 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26429 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26430 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26431 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26432 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26433 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26434 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26435 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26436 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26437 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26438 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26439 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26440 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26441 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26442 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26443 s_atan_template.c.
26444 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26445 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26446 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26447 s_ceil_template.c.
26448 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26449 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26450 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26451 s_cos_template.c.
26452 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26453 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26454 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26455 s_expm1_template.c.
26456 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26457 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26458 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26459 s_fabs_template.c.
26460 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26461 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26462 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26463 s_floor_template.c.
26464 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26465 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26466 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26467 s_frexp_template.c.
26468 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26469 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26470 s_lrint_template.c.
26471 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26472 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26473 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26474 s_modf_template.c.
26475 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26476 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26477 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26478 s_nearbyint_template.c.
26479 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26480 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26481 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26482 s_remquo_template.c.
26483 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26484 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26485 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26486 s_rint_template.c.
26487 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26488 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26489 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26490 s_sin_template.c.
26491 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26492 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26493 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26494 s_sincos_template.c.
26495 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26496 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26497 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26498 s_tan_template.c.
26499 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26500 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26501 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26502 s_tanh_template.c.
26503 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26504 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26505 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26506 s_trunc_template.c.
26507 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26508 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26509 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26510 s_atan.c instead of including s_atan.c.
26511 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26512 s_atanf.c instead of including s_atanf.c.
26513 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26514 s_atanl.c instead of including s_atanl.c.
26515 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26516 instead of s_atan.c.
26517 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26518 instead of s_atanf.c.
26519 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26520 instead of s_atanl.c.
26521
26522 * scripts/update-copyrights: Do not handle intl/plural.c
26523 specially.
26524
26525 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26526
26527 [BZ #22432]
26528 * configure.ac (BISON): Require to be present.
26529 * configure: Regenerated.
26530 * intl/Makefile (generated): Add plural.c.
26531 [$(BISON) != no]: Make code unconditional.
26532 (plural.c): Change rule to $(objpfx)plural.c.
26533 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26534 * intl/plural.c: Remove.
26535 * manual/install.texi (Tools for Compilation): Document bison as
26536 required.
26537 * INSTALL: Regenerated.
26538
26539 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26540
26541 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26542 <libm-alias-double.h>.
26543 (llrint): Define using libm_alias_double.
26544 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26545 <libm-alias-float.h>.
26546 (llrintf): Define using libm_alias_float.
26547 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26548 <libm-alias-ldouble.h>.
26549 (llrintl): Define using libm_alias_ldouble.
26550
26551 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26552 declare_mgen_alias instead of weak_alias.
26553 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26554 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26555 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26556
26557 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26558
26559 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26560 Add add_n-generic.
26561 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26562 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26563 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26564
26565 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26566 Add submul_1-generic.
26567 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26568 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26569 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26570
26571 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26572 Add addmul_1-generic.
26573 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26574 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26575 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26576
26577 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26578 Add sub_n-generic.
26579 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26580 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26581 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26582
26583 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26584 Add mul_1-generic.
26585 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26586 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26587 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26588
26589 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26590
26591 According to CLDR, collation rules for Serbian and Bosnian
26592 should be the same as for Croatian.
26593
26594 [BZ #22534]
26595 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26596 and to the list of locales to be built for testing.
26597 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26598 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26599 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26600 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26601
26602 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26603
26604 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26605 to make test case pass.
26606 * localedata/hr_HR.UTF-8.in: Add more test strings.
26607
26608 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26609
26610 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26611
26612 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26613
26614 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26615 the list of locales to built for testing.
26616 * localedata/hr_HR.UTF-8.in: New file.
26617
26618 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26619
26620 [BZ #10580]
26621 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26622 iso14651_t1.
26623 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26624 CLDR (except use ligatures for the digraphs, CLDR does not use
26625 the ligatures), add first_workday, some fixes in the date and time
26626 formats.
26627 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26628 for Đ and đ.
26629 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26630 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26631 Add int_p_cs_precedes and int_n_cs_precedes.
26632 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26633 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26634 LC_MONETARY now).
26635 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26636 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26637 name_miss.
26638 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26639 and lang_lib. Change postal_fmt.
26640
26641 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26642
26643 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26644 <setjmp.h>.
26645 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26646 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26647 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26648 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26649 * sysdeps/generic/setjmpP.h: New file.
26650 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26651 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26652 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26653 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26654 Add jmp_buf-ssp.sym.
26655 (tests): Add tst-saved_mask-1.
26656
26657 2017-11-30 Arjun Shankar <arjun@redhat.com>
26658
26659 [BZ #22375]
26660 CVE-2017-17426
26661 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26662 instead of request2size.
26663
26664 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26665
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26667 (__lllrint): Remove alias.
26668 (lllrint): Likewise.
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26670 (__lllrintf): Likewise.
26671 (lllrintf): Likewise.
26672
26673 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26674 <libm-alias-float.h>.
26675 (copysignf): Define using libm_alias_float.
26676 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26677 <libm-alias-float.h>.
26678 (fabsf): Define using libm_alias_float.
26679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26680 Include <libm-alias-float.h>.
26681 (copysignf): Define using libm_alias_float.
26682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26683 <libm-alias-float.h>.
26684 (fabsf): Define using libm_alias_float.
26685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26686 <libm-alias-float.h>.
26687 (fdimf): Define using libm_alias_float.
26688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26689 <libm-alias-float.h>.
26690 (fmaf): Define using libm_alias_float.
26691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26692 <libm-alias-float.h>.
26693 (llrintf): Define using libm_alias_float.
26694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26695 Include <libm-alias-float.h>.
26696 (nearbyintf): Define using libm_alias_float.
26697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26698 <libm-alias-float.h>.
26699 (rintf): Define using libm_alias_float.
26700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26701 <libm-alias-float.h>.
26702 (llrintf): Define using libm_alias_float.
26703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26704 <libm-alias-float.h>.
26705 (lrintf): Define using libm_alias_float.
26706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26707 <libm-alias-float.h>.
26708 (nearbyintf): Define using libm_alias_float.
26709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26710 <libm-alias-float.h>.
26711 (rintf): Define using libm_alias_float.
26712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26713 <libm-alias-float.h>.
26714 (ceilf): Define using libm_alias_float.
26715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26716 <libm-alias-float.h>.
26717 (floorf): Define using libm_alias_float.
26718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26719 <libm-alias-float.h>.
26720 (fmaf): Define using libm_alias_float.
26721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26722 <libm-alias-float.h>.
26723 (lrintf): Define using libm_alias_float.
26724 (llrintf): Likewise.
26725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26726 <libm-alias-float.h>.
26727 (nearbyintf): Define using libm_alias_float.
26728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26729 <libm-alias-float.h>.
26730 (rintf): Define using libm_alias_float.
26731 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26732 <libm-alias-float.h>.
26733 (truncf): Define using libm_alias_float.
26734 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26735 <libm-alias-float.h>.
26736 (copysignf): Define using libm_alias_float.
26737 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26738 <libm-alias-float.h>.
26739 (fabsf): Define using libm_alias_float.
26740 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26741 <libm-alias-float.h>.
26742 (lrintf): Define using libm_alias_float.
26743 (llrintf): Likewise.
26744 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26745 <libm-alias-float.h>.
26746 (nearbyintf): Define using libm_alias_float.
26747 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26748 <libm-alias-float.h>.
26749 (rintf): Define using libm_alias_float.
26750
26751 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26752
26753 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26754 <libm-alias-double.h>.
26755 (copysign): Define using libm_alias_double.
26756 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26757 <libm-alias-double.h>.
26758 (fabs): Define using libm_alias_double.
26759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26760 Include <libm-alias-double.h>.
26761 (copysign): Define using libm_alias_double.
26762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26763 <libm-alias-double.h>.
26764 (fabs): Define using libm_alias_double.
26765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26766 <libm-alias-double.h>.
26767 (fdim): Define using libm_alias_double.
26768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26769 <libm-alias-double.h>.
26770 (fma): Define using libm_alias_double.
26771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26772 <libm-alias-double.h>.
26773 (llrint): Define using libm_alias_double.
26774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26775 Include <libm-alias-double.h>.
26776 (nearbyint): Define using libm_alias_double.
26777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26778 <libm-alias-double.h>.
26779 (rint): Define using libm_alias_double.
26780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26781 <libm-alias-double.h>.
26782 (fabs): Define using libm_alias_double.
26783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26784 <libm-alias-double.h>.
26785 (llrint): Define using libm_alias_double.
26786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26787 <libm-alias-double.h>.
26788 (nearbyint): Define using libm_alias_double.
26789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26790 <libm-alias-double.h>.
26791 (rint): Define using libm_alias_double.
26792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26793 <libm-alias-double.h>.
26794 (ceil): Define using libm_alias_double.
26795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26796 <libm-alias-double.h>.
26797 (floor): Define using libm_alias_double.
26798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26799 <libm-alias-double.h>.
26800 (fma): Define using libm_alias_double.
26801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26802 <libm-alias-double.h>.
26803 (lrint): Define using libm_alias_double.
26804 (llrint): Likewise.
26805 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26806 <libm-alias-double.h>.
26807 (nearbyint): Define using libm_alias_double.
26808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26809 <libm-alias-double.h>.
26810 (rint): Define using libm_alias_double.
26811 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26812 <libm-alias-double.h>.
26813 (trunc): Define using libm_alias_double.
26814 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26815 <libm-alias-double.h>.
26816 (copysign): Define using libm_alias_double.
26817 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26818 <libm-alias-double.h>.
26819 (fabs): Define using libm_alias_double.
26820 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26821 <libm-alias-double.h>.
26822 (lrint): Define using libm_alias_double.
26823 (llrint): Likewise.
26824 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26825 <libm-alias-double.h>.
26826 (nearbyint): Define using libm_alias_double.
26827 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26828 <libm-alias-double.h>.
26829 (rint): Define using libm_alias_double.
26830
26831 [BZ #22229]
26832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26833 <math_ldbl_opt.h>.
26834 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26835
26836 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26837 SPARC --disable-multi-arch glibc variants.
26838
26839 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26840 <libm-alias-float.h>.
26841 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26842 if [SHARED].
26843 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26844 <libm-alias-float.h>.
26845 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26846 if [SHARED].
26847 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26848 <libm-alias-float.h>.
26849 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26850 if [SHARED].
26851 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26852 <libm-alias-float.h>.
26853 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26854 if [SHARED].
26855 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26856 <libm-alias-float.h>.
26857 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26858 if [SHARED].
26859 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26860 <libm-alias-float.h>.
26861 (ceilf): Define using libm_alias_float.
26862 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26863 <libm-alias-float.h>.
26864 (floorf): Define using libm_alias_float.
26865 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26866 <libm-alias-float.h>.
26867 (fmaf): Define using libm_alias_float.
26868 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26869 <libm-alias-float.h>.
26870 (nearbyintf): Define using libm_alias_float.
26871 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26872 <libm-alias-float.h>.
26873 (rintf): Define using libm_alias_float.
26874 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26875 <libm-alias-float.h>.
26876 (truncf): Define using libm_alias_float.
26877 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26878 (copysignf): Define using libm_alias_float.
26879 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26880 (cosf): Define using libm_alias_float.
26881 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26882 (fabsf): Define using libm_alias_float.
26883 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26884 (fmaxf): Define using libm_alias_float.
26885 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26886 (fminf): Define using libm_alias_float.
26887 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26888 (llrintf): Define using libm_alias_float.
26889 [!__ILP32__] (lrintf): Likewise.
26890 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26891 (sincosf): Define using libm_alias_float.
26892 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26893 (sinf): Define using libm_alias_float.
26894 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26895 (lrintf): Define using libm_alias_float.
26896
26897 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26898 <libm-alias-double.h>.
26899 (atan): Define using libm_alias_double.
26900 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26901 <libm-alias-double.h>.
26902 (ceil): Define using libm_alias_double.
26903 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26904 <libm-alias-double.h>.
26905 (floor): Define using libm_alias_double.
26906 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26907 <libm-alias-double.h>.
26908 (fma): Define using libm_alias_double.
26909 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26910 <libm-alias-double.h>.
26911 (nearbyint): Define using libm_alias_double.
26912 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26913 <libm-alias-double.h>.
26914 (rint): Define using libm_alias_double.
26915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26916 <libm-alias-double.h>.
26917 (sin): Define using libm_alias_double.
26918 (cos): Likewise.
26919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26920 <libm-alias-double.h>.
26921 (tan): Define using libm_alias_double.
26922 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26923 <libm-alias-double.h>.
26924 (trunc): Define using libm_alias_double.
26925 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26926 (copysign): Define using libm_alias_double.
26927 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26928 (fabs): Define using libm_alias_double.
26929 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26930 (fmax): Define using libm_alias_double.
26931 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26932 (fmin): Define using libm_alias_double.
26933 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26934 (llrint): Define using libm_alias_double.
26935 [!__ILP32__] (lrint): Likewise.
26936 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26937 (lrint): Define using libm_alias_double.
26938
26939 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26940
26941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26942 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26943 objects.
26944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26950
26951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26952 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26953 objects.
26954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26960
26961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26962 (libm-sysdep_routines): Add s_nearbyint-generic and
26963 s_nearbyintf-generic objects.
26964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26965 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26967 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26970
26971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26972 Add s_finitef-generic and s_finite-generic objects.
26973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26977 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26978 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26979
26980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26981 Add s_isinff-generic and s_isinf-generic objects.
26982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26988
26989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26990 Add s_isnanf-generic and s_isnan-generic objects.
26991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26997
26998 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26999 macro.
27000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
27001 rule.
27002 (sysdep_routines): Use sysdep_calls as base.
27003 (libm-sysdep_routines): Add generic rule for symbols shared with
27004 libc. Add s_signbit-generic and s_signbitf-generic objects.
27005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
27006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
27007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
27008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
27009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
27010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27011
27012 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27013
27014 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
27015 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
27016 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
27017 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
27018 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
27019 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
27020 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
27021 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
27022 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
27023 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
27024 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
27025 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
27026 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
27027 libm_alias_float_r.
27028 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
27029 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
27030 (logf): Likewise.
27031 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
27032 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
27033 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
27034 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
27035 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
27036 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
27037 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
27038 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
27039 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
27040 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
27041 libm_alias_float.
27042 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
27043 (cosf): Likewise.
27044 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
27045 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
27046 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
27047 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
27048 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
27049 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
27050 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
27051 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
27052 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
27053 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
27054 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
27055 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
27056 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
27057 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
27058 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
27059 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
27060 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
27061 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
27062 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
27063 libm_alias_float.
27064 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
27065 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
27066 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
27067 * sysdeps/ia64/fpu/w_lgammaf_main.c
27068 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
27069 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
27070
27071 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27072 Alexandre Oliva <aoliva@redhat.com>
27073
27074 [BZ #17750]
27075 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
27076 * localedata/fr_CA.UTF-8.in: New file with test data for backward
27077 accents sorting.
27078 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
27079 sorting.
27080 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
27081 * localedata/locales/de_DE (LC_COLLATE): Likewise.
27082 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
27083 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
27084 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
27085 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
27086 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
27087 instead of “ifdef DIACRIT_BACKWARD”.
27088
27089 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27090
27091 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
27092 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
27093 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
27094 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
27095 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
27096 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
27097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
27099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
27100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
27101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
27102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27103 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27104 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27105 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27106 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27107 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27108 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27110 ($(have-as-vis3) == yes): Remove conditional.
27111 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27112 Likewise.
27113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27114 file.
27115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27116 file.
27117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27118 file.
27119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27120 file.
27121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27127 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27128 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27129
27130 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27131
27132 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27133 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27134 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27135 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27136 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27137 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27138 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27139 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27140 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27141 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27142 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27143 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27144 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27145 libm_alias_double_r.
27146 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27147 (log): Likewise.
27148 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27149 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27150 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27151 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27152 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27153 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27154 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27155 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27156 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27157 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27158 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27159 libm_alias_double.
27160 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27161 (cos): Likewise.
27162 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27163 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27164 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27165 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27166 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27167 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27168 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27169 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27170 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27171 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27172 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27173 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27174 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27175 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27176 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27177 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27178 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27179 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27180 libm_alias_double.
27181 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27182 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27183 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27184 * sysdeps/ia64/fpu/w_lgamma_main.c
27185 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27186 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27187
27188 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
27189
27190 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27191 address of $global$ into %dp register earlier. Use pc-relative
27192 instruction sequence for PIC case.
27193
27194 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27195
27196 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27197 (asinhf): Define using libm_alias_float.
27198 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27199 (atanf): Define using libm_alias_float.
27200 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27201 (cbrtf): Define using libm_alias_float.
27202 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27203 (ceilf): Define using libm_alias_float.
27204 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27205 (copysignf): Define using libm_alias_float.
27206 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27207 (expm1f): Define using libm_alias_float.
27208 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27209 (fabsf): Define using libm_alias_float.
27210 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27211 (floorf): Define using libm_alias_float.
27212 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27213 (fmaxf): Define using libm_alias_float.
27214 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27215 (fminf): Define using libm_alias_float.
27216 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27217 (frexpf): Define using libm_alias_float.
27218 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27219 (llrintf): Define using libm_alias_float.
27220 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27221 (logbf): Define using libm_alias_float.
27222 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27223 (lrintf): Define using libm_alias_float.
27224 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27225 (nearbyintf): Define using libm_alias_float.
27226 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27227 (remquof): Define using libm_alias_float.
27228 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27229 (rintf): Define using libm_alias_float.
27230 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27231 (truncf): Define using libm_alias_float.
27232 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27233 <libm-alias-float.h>.
27234 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27235 if [SHARED].
27236 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27237 <libm-alias-float.h>.
27238 (expf): Define using libm_alias_float, or libm_alias_float_other
27239 if [SHARED].
27240 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27241 <libm-alias-float.h>.
27242 (log2f): Define using libm_alias_float, or libm_alias_float_other
27243 if [SHARED].
27244 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27245 <libm-alias-float.h>.
27246 (logf): Define using libm_alias_float, or libm_alias_float_other
27247 if [SHARED].
27248 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27249 <libm-alias-float.h>.
27250 (powf): Define using libm_alias_float, or libm_alias_float_other
27251 if [SHARED].
27252 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27253 <libm-alias-float.h>.
27254 (cosf): Define using libm_alias_float.
27255 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27256 <libm-alias-float.h>.
27257 (sincosf): Define using libm_alias_float.
27258 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27259 <libm-alias-float.h>.
27260 (sinf): Define using libm_alias_float.
27261 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27262 (fmaxf): Define using libm_alias_float.
27263 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27264 (fminf): Define using libm_alias_float.
27265 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27266 <libm-alias-float.h>.
27267 (fmaf): Define using libm_alias_float.
27268
27269 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27270 (asinh): Define using libm_alias_double.
27271 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27272 (atan): Define using libm_alias_double.
27273 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27274 (cbrt): Define using libm_alias_double.
27275 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27276 (ceil): Define using libm_alias_double.
27277 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27278 (copysign): Define using libm_alias_double.
27279 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27280 (expm1): Define using libm_alias_double.
27281 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27282 (fabs): Define using libm_alias_double.
27283 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27284 (fdim): Define using libm_alias_double.
27285 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27286 (floor): Define using libm_alias_double.
27287 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27288 (fmax): Define using libm_alias_double.
27289 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27290 (fmin): Define using libm_alias_double.
27291 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27292 (frexp): Define using libm_alias_double.
27293 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27294 (llrint): Define using libm_alias_double.
27295 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27296 (logb): Define using libm_alias_double.
27297 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27298 (lrint): Define using libm_alias_double.
27299 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27300 (nearbyint): Define using libm_alias_double.
27301 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27302 (remquo): Define using libm_alias_double.
27303 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27304 (rint): Define using libm_alias_double.
27305 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27306 (trunc): Define using libm_alias_double.
27307 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27308 (fmax): Define using libm_alias_double.
27309 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27310 (fmin): Define using libm_alias_double.
27311 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27312 (fma): Define using libm_alias_double.
27313
27314 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27315
27316 [BZ #22370]
27317 * elf/dl-hwcaps.c (ROUND): Removed.
27318 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27319 and ELF_NOTE_NEXT_OFFSET.
27320 * elf/dl-load.c (ROUND): Removed.
27321 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27322 * elf/readelflib.c (ROUND): Removed.
27323 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27324 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27325 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27326 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27327
27328 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27329
27330 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27331 [!__fmaf] (fmaf): Define using libm_alias_float.
27332
27333 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27334 [!__fma] (fma): Define using libm_alias_double.
27335 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27336
27337 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27338
27339 [BZ #22336]
27340 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27341 and implement the collation rules for cs from CLDR on top of that.
27342 * Makefile: Add cs_CZ.UTF-8 to test-input.
27343 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27344
27345 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27346
27347 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27348
27349 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27350 Icarus Sparry <icarus.w.sparry@intel.com>
27351
27352 * benchtests/Makefile:Add BENCHSET to allow subsets of
27353 benchmarks to be run.
27354 * benchtests/README: Add documentation for: Running subsets of
27355 benchmarks.
27356
27357 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27358
27359 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27360 range of tests names.
27361
27362 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27363 result from property and remove "max", min" and "mean" from
27364 required properties based on benchtests/bench-skeleton.c.
27365
27366 2017-11-28 Florian Weimer <fweimer@redhat.com>
27367
27368 [BZ #20826]
27369 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27370 due to Internet requirement.
27371 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27372 tst-getaddrinfo5.
27373 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27374
27375 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27376
27377 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27378 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27379 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27380 (sysdep_routines): Add memset-ultra1.
27381 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27382 file.
27383 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27384 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27385 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27386 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27387 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27388 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27389 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27391
27392 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27393 file.
27394 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27395 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27396 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27397 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27398 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27399 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27400 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27401 macro.
27402 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27403 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27404 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27405 (sysdep_routines): Add memcpy-ultra1.
27406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27407 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27408
27409 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27410
27411 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27412 (cfloat_versions): Take function argument without trailing 'f'.
27413 Call libm_alias_float_other.
27414 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27415 * sysdeps/alpha/fpu/cargf.c: Likewise.
27416 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27417 * sysdeps/alpha/fpu/conjf.c: Likewise.
27418 * sysdeps/alpha/fpu/crealf.c: Likewise.
27419 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27420 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27421 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27422 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27423 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27424 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27425 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27426 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27427 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27428 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27429 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27430 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27431 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27432 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27433 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27434 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27435 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27436 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27437 (clog10f): Use libm_alias_float_other.
27438 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27439 (ceilf): Define using libm_alias_float.
27440 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27441 (copysignf): Define using libm_alias_float.
27442 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27443 (fabsf): Define using libm_alias_float.
27444 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27445 (floorf): Define using libm_alias_float.
27446 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27447 (fmaxf): Define using libm_alias_float.
27448 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27449 (fminf): Define using libm_alias_float.
27450 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27451 (lrintf): Define using libm_alias_float.
27452 (llrintf): Likewise.
27453 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27454 (lroundf): Define using libm_alias_float.
27455 (llroundf): Likewise.
27456 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27457 (rintf): Define using libm_alias_float.
27458 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27459 (truncf): Define using libm_alias_float.
27460
27461 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27462 (ceilf): Define using libm_alias_float.
27463 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27464 (floorf): Define using libm_alias_float.
27465 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27466 (fmaf): Define using libm_alias_float.
27467 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27468 (fmaxf): Define using libm_alias_float.
27469 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27470 (fminf): Define using libm_alias_float.
27471 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27472 (llrintf): Define using libm_alias_float.
27473 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27474 (llroundf): Define using libm_alias_float.
27475 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27476 (lrintf): Define using libm_alias_float.
27477 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27478 (lroundf): Define using libm_alias_float.
27479 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27480 <libm-alias-float.h>.
27481 (nearbyintf): Define using libm_alias_float.
27482 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27483 (rintf): Define using libm_alias_float.
27484 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27485 (roundf): Define using libm_alias_float.
27486 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27487 (truncf): Define using libm_alias_float.
27488
27489 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27490 (ceil): Define using libm_alias_double.
27491 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27492 (copysign): Define using libm_alias_double.
27493 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27494 (fabs): Define using libm_alias_double.
27495 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27496 (floor): Define using libm_alias_double.
27497 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27498 (fmax): Define using libm_alias_double.
27499 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27500 (fmin): Define using libm_alias_double.
27501 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27502 (lrint): Define using libm_alias_double.
27503 (llrint): Likewise.
27504 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27505 (lround): Define using libm_alias_double.
27506 (llround): Likewise.
27507 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27508 (rint): Define using libm_alias_double.
27509 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27510 (trunc): Define using libm_alias_double.
27511
27512 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27513 (libm_alias_double_r): Add semicolon after weak_alias call.
27514
27515 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27516
27517 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27518 (ceil): Define using libm_alias_double.
27519 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27520 (floor): Define using libm_alias_double.
27521 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27522 (fma): Define using libm_alias_double.
27523 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27524 (fmax): Define using libm_alias_double.
27525 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27526 (fmin): Define using libm_alias_double.
27527 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27528 (llrint): Define using libm_alias_double.
27529 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27530 (llround): Define using libm_alias_double.
27531 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27532 (lrint): Define using libm_alias_double.
27533 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27534 (lround): Define using libm_alias_double.
27535 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27536 (nearbyint): Define using libm_alias_double.
27537 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27538 (rint): Define using libm_alias_double.
27539 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27540 (round): Define using libm_alias_double.
27541 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27542 (trunc): Define using libm_alias_double.
27543
27544 2017-11-27 Florian Weimer <fweimer@redhat.com>
27545
27546 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27547 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27548 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27549 (tests): Add tst-mlock2.
27550 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27551 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27552 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27553 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27554 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27555 for mlock. Document mlock2.
27556
27557 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27558
27559 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27560 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27561 Likewise.
27562 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27563 Likewise.
27564 * sysdeps/x86/Makeconfig: New file.
27565 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27566 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27567 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27568 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27569 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27570 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27571 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27572 Likewise.
27573 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27574 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27575 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27576 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27577 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27578 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27579 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27580 * manual/math.texi (Mathematics): Document support for _Float64x.
27581 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27582 * stdlib/Versions (GLIBC_2.27): Likewise.
27583 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27584 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27585 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27586 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27587 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27588 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27589 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27590 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27591 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27592 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27593 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27594 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27596 Likewise.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27598 Likewise.
27599 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27601 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27602 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27603 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27604 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27605 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27606 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27607 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27608 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27609 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27610 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27611 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27612 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27613
27614 2017-11-27 Andreas Schwab <schwab@suse.de>
27615
27616 * elf/Makefile (dl-routines): Add dl-sort-maps.
27617 * elf/dl-sort-maps.c: New file.
27618 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27619 (_dl_sort_maps): Declare.
27620 * elf/dl-fini.c (_dl_sort_fini): Remove.
27621 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27622 * elf/dl-close.c (_dl_close_worker): Likewise.
27623 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27624 open-coding it.
27625 * elf/dl-open.c (dl_open_worker): Likewise.
27626
27627 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27628
27629 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27630 using libm_alias_float128.
27631 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27632 Likewise.
27633 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27634 Likewise.
27635 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27636 (setpayloadsigf128): Likewise.
27637 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27638 Likewise.
27639 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27640 Likewise.
27641
27642 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27643 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27644 -mfloat128 to CFLAGS.
27645 ($(foreach
27646 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27647 Likewise.
27648 (CFLAGS-libm-test-support-float64x.c): New variable.
27649 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27650 $(f128-loader-link) to gnulib-tests.
27651
27652 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27653 (libm_alias_float128_other_r): If
27654 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27655 alias.
27656 (libm_alias_float128_r): Add semicolon after weak_alias call.
27657 * sysdeps/generic/libm-alias-ldouble.h
27658 (libm_alias_ldouble_other_r_f128): New macro.
27659 (libm_alias_ldouble_other_r_f64x): Likewise.
27660 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27661 and libm_alias_ldouble_other_r_f64x.
27662 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27663 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27664 (libm_alias_ldouble_other_r_f128): New macro.
27665 (libm_alias_ldouble_other_r_f64x): Likewise.
27666 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27667 and libm_alias_ldouble_other_r_f64x.
27668
27669 * stdlib/strfroml.c: Always include <stdlib.h>.
27670 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27671 undefine as macro and define as weak alias.
27672 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27673 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27674 <stdlib.h>.
27675 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27676 Define and later undefine as macro and define as weak alias.
27677
27678 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27679 Define and later undefine as macro. Define as weak alias if
27680 [!USE_WIDE_CHAR].
27681 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27682 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27683 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27684 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27685 Define and later undefine as macro. Define as weak alias if
27686 [!USE_WIDE_CHAR].
27687 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27688 Define and later undefine as macro. Define as weak alias if
27689 [USE_WIDE_CHAR].
27690 * sysdeps/ieee754/float128/strtof128_l.c
27691 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27692 Define and later undefine as macro. Define as weak alias if
27693 [!USE_WIDE_CHAR].
27694 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27695 Define and later undefine as macro. Define as weak alias if
27696 [USE_WIDE_CHAR].
27697 * sysdeps/ieee754/ldbl-128/strtold_l.c
27698 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27699 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27700 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27701 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27702 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27703 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27704 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27705 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27706 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27707 * sysdeps/ieee754/ldbl-96/strtold_l.c
27708 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27709 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27710 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27711 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27712
27713 * math/test-float64x.h: New file.
27714 * math/Makefile (type-float64x-yes): New variable.
27715 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27716
27717 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27718 function-like macro.
27719 (min_of_type_): Likewise.
27720 (min_of_type_l): Likewise.
27721 (min_of_type_f128): Likewise.
27722 (min_of_type): Pass () as last argument of __MATH_TG.
27723
27724 * stdlib/tst-strtod-round-skeleton.c
27725 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27726 headers.
27727
27728 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27729 for combinations of long double with _Float64 and _Float64x.
27730
27731 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27732 (__DECL_SIMD_cosf32): Likewise.
27733 (__DECL_SIMD_cosf64): Likewise.
27734 (__DECL_SIMD_cosf32x): Likewise.
27735 (__DECL_SIMD_cosf64x): Likewise.
27736 (__DECL_SIMD_cosf128x): Likewise.
27737 (__DECL_SIMD_sinf16): Likewise.
27738 (__DECL_SIMD_sinf32): Likewise.
27739 (__DECL_SIMD_sinf64): Likewise.
27740 (__DECL_SIMD_sinf32x): Likewise.
27741 (__DECL_SIMD_sinf64x): Likewise.
27742 (__DECL_SIMD_sinf128x): Likewise.
27743 (__DECL_SIMD_sincosf16): Likewise.
27744 (__DECL_SIMD_sincosf32): Likewise.
27745 (__DECL_SIMD_sincosf64): Likewise.
27746 (__DECL_SIMD_sincosf32x): Likewise.
27747 (__DECL_SIMD_sincosf64x): Likewise.
27748 (__DECL_SIMD_sincosf128x): Likewise.
27749 (__DECL_SIMD_logf16): Likewise.
27750 (__DECL_SIMD_logf32): Likewise.
27751 (__DECL_SIMD_logf64): Likewise.
27752 (__DECL_SIMD_logf32x): Likewise.
27753 (__DECL_SIMD_logf64x): Likewise.
27754 (__DECL_SIMD_logf128x): Likewise.
27755 (__DECL_SIMD_expf16): Likewise.
27756 (__DECL_SIMD_expf32): Likewise.
27757 (__DECL_SIMD_expf64): Likewise.
27758 (__DECL_SIMD_expf32x): Likewise.
27759 (__DECL_SIMD_expf64x): Likewise.
27760 (__DECL_SIMD_expf128x): Likewise.
27761 (__DECL_SIMD_powf16): Likewise.
27762 (__DECL_SIMD_powf32): Likewise.
27763 (__DECL_SIMD_powf64): Likewise.
27764 (__DECL_SIMD_powf32x): Likewise.
27765 (__DECL_SIMD_powf64x): Likewise.
27766 (__DECL_SIMD_powf128x): Likewise.
27767
27768 * stdlib/Versions (libc): Move entries for wcstof128 and
27769 wcstof128_l to ....
27770 * wcsmbs/Versions (libc): ... here.
27771 Include <float128-abi.h>.
27772
27773 2017-11-24 Florian Weimer <fweimer@redhat.com>
27774
27775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27776 bits/mman-shared.h.
27777 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27778 <bits/mman-shared.h>.
27779 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27780 to ...
27781 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27782 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27783 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27784 <bits/mman-shared.h>.
27785
27786 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27787
27788 [BZ #22457]
27789 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27790 posix_memalign/free.
27791 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27792
27793 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27794
27795 [BZ #22469]
27796 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27797 and implement the collation rules for pl from CLDR on top of that.
27798 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27799 of locales to be built for testing.
27800 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27801
27802 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27803
27804 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27805 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27806 libm_alias_ldouble_other.
27807 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27808 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27809 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27810 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27811 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27812 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27813 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27814 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27815 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27816 libm_alias_ldouble_r.
27817 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27818 libm_alias_ldouble_other.
27819 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27820 (log10l): Likewise.
27821 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27822 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27823 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27824 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27825 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27826 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27827 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27828 (atan2l): Likewise.
27829 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27830 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27831 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27832 libm_alias_ldouble.
27833 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27834 (cosl): Likewise.
27835 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27836 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27837 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27838 (expl): Likewise.
27839 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27840 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27841 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27842 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27843 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27844 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27845 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27846 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27847 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27848 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27849 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27850 libm_alias_ldouble.
27851 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27852 libm_alias_ldouble_other.
27853 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27854 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27855 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27856 libm_alias_ldouble.
27857 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27858 libm_alias_ldouble_other.
27859 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27860 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27861 * sysdeps/ia64/fpu/w_lgammal_main.c
27862 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27863 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27864
27865 2017-11-23 Florian Weimer <fweimer@redhat.com>
27866
27867 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27868 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27869 alike. Remove freeres marker.
27870 * malloc/arena.c (arena_thread_freeres): Call
27871 tcache_thread_shutdown.
27872
27873 2017-11-23 Florian Weimer <fweimer@redhat.com>
27874
27875 [BZ #22459]
27876 Export nscd hash function as __nss_hash.
27877 * include/nss.h (__nss_hash): Declare.
27878 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27879 symbol.
27880 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27881 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27882 of __nscd_hash.
27883 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27884 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27885 * nss/Makefiles (routines): Add nss_hash.
27886 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27887 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27888 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27889 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27890
27891 2017-11-23 Florian Weimer <fweimer@redhat.com>
27892
27893 [BZ #22478]
27894 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27895 Return error code, not -1.
27896 * signal/tst-sigwait-eintr.c: New file.
27897 * signal/Makefile (tests): Add tst-sigwait-eintr.
27898
27899 2017-11-23 Florian Weimer <fweimer@redhat.com>
27900
27901 Linux: Add memfd_create system call wrapper
27902 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27903 tst-memfd_create.
27904 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27905 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27906 [__USE_GNU] (memfd_create): Declare.
27907 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27908 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27909 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27910 * sysdeps/unix/sysv/linux/**.abilist: Update.
27911 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27912
27913 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27914
27915 * localedata/gen-locale.sh: Fix typo in variable name.
27916
27917 * resolv/res_debug.c (p_secstodate): Condition definition on
27918 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27919 directly as __p_secstodate, and as a compat symbol. Do not use
27920 libresolv_hidden_def.
27921 * resolv/resolv.h (p_secstodate): Remove macro and function
27922 declaration.
27923 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27924 using p_secstodate.
27925 * include/resolv.h (__p_secstodate): Do not use
27926 libresolv_hidden_proto.
27927 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27928 (tests-internal): ... here.
27929 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27930 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27931 and declare and use __p_secstodate and use compat_symbol_reference
27932 in that case.
27933 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27934 implementation returning 77.
27935
27936 [BZ #22463]
27937 * resolv/res_debug.c: Include <libc-diag.h>.
27938 (p_secstodate): Assert time_t at least as wide as u_long. On
27939 overflow, use integer seconds since the epoch as output, or use
27940 "<overflow>" as output and set errno to EOVERFLOW if integer
27941 seconds since the epoch would be 14 or more characters.
27942 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27943 for sprintf call.
27944 * resolv/tst-p_secstodate.c: New file.
27945 * resolv/Makefile (tests): Add tst-p_secstodate.
27946 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27947
27948 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27949 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27950 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27951
27952 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27953
27954 * posix/regcomp.c (init_word_char): Add comments.
27955
27956 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27957
27958 [BZ #22447]
27959 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27960 strlen to compute length of ut_user and set trailing NUL byte of
27961 result explicitly.
27962
27963 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27964
27965 [BZ #15537]
27966 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27967 using “copy "iso14651_t1"” and then implementing the
27968 collation rules for lv from CLDR on top of that.
27969 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27970 of locales to be built for testing.
27971 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27972 sorting.
27973
27974 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27975
27976 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27977 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27978 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27979 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27980 [__USE_MISC] (MADV_HWPOISON): New macro.
27981 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27982
27983 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27984
27985 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27986 -Wmissing-braces on GCC 4.9.
27987
27988 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27989
27990 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27991 * sysdeps/s390/s390-32/start.S (_start): Likewise
27992 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27993 (thread_start): Likewise.
27994 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27995 (thread_start): Likewise.
27996 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27997 (__makecontext_ret): Likewise.
27998 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27999 (__makecontext_ret): Likewise.
28000
28001 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28002
28003 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
28004 __wcschrnul): Remove attribute_hidden.
28005
28006 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
28007
28008 regex: don't assume uint64_t or uint32_t
28009 This avoids -Werror=overflow errors for 32-bit systems in
28010 the 64-bit case. Problem reported by Joseph Myers in:
28011 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
28012 Also, when this code is used in Gnulib it ports to platforms
28013 that lack uint64_t and uint32_t. The C standard doesn't guarantee
28014 them, and on some 32-bit compilers there is no uint64_t.
28015 Problem reported by Gianluigi Tiesi in:
28016 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
28017 * posix/regcomp.c (init_word_char): Don't assume that the types
28018 uint64_t and uint32_t exist. Adapted from Gnulib patch
28019 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
28020 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
28021
28022 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
28023
28024 * sysdeps/aarch64/memset-reg.h: New file.
28025 * sysdeps/aarch64/memset.S: Use it.
28026 (__memset): Rename to MEMSET macro.
28027 [ZVA_MACRO]: Use zva_macro.
28028 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
28029 Add memset_generic and memset_falkor.
28030 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28031 (__libc_ifunc_impl_list): Add memset ifuncs.
28032 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
28033 local variable zva_size.
28034 * sysdeps/aarch64/multiarch/memset.c: New file.
28035 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
28036 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
28037 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
28038 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
28039 (DCZID_DZP_MASK): New macro.
28040 (DCZID_BS_MASK): Likewise.
28041 (init_cpu_features): Read and set zva_size.
28042 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
28043 (struct cpu_features): New member zva_size.
28044
28045 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
28046 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
28047 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
28048
28049 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
28050 backwards. Fix timing computation.
28051 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
28052 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
28053 on memset by N at a time. Fix timing computation.
28054
28055 2017-11-20 Florian Weimer <fweimer@redhat.com>
28056
28057 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
28058 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
28059
28060 2017-11-19 Florian Weimer <fweimer@redhat.com>
28061
28062 manual: Document mprotect
28063 * manual/memory.texi (Memory Protection): New section.
28064 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
28065 documentation of PROT_* flags and reference the Memory Protection
28066 section instead.
28067
28068 2017-11-19 Florian Weimer <fweimer@redhat.com>
28069
28070 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
28071 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
28072 (Scatter-Gather): ... to here. Remove misleading comment.
28073
28074 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
28075
28076 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
28077 style.
28078
28079 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
28080 when /proc/<pid>/setgroups does not exist.
28081
28082 2017-11-18 Florian Weimer <fweimer@redhat.com>
28083
28084 * sysdeps/unix/sysv/linux/tst-ttyname.c
28085 (become_root_in_mount_ns): Remove.
28086 (do_in_chroot_1): Call support_enter_mount_namespace.
28087 (do_in_chroot_2): Likewise.
28088 (do_test): Call support_become_root early.
28089
28090 2017-11-18 Florian Weimer <fweimer@redhat.com>
28091
28092 * support/namespace.h (support_enter_mount_namespace): Declare.
28093 * support/support_enter_mount_namespace.c: New file.
28094 * support/Makefile (libsupport-routines): Add
28095 support_enter_mount_namespace.
28096
28097 2017-11-18 Florian Weimer <fweimer@redhat.com>
28098
28099 * support/temp_file.c (support_create_temp_directory): Use
28100 test_dir and do not rely on the presence of the XXXXXX suffix.
28101 * support/temp_file.h (support_create_temp_directory): Update
28102 comment.
28103 * support/tst-xreadlink.c (do_test): Adjust.
28104 * support/support_chroot.c (support_chroot_create): Likewise.
28105
28106 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28107
28108 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28109 macro.
28110 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28111 htm-no-suspend.
28112
28113 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28114
28115 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28116 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28117 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28118 (ceill): Define using libm_alias_ldouble.
28119 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28120 <libm-alias-ldouble.h>.
28121 (copysignl): Define using libm_alias_ldouble.
28122 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28123 (fabsl): Define using libm_alias_ldouble.
28124 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28125 (floorl): Define using libm_alias_ldouble.
28126 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28127 (fmaxl): Define using libm_alias_ldouble.
28128 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28129 (fminl): Define using libm_alias_ldouble.
28130 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28131 (llrintl): Define using libm_alias_ldouble.
28132 (lrintl): Likewise.
28133 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28134 <libm-alias-ldouble.h>.
28135 (nearbyintl): Define using libm_alias_ldouble.
28136 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28137 (truncl): Define using libm_alias_ldouble.
28138 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28139 <libm-alias-ldouble.h>.
28140 (lrintl): Define using libm_alias_ldouble.
28141
28142 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28143 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28144 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28145 (asinhl): Define using libm_alias_ldouble.
28146 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28147 (atanl): Define using libm_alias_ldouble.
28148 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28149 (cbrtl): Define using libm_alias_ldouble.
28150 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28151 (ceill): Define using libm_alias_ldouble.
28152 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28153 (copysignl): Define using libm_alias_ldouble.
28154 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28155 (fabsl): Define using libm_alias_ldouble.
28156 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28157 (floorl): Define using libm_alias_ldouble.
28158 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28159 (fmaxl): Define using libm_alias_ldouble.
28160 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28161 (fminl): Define using libm_alias_ldouble.
28162 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28163 (frexpl): Define using libm_alias_ldouble.
28164 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28165 (llrintl): Define using libm_alias_ldouble.
28166 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28167 (logbl): Define using libm_alias_ldouble.
28168 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28169 (lrintl): Define using libm_alias_ldouble.
28170 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28171 (nearbyintl): Define using libm_alias_ldouble.
28172 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28173 (nextafterl): Define using libm_alias_ldouble.
28174 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28175 (remquol): Define using libm_alias_ldouble.
28176 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28177 (rintl): Define using libm_alias_ldouble.
28178 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28179 (truncl): Define using libm_alias_ldouble.
28180 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28181 (fmaxl): Define using libm_alias_ldouble.
28182 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28183 (fminl): Define using libm_alias_ldouble.
28184
28185 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28186 to C syntax instead of availability and properties of types.
28187 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28188 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28189 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28190 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28191 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28192 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28193
28194 2017-11-17 Florian Weimer <fweimer@redhat.com>
28195
28196 support_become_root: Enable file creation in namespaces.
28197 * support/support_become_root.c (setup_mapping): New function.
28198 (support_become_root): Call it.
28199
28200 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28201
28202 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28203 macro.
28204
28205 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28206
28207 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28208 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28209
28210 2017-11-16 Joseph Myers <joseph@codesourcery.com>
28211
28212 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28213
28214 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28215 version to 4.14.
28216
28217 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28218
28219 * INSTALL: Fix botched up regeneration.
28220
28221 * NEWS: Update sourceare link to https.
28222 * configure.ac: Likewise.
28223 * crypt/md5test-giant.c: Likewise.
28224 * dlfcn/bug-atexit1.c: Likewise.
28225 * dlfcn/bug-atexit2.c: Likewise.
28226 * localedata/README: Likewise.
28227 * malloc/tst-mallocfork.c: Likewise.
28228 * manual/install.texi: Likewise.
28229 * nptl/tst-pthread-getattr.c: Likewise.
28230 * stdio-common/tst-fgets.c: Likewise.
28231 * stdio-common/tst-fwrite.c: Likewise.
28232 * sunrpc/Makefile: Likewise.
28233 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28234 * wcsmbs/tst-mbrtowc2.c: Likewise.
28235 * configure: Regenerate.
28236 * INSTALL: Regenerate.
28237
28238 2017-11-15 Martin Sebor <msebor@redhat.com>
28239
28240 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28241 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28242 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28243
28244 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28245
28246 [BZ #22145]
28247 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28248 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28249
28250 [BZ #22145]
28251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28252 Defer is_pty check until end of the function.
28253 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28254
28255 [BZ #22145]
28256 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28257 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28258 (ttyname): Likewise.
28259 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28260 (__ttyname_r): Likewise.
28261
28262 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28263 int to bool.
28264
28265 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28266
28267 * manual/terminal.texi (Is It a Terminal):
28268 Mention ENODEV for ttyname and ttyname_r.
28269
28270 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28271
28272 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28273 constant and macro.
28274
28275 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28276 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28277 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28278 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28279 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28280 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28281
28282 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28283
28284 * signal/sigrelse.c (sigrelse): Optimize implementation.
28285
28286 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28287 (__sigpause): Rely on __sigsuspend to implement single thread
28288 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28289
28290 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28291
28292 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28293 kernel version to 4.14.
28294
28295 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28296
28297 [BZ #22442]
28298 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28299 Check if ifname is too long.
28300
28301 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28302
28303 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28304
28305 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28306
28307 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28308 was accidentally lost.
28309
28310 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28311
28312 * localedata/locales/az_IR: Add standard copyright header.
28313
28314 2017-11-15 Florian Weimer <fweimer@redhat.com>
28315
28316 [BZ #22439]
28317 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28318 not just the top one. Output a new "subheaps" statistic.
28319
28320 2017-11-15 Florian Weimer <fweimer@redhat.com>
28321
28322 [BZ #22408]
28323 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28324 under the per-arena lock.
28325 * malloc/Makefile (tests): Add tst-malloc_info.
28326 (tst-malloc_info): Link with libpthread.
28327 * malloc/tst-malloc_info.c: New file.
28328
28329 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28330
28331 [BZ #21660]
28332 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28333 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28334 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28335 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28336 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28337 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28338 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28339 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28341 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28342 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28343 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28344 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28346 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28348 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28349 (__floating_type): Likewise.
28350 (__real_integer_type): Likewise.
28351 (__complex_integer_type): Likewise.
28352 (__expr_is_real): Likewise.
28353 (__tgmath_real_type_sub): Likewise.
28354 (__tgmath_real_type): Likewise.
28355 (__tgmath_complex_type_sub): Likewise.
28356 (__tgmath_complex_type): Likewise.
28357 (__TGMATH_F128): Likewise.
28358 (__TGMATH_CF128): Likewise.
28359 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28360 new macros.
28361 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28363 Likewise.
28364 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28365 Likewise.
28366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28367 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28370 Likewise.
28371 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28372 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28373 Likewise.
28374 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28375 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28376 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28377 Likewise.
28378 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28379 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28380 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28381 (cimag): Likewise.
28382 (creal): Likewise.
28383
28384 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28385
28386 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28387 for stpncpy calls for GCC 8.
28388 (test_strncat): Disable -Wstringop-truncation warning for strncat
28389 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28390 strncat call for GCC 7.
28391 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28392 calls for GCC 8.
28393 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28394 trailing NUL.
28395
28396 * string/bug-strncat1.c: Include <libc-diag.h>.
28397 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28398
28399 2017-11-13 Claude Paroz <claude@2xlibre.net>
28400
28401 [BZ #22387]
28402 * localedata/locales/aa_DJ: Improved readibility by replacing
28403 <Uxxxx> sequences in the ASCII printable range by their ASCII
28404 character equivalents.
28405 * localedata/locales/aa_ER: Likewise.
28406 * localedata/locales/aa_ER@saaho: Likewise.
28407 * localedata/locales/aa_ET: Likewise.
28408 * localedata/locales/af_ZA: Likewise.
28409 * localedata/locales/agr_PE: Likewise.
28410 * localedata/locales/ak_GH: Likewise.
28411 * localedata/locales/am_ET: Likewise.
28412 * localedata/locales/anp_IN: Likewise.
28413 * localedata/locales/ar_AE: Likewise.
28414 * localedata/locales/ar_BH: Likewise.
28415 * localedata/locales/ar_DZ: Likewise.
28416 * localedata/locales/ar_EG: Likewise.
28417 * localedata/locales/ar_IN: Likewise.
28418 * localedata/locales/ar_IQ: Likewise.
28419 * localedata/locales/ar_JO: Likewise.
28420 * localedata/locales/ar_KW: Likewise.
28421 * localedata/locales/ar_LB: Likewise.
28422 * localedata/locales/ar_LY: Likewise.
28423 * localedata/locales/ar_MA: Likewise.
28424 * localedata/locales/ar_OM: Likewise.
28425 * localedata/locales/ar_QA: Likewise.
28426 * localedata/locales/ar_SA: Likewise.
28427 * localedata/locales/ar_SD: Likewise.
28428 * localedata/locales/ar_SS: Likewise.
28429 * localedata/locales/ar_SY: Likewise.
28430 * localedata/locales/ar_TN: Likewise.
28431 * localedata/locales/ar_YE: Likewise.
28432 * localedata/locales/as_IN: Likewise.
28433 * localedata/locales/ast_ES: Likewise.
28434 * localedata/locales/ayc_PE: Likewise.
28435 * localedata/locales/az_AZ: Likewise.
28436 * localedata/locales/az_IR: Likewise.
28437 * localedata/locales/be_BY: Likewise.
28438 * localedata/locales/be_BY@latin: Likewise.
28439 * localedata/locales/bem_ZM: Likewise.
28440 * localedata/locales/ber_DZ: Likewise.
28441 * localedata/locales/ber_MA: Likewise.
28442 * localedata/locales/bg_BG: Likewise.
28443 * localedata/locales/bhb_IN: Likewise.
28444 * localedata/locales/bho_IN: Likewise.
28445 * localedata/locales/bi_VU: Likewise.
28446 * localedata/locales/bn_BD: Likewise.
28447 * localedata/locales/bn_IN: Likewise.
28448 * localedata/locales/bo_CN: Likewise.
28449 * localedata/locales/bo_IN: Likewise.
28450 * localedata/locales/br_FR: Likewise.
28451 * localedata/locales/brx_IN: Likewise.
28452 * localedata/locales/bs_BA: Likewise.
28453 * localedata/locales/byn_ER: Likewise.
28454 * localedata/locales/ca_AD: Likewise.
28455 * localedata/locales/ca_ES: Likewise.
28456 * localedata/locales/ca_FR: Likewise.
28457 * localedata/locales/ca_IT: Likewise.
28458 * localedata/locales/ce_RU: Likewise.
28459 * localedata/locales/chr_US: Likewise.
28460 * localedata/locales/cmn_TW: Likewise.
28461 * localedata/locales/crh_UA: Likewise.
28462 * localedata/locales/cs_CZ: Likewise.
28463 * localedata/locales/csb_PL: Likewise.
28464 * localedata/locales/cv_RU: Likewise.
28465 * localedata/locales/cy_GB: Likewise.
28466 * localedata/locales/da_DK: Likewise.
28467 * localedata/locales/de_AT: Likewise.
28468 * localedata/locales/de_BE: Likewise.
28469 * localedata/locales/de_CH: Likewise.
28470 * localedata/locales/de_DE: Likewise.
28471 * localedata/locales/de_IT: Likewise.
28472 * localedata/locales/de_LI: Likewise.
28473 * localedata/locales/de_LU: Likewise.
28474 * localedata/locales/doi_IN: Likewise.
28475 * localedata/locales/dv_MV: Likewise.
28476 * localedata/locales/dz_BT: Likewise.
28477 * localedata/locales/el_CY: Likewise.
28478 * localedata/locales/el_GR: Likewise.
28479 * localedata/locales/en_AG: Likewise.
28480 * localedata/locales/en_AU: Likewise.
28481 * localedata/locales/en_BW: Likewise.
28482 * localedata/locales/en_CA: Likewise.
28483 * localedata/locales/en_DK: Likewise.
28484 * localedata/locales/en_GB: Likewise.
28485 * localedata/locales/en_HK: Likewise.
28486 * localedata/locales/en_IE: Likewise.
28487 * localedata/locales/en_IL: Likewise.
28488 * localedata/locales/en_IN: Likewise.
28489 * localedata/locales/en_NG: Likewise.
28490 * localedata/locales/en_NZ: Likewise.
28491 * localedata/locales/en_PH: Likewise.
28492 * localedata/locales/en_SG: Likewise.
28493 * localedata/locales/en_US: Likewise.
28494 * localedata/locales/en_ZA: Likewise.
28495 * localedata/locales/en_ZM: Likewise.
28496 * localedata/locales/en_ZW: Likewise.
28497 * localedata/locales/eo: Likewise.
28498 * localedata/locales/es_AR: Likewise.
28499 * localedata/locales/es_BO: Likewise.
28500 * localedata/locales/es_CL: Likewise.
28501 * localedata/locales/es_CO: Likewise.
28502 * localedata/locales/es_CR: Likewise.
28503 * localedata/locales/es_CU: Likewise.
28504 * localedata/locales/es_DO: Likewise.
28505 * localedata/locales/es_EC: Likewise.
28506 * localedata/locales/es_ES: Likewise.
28507 * localedata/locales/es_GT: Likewise.
28508 * localedata/locales/es_HN: Likewise.
28509 * localedata/locales/es_MX: Likewise.
28510 * localedata/locales/es_NI: Likewise.
28511 * localedata/locales/es_PA: Likewise.
28512 * localedata/locales/es_PE: Likewise.
28513 * localedata/locales/es_PR: Likewise.
28514 * localedata/locales/es_PY: Likewise.
28515 * localedata/locales/es_SV: Likewise.
28516 * localedata/locales/es_US: Likewise.
28517 * localedata/locales/es_UY: Likewise.
28518 * localedata/locales/es_VE: Likewise.
28519 * localedata/locales/et_EE: Likewise.
28520 * localedata/locales/eu_ES: Likewise.
28521 * localedata/locales/eu_ES@euro: Likewise.
28522 * localedata/locales/fa_IR: Likewise.
28523 * localedata/locales/ff_SN: Likewise.
28524 * localedata/locales/fi_FI: Likewise.
28525 * localedata/locales/fil_PH: Likewise.
28526 * localedata/locales/fo_FO: Likewise.
28527 * localedata/locales/fr_BE: Likewise.
28528 * localedata/locales/fr_CA: Likewise.
28529 * localedata/locales/fr_CH: Likewise.
28530 * localedata/locales/fr_FR: Likewise.
28531 * localedata/locales/fr_LU: Likewise.
28532 * localedata/locales/fur_IT: Likewise.
28533 * localedata/locales/fy_DE: Likewise.
28534 * localedata/locales/fy_NL: Likewise.
28535 * localedata/locales/ga_IE: Likewise.
28536 * localedata/locales/gd_GB: Likewise.
28537 * localedata/locales/gez_ER: Likewise.
28538 * localedata/locales/gez_ET: Likewise.
28539 * localedata/locales/gl_ES: Likewise.
28540 * localedata/locales/gu_IN: Likewise.
28541 * localedata/locales/gv_GB: Likewise.
28542 * localedata/locales/ha_NG: Likewise.
28543 * localedata/locales/hak_TW: Likewise.
28544 * localedata/locales/he_IL: Likewise.
28545 * localedata/locales/hi_IN: Likewise.
28546 * localedata/locales/hif_FJ: Likewise.
28547 * localedata/locales/hne_IN: Likewise.
28548 * localedata/locales/hr_HR: Likewise.
28549 * localedata/locales/hsb_DE: Likewise.
28550 * localedata/locales/ht_HT: Likewise.
28551 * localedata/locales/hu_HU: Likewise.
28552 * localedata/locales/hy_AM: Likewise.
28553 * localedata/locales/i18n: Likewise.
28554 * localedata/locales/ia_FR: Likewise.
28555 * localedata/locales/id_ID: Likewise.
28556 * localedata/locales/ig_NG: Likewise.
28557 * localedata/locales/ik_CA: Likewise.
28558 * localedata/locales/is_IS: Likewise.
28559 * localedata/locales/it_CH: Likewise.
28560 * localedata/locales/it_IT: Likewise.
28561 * localedata/locales/iu_CA: Likewise.
28562 * localedata/locales/ja_JP: Likewise.
28563 * localedata/locales/ka_GE: Likewise.
28564 * localedata/locales/kk_KZ: Likewise.
28565 * localedata/locales/kl_GL: Likewise.
28566 * localedata/locales/kn_IN: Likewise.
28567 * localedata/locales/ko_KR: Likewise.
28568 * localedata/locales/kok_IN: Likewise.
28569 * localedata/locales/ks_IN: Likewise.
28570 * localedata/locales/ks_IN@devanagari: Likewise.
28571 * localedata/locales/ku_TR: Likewise.
28572 * localedata/locales/kw_GB: Likewise.
28573 * localedata/locales/ky_KG: Likewise.
28574 * localedata/locales/lb_LU: Likewise.
28575 * localedata/locales/lg_UG: Likewise.
28576 * localedata/locales/li_BE: Likewise.
28577 * localedata/locales/li_NL: Likewise.
28578 * localedata/locales/lij_IT: Likewise.
28579 * localedata/locales/ln_CD: Likewise.
28580 * localedata/locales/lo_LA: Likewise.
28581 * localedata/locales/lt_LT: Likewise.
28582 * localedata/locales/lv_LV: Likewise.
28583 * localedata/locales/lzh_TW: Likewise.
28584 * localedata/locales/mag_IN: Likewise.
28585 * localedata/locales/mai_IN: Likewise.
28586 * localedata/locales/mg_MG: Likewise.
28587 * localedata/locales/mhr_RU: Likewise.
28588 * localedata/locales/mi_NZ: Likewise.
28589 * localedata/locales/mk_MK: Likewise.
28590 * localedata/locales/ml_IN: Likewise.
28591 * localedata/locales/mn_MN: Likewise.
28592 * localedata/locales/mni_IN: Likewise.
28593 * localedata/locales/mr_IN: Likewise.
28594 * localedata/locales/ms_MY: Likewise.
28595 * localedata/locales/mt_MT: Likewise.
28596 * localedata/locales/my_MM: Likewise.
28597 * localedata/locales/nan_TW: Likewise.
28598 * localedata/locales/nan_TW@latin: Likewise.
28599 * localedata/locales/nb_NO: Likewise.
28600 * localedata/locales/nds_DE: Likewise.
28601 * localedata/locales/nds_NL: Likewise.
28602 * localedata/locales/ne_NP: Likewise.
28603 * localedata/locales/nhn_MX: Likewise.
28604 * localedata/locales/niu_NU: Likewise.
28605 * localedata/locales/niu_NZ: Likewise.
28606 * localedata/locales/nl_AW: Likewise.
28607 * localedata/locales/nl_BE: Likewise.
28608 * localedata/locales/nl_NL: Likewise.
28609 * localedata/locales/nn_NO: Likewise.
28610 * localedata/locales/nr_ZA: Likewise.
28611 * localedata/locales/nso_ZA: Likewise.
28612 * localedata/locales/oc_FR: Likewise.
28613 * localedata/locales/om_ET: Likewise.
28614 * localedata/locales/om_KE: Likewise.
28615 * localedata/locales/or_IN: Likewise.
28616 * localedata/locales/os_RU: Likewise.
28617 * localedata/locales/pa_IN: Likewise.
28618 * localedata/locales/pa_PK: Likewise.
28619 * localedata/locales/pap_AW: Likewise.
28620 * localedata/locales/pap_CW: Likewise.
28621 * localedata/locales/pl_PL: Likewise.
28622 * localedata/locales/ps_AF: Likewise.
28623 * localedata/locales/pt_BR: Likewise.
28624 * localedata/locales/pt_PT: Likewise.
28625 * localedata/locales/quz_PE: Likewise.
28626 * localedata/locales/raj_IN: Likewise.
28627 * localedata/locales/ro_RO: Likewise.
28628 * localedata/locales/ru_RU: Likewise.
28629 * localedata/locales/ru_UA: Likewise.
28630 * localedata/locales/rw_RW: Likewise.
28631 * localedata/locales/sa_IN: Likewise.
28632 * localedata/locales/sat_IN: Likewise.
28633 * localedata/locales/sc_IT: Likewise.
28634 * localedata/locales/sd_IN: Likewise.
28635 * localedata/locales/sd_IN@devanagari: Likewise.
28636 * localedata/locales/se_NO: Likewise.
28637 * localedata/locales/sgs_LT: Likewise.
28638 * localedata/locales/shs_CA: Likewise.
28639 * localedata/locales/si_LK: Likewise.
28640 * localedata/locales/sid_ET: Likewise.
28641 * localedata/locales/sk_SK: Likewise.
28642 * localedata/locales/sl_SI: Likewise.
28643 * localedata/locales/sm_WS: Likewise.
28644 * localedata/locales/so_DJ: Likewise.
28645 * localedata/locales/so_ET: Likewise.
28646 * localedata/locales/so_KE: Likewise.
28647 * localedata/locales/so_SO: Likewise.
28648 * localedata/locales/sq_AL: Likewise.
28649 * localedata/locales/sq_MK: Likewise.
28650 * localedata/locales/sr_ME: Likewise.
28651 * localedata/locales/sr_RS: Likewise.
28652 * localedata/locales/sr_RS@latin: Likewise.
28653 * localedata/locales/ss_ZA: Likewise.
28654 * localedata/locales/st_ZA: Likewise.
28655 * localedata/locales/sv_FI: Likewise.
28656 * localedata/locales/sv_SE: Likewise.
28657 * localedata/locales/sw_KE: Likewise.
28658 * localedata/locales/sw_TZ: Likewise.
28659 * localedata/locales/szl_PL: Likewise.
28660 * localedata/locales/ta_IN: Likewise.
28661 * localedata/locales/ta_LK: Likewise.
28662 * localedata/locales/tcy_IN: Likewise.
28663 * localedata/locales/te_IN: Likewise.
28664 * localedata/locales/tg_TJ: Likewise.
28665 * localedata/locales/th_TH: Likewise.
28666 * localedata/locales/the_NP: Likewise.
28667 * localedata/locales/ti_ER: Likewise.
28668 * localedata/locales/ti_ET: Likewise.
28669 * localedata/locales/tig_ER: Likewise.
28670 * localedata/locales/tk_TM: Likewise.
28671 * localedata/locales/tl_PH: Likewise.
28672 * localedata/locales/tn_ZA: Likewise.
28673 * localedata/locales/to_TO: Likewise.
28674 * localedata/locales/tpi_PG: Likewise.
28675 * localedata/locales/tr_CY: Likewise.
28676 * localedata/locales/tr_TR: Likewise.
28677 * localedata/locales/ts_ZA: Likewise.
28678 * localedata/locales/tt_RU: Likewise.
28679 * localedata/locales/tt_RU@iqtelif: Likewise.
28680 * localedata/locales/ug_CN: Likewise.
28681 * localedata/locales/uk_UA: Likewise.
28682 * localedata/locales/unm_US: Likewise.
28683 * localedata/locales/ur_IN: Likewise.
28684 * localedata/locales/ur_PK: Likewise.
28685 * localedata/locales/uz_UZ: Likewise.
28686 * localedata/locales/uz_UZ@cyrillic: Likewise.
28687 * localedata/locales/ve_ZA: Likewise.
28688 * localedata/locales/vi_VN: Likewise.
28689 * localedata/locales/wa_BE: Likewise.
28690 * localedata/locales/wae_CH: Likewise.
28691 * localedata/locales/wal_ET: Likewise.
28692 * localedata/locales/wo_SN: Likewise.
28693 * localedata/locales/xh_ZA: Likewise.
28694 * localedata/locales/yi_US: Likewise.
28695 * localedata/locales/yo_NG: Likewise.
28696 * localedata/locales/yue_HK: Likewise.
28697 * localedata/locales/yuw_PG: Likewise.
28698 * localedata/locales/zh_CN: Likewise.
28699 * localedata/locales/zh_HK: Likewise.
28700 * localedata/locales/zh_SG: Likewise.
28701 * localedata/locales/zh_TW: Likewise.
28702 * localedata/locales/zu_ZA: Likewise.
28703
28704 2017-11-13 Florian Weimer <fweimer@redhat.com>
28705
28706 * support/next_to_fault.h, support/next_to_fault.c: New files.
28707 * support/Makefile (libsupport-routines): Add next_to_fault.
28708 * resolv/tst-inet_pton.c (struct next_to_fault)
28709 (next_to_fault_allocate, next_to_fault_free): Remove.
28710 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28711
28712 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28713
28714 * elf/dl-support.c: Include <dl-procruntime.c>.
28715 * include/link.h: Include <link_map.h>.
28716 * sysdeps/generic/dl-procruntime.c: New file.
28717 * sysdeps/generic/link_map.h: Likewise.
28718 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28719 the writable ld.so namespace.
28720
28721 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28722
28723 timezone: pacify GCC -Wstringop-truncation
28724 Problem reported by Martin Sebor in:
28725 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28726 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28727
28728 2017-11-12 Florian Weimer <fweimer@redhat.com>
28729
28730 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28731 tst-xreadlink.
28732 (tests): Add tst-xreadlink.
28733 * support/support.h (xstrndup): Declare.
28734 * support/xunistd.h (xunlink, xreadlink): Declare.
28735 * support/temp_file.h (support_create_temp_directory): Declare.
28736 * support/temp_file.c (support_create_temp_directory): New function.
28737 * support/support_chroot.c (support_chroot_create): Use it.
28738 * support/xreadlink.c: New file.
28739 * support/xstrndup.c: Likewise.
28740 * support/xunlink.c: Likewise.
28741 * support/tst-xreadlink.c: Likewise.
28742
28743 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28744
28745 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28746
28747 2017-11-11 Florian Weimer <fweimer@redhat.com>
28748
28749 [BZ #22409]
28750 [BZ #22412]
28751 * resolv/res_comp.c (printable_string, binary_hnok)
28752 (binary_leading_dash): New functions.
28753 (res_hnok): Reimplement using these functions and ns_name_pton.
28754 (res_ownok): Likewise.
28755 (res_mailok): Reimplement using printable_string, ns_name_pton and
28756 binary_hnok.
28757 (res_dnok): Reimplement using printable_string and ns_name_pton.
28758 * resolv/tst-res_hnok.c (tests): Add additional tests.
28759 (LETTERDIGITS, PRINTABLE): Define.
28760 (do_test): Adjust one_char results.
28761
28762 2017-11-11 Florian Weimer <fweimer@redhat.com>
28763
28764 [BZ #22413]
28765 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28766 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28767
28768 2017-11-11 Florian Weimer <fweimer@redhat.com>
28769
28770 * resolv/tst-ns_name_pton.c: New file.
28771 * resolv/Makefile (tests): Add tst-ns_name_pton.
28772 (tst-ns_name_pton): Link against libresolv.
28773
28774 2017-11-11 Florian Weimer <fweimer@redhat.com>
28775
28776 * resolv/tst-res_hnok.c: New file.
28777 * resolv/Makefile (tests): Add tst-res_hnok.
28778 (tst-res_hnok): Link against libresolv.
28779
28780 2017-11-11 Florian Weimer <fweimer@redhat.com>
28781
28782 * resolv/tst-resolv-network.c: Use test framework instead explicit
28783 main function.
28784
28785 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28786
28787 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28788 <jmp_buf-macros.h>.
28789 [!_ISOMAC] (STR_HELPER): New.
28790 [!_ISOMAC] (STR): Likewise.
28791 [!_ISOMAC] (TEST_SIZE): Likewise.
28792 [!_ISOMAC] (TEST_ALIGN): Likewise.
28793 [!_ISOMAC] (TEST_OFFSET): Likewise.
28794 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28795 field offsets of jmp_buf as well as sigjmp_buf.
28796 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28797 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28798 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28799 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28800 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28801 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28802 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28803 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28804 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28805 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28806 Likewise.
28807 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28808 Likewise.
28809 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28811 Likewise.
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28813 Likewise.
28814 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28815 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28816 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28817 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28818 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28820 Likewise.
28821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28822 Likewise.
28823 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28824 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28825 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28826
28827 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28828
28829 * include/float.h
28830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28831 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28833 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28835 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28837 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28839 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28841 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28843 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28845 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28847 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28849 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28851 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28853 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28855 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28857 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28859 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28861 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28863 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28865 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28867 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28869 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28871 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28873 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28875 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28877 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28879 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28881 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28883 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28885 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28887 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28889 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28891 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28893 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28895 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28897 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28899 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28901 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28903 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28905 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28907 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28909 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28911 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28913 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28915 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28917 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28918
28919 * stdlib/tst-strtod.h (F16): New macro.
28920 (F32): Likewise.
28921 (F64): Likewise.
28922 (F32X): Likewise.
28923 (F64X): Likewise.
28924 (F128X): Likewise.
28925 (IF_FLOAT16): Likewise.
28926 (IF_FLOAT32): Likewise.
28927 (IF_FLOAT64): Likewise.
28928 (IF_FLOAT32X): Likewise.
28929 (IF_FLOAT64X): Likewise.
28930 (IF_FLOAT128X): Likewise.
28931 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28932 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28933 (STRTOD_TEST_FOREACH): Likewise.
28934 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28935 (CHOOSE_f64): Likewise.
28936 (CHOOSE_f32x): Likewise.
28937 (CHOOSE_f64x): Likewise.
28938
28939 2017-11-07 Andreas Schwab <schwab@suse.de>
28940
28941 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28942
28943 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28944
28945 [BZ #22403]
28946 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28947 to be escaped.
28948 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28949 to be escaped.
28950
28951 2017-11-07 Claude Paroz <claude@2xlibre.net>
28952
28953 [BZ #22403]
28954 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28955 to be escaped.
28956 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28957 to be escaped.
28958 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28959 to be escaped.
28960
28961 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28962
28963 [BZ #22298]
28964 * nptl/allocatestack.c (allocate_stack): Check if
28965 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28966 __PTHREAD_MUTEX_HAVE_PREV is defined.
28967 * nptl/descr.h (pthread): Likewise.
28968 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28969 Likewise.
28970 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28971 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28972 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28973 * sysdeps/nptl/bits/thread-shared-types.h
28974 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28975 defines.
28976 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28977 of __WORDSIZE for internal layout.
28978 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28979 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28980 instead of __WORDSIZE whether to use an union for __spins and __list
28981 fields.
28982 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28983 case.
28984 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28986 defines.
28987 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28989 Likewise.
28990 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28992 Likewise.
28993 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28995 Likewise.
28996 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28998 Likewise.
28999 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
29000 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29001 Likewise.
29002 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
29003 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29004 Likewise.
29005 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
29006 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29007 Likewise.
29008 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
29009 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29010 Likewise.
29011 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
29012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29013 Likewise.
29014 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
29015 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29016 Likewise.
29017 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
29018 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29019 Likewise.
29020 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
29021 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29022 Likewise.
29023 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
29024 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29025 Likewise.
29026 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
29027 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29028 Likewise.
29029
29030 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
29031 New macros.
29032 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
29033 checks for expected input type size.
29034 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
29035 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29036 Likewise.
29037 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29038 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
29039 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29040 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
29041 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
29042 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
29043 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
29044 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
29045 superflous runtime assert check.
29046 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
29047 Likewise.
29048 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
29049 Likewise.
29050 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
29051 Likewise.
29052 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
29053 Likewise.
29054 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
29055 Likewise.
29056 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
29057 Likewise.
29058 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
29059 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
29060 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
29061 Likewise.
29062 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
29063 Likewise.
29064 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
29065 Likewise.
29066 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
29067 Likewise.
29068 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
29069 Likewise.
29070 * nptl/pthread_attr_setinheritsched.c
29071 (__pthread_attr_setinheritsched): Likewise.
29072 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
29073 Likewise.
29074 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
29075 Likewise.
29076 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
29077 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
29078 __old_pthread_attr_setstack): Likewise.
29079 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
29080 Likewise.
29081 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
29082 Likewise.
29083 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
29084 Likewise.
29085 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
29086 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
29087 Likewise.
29088 * nptl/tst-typesizes.c: Remove file.
29089
29090 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
29091 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
29092 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
29093 checks for internal pthread_mutex_t offsets.
29094 * sysdeps/aarch64/nptl/pthread-offsets.h
29095 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
29096 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
29097 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
29098 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
29099 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
29100 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
29101 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
29102 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29103 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29104 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29105 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29106 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29107 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29108 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29109 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29110 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29111 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29112 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29113
29114 2017-11-07 Florian Weimer <fweimer@redhat.com>
29115
29116 * bits/mman-linux.h: Move ...
29117 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29118 comment.
29119 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29120 outdated comment.
29121
29122 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29123
29124 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29125 Redefine STRNLEN as __strnlen_power8.
29126
29127 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29128
29129 * signal/sighold.c (sighold): Optimize implementation.
29130
29131 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29132 __NR_rt_sigqueueinfo.
29133
29134 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29135 __sigtimedwait.
29136 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29137 assume __NR_rt_sigtimedwait.
29138 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29139 and add LIBC_CANCEL_HANDLED for cancellation marking.
29140 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29141
29142 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29143 (sysdeps_routines): Add memchr_noneon.
29144 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29145 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29146 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29147 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29148 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29149 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29150 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29151
29152 * sysdeps/arm/arm-ifunc.h: New file.
29153 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29154 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29155 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29156 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29157 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29158 (__memcpy_neon): Avoid create hidden alias.
29159 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29160 (__memcpy_vfp): Likewise.
29161 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29162 (sysdep_routines): Add memcpy_arm.
29163 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29164
29165 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29166
29167 [BZ #22362]
29168 * Makerules (make-link-multidir): New.
29169 * config.make.in (multidir): New.
29170 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29171 * configure: Regenerated.
29172 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29173 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29174 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29175 New target.
29176
29177 2017-11-06 Joseph Myers <joseph@codesourcery.com>
29178
29179 [BZ #22402]
29180 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29181 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29182
29183 2017-11-04 Mike FABIAN <mfabian@redhat.com>
29184
29185 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29186 to be escaped.
29187
29188 2017-11-04 Florian Weimer <fweimer@redhat.com>
29189
29190 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29191
29192 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29193
29194 * math/math.h [__HAVE_DISTINCT_FLOAT16
29195 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29196 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29197 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29198 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29199 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29200 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29201 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29202 (__MATH_TG_F32): New macro.
29203 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29204 (__MATH_TG_F64X): Likewise.
29205 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29206 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29207
29208 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29209
29210 * po/de.po: Update translations.
29211 * po/ru.po: Likewise.
29212
29213 2017-11-03 Florian Weimer <fweimer@redhat.com>
29214
29215 * manual/filesys.texi (Hard Links): Document linkat.
29216
29217 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29218
29219 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29220 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29221 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29222 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29223 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29224 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29225 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29226 the same as _Float128.
29227 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29228 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29229 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29230
29231 * stdlib/stdlib.h
29232 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29233 Declare.
29234 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29235 Likewise.
29236 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29237 Likewise.
29238 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29239 (strtof32x): Likewise.
29240 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29241 (strtof64x): Likewise.
29242 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29243 (strtof128x): Likewise.
29244 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29245 (strfromf16): Likewise.
29246 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29247 (strfromf32): Likewise.
29248 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29249 (strfromf64): Likewise.
29250 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29251 (strfromf32x): Likewise.
29252 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29253 (strfromf64x): Likewise.
29254 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29255 (strfromf128x): Likewise.
29256 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29257 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29258 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29259 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29260 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29261 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29262
29263 2017-11-03 Richard Henderson <rth@twiddle.net>
29264
29265 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29266
29267 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29268
29269 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29270
29271 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29272
29273 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29274 DT_TLSDESC_GOT initialization.
29275 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29276 (_dl_tlsdesc_resolve_hold): Likewise.
29277 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29278 (_dl_tlsdesc_resolve_hold): Likewise.
29279 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29280 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29281
29282 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29283
29284 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29285
29286 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29287
29288 [BZ #18572]
29289 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29290 non-lazily for R_ARM_TLS_DESC.
29291
29292 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29293
29294 [BZ #17078]
29295 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29296 R_ARM_TLS_DESC case.
29297 (elf_machine_lazy_rel): Remove the prelink check.
29298
29299 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29300
29301 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29302 DT_TLSDESC_GOT initialization.
29303 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29304 (_dl_tlsdesc_resolve_rela): Likewise.
29305 (_dl_tlsdesc_resolve_hold): Likewise.
29306 (_dl_tlsdesc_undefweak): Remove ldar.
29307 (_dl_tlsdesc_dynamic): Likewise.
29308 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29309 (_dl_tlsdesc_resolve_rela): Likewise.
29310 (_dl_tlsdesc_resolve_hold): Likewise.
29311 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29312 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29313 (_dl_tlsdesc_resolve_rela): Likewise.
29314 (_dl_tlsdesc_resolve_hold): Likewise.
29315
29316 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29317
29318 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29319 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29320
29321 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29322
29323 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29324 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29325
29326 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29327
29328 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29329 Declare.
29330 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29331 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29332 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29333 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29334 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29335 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29336 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29337 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29338 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29339 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29340 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29341
29342 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29343
29344 [BZ #22382]
29345 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29346 * localedata/locales/tpi_PG: Add standard header.
29347
29348 2017-11-02 Florian Weimer <fweimer@redhat.com>
29349
29350 test-errno-linux: quotactl can fail with EPERM in containers.
29351 * sysdeps/unix/sysv/linux/test-errno-linux.c
29352 (LIST, LIST_FORWARD): New macros.
29353 (check_error_in_list): New function.
29354 (test_wrp_rv): Accept list of permitted error codes.
29355 (test_wrp_rv2): Remove.
29356 (test_wrp): Call test_wrp_rv with list of error codes.
29357 (test_wrp2): Accept list of error codes.
29358 (do_test): Adjust. Allow EPERM for quotactl.
29359
29360 2017-11-02 Florian Weimer <fweimer@redhat.com>
29361
29362 * stdio-common/bug16.c (do_test): Use array_length.
29363 * stdio-common/errlist.c (_sys_nerr): Likewise.
29364 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29365 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29366 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29367 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29368 (do_test): Use array_length.
29369 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29370 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29371 * stdio-common/tst-printf-round.c (do_test): Likewise.
29372 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29373 (CHECK): Use array_length.
29374 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29375 * stdio-common/tstscanf.c (main): Likewise.
29376 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29377
29378 2017-11-02 Florian Weimer <fweimer@redhat.com>
29379
29380 Add array_length and array_end macros.
29381 * include/array_length.h: New file.
29382
29383 2017-11-02 Florian Weimer <fweimer@redhat.com>
29384
29385 [BZ #22332]
29386 * posix/tst-glob-tilde.c (do_noescape): New variable.
29387 (one_test): Process it.
29388 (do_test): Set do_noescape. Add unescaping test case.
29389
29390 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29391
29392 * math/complex.h
29393 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29394 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29395 with appropriate macros defined and undefined.
29396 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29397 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29398 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29399 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29400 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29401 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29402 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29403 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29404 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29405 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29406
29407 * math/complex.h
29408 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29409 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29410 that for long double. Do not condition define and undefine of
29411 _Mdouble_complex_ on [__CFLOAT128].
29412
29413 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29414
29415 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29416 of <sysdeps/generic/sysdep.h>.
29417 (ALIGNARG): Removed.
29418 (ASM_SIZE_DIRECTIVE): Likewise.
29419 (ENTRY): Likewise.
29420 (END): Likewise.
29421 (ENTRY_CHK): Likewise.
29422 (END_CHK): Likewise.
29423 (syscall_error): Likewise.
29424 (mcount): Likewise.
29425 (PSEUDO_END): Likewise.
29426 (L): Likewise.
29427 (atom_text_section): Likewise.
29428 * sysdeps/x86/sysdep.h: New file.
29429 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29430 of <sysdeps/generic/sysdep.h>.
29431 (ALIGNARG): Removed.
29432 (ASM_SIZE_DIRECTIVE): Likewise.
29433 (ENTRY): Likewise.
29434 (END): Likewise.
29435 (ENTRY_CHK): Likewise.
29436 (END_CHK): Likewise.
29437 (syscall_error): Likewise.
29438 (mcount): Likewise.
29439 (PSEUDO_END): Likewise.
29440 (L): Likewise.
29441 (atom_text_section): Likewise.
29442
29443 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29444
29445 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29446 category of LC_CTYPE set to "i18n:2012".
29447 * localedata/locales/i18n_ctype: Regenerate.
29448
29449 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29450
29451 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29452 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29453 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29454 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29455
29456 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29457 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29458 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29459 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29460
29461 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29462
29463 * math/complex.h
29464 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29465 New macro.
29466 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29467 Likewise.
29468 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29469 Likewise.
29470 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29471 (CMPLXF32X): Likewise.
29472 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29473 (CMPLXF64X): Likewise.
29474 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29475 (CMPLXF128X): Likewise.
29476
29477 * math/math.h
29478 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29479 (__MATH_EVAL_FMT2): Define to add 0.0f.
29480
29481 2017-10-31 Alan Modra <amodra@gmail.com>
29482
29483 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29484 include sysdep.h.
29485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29499 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29500 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29501 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29502 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29503 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29504 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29505 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29506 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29507 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29509 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29510 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29511 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29512 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29513 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29514 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29515 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29516 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29517 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29518 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29519 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29520 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29521 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29522 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29523 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29525 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29526 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29527 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29528 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29529 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29530 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29531 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29533 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29534 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29535 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29536 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29537 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29538 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29539 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29540 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29541 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29542 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29543 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29544 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29546 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29547 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29548 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29549 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29550 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29551 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29552 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29553 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29554
29555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29556 include sysdep.h and math_ldbl_opt.h.
29557
29558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29559 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29584
29585 2017-10-31 Alan Modra <amodra@gmail.com>
29586
29587 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29588 string/strncase_l.c, not string/strncase.c.
29589 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29590 (libc_hidden_def): Redefine.
29591
29592 2017-10-31 Alan Modra <amodra@gmail.com>
29593
29594 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29595 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29596 (__strcasecmp): Don't define.
29597
29598 2017-10-31 Alan Modra <amodra@gmail.com>
29599
29600 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29601 IS_IN (libc).
29602 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29603 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29604 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29605
29606 2017-10-31 Alan Modra <amodra@gmail.com>
29607
29608 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29609 USE_AS_STPNCPY.
29610
29611 2017-10-31 Alan Modra <amodra@gmail.com>
29612
29613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29614 Redefine only when SHARED.
29615
29616 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29617
29618 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29619 Include <bits/math-finite.h> with appropriate macros defined and
29620 undefined.
29621 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29622 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29623 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29624 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29625 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29626
29627 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29628 [!_Mlong_double_] (_Mlong_double_): Likewise.
29629 [!_Mfloat16_] (_Mfloat16_): Likewise.
29630 [!_Mfloat32_] (_Mfloat32_): Likewise.
29631 [!_Mfloat64_] (_Mfloat64_): Likewise.
29632 [!_Mfloat128_] (_Mfloat128_): Likewise.
29633 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29634 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29635 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29636 (_Mdouble_): Define without indirection through those macros.
29637 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29638 [!_Mfloat128_] (_Mfloat128_): Likewise.
29639 [_Mlong_double_] (_Mlong_double_): Likewise.
29640 (_Mdouble_): Define without indirection through those macros.
29641 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29642 not add -D_Mlong_double_=double.
29643 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29644 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29645
29646 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29647
29648 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29649
29650 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29651
29652 * sysdeps/x86/libc-start.c: Reformat.
29653
29654 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29655
29656 [BZ #22353]
29657 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29658 (1): Renamed to ...
29659 (L(Src0)): This.
29660 (L(Src1)): New.
29661 (L(Src2)): Likewise.
29662 (L(1)): Renamed to ...
29663 (L(Src3)): This.
29664
29665 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29666
29667 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29668 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29669 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29670 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29671 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29672 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29673 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29674 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29675 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29676 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29677 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29678 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29679 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29680 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29681 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29682 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29683 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29684 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29685 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29686 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29687 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29688 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29689 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29690 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29691 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29692 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29693 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29694 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29695 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29696 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29697 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29698 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29699 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29700 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29701 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29702 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29703 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29704 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29705 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29706 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29707 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29708 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29709 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29710 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29711 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29712 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29713 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29714 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29715 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29716 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29717 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29718 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29719 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29720 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29721 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29722 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29723 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29724 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29725 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29726 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29727 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29728 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29729 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29730 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29731 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29732 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29733
29734 2017-10-30 Florian Weimer <fweimer@redhat.com>
29735
29736 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29737 always defined.
29738 * io/tst-mkdirat.c (do_test): Likewise.
29739 * io/tst-mkfifoat.c (do_test): Likewise.
29740 * io/tst-mknodat.c (do_test): Likewise.
29741 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29742 * locale/programs/locale.c (select_dirs): Likewise.
29743 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29744 * posix/bug-glob2.c (my_readdir): Likewise.
29745 * posix/tst-dir.c (main): Likewise.
29746 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29747 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29748
29749 2017-10-30 Florian Weimer <fweimer@redhat.com>
29750
29751 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29752 just __USE_GNU.
29753
29754 2017-10-30 Florian Weimer <fweimer@redhat.com>
29755
29756 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29757 Convert to support/test-driver.c.
29758 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29759 New macro parameters.
29760 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29761 * posix/tst-gnuglob.c: New file.
29762 * posix/tst-gnuglob64.c: Likewise.
29763 * posix/Makefile (tests): Add tst-gnuglob64.
29764
29765 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29766
29767 [BZ #19485]
29768 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29769 and use a better translation for March in “mon”.
29770 * localedata/locales/csb_PL: Use more ASCII to improve the
29771 readability of the source.
29772
29773 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29774
29775 [BZ #13953]
29776 * localedata/locales/km_KH: Use ASCII as much
29777 as possible for better readability of the source and
29778 remove useless comments.
29779 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29780 was commented out and apparently wrong anyway because it was
29781 using Lao characters. If Buddhist era should be used
29782 for km_KH, a native speaker should write the correct formaat
29783 for Khmer.
29784 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29785 (According to CLDR, the first weekday for Cambodia is Sunday).
29786 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29787 (These were using Lao characters which must be wrong. If we get
29788 the correct data from a native speaker, we could add it back, until
29789 then it is better not to have name_mr and name_mrs at all than
29790 having it wrong).
29791
29792 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29793
29794 * locale/loadlocale.c: Correct size of
29795 _nl_value_type_LC_<category> arrays.
29796
29797 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29798
29799 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29800 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29801 with appropriate macros defined and undefined.
29802 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29803 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29804 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29805 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29806 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29807
29808 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29809
29810 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29811 "-O2 -march=i586".
29812
29813 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29814
29815 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29816 with lowercase letters to make it agree with CLDR.
29817
29818 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29819
29820 [BZ #15260]
29821 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29822 first letters of yesstr and nostr in yesexpr and noexpr,
29823 not for the full words.
29824 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29825 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29826 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29827 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29828 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29829 first letters of yesstr and nostr in yesexpr and noexpr,
29830 until now only English was matched in yesexpr and noexpr.
29831 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29832 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29833 fil but not for tl. As tl and fil are very similar, using fil
29834 is probably better than using English.
29835
29836 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29837
29838 [BZ #21706]
29839 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29840 in yesstr and nostr.
29841
29842 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29843
29844 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29845 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29846 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29847 Likewise.
29848 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29849 Likewise.
29850 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29851 Likewise.
29852 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29853 Likewise.
29854 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29855 (SNANF128X): Likewise.
29856
29857 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29858 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29859 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29860 (HUGE_VAL_F32): Likewise.
29861 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29862 (HUGE_VAL_F64): Likewise.
29863 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29864 (HUGE_VAL_F32X): Likewise.
29865 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29866 (HUGE_VAL_F64X): Likewise.
29867 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29868 (HUGE_VAL_F128X): Likewise.
29869
29870 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29871
29872 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29873 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29874 for the br_FR locale.
29875
29876 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29877
29878 [BZ #21706]
29879 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29880
29881 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29882
29883 * locale/programs/record-status.h: Define globals, and function
29884 prototypes. Move function bodies...
29885 * locale/programs/record-status.c: ... to here. New file.
29886 * iconv/Makefile (iconv_prog-modules): Add record-status.
29887 * locale/Makefile (lib-modules): Likewise.
29888 * iconv/iconv_prog.c: Remove verbose.
29889 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29890 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29891 record a warning about ASCII compatibility.
29892 * locale/programs/ld-monetary.c (monetary_finish): If
29893 warn_int_curr_symbol is true then record a warning about the symbol
29894 not being in our ISO 4217 list.
29895 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29896 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29897 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29898 (OPT_NO_WARN): Define.
29899 (OPT_WARN): Define.
29900 (options): Add entry for --no-warnings, and --warnings.
29901 (set_warnings): New function to enable/disable warnings.
29902 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29903 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29904 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29905 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29906 Pass flags to generate_locale.
29907 (generate_locale): Accept new flag argument and pass it to localedef
29908 invocation.
29909 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29910 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29911
29912 * localedata/Makefile (test-input-data): Use full file name.
29913 * localedata/da_DK.in: Rename to...
29914 * localedata/da_DK.ISO-8859-1.in: ...this.
29915 * localedata/de_DE.in: Rename to...
29916 * localedata/de_DE.ISO-8859-1.in: ...this.
29917 * localedata/en_US.in: Rename to...
29918 * localedata/en_US.ISO-8859-1.in: ...this.
29919 * localedata/fr_FR.in: Rename to...
29920 * localedata/fr_FR.UTF-8.in: ... this.
29921 * localedata/hr_HR.in: Rename to...
29922 * localedata/hr_HR.ISO-8859-2.in: ...this.
29923 * localedata/hu_HU.in: Rename to...
29924 * localedata/hu_HU.UTF-8.in: ...this.
29925 * localedata/si_LK.in: Rename to...
29926 * localedata/si_LK.UTF-8.in: ...this.
29927 * localedata/sv_SE.in: Rename to...
29928 * localedata/sv_SE.ISO-8859-1.in: ...this.
29929 * localedata/tr_TR.in: Rename to...
29930 * localedata/tr_TR.UTF-8.in: ...this.
29931 * localedata/uk_UA.in: Rename to...
29932 * localedata/uk_UA.UTF-8.in: ...this.
29933 * localedata/sort-test.sh: Test file is locale name with the
29934 suffix.
29935
29936 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29937 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29938 file.
29939 * localedata/locales/i18n_ctype: Regenerate.
29940 * localedata/locales/tr_TR: Likewise.
29941 * localedata/locales/translit_circle: Likewise.
29942 * localedata/locales/translit_cjk_compat: Likewise.
29943 * localedata/locales/translit_combining: Likewise.
29944 * localedata/locales/translit_compat: Likewise.
29945 * localedata/locales/translit_font: Likewise.
29946 * localedata/locales/translit_fraction: Likewise.
29947
29948 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29949
29950 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29951 lxvd2x/stxvd2x with lvx/stvx.
29952 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29953
29954 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29955
29956 * include/alloc_buffer.h: Replace "if if " with "if " in
29957 comments.
29958 * sysdeps/mips/memcpy.S: Likkewise.
29959 * sysdeps/mips/memset.S: Likewise.
29960 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29961 Likewise.
29962 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29963 Likewise.
29964 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29965 Likewise.
29966
29967 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29968
29969 [BZ #15261]
29970 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29971 yesexpr and noexpr.
29972 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29973 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29974 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29975 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29976 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29977 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29978 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29979
29980 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29981
29982 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29983 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29984 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29985 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29986 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29987 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29988 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29989 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29990 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29991 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29992 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29993 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29994
29995 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29996
29997 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29998 as possible for better readability of the source.
29999 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
30000 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
30001 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
30002 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
30003 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
30004 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
30005 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
30006 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
30007 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30008 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
30009 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
30010 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
30011 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
30012 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
30013 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
30014 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
30015 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
30016 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
30017 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
30018 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
30019 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
30020 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
30021 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
30022 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
30023 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
30024 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
30025 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
30026 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
30027 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
30028 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
30029 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
30030 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30031 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
30032 * localedata/locales/en_US (LC_MESSAGES): Likewise.
30033 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
30034 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
30035 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
30036 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
30037 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
30038 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
30039 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
30040 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
30041 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
30042 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
30043 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
30044 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
30045 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
30046 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
30047 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
30048 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
30049 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
30050 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
30051 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
30052 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30053 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30054 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
30055 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
30056 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30057 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
30058 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
30059 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
30060 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
30061 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
30062 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
30063 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
30064 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
30065 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
30066 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
30067 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
30068 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
30069 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
30070 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
30071 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
30072 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
30073 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30074 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
30075 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
30076 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
30077 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
30078 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
30079 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
30080 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
30081 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
30082 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30083 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
30084 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
30085 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
30086 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30087 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
30088 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
30089 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
30090 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
30091 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30092 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
30093 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
30094 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30095 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
30096 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30097 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
30098 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
30099 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
30100 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
30101 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
30102 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30103 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30104 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30105 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30106 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30107 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30108 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30109 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30110 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30111 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30112 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30113 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30114 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30115 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30116 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30117 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30118 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30119 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30120 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30121 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30122 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30123 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30124 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30125 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30126 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30127 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30128 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30129 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30130 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30131 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30132 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30133 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30134 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30135 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30136 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30137 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30138 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30139 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30140 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30141 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30142 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30143 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30144 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30145 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30146 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30147 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30148 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30149 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30150 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30151 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30152 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30153 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30154 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30155 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30156 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30157 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30158 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30159 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30160 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30161 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30162 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30163 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30164 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30165 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30166 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30167 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30168 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30169 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30170 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30171 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30172 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30173
30174 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30175
30176 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30177 (Use first letters of yesstr and nostr correctly instead of using
30178 full words).
30179
30180 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30181
30182 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30183 (Use first letters of yesstr and nostr correctly).
30184
30185 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30186
30187 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30188 also check for the first characters of yesstr and nostr.
30189 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30190 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30191
30192 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30193
30194 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30195 also check for Chinese characters.
30196
30197 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30198
30199 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30200 match also for the contents of yesstr and nostr. As the first letter
30201 of yesstr and nostr is equal, checking only for the first letter
30202 is not enough.
30203
30204 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30205
30206 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30207 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30208
30209 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30210
30211 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30212 of main contributor.
30213
30214 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30215
30216 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30217 instead of using English.
30218
30219 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30220
30221 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30222 by including the first letters of nostr and yesexpr in the regexp.
30223 Also make it more readable by using ASCII where possible.
30224
30225 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30226
30227 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30228 the first letter of nostr in the regexp. It agrees with CLDR now.
30229 Also make it more readable by using ASCII where possible.
30230
30231 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30232
30233 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30234 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30235 these strings contain a U+17D6 (which somewhat looks like a colon)
30236 instead of a real colon to separate the full words for “yes”
30237 and “no” from the single letter responses.
30238
30239 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30240
30241 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30242 it agree with CLDR (include the first letter of yesstr).
30243 Also make it more readable by using ASCII where possible.
30244
30245 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30246
30247 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30248 and improve yesexpr and noexpr. The yesstr and nostr apparently
30249 came from CLDR. And CLDR has a bug there: these strings contain
30250 a U+0903 (which looks like a colon) instead of a real colon
30251 to separate the full words for “yes” and “no” from the single
30252 letter responses.
30253
30254 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30255
30256 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30257 letters of the full yesstr and nostr in yesexpr and noexpr.
30258
30259 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30260
30261 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30262 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30263 * localedata/locales/an_ES: Make source more readable by using ASCII
30264 where possible.
30265
30266 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30267
30268 [BZ #20952]
30269 * localedata/locales/yuw_PG: New file.
30270 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30271 * locale/iso-639.def: Add Yau (Uruwa).
30272
30273 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30274
30275 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30276
30277 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30278
30279 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30280 (__libc_realloc): Likewise.
30281 (_mid_memalign): Likewise.
30282 (__libc_calloc): Likewise.
30283
30284 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30285
30286 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30287 by adding the generic +1 and -0 as in all other locales.
30288 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30289 day names and make it more readable by using ASCII where possible.
30290
30291 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30292
30293 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30294 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30295
30296 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30297
30298 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30299 WNOHANG in waitpid call.
30300
30301 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30302
30303 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30304 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30305
30306 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30307 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30308 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30309 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30310 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30311 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30312 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30313 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30314 variables.
30315
30316 2017-10-23 Michael Collison <michael.collison@arm.com>
30317
30318 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30319 with __builtin_sqrt.
30320 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30321 with __builtin_sqrtf.
30322 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30323 with __builtin_ceil.
30324 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30325 with __builtin_ceilf.
30326 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30327 with __builtin_floor.
30328 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30329 with __builtin_floorf.
30330 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30331 with __builtin_fma.
30332 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30333 with __builtin_fmaf.
30334 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30335 with __builtin_fmax.
30336 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30337 with __builtin_fmaxf.
30338 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30339 with __builtin_fmin.
30340 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30341 with __builtin_fminf.
30342 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30343 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30344 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30345 with builtin_rint and conversion to int.
30346 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30347 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30348 with builtin_llround.
30349 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30350 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30351 with builtin_rint and conversion to long int.
30352 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30353 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30354 with builtin_lround.
30355 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30356 with builtin_lroundf.
30357 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30358 statements with __builtin_nearbyint.
30359 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30360 statements with __builtin_nearbyintf.
30361 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30362 with __builtin_rint.
30363 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30364 with __builtin_rintf.
30365 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30366 with __builtin_round.
30367 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30368 with __builtin_roundf.
30369 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30370 with __builtin_trunc.
30371 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30372 with __builtin_truncf.
30373 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30374 and s_l[l]round[f].c too.
30375
30376 2017-10-23 Alan Modra <amodra@gmail.com>
30377
30378 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30379 Adjust stack after restoring regs. Add missing LR cfi_restore.
30380
30381 2017-10-23 Alan Modra <amodra@gmail.com>
30382
30383 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30384 Move LR save and frame setup/teardown and LR restore to
30385 immediately around memset call. Provide cfi.
30386
30387 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 * sysdeps/i386/fpu/e_powf.S: Removed.
30390 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30391 * sysdeps/i386/fpu/w_powf.c: Likewise.
30392 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30393 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30394 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30395 Add e_powf-sse2.
30396 (CFLAGS-e_powf-sse2.c): New.
30397 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30398 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30399
30400 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30401
30402 * sysdeps/i386/fpu/e_log2f.S: Removed.
30403 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30404 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30405 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30406 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30407 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30408 Add e_log2f-sse2.
30409 (CFLAGS-e_log2f-sse2.c): New.
30410 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30411 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30412
30413 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30414
30415 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30416 Add e_powf-fma.
30417 (CFLAGS-e_powf-fma.c): New.
30418 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30419 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30420
30421 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30422
30423 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30424 Add e_log2f-fma.
30425 (CFLAGS-e_log2f-fma.c): New.
30426 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30427 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30428
30429 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30430
30431 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30432 Add e_logf-fma.
30433 (CFLAGS-e_logf-fma.c): New.
30434 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30435 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30436
30437 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30438
30439 * sysdeps/i386/fpu/e_logf.S: Removed.
30440 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30441 * sysdeps/i386/fpu/w_logf.c: Likewise.
30442 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30443 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30444 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30445 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30446 Add e_logf-sse2.
30447 (CFLAGS-e_logf-sse2.c): New.
30448 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30449 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30450
30451 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30452
30453 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30454 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30455 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30456 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30457 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30458 Add e_exp2f-sse2.
30459 (CFLAGS-e_exp2f-sse2.c): New.
30460 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30461 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30462
30463 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30464
30465 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30466 Add e_exp2f-fma.
30467 (CFLAGS-e_exp2f-fma.c): New.
30468 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30469 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30470
30471 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30472
30473 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30474 * sysdeps/i386/fpu/e_expf.S: Likewise.
30475 * sysdeps/i386/fpu/math_errf.c: Likewise.
30476 * sysdeps/i386/fpu/w_expf.c: Likewise.
30477 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30478 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30479 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30480 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30481 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30482 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30483 Remove e_expf-ia32.
30484 (CFLAGS-e_expf-sse2.c): New.
30485 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30486 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30487
30488 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30489
30490 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30491 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30492 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30493 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30494 e_expf.c.
30495 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30496 New.
30497 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30498 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30499 Renamed to ...
30500 (__redirect_expf): This.
30501 (SYMBOL_NAME): Changed to expf.
30502 (__ieee754_expf): Renamed to ...
30503 (__expf): This.
30504 (__GI___expf): This.
30505 (__ieee754_expf): Add strong_alias.
30506 (__expf_finite): Likewise.
30507 (__expf): New.
30508 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30509
30510 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30511
30512 [BZ #22332]
30513 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30514 unescaping.
30515
30516 2017-10-21 Florian Weimer <fweimer@redhat.com>
30517
30518 * posix/Makefile (tests): Add tst-glob-tilde.
30519 (tests-special): Add tst-glob-tilde-mem.out
30520 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30521 (tst-glob-tilde-mem.out): Add mtrace check.
30522 * posix/tst-glob-tilde.c: New file.
30523
30524 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30525
30526 * bits/floatn-common.h: New file.
30527 * math/Makefile (headers): Add bits/floatn-common.h.
30528 * bits/floatn.h: Include <bits/floatn-common.h>.
30529 * sysdeps/ia64/bits/floatn.h: Likewise.
30530 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30531 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30532 * sysdeps/powerpc/bits/floatn.h: Likewise.
30533 * sysdeps/x86/bits/floatn.h: Likewise.
30534
30535 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30536
30537 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30538 indicates whether compiler emits an warning for alias for
30539 functions with incompatible types.
30540
30541 [BZ #22273]
30542 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30543 the auxiliary process is terminated by a signal before calling _exit
30544 or execve.
30545
30546 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30547
30548 [BZ #21265]
30549 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30550 New.
30551 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30552 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30553 and bit_arch_XSAVEC_Usable if needed.
30554 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30555 and bit_arch_Use_dl_runtime_resolve_opt.
30556 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30557 Removed.
30558 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30559 (bit_arch_Prefer_No_AVX512): Updated.
30560 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30561 (bit_arch_XSAVEC_Usable): New.
30562 (STATE_SAVE_OFFSET): Likewise.
30563 (STATE_SAVE_MASK): Likewise.
30564 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30565 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30566 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30567 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30568 (index_arch_XSAVEC_Usable): New.
30569 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30570 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30571 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30572 is enabled.
30573 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30574 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30575 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30576 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30577 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30578 _dl_runtime_resolve_xsavec.
30579 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30580 Removed.
30581 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30582 instead of VEC_SIZE.
30583 (REGISTER_SAVE_BND0): Removed.
30584 (REGISTER_SAVE_BND1): Likewise.
30585 (REGISTER_SAVE_BND3): Likewise.
30586 (REGISTER_SAVE_RAX): Always defined to 0.
30587 (VMOV): Removed.
30588 (_dl_runtime_resolve_avx): Likewise.
30589 (_dl_runtime_resolve_avx_slow): Likewise.
30590 (_dl_runtime_resolve_avx_opt): Likewise.
30591 (_dl_runtime_resolve_avx512): Likewise.
30592 (_dl_runtime_resolve_avx512_opt): Likewise.
30593 (_dl_runtime_resolve_sse): Likewise.
30594 (_dl_runtime_resolve_sse_vex): Likewise.
30595 (USE_FXSAVE): New.
30596 (_dl_runtime_resolve_fxsave): Likewise.
30597 (USE_XSAVE): Likewise.
30598 (_dl_runtime_resolve_xsave): Likewise.
30599 (USE_XSAVEC): Likewise.
30600 (_dl_runtime_resolve_xsavec): Likewise.
30601 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30602 Removed.
30603 (_dl_runtime_resolve_avx512_opt): Likewise.
30604 (_dl_runtime_resolve_avx): Likewise.
30605 (_dl_runtime_resolve_avx_opt): Likewise.
30606 (_dl_runtime_resolve_sse): Likewise.
30607 (_dl_runtime_resolve_sse_vex): Likewise.
30608 (_dl_runtime_resolve_fxsave): New.
30609 (_dl_runtime_resolve_xsave): Likewise.
30610 (_dl_runtime_resolve_xsavec): Likewise.
30611
30612 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30613
30614 [BZ #22320]
30615 CVE-2017-15670
30616 * posix/glob.c (__glob): Fix one-byte overflow.
30617
30618 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30619
30620 * malloc/malloc.c (sysdep-cancel.h): Add include.
30621
30622 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30623
30624 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30625
30626 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30627
30628 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30629 (tests): Remove $(objpfx)ga_test depdendency.
30630 * resolv/ga_test.c: Remove file.
30631
30632 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30633
30634 [BZ #18812]
30635 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30636 * localedata/locales/kab_DZ: New file.
30637
30638 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30639
30640 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30641 _dl_relocate_static_pie instead of _dl_start to compute load
30642 address in static PIE.
30643
30644 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30645
30646 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30647
30648 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30649
30650 [BZ #13605]
30651 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30652 * localedata/locales/shn_MM: New file.
30653
30654 2017-10-20 Florian Weimer <fweimer@redhat.com>
30655
30656 [BZ #22321]
30657 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30658 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30659 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30660 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30661 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30662 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30663
30664 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30665
30666 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30667
30668 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30669
30670 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30671
30672 [BZ #22322]
30673 * sysdeps/mips/bits/long-double.h: Move to ....
30674 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30675
30676 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30677
30678 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30679
30680 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30681 H.J. Lu <hongjiu.lu@intel.com>
30682
30683 [BZ #22299]
30684 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30685 GLRO(dl_platform) to NULL.
30686 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30687 (modules-names): Add tst-platformmod-1 and
30688 x86_64/tst-platformmod-2.
30689 (CFLAGS-tst-platform-1.c): New.
30690 (CFLAGS-tst-platformmod-1.c): Likewise.
30691 (CFLAGS-tst-platformmod-2.c): Likewise.
30692 (LDFLAGS-tst-platformmod-2.so): Likewise.
30693 ($(objpfx)tst-platform-1): Likewise.
30694 ($(objpfx)tst-platform-1.out): Likewise.
30695 (tst-platform-1-ENV): Likewise.
30696 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30697 * sysdeps/x86_64/tst-platform-1.c: New file.
30698 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30699 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30700
30701 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30702
30703 [BZ #13994]
30704 * locale/iso-639.def: Add Karbi.
30705 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30706 * localedata/locales/mjw_IN: New file.
30707
30708 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30709
30710 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30711 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30712 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30713 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30714 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30715 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30716 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30717 <bits/floatn.h>.
30718 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30719 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30720 * manual/math.texi (Mathematics): Document additional architecture
30721 support for _Float128.
30722 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30723 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30725 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30726 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30727 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30728 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30729 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30730 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30731 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30732 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30735 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30736 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30737
30738 2017-10-18 Renlin Li <renlin.li@arm.com>
30739
30740 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30741 _DYNAMIC symbol to calculate load address.
30742
30743 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30744
30745 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30746 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30747 summary bits.
30748 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30749 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30750
30751 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30752
30753 [BZ #16777]
30754 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30755 and improve readability by using more ASCII.
30756 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30757 and improve readability by using more ASCII.
30758
30759 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30760
30761 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30762 not all targets support atomics on bool.
30763
30764 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30765
30766 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30767 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30768 __f128.
30769 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30770 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30771 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30772 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30773 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30774 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30775
30776 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30777
30778 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30779 defines.
30780
30781 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30782
30783 [BZ #22159]
30784 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30785 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30786 (do_check_remalloced_chunk): Fix build bug.
30787 (do_check_malloc_state): Add assert that checks arena->top.
30788 (malloc_consolidate): Remove initialization.
30789 (int_mallinfo): Remove call to malloc_consolidate.
30790 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30791
30792 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30793
30794 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30795 (have_fastchunks): Remove.
30796 (clear_fastchunks): Remove.
30797 (set_fastchunks): Remove.
30798 (malloc_state): Add have_fastchunks.
30799 (malloc_init_state): Use have_fastchunks.
30800 (do_check_malloc_state): Remove incorrect invariant checks.
30801 (_int_malloc): Use have_fastchunks.
30802 (_int_free): Likewise.
30803 (malloc_consolidate): Likewise.
30804
30805 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30806
30807 * malloc/malloc.c (tcache_put): Inline.
30808 (tcache_get): Inline.
30809
30810 2017-10-17 Jordi Mallach <jordi@gnu.org>
30811
30812 Aurelien Jarno <aurelien@aurel32.net>
30813 [BZ #2522]
30814 * localedata/locales/ca_ES@valencia: New file.
30815 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30816
30817 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30818
30819 [BZ #22296]
30820 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30821 < 6.x
30822
30823 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30824
30825 * scripts/build-many-glibcs.py (Context.add_all_configs):
30826 Add arm-linux-gnueabihf multiarch extra_glibcs.
30827
30828 * sysdeps/generic/ifunc-init.h: New file.
30829 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30830
30831 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30832
30833 [BZ #22019]
30834 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30835 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30836 * stdlib/tst-strfmon_l.c: adapt test case.
30837
30838 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30839
30840 * sysdeps/generic/float128-abi.h: New file.
30841 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30842 non-__prefixed symbols to ....
30843 * math/Versions: ... here. Include <float128-abi.h>.
30844 * stdlib/Versions ... and here. Include <float128-abi.h>
30845
30846 2017-10-16 Florian Weimer <fweimer@redhat.com>
30847
30848 * version.h (VERSION): Switch to ".9000" as the development
30849 version suffix.
30850
30851 2017-10-16 Florian Weimer <fweimer@redhat.com>
30852
30853 [BZ #22050]
30854 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30855 compat_symbol_reference to access non-default version.
30856
30857 2017-10-16 Florian Weimer <fweimer@redhat.com>
30858
30859 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30860
30861 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30862
30863 * include/shlib-compat.h (compat_symbol_reference): Update
30864 comment.
30865
30866 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30867
30868 * math/Makefile (test-types): Add
30869 $(type-float128-$(float128-alias-fcts)).
30870 * math/test-float128.h (TYPE_STR): Define conditional on
30871 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30872 (ULP_IDX): Likewise.
30873 (ULP_I_IDX): Likewise.
30874
30875 * stdlib/strtold.c: Include <bits/floatn.h>
30876 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30877 and later undefine as macro. Define as weak alias if
30878 [!USE_WIDE_CHAR].
30879 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30880 and later undefine as macro. Define as weak alias if
30881 [USE_WIDE_CHAR].
30882 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30883 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30884 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30885 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30886 Define and later undefine as macro. Define as weak alias if
30887 [USE_WIDE_CHAR].
30888 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30889 <bits/floatn.h>.
30890 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30891 Define and later undefine as macro. Define as weak alias if
30892 [!USE_WIDE_CHAR].
30893 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30894 Define and later undefine as macro. Define as weak alias if
30895 [USE_WIDE_CHAR].
30896
30897 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30898
30899 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30900 record_verbose messages.
30901
30902 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30903
30904 [BZ #22052]
30905 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30906 to silence -O3 -Wall warning with GCC 7.
30907
30908 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30909
30910 * Makeconfig (+link-static-before-libc): Use the first of
30911 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30912 * gmon/Makefile (tests): Add tst-gmon-static.
30913 (tests-static): Likewise.
30914 (CFLAGS-tst-gmon-static.c): New.
30915 (CRT-tst-gmon-static): Likewise.
30916 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30917 (tst-gmon-static-ENV): Likewise.
30918 (tests-special): Likewise.
30919 ($(objpfx)tst-gmon-static.out): Likewise.
30920 (clean-tst-gmon-static-data): Likewise.
30921 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30922 * gmon/tst-gmon-static-gprof.sh: New file.
30923 * gmon/tst-gmon-static.c: Likewise.
30924
30925 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30926
30927 [BZ #22295]
30928 * locale/programs/linereader.c (get_string): Don't warn on
30929 non-symbolic character.
30930
30931 [BZ #22294]
30932 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30933 int_curr_symbol.
30934
30935 [BZ #22292]
30936 * locale/programs/record-status.h: New file
30937 * locale/programs/locale.c: Add comment.
30938 * locale/programs/charmap-dir.c: Don't include error.h.
30939 (charmap_opendir): Use record_error.
30940 * locale/programs/charmap.c: Don't include error.h.
30941 (charmap_read): Use record_error, and record_warning.
30942 (parse_charmap): Likewise.
30943 * locale/programs/ld-address.c: Don't include error.h.
30944 (address_finish): Use record_error, and record_warning.
30945 * locale/programs/ld-collate.c: Don't include error.h.
30946 (collate_finish): Use record_error, and record_error_at_line.
30947 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30948 (ctype_class_new): Likewise.
30949 (ctype_map_new): Likewise.
30950 (set_one_default): Likewise.
30951 (set_class_defaults): Likewise.
30952 (translit_flatten): Likewise.
30953 (allocate_arrays): Use record_error, and record_verbose.
30954 * locale/programs/ld-identification.c: Don't include error.h.
30955 (indentation_finish): Use record_error and record_warning.
30956 * locale/programs/ld-measurement.c: Don't include error.h.
30957 (measurement_finish): Use record_error.
30958 * locale/programs/ld-messages.c
30959 (message_finish): Likewise.
30960 * locale/programs/ld-monetary.c
30961 (monetary_finish): Likewise.
30962 * locale/programs/ld-name.c (name_finish): Use record_error
30963 and record_warning.
30964 * locale/programs/ld-numeric.c
30965 (numeric_finish): Use record_error.
30966 * locale/programs/ld-paper.c: Don't include error.h.
30967 (paper_finish): Use record_error.
30968 * locale/programs/ld-telephone.c: Don't include error.h.
30969 (telephone_finish): Use record_error.
30970 * locale/programs/ld-time.c (time_finish): Likewise.
30971 * locale/programs/linereader.h (lr_error): Make inline func.
30972 * locale/programs/localedef.c: Define recorded_warning_count,
30973 and recorded_error_count.
30974 (main): Use record_error. Use recorded_error_count and
30975 recorded_warning_count to issue correct error returns.
30976 (add_to_readlist): Use record_error.
30977 (find_locale): Likewise.
30978 (load_locale): Likewise.
30979 * locale/programs/localedef.h: Remove be_quiet
30980 and WITH_CUR_LOCALE.
30981 * locale/programs/locarchive.c (compare_from_file): Use
30982 record_error.
30983 * locale/programs/locfile.c (write_locale_data): Use
30984 record_error.
30985 * locale/programs/repertoire.c: Dont include error.h.
30986 (repertoire_complain): Use record_error.
30987 * localedata/tst-fmon.sh: Expect failures from localedef.
30988 * localedata/tst-locale.sh: Likewise.
30989 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30990
30991 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30992 (REPORTS): Likewise.
30993 (check): Likewise.
30994 (i18n): Rename to...
30995 (i18n_ctype): ...this.
30996 (i18n-report): Rename to...
30997 (i18n_ctype-report): ...this.
30998 * localedata/locales/i18n_ctype: Regenerate.
30999 * localedata/locales/i18n: copy i18n_ctype.
31000
31001 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31002
31003 * stdlib/strfroml.c: Include <bits/floatn.h>.
31004 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
31005 Define before include of <stdlib.h> and undefine afterwards, then
31006 define as weak alias.
31007
31008 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
31009 Undefine and restore default definition. Use
31010 libm_alias_ldouble_other.
31011
31012 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
31013
31014 [BZ #22153]
31015 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
31016 in coredumps.
31017
31018 2017-10-13 James Clarke <jrtc27@jrtc27.com>
31019
31020 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31021 Assign sym_map to be map for local symbols, as TLS relocations
31022 use sym_map to determine whether the symbol is defined and to
31023 extract the TLS information.
31024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31026
31027 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31028
31029 [BZ #22189]
31030 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
31031 (math_force_eval): Add powerpc version.
31032
31033 [BZ #22142]
31034 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
31035 -DBL_MAX.
31036 (do_test): Likewise.
31037 * stdio-common/tst-printf.sh: Likewise.
31038 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
31039 ifdef clause in order to set the carry bit right. Replace r0 by
31040 0 without changing the behavior.
31041
31042 2017-10-13 Joseph Myers <joseph@codesourcery.com>
31043
31044 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
31045 <libm-alias-ldouble.h>.
31046 (fabsl): Define using libm_alias_ldouble.
31047 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
31048 <libm-alias-ldouble.h>.
31049 (fabsl): Define using libm_alias_ldouble.
31050
31051 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
31052 Remove conditional code.
31053
31054 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
31055 Rename to __clog10_internal_l.
31056 (__clog10_internal_l): Define aliases using
31057 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
31058 with __clog10.
31059
31060 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31061
31062 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
31063 * benchtests/sincosf-inputs: New file.
31064 * benchtests/cosf-inputs: New file.
31065 * benchtests/sinf-inputs: New file.
31066
31067 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
31068
31069 * posix/tst-spawn.c (do_test): Wait for both children.
31070
31071 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
31072
31073 [BZ #22284]
31074 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
31075 tests-pie): Add tst-gmon-pie.
31076 (CFLAGS-tst-gmon-pie.c): New.
31077 (CRT-tst-gmon-pie): Likewise.
31078 (tst-gmon-pie-ENV): Likewise.
31079 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
31080 ($(objpfx)tst-gmon-pie.out): Likewise.
31081 (clean-tst-gmon-pie-data): Likewise.
31082 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
31083 * gmon/gmon.c [PIC]: Include <link.h>.
31084 [PIC] (callback): New function.
31085 (write_hist): Add an argument for load address. Subtract load
31086 address from PCs.
31087 (write_call_graph): Likewise.
31088 (write_gmon): Call __dl_iterate_phdr to get load address, pass
31089 it to write_hist and write_call_graph.
31090 * gmon/tst-gmon-pie.c: New file.
31091
31092 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31093
31094 * math/Makefile (test-types-basic): New variable.
31095 (test-types): Likewise.
31096 (libm-test-support): Use $(test-types) instead of $(types).
31097 (libm-tests-base-normal): Likewise.
31098 (libm-tests-base-finite): Likewise.
31099 (libm-tests-base-inline): Likewise.
31100 (generated): Likewise.
31101 ($(objpfx)libm-test-support-$(t).c): Likewise.
31102 (libm-tests-for-type iterator): Likewise.
31103 (libm-test-support iterator): Likewise.
31104 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31105 (ulp_idx): Use ULP_IDX.
31106 * math/test-ldouble.h: Include <float.h>.
31107 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31108 (ULP_IDX): New macro.
31109 (ULP_I_IDX): Likewise.
31110 * math/test-double.h (ULP_IDX): Likewise.
31111 (ULP_I_IDX): Likewise.
31112 * math/test-float.h (ULP_IDX): Likewise.
31113 (ULP_I_IDX): Likewise.
31114 * math/test-float128.h (ULP_IDX): Likewise.
31115 (ULP_I_IDX): Likewise.
31116
31117 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31118
31119 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31120 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31121 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31122 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31123 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31124 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31125 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31126 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31128 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31129 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31130 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31131 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31133 (SINGLE_THREAD_BY_GLOBAL): Define.
31134 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31135 Likewise.
31136 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31137 Likewise.
31138 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31139 Likewise.
31140 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31141 Likewise.
31142 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31143 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31145 Likewise.
31146
31147 2017-10-11 Andreas Schwab <schwab@suse.de>
31148
31149 * nis/Makefile (aux): Remove.
31150 * nscd/Makefile (aux): Add nscd_hash.
31151 (nscd-modules): Likewise.
31152 ($(objpfx)nscd): Don't depend on libnsl.
31153 * nscd/nscd_hash.c: New file.
31154 * nscd/nscd_hash.h: Likewise.
31155 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31156 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31157 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31158 instead of <nis/rpcsvc/nis.h>.
31159 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31160
31161 2017-10-11 Florian Weimer <fweimer@redhat.com>
31162
31163 [BZ #22078]
31164 Avoid large NSS buffers with many addresses, aliases.
31165 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31166 using dynarrays and struct alloc_buffer.
31167 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31168 (tst-nss-files-hosts-multi): Link with -ldl.
31169 * nss/tst-nss-files-hosts-multi.c: New file.
31170
31171 2017-10-11 Florian Weimer <fweimer@redhat.com>
31172
31173 [BZ #18023]
31174 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31175 scratch_buffer. Eliminate gotos.
31176
31177 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31178
31179 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31180 libm_alias_ldouble_other.
31181 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31182 undefine and redefine.
31183 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31184 (exp10l): Do not define here.
31185 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31186 (weak_alias): Undefine and redefine.
31187 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31188 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31189 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31190 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31191
31192 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31193 [!__fma] (fma): Define using libm_alias_double.
31194 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31195 [!__fmaf] (fmaf): Define using libm_alias_float.
31196 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31197 (fmal): Define using libm_alias_ldouble.
31198
31199 2017-10-10 Joseph Myers <joseph@codesourcery.com>
31200
31201 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31202 New macro.
31203 (libm_alias_double_other): Likewise.
31204 (libm_alias_double_r): Use libm_alias_double_other_r.
31205 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31206 New macro.
31207 (libm_alias_float_other): Likewise.
31208 (libm_alias_float_r): Use libm_alias_float_other_r.
31209 * sysdeps/generic/libm-alias-float128.h
31210 (libm_alias_float128_other_r): New macro.
31211 (libm_alias_float128_other): Likewise.
31212 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31213 * sysdeps/generic/libm-alias-ldouble.h
31214 (libm_alias_ldouble_other_r): New macro.
31215 (libm_alias_ldouble_other): Likewise.
31216 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31217 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31218 (libm_alias_double_other_r): New macro.
31219 (libm_alias_double_other): Likewise.
31220 (libm_alias_double_r): Use libm_alias_double_other_r.
31221 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31222 (libm_alias_ldouble_other_r): New macro.
31223 (libm_alias_ldouble_other): Likewise.
31224 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31225 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31226 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31227 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31228 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31229 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31230 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31231 * math/w_exp2f.c: Use libm_alias_float_other.
31232 * math/w_expf.c: Likewise.
31233 * math/w_log2f.c: Likewise.
31234 * math/w_logf.c: Likewise.
31235 * math/w_powf.c: Likewise.
31236 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31237 [!__exp2f]: Use libm_alias_float_other.
31238 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31239 [!__expf]: Use libm_alias_float_other.
31240 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31241 [!__log2f]: Use libm_alias_float_other.
31242 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31243 [!__logf]: Use libm_alias_float_other.
31244 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31245 [!__powf]: Use libm_alias_float_other.
31246
31247 2017-10-10 Florian Weimer <fweimer@redhat.com>
31248
31249 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31250 function.
31251 (_nss_files_gethostbyname3_r): Call it.
31252
31253 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31254
31255 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31256 error. Remove default definition of declare_mgen_alias.
31257 [!declare_mgen_alias_r]: Likewise.
31258 * sysdeps/generic/math-type-macros-double.h
31259 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31260 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31261 (declare_mgen_alias_r): Likewise.
31262 * sysdeps/generic/math-type-macros-float128.h
31263 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31264 * sysdeps/generic/math-type-macros-ldouble.h
31265 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31266 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31267 macro.
31268 (declare_mgen_alias_r_s): Likewise.
31269 (declare_mgen_alias_r): Likewise.
31270 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31271 (lgamma_r): Define using libm_alias_double_r.
31272 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31273 (lgammaf_r): Define using libm_alias_float_r.
31274 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31275 (lgammal_r): Define using libm_alias_ldouble_r.
31276 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31277 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31278
31279 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31280
31281 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31282 extern declaration.
31283
31284 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31285
31286 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31287
31288 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31289
31290 [BZ #21326]
31291 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31292 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31293 * math/Makefile (test-math-cxx11): New test.
31294 * math/test-math-cxx11.cc: New file.
31295
31296 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31297
31298 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31299
31300 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31301 call to allocate the slave pty file descriptor.
31302
31303 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31304
31305 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31306 [!__fma] (fma): Define using libm_alias_double.
31307 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31308 [!__fma] (fma): Define using libm_alias_double.
31309
31310 * sysdeps/ieee754/float128/float128_private.h: Include
31311 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31312 (libm_alias_ldouble_r): Undefine and redefine.
31313 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31314 <libm-alias-ldouble.h>.
31315 (asinhl): Define using libm_alias_ldouble.
31316 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31317 <libm-alias-ldouble.h>.
31318 (atanl): Define using libm_alias_ldouble.
31319 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31320 <libm-alias-ldouble.h>.
31321 (cbrtl): Define using libm_alias_ldouble.
31322 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31323 <libm-alias-ldouble.h>.
31324 (ceill): Define using libm_alias_ldouble.
31325 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31326 <libm-alias-ldouble.h>.
31327 (copysignl): Define using libm_alias_ldouble.
31328 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31329 <libm-alias-ldouble.h>.
31330 (cosl): Define using libm_alias_ldouble.
31331 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31332 <libm-alias-ldouble.h>.
31333 (erfl): Define using libm_alias_ldouble.
31334 (erfcl): Likewise.
31335 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31336 <libm-alias-ldouble.h>.
31337 (expm1l): Define using libm_alias_ldouble.
31338 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31339 <libm-alias-ldouble.h>.
31340 (fabsl): Define using libm_alias_ldouble.
31341 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31342 <libm-alias-ldouble.h>.
31343 (floorl): Define using libm_alias_ldouble.
31344 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31345 <libm-alias-ldouble.h>.
31346 (fmal): Define using libm_alias_ldouble.
31347 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31348 <libm-alias-ldouble.h>.
31349 (frexpl): Define using libm_alias_ldouble.
31350 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31351 libm_alias_ldouble.
31352 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31353 <libm-alias-ldouble.h>.
31354 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31355 libm_alias_ldouble.
31356 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31357 <libm-alias-ldouble.h>.
31358 (getpayloadl): Define using libm_alias_ldouble.
31359 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31360 <libm-alias-ldouble.h>.
31361 (llrintl): Define using libm_alias_ldouble.
31362 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31363 <libm-alias-ldouble.h>.
31364 (llroundl): Define using libm_alias_ldouble.
31365 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31366 <libm-alias-ldouble.h>.
31367 (logbl): Define using libm_alias_ldouble.
31368 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31369 <libm-alias-ldouble.h>.
31370 (lrintl): Define using libm_alias_ldouble.
31371 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31372 <libm-alias-ldouble.h>.
31373 (lroundl): Define using libm_alias_ldouble.
31374 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31375 <libm-alias-ldouble.h>.
31376 (modfl): Define using libm_alias_ldouble.
31377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31378 <libm-alias-ldouble.h>.
31379 (nearbyintl): Define using libm_alias_ldouble.
31380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31381 <libm-alias-ldouble.h>.
31382 (nextafterl): Define using libm_alias_ldouble.
31383 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31384 <libm-alias-ldouble.h>.
31385 (nextupl): Define using libm_alias_ldouble.
31386 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31387 <libm-alias-ldouble.h>.
31388 (remquol): Define using libm_alias_ldouble.
31389 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31390 <libm-alias-ldouble.h>.
31391 (rintl): Define using libm_alias_ldouble.
31392 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31393 <libm-alias-ldouble.h>.
31394 (roundevenl): Define using libm_alias_ldouble.
31395 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31396 <libm-alias-ldouble.h>.
31397 (roundl): Define using libm_alias_ldouble.
31398 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31399 using libm_alias_ldouble.
31400 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31401 <libm-alias-ldouble.h>.
31402 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31403 Define using libm_alias_ldouble.
31404 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31405 <libm-alias-ldouble.h>.
31406 (sincosl): Define using libm_alias_ldouble.
31407 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31408 <libm-alias-ldouble.h>.
31409 (sinl): Define using libm_alias_ldouble.
31410 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31411 <libm-alias-ldouble.h>.
31412 (tanhl): Define using libm_alias_ldouble.
31413 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31414 <libm-alias-ldouble.h>.
31415 (tanl): Define using libm_alias_ldouble.
31416 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31417 <libm-alias-ldouble.h>.
31418 (totalorderl): Define using libm_alias_ldouble.
31419 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31420 <libm-alias-ldouble.h>.
31421 (totalordermagl): Define using libm_alias_ldouble.
31422 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31423 <libm-alias-ldouble.h>.
31424 (truncl): Define using libm_alias_ldouble.
31425 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31426 libm_alias_ldouble.
31427 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31428 libm_alias_ldouble.
31429 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31430 <libm-alias-ldouble.h>.
31431 (weak_alias): Do not undefine and redefine.
31432 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31433 (copysignl): Define with long_double_symbol only if [IS_IN
31434 (libc)].
31435 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31436 <libm-alias-ldouble.h>.
31437 (weak_alias): Do not undefine and redefine.
31438 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31439 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31440 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31441 <libm-alias-ldouble.h>.
31442 (weak_alias): Do not undefine and redefine.
31443 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31444 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31445 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31446 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31447 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31448 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31449 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31450 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31451 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31452 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31453 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31454 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31455 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31456 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31457 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31458 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31459 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31460 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31461 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31462 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31463 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31464 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31465 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31466 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31467 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31468 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31469
31470 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31471
31472 [BZ #22111]
31473 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31474 (tcache_thread_freeres): Set tcache_shutting_down before
31475 freeing the tcache.
31476 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31477 * malloc/tst-malloc-tcache-leak.c: New file.
31478
31479 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31480
31481 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31482 back to powerpc32 file.
31483 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31484 (memrchr): Add __memrchr_power8 to ifunc list.
31485 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31486 extra bytes for unaligned inputs.
31487
31488 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31489
31490 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31491 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31492 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31493 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31494 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31495
31496 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31497
31498 * sysdeps/arm/libm-test-ulps: Update.
31499
31500 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31501 <libm-alias-ldouble.h>.
31502 (asinhl): Define using libm_alias_ldouble.
31503 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31504 <libm-alias-ldouble.h>.
31505 (cbrtl): Define using libm_alias_ldouble.
31506 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31507 <libm-alias-ldouble.h>.
31508 (copysignl): Define using libm_alias_ldouble.
31509 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31510 <libm-alias-ldouble.h>.
31511 (cosl): Define using libm_alias_ldouble.
31512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31513 <libm-alias-ldouble.h>.
31514 (erfl): Define using libm_alias_ldouble.
31515 (erfcl): Likewise.
31516 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31517 <libm-alias-ldouble.h>.
31518 (fmal): Define using libm_alias_ldouble.
31519 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31520 <libm-alias-ldouble.h>.
31521 (frexpl): Define using libm_alias_ldouble.
31522 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31523 libm_alias_ldouble.
31524 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31525 <libm-alias-ldouble.h>.
31526 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31527 libm_alias_ldouble.
31528 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31529 <libm-alias-ldouble.h>.
31530 (getpayloadl): Define using libm_alias_ldouble.
31531 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31532 <libm-alias-ldouble.h>.
31533 (llrintl): Define using libm_alias_ldouble.
31534 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31535 <libm-alias-ldouble.h>.
31536 (llroundl): Define using libm_alias_ldouble.
31537 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31538 <libm-alias-ldouble.h>.
31539 (lrintl): Define using libm_alias_ldouble.
31540 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31541 <libm-alias-ldouble.h>.
31542 (lroundl): Define using libm_alias_ldouble.
31543 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31544 <libm-alias-ldouble.h>.
31545 (modfl): Define using libm_alias_ldouble.
31546 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31547 <libm-alias-ldouble.h>.
31548 (nextupl): Define using libm_alias_ldouble.
31549 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31550 <libm-alias-ldouble.h>.
31551 (remquol): Define using libm_alias_ldouble.
31552 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31553 <libm-alias-ldouble.h>.
31554 (roundevenl): Define using libm_alias_ldouble.
31555 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31556 <libm-alias-ldouble.h>.
31557 (roundl): Define using libm_alias_ldouble.
31558 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31559 using libm_alias_ldouble.
31560 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31561 <libm-alias-ldouble.h>.
31562 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31563 <libm-alias-ldouble.h>.
31564 (setpayloadsigl): Define using libm_alias_ldouble.
31565 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31566 <libm-alias-ldouble.h>.
31567 (sincosl): Define using libm_alias_ldouble.
31568 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31569 <libm-alias-ldouble.h>.
31570 (sinl): Define using libm_alias_ldouble.
31571 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31572 <libm-alias-ldouble.h>.
31573 (tanhl): Define using libm_alias_ldouble.
31574 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31575 <libm-alias-ldouble.h>.
31576 (tanl): Define using libm_alias_ldouble.
31577 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31578 <libm-alias-ldouble.h>.
31579 (totalorderl): Define using libm_alias_ldouble.
31580 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31581 <libm-alias-ldouble.h>.
31582 (totalordermagl): Define using libm_alias_ldouble.
31583 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31584 libm_alias_ldouble.
31585 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31586 libm_alias_ldouble.
31587
31588 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31589
31590 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31591 memmove_falkor.
31592 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31593 (__libc_ifunc_impl_list): Likewise.
31594 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31595 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31596
31597 * benchtests/bench-memmove-walk.c: New file.
31598 * benchtests/Makefile (string-benchset): Add it.
31599
31600 * benchtests/bench-memset-walk.c: New file.
31601 * benchtests/Makefile (string-benchset): Add it.
31602
31603 * benchtests/bench-memcpy-walk.c: New file.
31604 * benchtests/Makefile (string-benchset): Add it.
31605
31606 2017-10-05 Florian Weimer <fweimer@redhat.com>
31607
31608 nscd: Eliminate compilation time dependency in the build output.
31609 * nscd/nscd_stat.c (STATDATA_VERSION)
31610 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31611 (STATDATA_VERSION_FULL): New macro definitions.
31612 (compilation): Remove.
31613 (struct statdata): Adjust version member.
31614 (send_stats): Set version from STATDATA_VERSION_FULL.
31615 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31616
31617 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31618
31619 * configure.ac (--enable-add-ons): Remove option.
31620 (machine): Do not mention add-ons in comment.
31621 (LIBC_PRECONFIGURE): Likewise.
31622 (add_ons): Remove variable and sanity checks and logic to locate
31623 add-ons.
31624 (add_ons_automatic): Remove variable.
31625 (configured_add_ons): Likewise.
31626 (add_ons_sfx): Likewise.
31627 (add_ons_pfx): Likewise.
31628 (add_on_subdirs): Likewise.
31629 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31630 consideration of add-ons in Implies handling.
31631 (sysdeps_add_ons): Likewise.
31632 * configure: Regenerated.
31633 * libidn/configure.ac: Remove.
31634 * libidn/configure: Likewise.
31635 * sysdeps/unix/inet/configure.ac: New file.
31636 * sysdeps/unix/inet/configure: New generated file.
31637 * sysdeps/unix/inet/Subdirs: Add libidn.
31638 * Makeconfig (sysdeps-srcdirs): Remove variable.
31639 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31640 ($(common-objpfx)config.status): Do not depend on add-on files.
31641 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31642 comment.
31643 (all-subdirs): Do not include $(add-on-subdirs).
31644 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31645 * config.make.in (add-ons): Remove variable.
31646 (add-on-subdirs): Likewise.
31647 (sysdeps-add-ons): Likewise.
31648 * manual/Makefile (add-chapters): Remove.
31649 ($(objpfx)texis): Do not depend on $(add-chapters).
31650 (nonexamples): Do not handle $(add-chapters).
31651 (examples): Do not handle $(add-ons).
31652 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31653 libc-texinfo.sh.
31654 * manual/install.texi (Installation): Do not mention add-ons.
31655 (--enable-add-ons): Do not document configure option.
31656 * INSTALL: Regenerated.
31657 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31658 * manual/maint.texi (Hierarchy Conventions): Do not mention
31659 add-ons.
31660 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31661 --enable-add-ons.
31662 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31663 add-ons.
31664 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31665 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31666
31667 2017-10-05 Andreas Schwab <schwab@suse.de>
31668
31669 [BZ #15142]
31670 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31671 (_IO_flush_all_lockp): Always lock list_all_lock.
31672 (_IO_flush_all_linebuffered): Likewise.
31673 (_IO_unbuffer_all): Likewise.
31674
31675 2017-10-05 Florian Weimer <fweimer@redhat.com>
31676
31677 [BZ #15436]
31678 Do not flush stdio streams on abort.
31679 * stdlib/abort.c (fflush): Remove macro definition.
31680 (abort): Remove stages related to stdio flushing.
31681
31682 2017-10-05 Florian Weimer <fweimer@redhat.com>
31683
31684 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31685
31686 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31687
31688 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31689
31690 2017-10-05 Florian Weimer <fweimer@redhat.com>
31691
31692 * support/support_format_hostent.c (support_format_hostent): Add
31693 more error information for NETDB_INTERNAL.
31694
31695 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31696
31697 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31698 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31699 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31700 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31701 AC_DEFINE if multi-arch is enabled.
31702 * sysdeps/i386/configure: Regenerated.
31703
31704 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31705
31706 * Makeconfig (+link-static-before-libc): Use
31707 $(DEFAULT-LDFLAGS-$(@F)).
31708 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31709 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31710 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31711
31712 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31713
31714 * elf/Makefile (tests): Add tst-main1.
31715 (modules-names): Add tst-main1mod.
31716 ($(objpfx)tst-main1): New.
31717 (CRT-tst-main1): Likewise.
31718 (LDFLAGS-tst-main1): Likewise.
31719 (LDLIBS-tst-main1): Likewise.
31720 (tst-main1mod.so-no-z-defs): Likewise.
31721 * elf/tst-main1.c: New file.
31722 * elf/tst-main1mod.c: Likewise.
31723
31724 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31725
31726 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31727
31728 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31729
31730 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31731 (fma): Define using libm_alias_double.
31732 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31733 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31734 <math_ldbl_opt.h>.
31735 (fmal): Do not define as compat symbol here.
31736 * sysdeps/alpha/fpu/s_fma.c: New file.
31737
31738 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31739
31740 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31741
31742 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31743
31744 [BZ #22229]
31745 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31746 <math_ldbl_opt.h>
31747 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31748 and libc.
31749 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31750 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31751 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31752 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31754 Include <math_ldbl_opt.h>
31755 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31756 and libc.
31757 (compat_symbol): Undefine and redefine.
31758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31759 <math_ldbl_opt.h>
31760 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31761 (compat_symbol): Undefine and redefine.
31762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31763 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31764 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31765 GLIBC_2_1 for libm.
31766 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31767 GLIBC_2.0 copysignl symbol.
31768 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31769 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31770
31771 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31772
31773 2017-10-04 Florian Weimer <fweimer@redhat.com>
31774
31775 * scripts/check-local-headers.sh: Ignore nspr4 header file
31776 directory in addition to nspr.
31777
31778 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31779
31780 [BZ #17956]
31781 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31782 * configure: Regenerate.
31783 * crypt/Makefile (nss-cpp-flags): New variable.
31784 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31785 (CPPFLAGS-md5-crypt.c): Use it.
31786 * scripts/check-local-headers.sh: Ignore nspr header file
31787 directory.
31788
31789 2017-10-04 Andreas Schwab <schwab@suse.de>
31790
31791 * nis/Makefile (services): Remove compat.
31792 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31793 ($(objpfx)libnss_compat.so): Remove rule.
31794 * nis/Versions (libnss_compat): Remove.
31795 * nss/Makefile (services): Add compat.
31796 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31797 * nss/Versions (libnss_compat): Define.
31798 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31799 Don't include <rpc/types.h>. Replace bool_t by bool.
31800 * nss/nss_compat/compat-initgroups.c: Likewise.
31801 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31802 instead of <rpcsrv/ypclnt.h>.
31803 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31804 yp_get_default_domain.
31805 * nss/nss_compat/compat-pwd.c: Likewise.
31806 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31807 yp_get_default_domain.
31808 * nss/nss_compat/nisdomain.c: New file.
31809 * nss/nss_compat/nisdomain.h: Likewise.
31810
31811 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31812
31813 [BZ #22244]
31814 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31815 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31816
31817 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31818
31819 [BZ #22243]
31820 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31821 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31822
31823 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31824
31825 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31826 "movl main@GOTOFF(%ebx), %eax".
31827
31828 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31829
31830 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31831 allow undefined _DYNAMIC in PIE libc.a.
31832 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31833 Likewse.
31834
31835 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31836
31837 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31838 check _DYNAMIC.
31839
31840 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31841
31842 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31843 check _DYNAMIC.
31844
31845 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31846
31847 * math/test-math-iscanonical.cc (error): Replace bool with int.
31848
31849 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31850
31851 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31852 (modf): Define using libm_alias_double, only if [!__modf].
31853 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31854 <libm-alias-double.h>.
31855 (modf): Define using libm_alias_double, only if [!__modf].
31856 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31857 compat symbol here.
31858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31859 (weak_alias): Do not undefine and redefine.
31860 (strong_alias): Likewise.
31861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31862 (weak_alias): Likewise.
31863 (strong_alias): Likewise.
31864
31865 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31866 (logb): Define using libm_alias_double, only if [!__logb].
31867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31868 <libm-alias-double.h>.
31869 (logb): Define using libm_alias_double, only if [!__logb].
31870 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31872 (weak_alias): Do not undefine and redefine.
31873 (strong_alias): Likewise.
31874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31875 (weak_alias): Likewise.
31876 (strong_alias): Likewise.
31877
31878 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31879
31880 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31881 Check SHARED instead PIC.
31882
31883 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31884
31885 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31886 [!__fmaf] (fmaf): Define using libm_alias_float.
31887
31888 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31889 (frexp): Define using libm_alias_double.
31890 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31891 <libm-alias-double.h>.
31892 (frexp): Define using libm_alias_double.
31893 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31894 compat symbol here.
31895
31896 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31897
31898 [BZ #22235]
31899 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31900 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31901 (CFLAGS-test-math-iscanonical.cc): New variable.
31902 * math/test-math-iscanonical.cc: New file.
31903 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31904 Provide a C++ implementation based on function overloading,
31905 rather than using __MATH_TG, which uses C-only builtins.
31906 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31907 Likewise.
31908 * sysdeps/powerpc/powerpc64le/Makefile
31909 (CFLAGS-test-math-iscanonical.cc): New variable.
31910
31911 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31912
31913 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31914 (ceil): Define using libm_alias_double.
31915 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31916 (floor): Define using libm_alias_double.
31917 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31918 <libm-alias-double.h>.
31919 (llround): Define using libm_alias_double.
31920 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31921 <libm-alias-double.h>.
31922 (lround): Define using libm_alias_double.
31923 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31924 <libm-alias-double.h>.
31925 (nearbyint): Define using libm_alias_double.
31926 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31927 <libm-alias-double.h>.
31928 (remquo): Define using libm_alias_double.
31929 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31930 (rint): Define using libm_alias_double.
31931 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31932 (round): Define using libm_alias_double.
31933 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31934 (trunc): Define using libm_alias_double.
31935 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31936 <libm-alias-double.h>.
31937 (ceil): Define using libm_alias_double.
31938 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31939 <libm-alias-double.h>.
31940 (floor): Define using libm_alias_double.
31941 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31942 <libm-alias-double.h>.
31943 (llround): Define using libm_alias_double.
31944 [_LP64] (lround): Likewise.
31945 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31946 <libm-alias-double.h>.
31947 [!_LP64] (lround): Define using libm_alias_double.
31948 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31949 <libm-alias-double.h>.
31950 (nearbyint): Define using libm_alias_double.
31951 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31952 <libm-alias-double.h>.
31953 (remquo): Define using libm_alias_double.
31954 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31955 <libm-alias-double.h>.
31956 (rint): Define using libm_alias_double.
31957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31958 <libm-alias-double.h>.
31959 (round): Define using libm_alias_double.
31960 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31961 <libm-alias-double.h>.
31962 (trunc): Define using libm_alias_double.
31963 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31964 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31965 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31966 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31967 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31968 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31969 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31970 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31971 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31972
31973 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31974
31975 * math/w_remainder.c: New file.
31976 * math/w_remainderf.c: New file.
31977 * math/w_remainderl.c: New file.
31978
31979 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31980
31981 * elf/rtld.c (BOOTSTRAP_MAP): New.
31982 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31983 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31984 Likewise.
31985 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31986 Likewise.
31987 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31988 Likewise.
31989
31990 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31991
31992 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31993 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31994 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31995 rtld_hidden_data_ver): Define to empty.
31996 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31997 __assert_perror_fail): Likewise.
31998 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31999 (__rewinddir): Likewise.
32000 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32001 (__profile_frequency): Likewise.
32002 * include/setjmp.h (__sigsetjmp): Likewise.
32003 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
32004 __libc_sigaction): Likewise.
32005 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
32006 not set hidden attribute.
32007 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
32008 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
32009 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
32010 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
32011 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
32012 __fxstatat64): Likewise.
32013 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32014 (__uname): Likewise.
32015 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32016 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
32017 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
32018 (NO_RTLD_HIDDEN): Set.
32019 * sysdeps/mach/hurd/configure: Refresh.
32020 * config.h.in: Refresh.
32021
32022 2017-10-02 Joseph Myers <joseph@codesourcery.com>
32023
32024 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
32025 (atan): Define using libm_alias_double.
32026 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
32027 (tan): Define using libm_alias_double.
32028 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
32029 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
32030
32031 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
32032 define as weak alias of __atan. Do not define any aliases if
32033 [__atan].
32034 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
32035 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
32036 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
32037 as weak alias of __tan. Do not define any aliases if [__tan].
32038 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
32039 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
32040 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
32041 __atan.
32042 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
32043 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
32044 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
32045 and define as weak alias of __atan.
32046 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
32047 __atan.
32048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
32049 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
32050 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
32051 define as weak alias of __tan.
32052
32053 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32054
32055 * math/w_lgamma.c: New file.
32056 * math/w_lgammaf.c: New file.
32057 * math/w_lgammal.c: New file.
32058
32059 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32060
32061 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
32062 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
32063 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
32064 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
32065 * sysdeps/ieee754/flt-32/w_logf.c: New file.
32066 * sysdeps/ieee754/flt-32/w_powf.c: New file.
32067 * sysdeps/i386/fpu/w_log2f.c: New file.
32068 * sysdeps/i386/fpu/w_logf.c: New file.
32069 * sysdeps/i386/fpu/w_powf.c: New file.
32070 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
32071 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
32072 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
32073
32074 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32075 H.J. Lu <hongjiu.lu@intel.com>
32076
32077 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
32078 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
32079 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
32080 * sysdeps/ieee754/flt-32/w_expf.c: New file.
32081 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
32082 the new expf code.
32083 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
32084 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
32085 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
32086 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
32087 * sysdeps/i386/fpu/w_exp2f.c: New file.
32088 * sysdeps/i386/fpu/w_expf.c: New file.
32089 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
32090 * sysdeps/x86_64/fpu/w_expf.c: New file.
32091
32092 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32093
32094 * math/Versions (logf): New libm symbol at GLIBC_2.27.
32095 (log2f): Likewise.
32096 (powf): Likewise.
32097 * math/w_log2f.c: New file.
32098 * math/w_logf.c: New file.
32099 * math/w_powf.c: New file.
32100 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
32101 * math/w_logf_compat.c (__logf_compat): Likewise.
32102 * math/w_powf_compat.c (__powf_compat): Likewise.
32103 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32104 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32105 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32106 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32107 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32108 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32109 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32110 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32111 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32112 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32113 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32114 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32115 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32116 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32117 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32119 Likewise.
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32121 Likewise.
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32123 Likewise.
32124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32125 Likewise.
32126 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32127 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32128 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32129 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32130 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32132 Likewise.
32133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32134 Likewise.
32135 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32136 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32137 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32138
32139 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32140
32141 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32142 (sysdep_routines): Add memrchr_power8.
32143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32144 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32145 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32146 New file.
32147 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32148 (memrchr): Add __memrchr_power8 to ifunc list.
32149 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32150
32151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32152
32153 [BZ #18822]
32154 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32155 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32156 libc_hidden_def.
32157 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32158 (__posix_fallocate64_l64): Likewise.
32159
32160 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32161
32162 [BZ #18822]
32163 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32164 (__sched_setaffinity_new): Add libc_hidden_proto and
32165 libc_hidden_def.
32166
32167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32168
32169 [BZ #18822]
32170 * include/glob.h (__glob64): Add libc_hidden_proto.
32171 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32172 libc_hidden_def.
32173
32174 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32175
32176 [BZ #18822]
32177 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32178 attribute_hidden.
32179
32180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32181
32182 [BZ #18822]
32183 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32184
32185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32186
32187 [BZ #18822]
32188 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32189 libc_hidden_def.
32190
32191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32192
32193 [BZ #18822]
32194 * csu/version.c (__libc_print_version): Add attribute_hidden.
32195
32196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32197
32198 [BZ #18822]
32199 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32200
32201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32202
32203 [BZ #18822]
32204 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32205
32206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32207
32208 [BZ #18822]
32209 * nscd/nscd_helper.c (__nis_hash): New prototype.
32210
32211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32212
32213 [BZ #18822]
32214 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32215 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32216 libc_hidden_def.
32217 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32218 * termios/tcgetattr.c (__tcgetattr): Likewise.
32219
32220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32221
32222 [BZ #18822]
32223 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32224 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32225 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32226 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32227 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32228
32229 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32230
32231 [BZ #18822]
32232 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32233
32234 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32235
32236 [BZ #18822]
32237 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32238 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32239
32240 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32241
32242 [BZ #18822]
32243 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32244
32245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32246
32247 [BZ #18822]
32248 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32249 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32250
32251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32252
32253 [BZ #18822]
32254 * include/ifreq.h: New file.
32255 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32256 (__ifreq): Likewise.
32257 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32258 (__ifreq): Likewise.
32259
32260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32261
32262 [BZ #18822]
32263 * include/idna.h: New file.
32264 * inet/getnameinfo.c: Include <idna.h> instead of
32265 <libidn/idna.h>.
32266 (__idna_to_unicode_lzlz): Removed.
32267 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32268 <libidn/idna.h>.
32269 (__idna_to_ascii_lz): Removed.
32270 (__idna_to_unicode_lzlz): Likewise.
32271
32272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32273
32274 [BZ #18822]
32275 * include/plural-exp.h: New file.
32276 * intl/plural-exp.c: Include <plural-exp.h> instead of
32277 "plural-exp.h".
32278
32279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32280
32281 [BZ #18822]
32282 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32283 "getsourcefilter.h".
32284 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32285 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32286 "getsourcefilter.h".
32287 (__get_sol): Removed.
32288
32289 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32290
32291 [BZ #18822]
32292 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32293 to ...
32294 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32295
32296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32297
32298 [BZ #18822]
32299 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32300 attribute_hidden.
32301
32302 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32303
32304 [BZ #18822]
32305 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32306
32307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32308
32309 [BZ #18822]
32310 * include/search.h (__tdestroy): Add libc_hidden_proto.
32311 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32312
32313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32314
32315 [BZ #18822]
32316 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32317
32318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32319
32320 [BZ #18822]
32321 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32322 attribute_hidden.
32323
32324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32325
32326 [BZ #18822]
32327 * include/signal.h (__kill): Add libc_hidden_proto.
32328 (__sigblock): Likewise.
32329 (__sigprocmask): Likewise.
32330 (__sigaltstack): Likewise.
32331 * signal/kill.c (__kill): Add libc_hidden_def.
32332 * signal/sigblock.c (__sigblock): Likewise.
32333 * signal/sigprocmask.c (__sigprocmask): Likewise.
32334 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32335 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32336 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32337 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32338 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32339 Likewise.
32340 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32341 Likewise.
32342 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32343 (__sigprocmask): Likewise.
32344 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32345 Likewise.
32346 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32347 (__sigprocmask): Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32349 Likewise.
32350
32351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32352
32353 [BZ #18822]
32354 * include/string.h (__strsep): Add libc_hidden_proto.
32355 * string/strsep.c (__strsep): Add libc_hidden_def.
32356
32357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32358
32359 [BZ #18822]
32360 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32361 attribute_hidden.
32362 (__spawni): Likewise.
32363
32364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32365
32366 [BZ #18822]
32367 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32368 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32369 libc_hidden_def.
32370
32371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32372
32373 [BZ #18822]
32374 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32375
32376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32377
32378 [BZ #18822]
32379 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32380 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32381 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32382 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32383 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32384 Likewise.
32385 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32386 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32387
32388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32389
32390 [BZ #18822]
32391 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32392 (__dcigettext): Likewise.
32393
32394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32395
32396 [BZ #18822]
32397 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32398 libc_hidden_proto.
32399 (__get_nprocs): Likewise.
32400 (__get_phys_pages): Likewise.
32401 (__get_avphys_pages): Likewise.
32402 (__get_child_max): Add attribute_hidden.
32403 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32404 (__get_nprocs): Likewise.
32405 (__get_phys_pages): Likewise.
32406 (__get_avphys_pages): Likewise.
32407 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32408 libc_hidden_def.
32409 (__get_nprocs): Likewise.
32410 (__get_phys_pages): Likewise.
32411 (__get_avphys_pages): Likewise.
32412 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32413 libc_hidden_def.
32414 (__get_nprocs_conf): Likewise.
32415 (__get_phys_pages): Likewise.
32416 (__get_avphys_pages): Likewise.
32417
32418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32419
32420 [BZ #18822]
32421 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32422 attribute_hidden.
32423 (__netlink_close): Likewise.
32424 (__netlink_free_handle): Likewise.
32425 (__netlink_request): Likewise.
32426
32427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32428
32429 [BZ #18822]
32430 * include/rpc/rpc.h (__rpc_thread_variables): Add
32431 attribute_hidden.
32432 (__rpc_thread_svc_cleanup): Likewise.
32433 (__rpc_thread_clnt_cleanup): Likewise.
32434 (__rpc_thread_key_cleanup): Likewise.
32435
32436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32437
32438 [BZ #18822]
32439 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32440 (__writev): Likewise.
32441 * misc/readv.c (__readv): Add libc_hidden_def.
32442 * misc/writev.c (__writev): Likewise.
32443 * sysdeps/posix/readv.c (__readv): Likewise.
32444 * sysdeps/posix/writev.c (__writev): Likewise.
32445 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32446 (__readv): Likewise.
32447 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32448 (__writev): Likewise.
32449
32450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32451
32452 [BZ #18822]
32453 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32454 (__regcomp): Add libc_hidden_proto.
32455 (__regexec): Likewise.
32456 (__regfree): Likewise.
32457 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32458 (__regfree): Likewise.
32459 * posix/regexec.c (__regexec): Likewise.
32460
32461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32462
32463 [BZ #18822]
32464 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32465 (__getutent): Likewise.
32466 (__getutid): Likewise.
32467 (__getutline): Likewise.
32468 (__pututline): Likewise.
32469 (__getutent_r): Likewise.
32470 (__getutid_r): Likewise.
32471 (__getutline_r): Likewise.
32472 (__utmpname): Add attribute_hidden.
32473 (__setutent): Likewise.
32474 (__endutent): Likewise.
32475 * login/getutent.c (__getutent): Add libc_hidden_def.
32476 * login/getutent_r.c (__getutent_r): Likewise.
32477 (__pututline): Likewise.
32478 * login/getutid.c (__getutid): Likewise.
32479 * login/getutid_r.c (__getutid_r): Likewise.
32480 * login/getutline.c (__getutline): Likewise.
32481 * login/getutline_r.c (__getutline_r): Likewise.
32482 * login/updwtmp.c (__updwtmp): Likewise.
32483
32484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32485
32486 [BZ #18822]
32487 * include/dirent.h (__opendir): Always add attribute_hidden.
32488 (__fdopendir): Likewise.
32489 (__closedir): Likewise.
32490 (__readdir): Likewise.
32491 (__readdir64): Add libc_hidden_proto.
32492 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32493 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32494 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32495 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32496 New alias.
32497
32498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32499
32500 [BZ #18822]
32501 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32502 * include/netdb.h (__gethostbyaddr_r): Likewise.
32503 (__gethostbyname_r): Likewise.
32504 (__gethostbyname2_r): Likewise.
32505 (__getnetbyaddr_r): Likewise.
32506 (__getnetbyname_r): Likewise.
32507 (__getservbyname_r): Likewise.
32508 (__getservbyport_r): Likewise.
32509 (__getprotobyname_r): Likewise.
32510 (__getprotobynumber_r): Likewise.
32511 (__getnetgrent_r): Likewise.
32512 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32513 (__getrpcbynumber_r): Likewise.
32514 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32515
32516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32517
32518 [BZ #18822]
32519 * include/stdio.h (__fcloseall): Add attribute_hidden.
32520 (__getline): Likewise.
32521 (__path_search): Likewise.
32522 (__gen_tempname): Likewise.
32523 (__libc_message): Likewise.
32524 (__flockfile): Likewise.
32525 (__funlockfile): Likewise.
32526 (__fxprintf): Likewise.
32527 (__fxprintf_nocancel): Likewise.
32528
32529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32530
32531 [BZ #18822]
32532 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32533 (__sgetsgent_r): Likewise.
32534
32535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32536
32537 [BZ #18822]
32538 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32539 (__statfs64): Likewise.
32540 (__fstatfs64): Likewise.
32541 * include/sys/statvfs.h (__statvfs64): Likewise.
32542 (__fstatvfs64): Likewise.
32543 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32544 (__statfs_filesize_max): Likewise.
32545 (__statfs_symlinks): Likewise.
32546 (__statfs_chown_restricted): Likewise.
32547
32548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32549
32550 [BZ #18822]
32551 * include/time.h (__tzstring): Add attribute_hidden.
32552 (__tzfile_read): Likewise.
32553 (__tzfile_compute): Likewise.
32554 (__tzfile_default): Likewise.
32555 (__tzset_parse_tz): Likewise.
32556 (__offtime): Likewise.
32557 (__asctime_r): Likewise.
32558 (__tzset): Likewise.
32559 (__tz_convert): Likewise.
32560 (__getdate_r): Likewise.
32561 (__getclktck): Likewise.
32562
32563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32564
32565 [BZ #18822]
32566 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32567 (__nscd_unmap): Likewise.
32568 (__nscd_cache_search): Likewise.
32569 (__nscd_get_nl_timestamp): Likewise.
32570 (__nscd_getpwnam_r): Likewise.
32571 (__nscd_getpwuid_r): Likewise.
32572 (__nscd_getgrnam_r): Likewise.
32573 (__nscd_getgrgid_r): Likewise.
32574 (__nscd_gethostbyname_r): Likewise.
32575 (__nscd_gethostbyname2_r): Likewise.
32576 (__nscd_gethostbyaddr_r): Likewise.
32577 (__nscd_getai): Likewise.
32578 (__nscd_getgrouplist): Likewise.
32579 (__nscd_getservbyname_r): Likewise.
32580 (__nscd_getservbyport_r): Likewise.
32581 (__nscd_innetgr): Likewise.
32582 (__nscd_setnetgrent): Likewise.
32583
32584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32585
32586 [BZ #18822]
32587 * include/gmp.h: Declare internal functions only if _ISOMAC is
32588 undefined.
32589 (__mpn_extract_double): Add attribute_hidden.
32590 (__mpn_extract_long_double): Likewise.
32591 (__mpn_extract_float128): Likewise.
32592 (__mpn_construct_float): Likewise.
32593 (__mpn_construct_double): Likewise.
32594 (__mpn_construct_long_double): Likewise.
32595 (__mpn_construct_float128): Likewise.
32596 (mpn_add_1): Likewise.
32597 (mpn_addmul_1): Likewise.
32598 (mpn_add_n): Likewise.
32599 (mpn_cmp): Likewise.
32600 (mpn_divrem): Likewise.
32601 (mpn_lshift): Likewise.
32602 (mpn_mul): Likewise.
32603 (mpn_mul_1): Likewise.
32604 (mpn_rshift): Likewise.
32605 (mpn_sub_1): Likewise.
32606 (mpn_submul_1): Likewise.
32607 (mpn_sub_n): Likewise.
32608
32609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32610
32611 [BZ #18822]
32612 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32613 (__wcscat): Likewise.
32614 (__btowc): Likewise.
32615 (__wcrtomb): Likewise.
32616 (__mbsrtowcs): Likewise.
32617 (__wcsrtombs): Likewise.
32618 (__mbsnrtowcs): Likewise.
32619 (__wcsnrtombs): Likewise.
32620 (__wcsncpy): Likewise.
32621 (__wcpncpy): Likewise.
32622 (__wmemcpy): Likewise.
32623 (__wmempcpy): Likewise.
32624 (__wmemmove): Likewise.
32625 (__wcschrnul): Likewise.
32626 (__vfwscanf): Likewise.
32627 (__vswprintf): Likewise.
32628 (__fwprintf): Likewise.
32629 (__vfwprintf): Likewise.
32630
32631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32632
32633 [BZ #18822]
32634 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32635 (__getgrgid_r): Likewise.
32636 (__getgrnam_r): Likewise.
32637 * include/pwd.h (__getpwuid_r): Likewise.
32638 (__getpwnam_r): Likewise.
32639 (__fgetpwent_r): Likewise.
32640 * include/shadow.h (__getspnam_r): Likewise.
32641 (__sgetspent_r): Likewise.
32642 (__fgetspent_r): Likewise.
32643
32644 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32645
32646 [BZ #18822]
32647 * include/unistd.h (__access): Add attribute_hidden.
32648 (__lseek64): Likewise.
32649 (__libc_pread64): Likewise.
32650 (__pipe2): Likewise.
32651 (__sleep): Likewise.
32652 (__chdir): Likewise.
32653 (__fchdir): Likewise.
32654 (__getcwd): Likewise.
32655 (__rmdir): Likewise.
32656 (__execvpe): Likewise.
32657 (__execve): Likewise.
32658 (__setsid): Likewise.
32659 (__getuid): Likewise.
32660 (__geteuid): Likewise.
32661 (__getgid): Likewise.
32662 (__getegid): Likewise.
32663 (__getgroups): Likewise.
32664 (__group_member): Likewise.
32665 (__ttyname_r): Likewise.
32666 (__isatty): Likewise.
32667 (__readlink): Likewise.
32668 (__unlink): Likewise.
32669 (__gethostname): Likewise.
32670 (__profil): Likewise.
32671 (__getdtablesize): Likewise.
32672 (__brk): Likewise.
32673 (__ftruncate): Likewise.
32674 (__ftruncate64): Likewise.
32675
32676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32677
32678 [BZ #18822]
32679 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32680 * argp/argp-fs-xinl.c: Likewise.
32681 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32682 * argp/argp-parse.c: Include <argp.h>.
32683 * argp/argp-xinl.c: Likewise.
32684 * include/argp-fmtstream.h: New file.
32685 * include/argp.h (__argp_error): Add attribute_hidden.
32686 (__argp_failure): Likewise.
32687 (__argp_input): Likewise.
32688 (__argp_state_help): Likewise.
32689
32690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32691
32692 [BZ #18822]
32693 * include/wchar.h (____wcstof_l_internal): New prototype.
32694 (____wcstod_l_internal): Likewise.
32695 (____wcstold_l_internal): Likewise.
32696 (____wcstol_l_internal): Likewise.
32697 (____wcstoul_l_internal): Likewise.
32698 (____wcstoll_l_internal): Likewise.
32699 (____wcstoull_l_internal): Likewise.
32700 (____wcstof128_l_internal): Likewise.
32701 * sysdeps/ieee754/float128/wcstof128.c
32702 (____wcstof128_l_internal): Removed.
32703 * sysdeps/ieee754/float128/wcstof128_l.c
32704 (____wcstof128_l_internal): Likewise.
32705 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32706 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32707 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32708 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32709 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32710 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32711 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32712 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32713 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32714 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32715
32716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32717
32718 [BZ #18822]
32719 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32720 instead of <sys/statvfs.h>.
32721 (__internal_statvfs): Removed.
32722 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32723 instead of <sys/statvfs.h>.
32724 (__internal_statvfs64): Removed.
32725 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32726 "internal_statvfs.h" instead of <sys/statvfs.h>.
32727 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32728 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32729 instead of <sys/statvfs.h>.
32730 (__internal_statvfs): Removed.
32731 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32732 instead of <sys/statvfs.h>.
32733 (__internal_statvfs64): Removed.
32734
32735 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 [BZ #18822]
32738 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32739 (__gconv_close): Likewise.
32740 (__gconv): Likewise.
32741 (__gconv_find_transform): Likewise.
32742 (__gconv_lookup_cache): Likewise.
32743 (__gconv_compare_alias_cache): Likewise.
32744 (__gconv_load_cache): Likewise.
32745 (__gconv_get_path): Likewise.
32746 (__gconv_close_transform): Likewise.
32747 (__gconv_release_cache): Likewise.
32748 (__gconv_find_shlib): Likewise.
32749 (__gconv_release_shlib): Likewise.
32750 (__gconv_get_builtin_trans): Likewise.
32751 (__gconv_compare_alias): Likewise.
32752 * include/dlfcn.h (_dlerror_run): Likewise.
32753 * include/stdio.h (__fortify_fail_abort): Likewise.
32754 * include/time.h (__tz_compute): Likewise.
32755 (__strptime_internal): Likewise.
32756 * intl/gettextP.h (_nl_find_domain): Likewise.
32757 (_nl_load_domain): Likewise.
32758 (_nl_find_msg): Likewise.
32759 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32760 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32761 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32762 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32763 (__gai_find_request): Likewise.
32764 (__gai_remove_request): Likewise.
32765 (__gai_notify): Likewise.
32766 (__gai_notify_only): Likewise.
32767 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32768 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32769 (_dl_non_dynamic_init): Likewise.
32770 (_dl_aux_init): Likewise.
32771 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32772 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32773 Likewise.
32774 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32775 (__wcsmbs_clone_conv): Likewise.
32776 (__wcsmbs_named_conv): Likewise.
32777
32778 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32779
32780 [BZ #18822]
32781 * include/stdlib.h (__random): Add attribute_hidden.
32782 (__random_r): Likewise.
32783 (__srandom_r): Likewise.
32784 (__initstate_r): Likewise.
32785 (__setstate_r): Likewise.
32786 (__erand48_r): Likewise.
32787 (__nrand48_r): Likewise.
32788 (__jrand48_r): Likewise.
32789 (__srand48_r): Likewise.
32790 (__seed48_r): Likewise.
32791 (__lcong48_r): Likewise.
32792 (__drand48_iterate): Likewise.
32793 (__setenv): Likewise.
32794 (__unsetenv): Likewise.
32795 (__clearenv): Likewise.
32796 (__ptsname_r): Likewise.
32797 (__posix_openpt): Likewise.
32798 (__add_to_environ): Likewise.
32799 (__realpath): Add libc_hidden_proto.
32800 (__ecvt_r): Likewise.
32801 (__fcvt_r): Likewise.
32802 (__qecvt_r): Likewise.
32803 (__qfcvt_r): Likewise.
32804 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32805 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32806
32807 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 [BZ #18822]
32810 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32811 * include/time.h (__mktime_internal): Likewise.
32812 * libio/iolibio.h (__fopen_internal): Likewise.
32813
32814 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32815
32816 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32817 pointer in frame.
32818 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32819 Correct offset used to restore PIC register.
32820
32821 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32822
32823 [BZ libc/22165]
32824 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32825 code to load address of __getcontext_ret when generating PIC code.
32826
32827 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32828
32829 * elf/Makefile (tests-static-internal): Add
32830 tst-tls1-static-non-pie.
32831 (LDFLAGS-tst-tls1-static-non-pie): New.
32832 * elf/tst-tls1-static-non-pie.c: New file.
32833
32834 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32835
32836 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32837 (asinh): Define using libm_alias_double.
32838 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32839 (cbrt): Define using libm_alias_double.
32840 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32841 <libm-alias-double.h>.
32842 (copysign): Define using libm_alias_double.
32843 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32844 (erf): Define using libm_alias_double.
32845 (erfc): Likewise.
32846 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32847 (expm1): Define using libm_alias_double.
32848 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32849 (fabs): Define using libm_alias_double.
32850 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32851 libm_alias_double.
32852 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32853 <libm-alias-double.h>.
32854 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32855 libm_alias_double.
32856 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32857 <libm-alias-double.h>.
32858 (getpayload): Define using libm_alias_double.
32859 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32860 <libm-alias-double.h>.
32861 (llrint): Define using libm_alias_double.
32862 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32863 (lrint): Define using libm_alias_double.
32864 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32865 <libm-alias-double.h>.
32866 (nextup): Define using libm_alias_double.
32867 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32868 <libm-alias-double.h>.
32869 (roundeven): Define using libm_alias_double.
32870 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32871 libm_alias_double.
32872 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32873 <libm-alias-double.h>.
32874 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32875 using libm_alias_double.
32876 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32877 (cos): Define using libm_alias_double.
32878 (sin): Likewise.
32879 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32880 <libm-alias-double.h>.
32881 (sincos): Define using libm_alias_double.
32882 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32883 (tanh): Define using libm_alias_double.
32884 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32885 <libm-alias-double.h>.
32886 (totalorder): Define using libm_alias_double.
32887 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32888 <libm-alias-double.h>.
32889 (totalordermag): Define using libm_alias_double.
32890 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32891 libm_alias_double.
32892 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32893 libm_alias_double.
32894 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32895 <libm-alias-double.h>.
32896 (getpayload): Define using libm_alias_double.
32897 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32898 <libm-alias-double.h>.
32899 (roundeven): Define using libm_alias_double.
32900 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32901 <libm-alias-double.h>.
32902 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32903 <libm-alias-double.h>.
32904 (totalorder): Define using libm_alias_double.
32905 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32906 <libm-alias-double.h>.
32907 (totalordermag): Define using libm_alias_double.
32908 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32909 libc compat symbol here.
32910 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32911 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32912 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32913 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32914 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32915 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32916 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32917 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32918 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32919 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32920
32921 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32922
32923 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32924 _dl_relocate_static_pie instead of _dl_start to compute load
32925 address in static PIE. Return 0 if _DYNAMIC is undefined for
32926 static executable.
32927
32928 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32931 _DYNAMIC is undefined for static executable.
32932
32933 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32934
32935 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32936
32937 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32938
32939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32940
32941 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32942
32943 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32944 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32945 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32946 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32948 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32949 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32950 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32951 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32952 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32953 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32954 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32955 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32956 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32959 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32960
32961 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32962
32963 * math/bits/cmathcalls.h (cimag): Remove inline.
32964 (creal): Remove inline.
32965 (conj): Remove inline.
32966
32967 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32968
32969 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32970 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32971 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32972 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32973 (issignalingf_inline): Likewise.
32974 (POWF_LOG2_TABLE_BITS): Likewise.
32975 (POWF_LOG2_POLY_ORDER): Likewise.
32976 (POWF_SCALE_BITS): Likewise.
32977 (POWF_SCALE): Likewise.
32978 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32979 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32980 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32981
32982 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32983
32984 * math/Makefile (type-float-routines): Add e_log2f_data.
32985 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32986 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32987 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32988 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32989 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32990 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32991 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32992
32993 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32994
32995 * math/Makefile (type-float-routines): Add e_logf_data.
32996 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32997 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32998 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32999 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
33000 * sysdeps/i386/fpu/e_logf_data.c: New file.
33001 * sysdeps/ia64/fpu/e_logf_data.c: New file.
33002 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
33003
33004 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
33007 undefined _DYNAMIC in PIE libc.a.
33008 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
33009 Likewse.
33010
33011 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33012
33013 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
33014 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
33015 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
33016 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
33017 (__signbit): Remove.
33018 (__signbitl): Remove.
33019 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
33020 (__signbit): Remove.
33021 (__signbitl): Remove.
33022 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
33023 (__signbit): Remove.
33024 (__signbitl): Remove.
33025 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
33026 (__signbit): Remove.
33027 (__signbitl): Remove.
33028 * sysdeps/tile/bits/mathinline.h: Delete file.
33029 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
33030 (__signbit): Remove.
33031 (__signbitl): Remove.
33032
33033 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33034
33035 * math/math.h: Improve handling of C99 isgreater macros.
33036 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
33037 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
33038 * sysdeps/powerpc/bits/mathinline.h: Likewise.
33039 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33040 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
33041
33042 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
33043
33044 * sysdeps/aarch64/libm-test-ulps: Update.
33045
33046 2017-09-28 Joseph Myers <joseph@codesourcery.com>
33047
33048 [BZ #22225]
33049 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33050 math_opt_barrier on argument when doing arithmetic on it.
33051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33052 Likewise. Use math_force_eval not math_opt_barrier after
33053 arithmetic.
33054 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
33055 math_opt_barrier on argument when doing arithmetic on it.
33056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33057 Likewise.
33058
33059 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
33060
33061 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
33062 libc_hidden_def.
33063 (__freeifaddrs): Likewise.
33064
33065 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33066
33067 * include/dirent.h (__dirfd): New declaration.
33068 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
33069 alias.
33070 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
33071 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
33072 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
33073 * include/unistd.h (__revoke): New declaration.
33074 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
33075 alias.
33076 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
33077 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
33078 revoke.
33079 * include/dirent.h (__seekdir): New declaration.
33080 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
33081 redefine as weak alias.
33082 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
33083 of seekdir.
33084 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
33085 and use libc_hidden_def on them.
33086 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
33087 them.
33088 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
33089 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
33090 instead of getifaddrs and freeifaddrs.
33091
33092 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33093
33094 [BZ #18822]
33095 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
33096 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
33097 (__dso_handle): Remove declaration.
33098 * dlfcn/tstatexit.c (__dso_handle): Removed.
33099 (main): Don't check __dso_handle.
33100 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
33101 (main): Don't check __dso_handle.
33102 * include/dso_handle.h: New file.
33103 * malloc/mtrace.c: Include <dso_handle.h>.
33104 (mtrace): Pass __dso_handle directly.
33105 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33106 (__dso_handle): Remove declaration.
33107 (__pthread_atfork): Pass __dso_handle directly.
33108 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33109 (__dso_handle): Removed.
33110 * posix/wordexp-test.c: Include <dso_handle.h>.
33111 (__dso_handle): Remove declaration.
33112 (__app_register_atfork): Pass __dso_handle directly.
33113 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33114 (__dso_handle): Remove declaration.
33115 (at_quick_exit): Pass __dso_handle directly.
33116 * stdlib/atexit.c: Include <dso_handle.h>.
33117 (__dso_handle): Remove declaration.
33118 (atexit): Pass __dso_handle directly.
33119 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33120 (__dso_handle): Removed.
33121
33122 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33123
33124 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33125 using VDSO.
33126
33127 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33128
33129 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33130 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33131 values to correct default value for given type.
33132
33133 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33134
33135 [BZ #22101]
33136 * elf/Makefile (tests): Add tst-debug1.
33137 ($(objpfx)tst-debug1): New.
33138 ($(objpfx)tst-debug1.out): Likewise.
33139 ($(objpfx)tst-debug1mod1.so): Likewise.
33140 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33141 with p_filesz == 0.
33142 * elf/tst-debug1.c: New file.
33143
33144 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33145
33146 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33147 Define using __ifunc.
33148
33149 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33150
33151 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33152 exp2f() values.
33153
33154 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33155
33156 [BZ #22156]
33157 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33158
33159 2017-09-26 Florian Weimer <fweimer@redhat.com>
33160
33161 * resolv/Makefile (tests-internal): Fix typo in comment.
33162
33163 2017-09-26 Florian Weimer <fweimer@redhat.com>
33164
33165 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33166
33167 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33168
33169 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33170 Use an union instead of a max_align_t array for __space,
33171 so that __space is the same size on all platforms.
33172 * malloc/scratch_buffer_grow_preserve.c
33173 (__libc_scratch_buffer_grow_preserve): Likewise.
33174
33175 [BZ #22183]
33176 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33177 version to 2.
33178 * posix/Makefile (routines): Add glob-lstat-compat and
33179 glob64-lstat-compat.
33180 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33181 * posix/glob-lstat-compat.c: New file.
33182 * posix/glob64-lstat-compat.c: Likewise.
33183 * posix/tst-glob_lstat_compat.c: Likewise.
33184 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33185 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33186 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33187 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33188 Likewise.
33189 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33190 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33191 * posix/glob.c (glob_lstat): New function.
33192 (glob): Rename to __glob and add versioned symbol to 2.27.
33193 (glob_in_dir): Use glob_lstat.
33194 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33195 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33196 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33197 2.27.
33198 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33199 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33200 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33201 gl_lstat on glob call.
33202 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33203 and glob64 symbols.
33204 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33205 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33206 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33207 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33208 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33209 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33210 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33211 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33212 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33213 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33214 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33215 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33217 Likewise.
33218 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33220 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33221 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33222 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33223 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33227 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33228 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33229 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33230
33231 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33232
33233 * configure.ac (AS): Require binutils 2.25 or later.
33234 * configure: Regenerated.
33235
33236 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33237
33238 [BZ #22207]
33239 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33240 VM size.
33241
33242 2017-09-25 DJ Delorie <dj@redhat.com>
33243
33244 [BZ #22161]
33245 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33246 resetting timeout.
33247
33248 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33249
33250 * sysdeps/ieee754/dbl-64/sincos32.h
33251 [SINCCOS32_H]: Remove define.
33252 [SINCOS32_H]: Define.
33253
33254 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33255
33256 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33257 (exp2f): Likewise.
33258 * math/w_exp2f.c: New file.
33259 * math/w_expf.c: New file.
33260 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33261 * math/w_expf_compat.c (__expf_compat): Likewise.
33262 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33263 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33264 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33265 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33266 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33267 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33268 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33269 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33270 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33271 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33272 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33273 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33274 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33275 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33277 Likewise.
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33279 Likewise.
33280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33281 Likewise.
33282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33283 Likewise.
33284 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33285 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33286 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33287 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33288 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33290 Likewise.
33291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33292 Likewise.
33293 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33294 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33295 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33296
33297 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33298
33299 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33300 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33301 (roundtoint, converttoint): Likewise.
33302 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33303 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33304 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33305 * sysdeps/ieee754/flt-32/math_config.h: New file.
33306 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33307 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33308 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33309 * sysdeps/i386/fpu/math_errf.c: New file.
33310 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33311 * sysdeps/ia64/fpu/math_errf.c: New file.
33312 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33313 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33314
33315 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33316
33317 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33318 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33319 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33320 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33321 to make sure that these symbols are defined.
33322 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33323 of <limits.h>
33324 (__need_NULL): Do not define.
33325 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33326 alignment.
33327 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33328 CMGROUP_MAX, cmsgcred): Do not define.
33329 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33330 NULL.
33331 * bits/socket.h: Likewise.
33332 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33333 __gettimeofday instead of gettimeofday.
33334 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33335 instead of settimeofday.
33336
33337 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33338
33339 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33340 (asinhf): Define using libm_alias_float.
33341 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33342 (atanf): Define using libm_alias_float.
33343 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33344 (cbrtf): Define using libm_alias_float.
33345 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33346 (ceilf): Define using libm_alias_float.
33347 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33348 <libm-alias-float.h>.
33349 (copysignf): Define using libm_alias_float.
33350 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33351 (cosf): Define using libm_alias_float.
33352 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33353 (erff): Define using libm_alias_float.
33354 (erfcf): Likewise.
33355 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33356 (expm1f): Define using libm_alias_float.
33357 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33358 (fabsf): Define using libm_alias_float.
33359 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33360 (floorf): Define using libm_alias_float.
33361 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33362 (frexpf): Define using libm_alias_float.
33363 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33364 libm_alias_float.
33365 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33366 <libm-alias-float.h>.
33367 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33368 libm_alias_float.
33369 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33370 <libm-alias-float.h>.
33371 (getpayloadf): Define using libm_alias_float.
33372 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33373 <libm-alias-float.h>.
33374 (llrintf): Define using libm_alias_float.
33375 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33376 <libm-alias-float.h>.
33377 (llroundf): Define using libm_alias_float.
33378 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33379 (logbf): Define using libm_alias_float.
33380 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33381 (lrintf): Define using libm_alias_float.
33382 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33383 (lroundf): Define using libm_alias_float.
33384 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33385 (modff): Define using libm_alias_float.
33386 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33387 <libm-alias-float.h>.
33388 (nearbyintf): Define using libm_alias_float.
33389 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33390 <libm-alias-float.h>.
33391 (nextafterf): Define using libm_alias_float.
33392 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33393 <libm-alias-float.h>.
33394 (nextupf): Define using libm_alias_float.
33395 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33396 <libm-alias-float.h>.
33397 (remquof): Define using libm_alias_float.
33398 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33399 (rintf): Define using libm_alias_float.
33400 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33401 <libm-alias-float.h>.
33402 (roundevenf): Define using libm_alias_float.
33403 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33404 (roundf): Define using libm_alias_float.
33405 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33406 using libm_alias_float.
33407 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33408 <libm-alias-float.h>.
33409 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33410 Define using libm_alias_float.
33411 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33412 <libm-alias-float.h>.
33413 (sincosf): Define using libm_alias_float.
33414 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33415 (sinf): Define using libm_alias_float.
33416 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33417 (tanf): Define using libm_alias_float.
33418 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33419 (tanhf): Define using libm_alias_float.
33420 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33421 <libm-alias-float.h>.
33422 (totalorderf): Define using libm_alias_float.
33423 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33424 <libm-alias-float.h>.
33425 (totalordermagf): Define using libm_alias_float.
33426 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33427 (truncf): Define using libm_alias_float.
33428 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33429 libm_alias_float.
33430 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33431 libm_alias_float.
33432
33433 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33434
33435 [BZ #22146]
33436 math/math.h: Let fpclassify use the builtin in C++ mode, even
33437 when optimazing for size.
33438
33439 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33440
33441 * csu/Makefile (generated): Do not add version-info.h.
33442 (before-compile): Likewise.
33443 (all-Banner-files): Remove variable.
33444 ($(objpfx)version-info.h): Remove rule.
33445 * csu/version.c (banner): Do not include "version-info.h".
33446 * libidn/Banner: Remove.
33447 * manual/contrib.texi (Simon Josefsson): New entry.
33448
33449 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33450
33451 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33452 Remove conditionals on LDBL_MANT_DIG.
33453 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33454 (__ieee754_lgammal_r): Likewise.
33455
33456 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33457
33458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33459 _Float128 and L().
33460 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33461 _Float128 and L(). Replace _Float128 with long double and L(x)
33462 with xL, throughout the file.
33463 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33467
33468 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33469
33470 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33471 sysdeps/ieee754/ldbl-128ibm.
33472 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33473 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33474 of including it. Keep _Float128 and L() intact. These will be
33475 reviewed by a separate patch.
33476 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33480
33481 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33482
33483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33484 (__finitef128): Define to __redirect___finitef128.
33485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33486 (__isinff128): Define to __redirect___isinff128.
33487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33488 (__isnanf128): Define to __redirect___isnanf128.
33489
33490 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33491
33492 * sysdeps/powerpc/powerpc64le/Makefile
33493 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33494 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33495
33496 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33497 Carlos O'Donell <carlos@redhat.com>
33498
33499 [BZ #22180]
33500 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33501 * stdlib/test-dlclose-exit-race.c: New file.
33502 * stdlib/test-dlclose-exit-race-helper.c: New file.
33503 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33504
33505 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33506
33507 * crypt/Banner: Remove file.
33508 * nptl/Banner: Likewise.
33509 * resolv/Banner: Likewise.
33510 * soft-fp/Banner: Likewise.
33511 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33512 ($(objpfx)version.d): Remove dependency on banner.h.
33513 ($(objpfx)version.os): Likewise.
33514 * nptl/version.c (banner): Do not include banner.h.
33515 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33516 Jelinek and BIND code.
33517
33518 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33519 Carlos O'Donell <carlos@redhat.com>
33520
33521 * support/xdlfcn.h: New file.
33522 * support/xdlfcn.c: New file.
33523 * support/Makefile (libsupport-routines): Add xdlfcn.
33524 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33525
33526 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33527
33528 [BZ #20142]
33529 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33530 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33531 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33532 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33533 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33534 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33535 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33536 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33537
33538 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33539 Ricky Zhou <rickyz@google.com>
33540 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33541
33542 [BZ #14333]
33543 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33544 Remove atomics.
33545 (__new_exitfn): Fail registration when we finished at_exit processing.
33546 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33547 * stdlib/on_exit.c (__on_exit): Likewise.
33548 * stdlib/exit.c (__exit_funcs_done): New variable.
33549 (__run_exit_handlers): Use __exit_funcs_lock.
33550 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33551 declarations.
33552 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33553 (test-cxa_atexit-race, test-on_exit-race): New tests.
33554 * stdlib/test-atexit-race-common.c: New file.
33555 * stdlib/test-atexit-race.c: New file.
33556 * stdlib/test-at_quick_exit-race.c: New file.
33557 * stdlib/test-cxa_atexit-race.c: New file.
33558 * stdlib/test-on_exit-race.c: New file.
33559
33560 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33561
33562 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33563 * benchtests/exp2f-inputs: Copy of expf-inputs.
33564 * benchtests/log2f-inputs: Copy of logf-inputs.
33565
33566 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33567
33568 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33569 Explicitly take address of first element of array arguments in
33570 call to INLINE_SYSCALL.
33571
33572 2017-09-19 Andreas Schwab <schwab@suse.de>
33573
33574 [BZ #22134]
33575 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33576 execveat first.
33577 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33578 unimplemented.
33579 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33580 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33581 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33582 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33583 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33584 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33586 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33587 * posix/Makefile (tests): Add tst-fexecve.
33588 * posix/tst-fexecve.c: New file.
33589
33590 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33591
33592 * benchtests/Makefile: Add logf benchmark.
33593 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33594
33595 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33596
33597 * benchtests/Makefile: Add expf benchmark.
33598 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33599
33600 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33601
33602 * csu/Makefile: Add -funwind-tables to libc-start.c.
33603 * debug/Makefile: Add -funwind-tables to backtrace.c.
33604 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33605 * sysdeps/arm/Makefile: Likewise.
33606 * sysdeps/i386/Makefile: Likewise.
33607 * sysdeps/m68k/Makefile: Likewise.
33608 * sysdeps/mips/Makefile: Likewise.
33609 * sysdeps/nios2/Makefile: Likewise.
33610 * sysdeps/sh/Makefile: Likewise.
33611 * sysdeps/sparc/Makefile: Likewise.
33612
33613 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33614
33615 * benchtests/Makefile (bench-math): Add trunc and truncf.
33616 (CFLAGS-bench-trunc.c): New variable.
33617 (CFLAGS-bench-truncf.c): Likewise.
33618 * benchtests/trunc-inputs: New file.
33619 * benchtests/truncf-inputs: Likewise.
33620
33621 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33622
33623 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33624
33625 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33626
33627 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33628 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33629 redefine.
33630 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33631 (exp10l): Define as weak alias.
33632 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33633 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33634 and redefine.
33635 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33636 (remainderl): Define as weak alias.
33637
33638 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33639 (fmal): Define using libm_alias_ldouble.
33640 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33641 (acoshl): Define using libm_alias_ldouble.
33642 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33643 (acosl): Define using libm_alias_ldouble.
33644 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33645 (asinl): Define using libm_alias_ldouble.
33646 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33647 (atan2l): Define using libm_alias_ldouble.
33648 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33649 (atanhl): Define using libm_alias_ldouble.
33650 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33651 (coshl): Define using libm_alias_ldouble.
33652 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33653 (exp10l): Define using libm_alias_ldouble.
33654 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33655 (exp2l): Define using libm_alias_ldouble.
33656 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33657 (expl): Define using libm_alias_ldouble.
33658 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33659 (fmodl): Define using libm_alias_ldouble.
33660 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33661 (hypotl): Define using libm_alias_ldouble.
33662 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33663 (j0l): Define using libm_alias_ldouble.
33664 (y0l): Likewise.
33665 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33666 (j1l): Define using libm_alias_ldouble.
33667 (y1l): Likewise.
33668 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33669 (jnl): Define using libm_alias_ldouble.
33670 (ynl): Likewise.
33671 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33672 (log10l): Define using libm_alias_ldouble.
33673 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33674 (log2l): Define using libm_alias_ldouble.
33675 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33676 (logl): Define using libm_alias_ldouble.
33677 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33678 (powl): Define using libm_alias_ldouble.
33679 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33680 (remainderl): Define using libm_alias_ldouble.
33681 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33682 (sinhl): Define using libm_alias_ldouble.
33683 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33684 (sqrtl): Define using libm_alias_ldouble.
33685 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33686 (tgammal): Define using libm_alias_ldouble.
33687 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33688 (exp10l): Do not use long_double_symbol here.
33689 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33690 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33691 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33692 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33693 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33694 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33695 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33696 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33697 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33698 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33699 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33700 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33701 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33702 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33703 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33704 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33705 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33706 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33707 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33708 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33709 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33710 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33711
33712 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33713
33714 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33715 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33716
33717 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33718
33719 * io/read.c (read): Add libc_hidden_weak.
33720 * sysdeps/mach/hurd/read.c (read): Likewise.
33721 * io/write.c (write): Likewise.
33722 * sysdeps/mach/hurd/write.c (write): Likewise.
33723 * io/pread64.c (__pread64): Likewise.
33724 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33725 * posix/pread64.c (__pread64): Add libc_hidden_def.
33726
33727 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33728
33729 * benchtests/scripts/compare_strings.py: New option -g.
33730 (draw_graph): Print a message that a graph is being generated.
33731 (process_results): Generate graph only if -g is passed.
33732 (main): Process option -g.
33733
33734 * benchtests/scripts/compare_strings.py (process_results):
33735 Better spacing for output.
33736
33737 * benchtests/scripts/compare_strings.py: Use argparse.
33738 * benchtests/README: Document existence of compare_strings.py.
33739
33740 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33741
33742 * math/s_fma.c: Include <libm-alias-double.h>.
33743 (fma): Define using libm_alias_double.
33744 * math/s_nextafter.c: Include <libm-alias-double.h>.
33745 (nextafter): Define using libm_alias_double.
33746 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33747 (acos): Define using libm_alias_double.
33748 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33749 (aocsh): Define using libm_alias_double.
33750 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33751 (asin): Define using libm_alias_double.
33752 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33753 (atan2): Define using libm_alias_double.
33754 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33755 (atanh): Define using libm_alias_double.
33756 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33757 (cosh): Define using libm_alias_double.
33758 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33759 (exp10): Define using libm_alias_double.
33760 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33761 (exp2): Define using libm_alias_double.
33762 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33763 (exp): Define using libm_alias_double.
33764 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33765 (fmod): Define using libm_alias_double.
33766 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33767 (hypot): Define using libm_alias_double.
33768 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33769 (j0): Define using libm_alias_double.
33770 (y0): Likewise.
33771 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33772 (j1): Define using libm_alias_double.
33773 (y1): Likewise.
33774 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33775 (jn): Define using libm_alias_double.
33776 (yn): Likewise.
33777 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33778 (log10): Define using libm_alias_double.
33779 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33780 (log2): Define using libm_alias_double.
33781 * math/w_log_compat.c: Include <libm-alias-double.h>.
33782 (log): Define using libm_alias_double.
33783 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33784 (pow): Define using libm_alias_double.
33785 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33786 (remainder): Define using libm_alias_double.
33787 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33788 (sinh): Define using libm_alias_double.
33789 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33790 (sqrt): Define using libm_alias_double.
33791 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33792 (tgamma): Define using libm_alias_double.
33793 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33794 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33795 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33796 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33797 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33798 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33799 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33800 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33801 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33802 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33803 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33804 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33805 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33806 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33807 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33808 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33809 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33810 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33811 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33812 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33813 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33814 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33815 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33816 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33817 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33818
33819 * math/e_acoshl.c: Remove.
33820 * math/e_acosl.c: Likewise.
33821 * math/e_asinl.c: Likewise.
33822 * math/e_atan2l.c: Likewise.
33823 * math/e_atanhl.c: Likewise.
33824 * math/e_coshl.c: Likewise.
33825 * math/e_expl.c: Likewise.
33826 * math/e_fmodl.c: Likewise.
33827 * math/e_gammal_r.c: Likewise.
33828 * math/e_hypotl.c: Likewise.
33829 * math/e_j0l.c: Likewise.
33830 * math/e_j1l.c: Likewise.
33831 * math/e_jnl.c: Likewise.
33832 * math/e_lgammal_r.c: Likewise.
33833 * math/e_log10l.c: Likewise.
33834 * math/e_log2l.c: Likewise.
33835 * math/e_logl.c: Likewise.
33836 * math/e_powl.c: Likewise.
33837 * math/e_rem_pio2l.c: Likewise.
33838 * math/e_sinhl.c: Likewise.
33839 * math/e_sqrtf128.c: Likewise.
33840 * math/e_sqrtl.c: Likewise.
33841 * math/k_cosl.c: Likewise.
33842 * math/k_sinl.c: Likewise.
33843 * math/k_tanl.c: Likewise.
33844 * math/s_asinhl.c: Likewise.
33845 * math/s_atanl.c: Likewise.
33846 * math/s_cbrtl.c: Likewise.
33847 * math/s_erfl.c: Likewise.
33848 * math/s_expm1l.c: Likewise.
33849 * math/s_log1pl.c: Likewise.
33850 * math/s_tanhl.c: Likewise.
33851
33852 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33853
33854 [BZ #21745]
33855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33856 [$(subdir) = math] (sysdep_calls): New variable. Has the
33857 previous contents of sysdep_routines, but re-sorted..
33858 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33859 sysdep_calls.
33860 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33861 defined in sysdep_calls and replace by the respective m_* names.
33862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33863 (compat_symbol): Undefine to avoid duplicated compat symbols in
33864 libc.
33865
33866 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33867
33868 * math/s_fmaf.c: Include <libm-alias-float.h>.
33869 (fmaf): Define using libm_alias_float.
33870 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33871 (acosf): Define using libm_alias_float.
33872 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33873 (acoshf): Define using libm_alias_float.
33874 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33875 (asinf): Define using libm_alias_float.
33876 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33877 (atan2f): Define using libm_alias_float.
33878 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33879 (atanhf): Define using libm_alias_float.
33880 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33881 (coshf): Define using libm_alias_float.
33882 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33883 (exp10f): Define using libm_alias_float.
33884 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33885 (fmodf): Define using libm_alias_float.
33886 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33887 (hypotf): Define using libm_alias_float.
33888 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33889 (j0f): Define using libm_alias_float.
33890 (y0f): Likewise.
33891 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33892 (j1f): Define using libm_alias_float.
33893 (y1f): Likewise.
33894 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33895 (jnf): Define using libm_alias_float.
33896 (ynf): Likewise.
33897 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33898 (log10f): Define using libm_alias_float.
33899 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33900 (log2f): Define using libm_alias_float.
33901 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33902 (logf): Define using libm_alias_float.
33903 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33904 (powf): Define using libm_alias_float.
33905 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33906 (remainderf): Define using libm_alias_float.
33907 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33908 (sinhf): Define using libm_alias_float.
33909 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33910 (sqrtf): Define using libm_alias_float.
33911 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33912 (tgammaf): Define using libm_alias_float.
33913
33914 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33915
33916 * include/math.h (roundeven): Change hidden_proto call to
33917 __roundeven.
33918 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33919 alias.
33920 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33921 (y0): Rename to __y0 and define as weak alias.
33922 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33923 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33924 alias.
33925 (y0f): Rename to __y0f and define as weak alias.
33926 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33927 alias.
33928 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33929 (y1): Rename to __y1 and define as weak alias.
33930 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33931 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33932 alias.
33933 (y1f): Rename to __y1f and define as weak alias.
33934 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33935 alias.
33936 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33937 (yn): Rename to __yn and define as weak alias.
33938 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33939 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33940 alias.
33941 (ynf): Rename to __ynf and define as weak alias.
33942 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33943 (fromfp): Define as weak alias.
33944 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33945 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33946 (fromfpx): Define as weak alias.
33947 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33948 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33949 __getpayload and define as weak alias.
33950 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33951 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33952 __roundeven and define as weak alias.
33953 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33954 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33955 __setpayload.
33956 (setpayload): Define as weak alias.
33957 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33958 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33959 __setpayloadsig.
33960 (setpayloadsig): Define as weak alias.
33961 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33962 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33963 __totalorder and define as weak alias.
33964 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33965 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33966 to __totalordermag and define as weak alias.
33967 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33968 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33969 (ufromfp): Define as weak alias.
33970 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33971 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33972 __ufromfpx.
33973 (ufromfpx): Define as weak alias.
33974 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33975 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33976 Rename to __getpayload and define as weak alias.
33977 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33978 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33979 Rename to __roundeven and define as weak alias.
33980 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33981 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33982 Rename to __totalorder and define as weak alias.
33983 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33984 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33985 (totalordermag): Rename to __totalordermag and define as weak
33986 alias.
33987 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33988 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33989 macro.
33990 (__roundevenl): Likewise.
33991 (__totalorderl): Likewise.
33992 (__totalordermagl): Likewise
33993 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33994 __fromfpf128.
33995 (fromfpf128): Define as weak alias.
33996 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33997 __fromfpxf128.
33998 (fromfpxf128): Define as weak alias.
33999 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
34000 __setpayloadf128.
34001 (setpayloadf128): Define as weak alias.
34002 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
34003 __setpayloadsigf128.
34004 (setpayloadsigf128): Define as weak alias.
34005 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
34006 __ufromfpf128.
34007 (ufromfpf128): Define as weak alias.
34008 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
34009 __ufromfpxf128.
34010 (ufromfpxf128): Define as weak alias.
34011 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
34012 (fromfpf): Define as weak alias.
34013 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
34014 __fromfpxf.
34015 (fromfpxf): Define as weak alias.
34016 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
34017 __getpayloadf and define as weak alias.
34018 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
34019 __roundevenf and define as weak alias.
34020 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
34021 __setpayloadf.
34022 (setpayloadf): Define as weak alias.
34023 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
34024 __setpayloadsigf.
34025 (setpayloadsigf): Define as weak alias.
34026 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
34027 __totalorderf and define as weak alias.
34028 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
34029 Rename to __totalordermagf and define as weak alias.
34030 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
34031 __ufromfpf.
34032 (ufromfpf): Define as weak alias.
34033 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
34034 __ufromfpxf.
34035 (ufromfpxf): Define as weak alias.
34036 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
34037 __fromfpl.
34038 (fromfpl): Define as weak alias.
34039 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
34040 __fromfpxl.
34041 (fromfpxl): Define as weak alias.
34042 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
34043 to __getpayloadl and define as weak alias.
34044 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
34045 __roundevenl and define as weak alias.
34046 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
34047 __setpayloadl.
34048 (setpayloadl): Define as weak alias.
34049 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
34050 __setpayloadsigl.
34051 (setpayloadsigl): Define as weak alias.
34052 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
34053 to __totalorderl and define as weak alias.
34054 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
34055 Rename to __totalordermagl and define as weak alias.
34056 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
34057 __ufromfpl.
34058 (ufromfpl): Define as weak alias.
34059 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
34060 __ufromfpxl.
34061 (ufromfpxl): Define as weak alias.
34062 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
34063 __fromfpl.
34064 (fromfpl): Define as weak alias.
34065 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
34066 __fromfpxl.
34067 (fromfpxl): Define as weak alias.
34068 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
34069 Rename to __getpayloadl and define as weak alias.
34070 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
34071 to __roundevenl and define as weak alias. Call __roundeven
34072 instead of roundeven.
34073 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
34074 __setpayloadl.
34075 (setpayloadl): Define as weak alias.
34076 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
34077 __setpayloadsigl.
34078 (setpayloadsigl): Define as weak alias.
34079 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
34080 Rename to __totalorderl and define as weak alias.
34081 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
34082 Rename to __totalordermagl and define as weak alias.
34083 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
34084 __ufromfpl.
34085 (ufromfpl): Define as weak alias.
34086 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
34087 __ufromfpxl.
34088 (ufromfpxl): Define as weak alias.
34089 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
34090 __fromfpl.
34091 (fromfpl): Define as weak alias.
34092 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
34093 __fromfpxl.
34094 (fromfpxl): Define as weak alias.
34095 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
34096 __getpayloadl and define as weak alias.
34097 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
34098 __roundevenl and define as weak alias.
34099 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
34100 __setpayloadl.
34101 (setpayloadl): Define as weak alias.
34102 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34103 __setpayloadsigl.
34104 (setpayloadsigl): Define as weak alias.
34105 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34106 __totalorderl and define as weak alias.
34107 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34108 Rename to __totalordermagl and define as weak alias.
34109 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34110 __ufromfpl.
34111 (ufromfpl): Define as weak alias.
34112 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34113 __ufromfpxl.
34114 (ufromfpxl): Define as weak alias.
34115
34116 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34117
34118 * benchtests/bench-string.h (realloc_bufs): New function.
34119 (test_init): Call it.
34120 * benchtests/bench-memset-large.c (do_test): Likewise.
34121 * benchtests/bench-memset.c (do_test): Likewise.
34122
34123 * benchtests/bench-memset-large.c: Print output in JSON
34124 format.
34125 * benchtests/bench-memset.c: Likewise.
34126
34127 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34128
34129 [BZ #21084]
34130 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34131 * iconvdata/Makefile: Add IBM858.
34132 * iconvdata/gconv-modules: Likewise.
34133 * iconvdata/tst-tables.sh: Likewise.
34134 * iconvdata/ibm858.c: New file.
34135 * localedata/charmaps/IBM858: Likewise.
34136
34137 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
34138
34139 [BZ #22023]
34140 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34141 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34142
34143 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34144
34145 [BZ #22112]
34146 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34147 and add tel_int_fmt.
34148
34149 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34150
34151 * sysdeps/generic/libm-alias-float128.h: New file.
34152 * sysdeps/generic/math-type-macros-float128.h: Include
34153 <libm-alias-float128.h>.
34154 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34155
34156 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34157
34158 * sysdeps/generic/libm-alias-ldouble.h: New file.
34159 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34160 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34161 * sysdeps/generic/math-type-macros-ldouble.h: Include
34162 <libm-alias-ldouble.h>.
34163 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34164 libm_alias_ldouble.
34165
34166 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34167
34168 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34169 * math/w_exp_compat.c: ... here.
34170 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34171 * math/w_expf_compat.c: ... here.
34172 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34173 * math/w_expl_compat.c: ... here.
34174 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34175 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34176 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34177 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34178
34179 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34180
34181 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34182 redefine.
34183 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34184 macro.
34185 (ldexpl): Only define as compat symbol for libc, not libm.
34186 (scalbnl): Define as compat symbol for libc here.
34187 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34188 define for [IS_IN (libc)].
34189 (__ldexpl_2): Remove alias.
34190 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34191 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34192 name in long_double_symbol call.
34193 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34194 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34195 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34196 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34197 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34198 Remove macro.
34199 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34200 Define as compat symbol.
34201
34202 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34203
34204 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34205 * sysdeps/unix/sysv/linux/alpha/Makefile
34206 [$(subdir) = csu] (sysdep_routines): Remove rule.
34207
34208 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34209
34210 * sysdeps/generic/libm-alias-double.h: New file.
34211 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34212 * sysdeps/generic/math-type-macros-double.h: Include
34213 <libm-alias-double.h>.
34214 [declare_mgen_alias] (declare_mgen_alias): Define to use
34215 libm_alias_double.
34216 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34217 (M_LIBM_NEED_COMPAT): Remove macro.
34218 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34219 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34220 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34221 code.
34222 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34223 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34224 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34225 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34226 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34227 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34228 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34229 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34230 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34231 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34232 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34233 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34234 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34235 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34236 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34237 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34238 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34239 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34240 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34241 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34242 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34243 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34244 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34245 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34246 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34247 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34248 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34249 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34250 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34251 macro.
34252 (declare_mgen_alias): New macro.
34253 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34254 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34256 (M_LIBM_NEED_COMPAT): Remove macro.
34257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34258 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34259 <first-versions.h>.
34260 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34261 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34262
34263 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34264
34265 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34266 (declare_mgen_alias_2): Remove.
34267 * sysdeps/generic/math-type-macros-double.h
34268 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34269 Likewise.
34270 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34271 alias.
34272 (ldexp): Define with declare_mgen_alias.
34273 (scalbn): Likewise.
34274
34275 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34276
34277 * grp/initgroups.c: Include config.h.
34278 (DEFAULT_CONFIG): New macro.
34279 (internal_getgrouplist): Use DEFAULT_CONFIG.
34280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34281 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34282 (DEFAULT_DEFCONFIG): New macro.
34283 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34284 * nss/grp-lookup.c: Include config.h
34285 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34286 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34287 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34288 * manual/nss.texi: Update default values section.
34289
34290 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34291
34292 [BZ #21967]
34293 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34294 New.
34295 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34296 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34297 Handle MathVec_Prefer_No_AVX512.
34298 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34299 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34300 is set.
34301
34302 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34303
34304 * posix/sched_primax.c (__sched_get_priority_max): Add
34305 libc_hidden_def.
34306 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34307 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34308 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34309 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34310 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34311 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34312 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34313 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34314 Add aliases.
34315
34316 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34317
34318 * sysdeps/generic/libm-alias-float.h: New file.
34319 * sysdeps/generic/math-type-macros-float.h: Include
34320 <libm-alias-float.h>.
34321 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34322
34323 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34324
34325 [BZ #22093]
34326 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34327 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34328 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34329 (HWCAP_IMPORTANT): Likewise.
34330 (HWCAP_X86_64): New enum.
34331 (HWCAP_X86_AVX512_1): Updated.
34332 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34333 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34334 (modules-names): Add x86_64/tst-x86_64mod-1.
34335 (LDFLAGS-tst-x86_64mod-1.so): New.
34336 ($(objpfx)tst-x86_64-1): Likewise.
34337 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34338 (tst-x86_64-1-clean): Likewise.
34339 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34340 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34341
34342 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34343
34344 * po/sv.po: Update translations.
34345 * po/fr.po: Likewise.
34346
34347 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34348
34349 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34350 seconds.
34351 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34352 seconds.
34353 * elf/rtld-Rules: Fix $(error) use.
34354
34355 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34356
34357 [BZ #14925]
34358 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34359 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34360 * localedata/locales/bn_BD: “Bengali” was still used in some
34361 comments. Change it to “Bangla”.
34362
34363 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34364
34365 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34366
34367 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34368
34369 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34370 thunderx2t99p1 to list of cpu names.
34371 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34372 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34373
34374 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34375
34376 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34377 Use strcmp instead of tunable_is_name.
34378
34379 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34380
34381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34382 (F_GET_RW_HINT): New macro.
34383 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34384 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34385 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34386 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34387 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34388 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34389 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34390 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34391 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34392
34393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34394 (F_ADD_SEALS): New macro.
34395 [__USE_GNU] (F_GET_SEALS): Likewise.
34396 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34397 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34398 [__USE_GNU] (F_SEAL_GROW): Likewise.
34399 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34400
34401 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34402
34403 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34404 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34405 * posix/glob_internal.h (__glob_pattern_type):
34406 * posix/glob.c (glob):
34407 * posix/glob_pattern_p.c (__glob_pattern_p):
34408 Use them.
34409
34410 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34411 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34412 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34413 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34414 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34416 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34417 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34418 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34419 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34420 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34421 * sysdeps/wordsize-64/glob.c: Likewise.
34422 * sysdeps/wordsize-64/glob64.c: Likewise.
34423 * sysdeps/wordsize-64/globfree.c: Likewise.
34424 * sysdeps/wordsize-64/globfree64.c: Likewise.
34425 * sysdeps/unix/sysv/linux/glob.c: New file.
34426 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34427 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34428 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34429 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34430 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34431 adds !GLOB_NO_OLD_VERSION as an extra condition.
34432 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34433 using relative path instead of absolute one.
34434 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34435 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34436 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34437 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34438 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34439 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34440
34441 [BZ #1062]
34442 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34443 (glob): Use the same scratch buffer for both getlogin_r and
34444 getpwnam_r. Don’t require preallocation of the login name. This
34445 simplifies storage allocation, and corrects the handling of
34446 long login names.
34447
34448 [BZ #1062]
34449 * posix/glob.c (glob): Port recent patches to platforms
34450 lacking getpwnam_r.
34451 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34452 returns an error number rather than setting errno.
34453
34454 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34455 instead of GCC extension.
34456 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34457 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34458 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34459
34460 [BZ #866]
34461 [BZ #1062]
34462 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34463 * posix/bug-glob1.c: Remove file.
34464 * posix/tst-glob_symlinks.c: New file.
34465 * posix/glob.c (__lstat64): New macro.
34466 (is_dir): New function.
34467 (glob, glob_in_dir): Match symlinks even if they are dangling.
34468 (link_stat, link_exists_p): Remove. All uses removed.
34469
34470 [BZ #1062]
34471 [BZ #19971]
34472 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34473 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34474 All uses removed.
34475
34476 [BZ #1062]
34477 CVE-2017-15671
34478 * posix/Makefile (routines): Add globfree, globfree64, and
34479 glob_pattern_p.
34480 * posix/flexmember.h: New file.
34481 * posix/glob_internal.h: Likewise.
34482 * posix/glob_pattern_p.c: Likewise.
34483 * posix/globfree.c: Likewise.
34484 * posix/globfree64.c: Likewise.
34485 * sysdeps/gnu/globfree64.c: Likewise.
34486 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34487 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34488 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34489 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34490 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34491 * sysdeps/wordsize-64/globfree.c: Likewise.
34492 * sysdeps/wordsize-64/globfree64.c: Likewise.
34493 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34494 [NDEBUG): Remove comments.
34495 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34496 (dirent_type): New type. Use uint_fast8_t not
34497 uint8_t, as C99 does not require uint8_t.
34498 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34499 (struct readdir_result): Use dirent_type. Do not define skip_entry
34500 unless it is needed; this saves a byte on platforms lacking d_ino.
34501 (readdir_result_type, readdir_result_skip_entry):
34502 New functions, replacing ...
34503 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34504 these functions, which were removed. This makes the callers
34505 easier to read. All callers changed.
34506 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34507 (size_add_wrapv, glob_use_alloca): New static functions.
34508 (glob, glob_in_dir): Check for size_t overflow in several places,
34509 and fix some size_t checks that were not quite right.
34510 Remove old code using SHELL since Bash no longer
34511 uses this.
34512 (glob, prefix_array): Separate MS code better.
34513 (glob_in_dir): Remove old Amiga and VMS code.
34514 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34515 separate files.
34516 (glob_in_dir): Do not rely on undefined behavior in accessing
34517 struct members beyond their bounds. Use a flexible array member
34518 instead
34519 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34520 0/1. Caller changed.
34521 (glob): Fix memory leaks.
34522 * posix/glob64 (globfree64): Move to separate file.
34523 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34524 (globfree64): Remove hidden alias.
34525 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34526 oldglob.
34527 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34528 separate file.
34529 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34530 define.
34531 Move compat code to separate file.
34532 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34533 separate file.
34534
34535 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34536
34537 * resolv/tst-resolv-qtypes.c (domain): Changed to
34538 "const char domain[] =".
34539
34540 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34541
34542 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34543 version to 3.1.6.
34544
34545 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34546 (TCP_MD5SIG_EXT): Likewise.
34547 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34548 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34549 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34550
34551 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34552
34553 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34554
34555 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34556
34557 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34558
34559 [BZ #22100]
34560 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34561
34562 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34563
34564 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34565 before assuming that the file is empty. Avoid testing buffer content
34566 when nread == 0.
34567
34568 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34569
34570 [BZ #18858]
34571 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34572 Remove define.
34573 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34574 Likewise.
34575 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34576 Likewise.
34577 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34578 Likewise.
34579 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34580 Likewise.
34581 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34582 Likewise.
34583 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34584 Likewise.
34585
34586 2017-09-06 Florian Weimer <fweimer@redhat.com>
34587
34588 * malloc/dynarray_emplace_enlarge.c
34589 (__libc_dynarray_emplace_enlarge): Add missing else.
34590
34591 2017-09-06 Florian Weimer <fweimer@redhat.com>
34592
34593 [BZ #22096]
34594 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34595 case of failure to obtain the global conf object.
34596
34597 2017-09-06 Florian Weimer <fweimer@redhat.com>
34598
34599 [BZ #22095]
34600 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34601 dynarray allocation failure.
34602
34603 2017-09-06 Florian Weimer <fweimer@redhat.com>
34604
34605 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34606 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34607 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34608 New functions.
34609 (response): Call them. Add 'p', '6' flag processing.
34610 (test_reverse): New function.
34611 (test_get2_any): Call it.
34612 (test_no_inet6): Add 'p' test.
34613 (test_inet6): Likewise.
34614
34615 2017-09-06 Florian Weimer <fweimer@redhat.com>
34616
34617 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34618 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34619 the QNAME.
34620 (test_gai): Adjust query names. Add additional tests.
34621 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34622 test_get2. Adjust query names. Add additional tests.
34623 (test_no_inet6): New function, extracted from threadfunc.
34624 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34625 Add additional tests.
34626
34627 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34628
34629 [BZ #22070]
34630 * localedata/unicode-gen/utf8_gen.py: Set the width for
34631 characters with Prepended_Concatenation_Mark property to 1
34632 * localedata/charmaps/UTF-8: Updated using the improved script.
34633
34634 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34635
34636 [BZ #21750]
34637 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34638 use the range notation for all ranges of neighbouring characters
34639 with the same width.
34640
34641 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34642
34643 * sysdeps/generic/math-type-macros-double.h: Include
34644 <math-svid-compat.h>.
34645 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34646 * sysdeps/generic/math-type-macros-float.h: Include
34647 <math-svid-compat.h>.
34648 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34649 * sysdeps/generic/math-type-macros-ldouble.h: Include
34650 <math-svid-compat.h>.
34651 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34652 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34653 condition.
34654 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34655 * math/w_acosf_compat.c: Likewise.
34656 * math/w_acosh_compat.c: Likewise.
34657 * math/w_acoshf_compat.c: Likewise.
34658 * math/w_acoshl_compat.c: Likewise.
34659 * math/w_acosl_compat.c: Likewise.
34660 * math/w_asin_compat.c: Likewise.
34661 * math/w_asinf_compat.c: Likewise.
34662 * math/w_asinl_compat.c: Likewise.
34663 * math/w_atan2_compat.c: Likewise.
34664 * math/w_atan2f_compat.c: Likewise.
34665 * math/w_atan2l_compat.c: Likewise.
34666 * math/w_atanh_compat.c: Likewise.
34667 * math/w_atanhf_compat.c: Likewise.
34668 * math/w_atanhl_compat.c: Likewise.
34669 * math/w_cosh_compat.c: Likewise.
34670 * math/w_coshf_compat.c: Likewise.
34671 * math/w_coshl_compat.c: Likewise.
34672 * math/w_exp10_compat.c: Likewise.
34673 * math/w_exp10f_compat.c: Likewise.
34674 * math/w_exp10l_compat.c: Likewise.
34675 * math/w_exp2_compat.c: Likewise.
34676 * math/w_exp2f_compat.c: Likewise.
34677 * math/w_exp2l_compat.c: Likewise.
34678 * math/w_fmod_compat.c: Likewise.
34679 * math/w_fmodf_compat.c: Likewise.
34680 * math/w_fmodl_compat.c: Likewise.
34681 * math/w_hypot_compat.c: Likewise.
34682 * math/w_hypotf_compat.c: Likewise.
34683 * math/w_hypotl_compat.c: Likewise.
34684 * math/w_j0_compat.c: Likewise.
34685 * math/w_j0f_compat.c: Likewise.
34686 * math/w_j0l_compat.c: Likewise.
34687 * math/w_j1_compat.c: Likewise.
34688 * math/w_j1f_compat.c: Likewise.
34689 * math/w_j1l_compat.c: Likewise.
34690 * math/w_jn_compat.c: Likewise.
34691 * math/w_jnf_compat.c: Likewise.
34692 * math/w_jnl_compat.c: Likewise.
34693 * math/w_lgamma_r_compat.c: Likewise.
34694 * math/w_lgammaf_r_compat.c: Likewise.
34695 * math/w_lgammal_r_compat.c: Likewise.
34696 * math/w_log10_compat.c: Likewise.
34697 * math/w_log10f_compat.c: Likewise.
34698 * math/w_log10l_compat.c: Likewise.
34699 * math/w_log2_compat.c: Likewise.
34700 * math/w_log2f_compat.c: Likewise.
34701 * math/w_log2l_compat.c: Likewise.
34702 * math/w_log_compat.c: Likewise.
34703 * math/w_logf_compat.c: Likewise.
34704 * math/w_logl_compat.c: Likewise.
34705 * math/w_pow_compat.c: Likewise.
34706 * math/w_powf_compat.c: Likewise.
34707 * math/w_powl_compat.c: Likewise.
34708 * math/w_remainder_compat.c: Likewise.
34709 * math/w_remainderf_compat.c: Likewise.
34710 * math/w_remainderl_compat.c: Likewise.
34711 * math/w_sinh_compat.c: Likewise.
34712 * math/w_sinhf_compat.c: Likewise.
34713 * math/w_sinhl_compat.c: Likewise.
34714 * math/w_sqrt_compat.c: Likewise.
34715 * math/w_sqrtf_compat.c: Likewise.
34716 * math/w_sqrtl_compat.c: Likewise.
34717 * math/w_tgamma_compat.c: Likewise.
34718 * math/w_tgammaf_compat.c: Likewise.
34719 * math/w_tgammal_compat.c: Likewise.
34720 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34721 [LIBM_SVID_COMPAT].
34722 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34723 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34724 [LIBM_SVID_COMPAT].
34725 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34726 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34727 [LIBM_SVID_COMPAT].
34728 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34729 * sysdeps/i386/fpu/w_sqrt.c: New file.
34730 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34731 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34732 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34733 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34734 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34735 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34736 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34737 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34738 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34739 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34740 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34741 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34742 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34743 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34744 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34745 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34746 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34747 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34748 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34749 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34750 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34751 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34752 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34753 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34754 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34755 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34756 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34757 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34758 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34759 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34760 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34761 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34762 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34763 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34764 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34765 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34766 * sysdeps/ia64/fpu/w_log.c: Likewise.
34767 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34768 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34769 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34770 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34771 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34772 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34773 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34774 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34775 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34776 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34777 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34778 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34779 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34780 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34781 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34782 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34783 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34784 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34785 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34786 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34787 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34788 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34789 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34790 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34791 [LIBM_SVID_COMPAT].
34792 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34793 * sysdeps/ieee754/k_standard.c: Likewise.
34794 * sysdeps/ieee754/k_standardf.c: Likewise.
34795 * sysdeps/ieee754/k_standardl.c: Likewise.
34796 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34797 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34798 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34799 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34800 long_double_symbol call on [LIBM_SVID_COMPAT].
34801 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34802 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34803 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34804 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34805 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34806 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34807 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34808 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34809 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34810 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34811 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34812 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34813 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34814 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34815 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34816 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34817 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34818 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34819 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34820 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34821 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34822 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34823
34824 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34825
34826 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34827 * malloc/tst-mallocstate.c: Convert from test-skeleton
34828 to test-driver. Ifdef code using TEST_COMPAT macro.
34829 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34830 * math/test-matherr.c: Likewise.
34831
34832 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34833
34834 [BZ #22086]
34835 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34836 comparing word with byte-swapped constant.
34837
34838 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34839
34840 [BZ #20498]
34841 * locale/iso-639.def: add Miskito.
34842 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34843 * localedata/locales/miq_NI: New file.
34844
34845 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34846
34847 [BZ #18822]
34848 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34849 (__mkdir): Likewise.
34850 * io/chmod.c (__chmod): Add libc_hidden_def.
34851 * io/mkdir.c (__mkdir): Likewise.
34852 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34853 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34854 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34855 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34856
34857 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34858
34859 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34860 version to 4.13.
34861
34862 [BZ #22082]
34863 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34864 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34865
34866 2017-09-04 Florian Weimer <fweimer@redhat.com>
34867
34868 * math/math.h: Issue warning if log is defined.
34869
34870 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34871
34872 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34873 kernel version to 4.13.
34874
34875 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34876
34877 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34878 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34879 parameter.
34880 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34881 just <bits/types.h>.
34882 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34883 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34884 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34885 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34886 * misc/preadv2.c: Include <errno.h>.
34887 * misc/preadv64v2.c: Include <errno.h>.
34888 * misc/pwritev2.c: Include <errno.h>.
34889 * misc/pwritev64v2.c: Include <errno.h>.
34890 * sysdeps/posix/preadv2.c: Include <errno.h>.
34891 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34892 Fix <unistd.h> inclusion.
34893 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34894 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34895 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34896 __strtoul_internal): New functions.
34897 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34898 * sysdeps/posix/system.c: Include <sigsetops.h>.
34899 * sysdeps/mach/hurd/i386/Makefile
34900 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34901 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34902 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34903 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34904 __feraiseexcept_renamed to feraiseexcept instead of
34905 __GI_feraiseexcept.
34906 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34907 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34908 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34909 RWF_NOWAIT): Define to 0 if undefined already.
34910 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34911 boils down to 0.
34912 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34913 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34914
34915 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34916
34917 * manual/math.texi (pow10): Do not document.
34918 (pow10f): Likewise.
34919 (pow10l): Likewise.
34920 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34921 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34922 * math/libm-test-exp10.inc (pow10_test): Remove.
34923 (do_test): Do not call pow10.
34924 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34925 [NO_LONG_DOUBLE] (pow10l): Likewise.
34926 * math/w_exp10f_compat.c (pow10f): Likewise.
34927 * math/w_exp10l_compat.c (pow10l): Likewise.
34928 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34929 (pow10): Make into compat symbol.
34930 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34931 (pow10f): Make into compat symbol.
34932 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34933 (pow10l): Make into compat symbol.
34934 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34935 pow10.
34936 (CFLAGS-nldbl-pow10.c): Remove variable..
34937 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34938 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34939 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34940 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34941 Undefine and redefine.
34942 (pow10l): Make into compat symbol.
34943 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34944 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34945 * sysdeps/arm/libm-test-ulps: Likewise.
34946 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34947 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34948 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34949 * sysdeps/microblaze/libm-test-ulps: Likewise.
34950 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34951 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34952 * sysdeps/nios2/libm-test-ulps: Likewise.
34953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34954 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34955 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34956 * sysdeps/sh/libm-test-ulps: Likewise.
34957 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34958 * sysdeps/tile/libm-test-ulps: Likewise.
34959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34960
34961 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34962
34963 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34964
34965 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34966
34967 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34968 "../ChangeLog.old/ChangeLog.8".
34969 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34970 "../ChangeLog.old/ChangeLog.14".
34971
34972 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34973
34974 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34975 Threads Library.
34976
34977 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34978
34979 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34980
34981 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34982
34983 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34984 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34985
34986 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34987
34988 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34989 32 atexit handlers.
34990
34991 2017-09-01 Zack Weinberg <zackw@panix.com>
34992
34993 * math/math.h (HUGE_VAL): Improve commentary.
34994
34995 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34996 Andreas Schwab <schwab@suse.de>
34997
34998 [BZ #21530]
34999 * include/stdio.h (__gen_tempfd): New function.
35000 * stdio-common/Makefile (routines): Add gentempfd.
35001 * stdio-common/gentempfd.c: New file.
35002 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
35003 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
35004 unnamed file first.
35005
35006 2017-09-01 Florian Weimer <fweimer@redhat.com>
35007
35008 [BZ #21915]
35009 [BZ #21922]
35010 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
35011 result to determine success or failure, not the errno value.
35012 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
35013 (tst-nss-files-hosts-erange): Link with -ldl.
35014 * nss/tst-nss-files-hosts-erange.c: New file.
35015 * nss/tst-resolv-basic.c (response): Handle nodata.example.
35016 (do_test): Add NO_DATA tests.
35017 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
35018 (do_test): Call it.
35019
35020 2017-09-01 Florian Weimer <fweimer@redhat.com>
35021
35022 [BZ #21922]
35023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
35024 coming from gethostbyname2_r.
35025
35026 2017-09-01 Florian Weimer <fweimer@redhat.com>
35027
35028 * support/namespace.h (struct support_chroot_configuration): Add
35029 hosts, host_conf.
35030 (struct support_chroot): Add path_hosts, path_host_conf.
35031 * support/support_chroot.c (write_file): New function.
35032 (support_chroot_create): Call it to process /etc/resolv.conf,
35033 /etc/hosts, /etc/host.conf.
35034 (support_chroot_free): Update.
35035
35036 2017-09-01 Florian Weimer <fweimer@redhat.com>
35037
35038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
35039 status indicates it is set.
35040
35041 2017-09-01 Florian Weimer <fweimer@redhat.com>
35042
35043 [BZ #20532]
35044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
35045 function lookup failures more reliable.
35046
35047 2017-09-01 Florian Weimer <fweimer@redhat.com>
35048
35049 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
35050 (getcanonname): Likewise.
35051 (gaih_inet): Likewise.
35052
35053 2017-09-01 Florian Weimer <fweimer@redhat.com>
35054
35055 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
35056 (getcanonname): Likewise.
35057 (gaih_inet): Likewise.
35058
35059 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35060 Richard Henderson <rth@twiddle.net>
35061
35062 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
35063 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
35064 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
35065 (IREG_SIZE, OREG_SIZE): New macros.
35066 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
35067 (IREG_SIZE, OREG_SIZE): New macros.
35068 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
35069 (IREG_SIZE): New macro.
35070 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
35071 (IREG_SIZE): New macro.
35072 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
35073 New includes.
35074 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
35075 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35076 (__CONCATX): Handle exceptions correctly on large values that may
35077 set FE_INVALID.
35078 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
35079 Initialize if not already set.
35080 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35081
35082 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35083
35084 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
35085 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
35086 Likewise.
35087 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
35088 Likewise.
35089 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
35090 Likewise.
35091 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
35092 Likewise.
35093 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
35094 Likewise.
35095 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
35096 Likewise.
35097 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
35098 Likewise.
35099 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
35100 (NO_CANCELLATION): Likewise.
35101 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35102 Likewise.
35103 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35104 Likewise.
35105 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35106 Likewise.
35107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35108 (NO_CANCELLATION): Likewise.
35109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35110 (NO_CANCELLATION): Likewise.
35111 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35112 Likewise
35113 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35114 Likewise.
35115 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35116 Likewise.
35117 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35118 Likewise.
35119 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35120 hidden prototype.
35121 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35122 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35123
35124 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35125
35126 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35127 in resolver call.
35128
35129 2017-08-31 Florian Weimer <fweimer@redhat.com>
35130
35131 * include/libc-symbols.h (internal_function): Remove.
35132
35133 2017-08-31 Florian Weimer <fweimer@redhat.com>
35134
35135 * stdlib/fmtmsg.c (internal_addseverity): Remove
35136 internal_function.
35137
35138 2017-08-31 Florian Weimer <fweimer@redhat.com>
35139
35140 * stdio-common/printf_fp.c (group_number): Remove
35141 internal_function.
35142 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35143
35144 2017-08-31 Florian Weimer <fweimer@redhat.com>
35145
35146 * posix/fnmatch.c (internal_function): Remove definition.
35147 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35148 * posix/regcomp.c (peek_token, init_word_char)
35149 (duplicate_node_closure, fetch_token, peek_token)
35150 (peek_token_bracket, build_range_exp, build_collating_symbol):
35151 Likewise.
35152 * posix/regex_internal.c (re_string_construct_common)
35153 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35154 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35155 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35156 (re_string_translate_buffer, re_string_reconstruct)
35157 (re_string_peek_byte_case, re_string_fetch_byte_case)
35158 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35159 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35160 (re_node_set_add_intersect, re_node_set_init_union)
35161 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35162 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35163 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35164 (re_acquire_state_context): Likewise.
35165 * posix/regex_internal.h (internal_function): Remove definition.
35166 (re_string_realloc_buffers, build_wcs_buffer)
35167 (build_wcs_upper_buffer, build_upper_buffer)
35168 (re_string_translate_buffer, re_string_context_at)
35169 (re_string_char_size_at, re_string_wchar_at)
35170 (re_string_elem_size_at): Likewise.
35171 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35172 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35173 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35174 (re_search_internal, re_search_2_stub, re_search_stub)
35175 (re_copy_regs, prune_impossible_nodes, check_matching)
35176 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35177 (free_fail_stack_return, sift_states_iter_mb)
35178 (sift_states_backward, build_sifted_states)
35179 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35180 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35181 (check_subexp_limits, sift_states_bkref, merge_state_array)
35182 (find_recover_state, transit_state, merge_state_with_log)
35183 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35184 (transit_state_mb, transit_state_bkref, get_subexp)
35185 (get_subexp_sub, find_subexp_node, check_arrival)
35186 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35187 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35188 (check_node_accept_bytes, find_collation_sequence_value)
35189 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35190 (acquire_init_state_context, check_halt_node_context)
35191 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35192 (sub_epsilon_src_nodes): Likewise.
35193 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35194 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35195 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35196 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35197 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35198 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35199 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35200 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35201 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35202 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35203 (PREADV): Likewise.
35204 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35205 (PREADV): Likewise.
35206 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35207 (PWRITEV): Likewise.
35208 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35209 (PWRITEV): Likewise.
35210 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35211 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35212
35213 2017-08-31 Florian Weimer <fweimer@redhat.com>
35214
35215 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35216 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35217 Remove internal_function.
35218 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35219 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35220 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35221 (__deallocate_stack, __libc_pthread_init)
35222 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35223 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35224 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35225 Likewise.
35226 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35227 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35228 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35229 Likewise.
35230 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35231 (__pthread_mutex_unlock_usercnt): Likewise.
35232
35233 2017-08-31 Florian Weimer <fweimer@redhat.com>
35234
35235 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35236 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35237 (fts_safe_changedir): Remove internal_function.
35238 * io/ftw.c (internal_function): Remove definition.
35239 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35240
35241 2017-08-31 Florian Weimer <fweimer@redhat.com>
35242
35243 * inet/deadline.c (__deadline_current_time)
35244 (__deadline_from_timeval, __deadline_to_ms): Remove
35245 internal_function.
35246 * inet/getnameinfo.c (nrl_domainname): Likewise.
35247 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35248 * inet/inet6_option.c (add_pad): Likewise.
35249 * inet/net-internal.h (__deadline_current_time)
35250 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35251 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35252 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35253 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35254
35255 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35256
35257 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35258 include <bits/nan.h>.
35259 * math/Makefile (headers): Remove bits/nan.h.
35260 * bits/nan.h: Remove.
35261 * sysdeps/ieee754/bits/nan.h: Likewise.
35262 * sysdeps/mips/bits/nan.h: Likewise.
35263
35264 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35265 not include <bits/inf.h>.
35266 * math/Makefile (headers): Remove bits/inf.h.
35267 * bits/inf.h: Remove.
35268 * sysdeps/ieee754/bits/inf.h: Likewise.
35269
35270 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35271 bits/huge_vall.h or bits/huge_val_flt128.h.
35272 (HUGE_VAL): Define directly here.
35273 [__USE_ISOC99] (HUGE_VALF): Likewise.
35274 [__USE_ISOC99] (HUGE_VALL): Likewise.
35275 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35276 (HUGE_VAL_F128): Likewise.
35277 * math/Makefile (headers): Remove bits/huge_val.h,
35278 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35279 * bits/huge_val.h: Remove.
35280 * bits/huge_val_flt128.h: Likewise.
35281 * bits/huge_valf.h: Likewise.
35282 * bits/huge_vall.h: Likewise.
35283 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35284 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35285 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35286 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35287 * sysdeps/sh/bits/huge_val.h: Likewise.
35288 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35289 * sysdeps/x86/bits/huge_vall.h: Likewise.
35290
35291 2017-08-31 Florian Weimer <fweimer@redhat.com>
35292
35293 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35294 internal_function.
35295 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35296 Likewise.
35297 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35298 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35299 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35300 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35301 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35302 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35303 * elf/dl-libc.c (dlerror_run): Likewise.
35304 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35305 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35306 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35307 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35308 Likewise.
35309 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35310 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35311 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35312 * elf/dl-profile.c (_dl_start_profile): Likewise.
35313 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35314 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35315 Likewise.
35316 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35317 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35318 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35319 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35320 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35321 (_dl_allocate_tls_storage): Likewise.
35322 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35323 (_dl_check_all_versions): Likewise.
35324 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35325 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35326 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35327 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35328 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35329 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35330 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35331 internal_function from __dl_start.
35332 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35333 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35334 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35335 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35336 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35337 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35338 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35339 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35340 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35341 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35342 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35343 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35344 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35345 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35346 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35347 Likewise.
35348 (struct rtld_global_ro): Remove internal_function from the
35349 _dl_lookup_symbol_x member.
35350 (_dl_symbol_value): Remove. No longer defined anywhere.
35351 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35352 internal_function.
35353 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35354 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35355 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35356 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35357 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35358 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35359 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35360 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35361 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35362 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35363 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35364 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35365
35366 2017-08-31 Florian Weimer <fweimer@redhat.com>
35367
35368 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35369 Remove internal_function.
35370 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35371 Likewise.
35372 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35373 Likewise.
35374
35375 2017-08-31 Florian Weimer <fweimer@redhat.com>
35376
35377 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35378 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35379 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35380
35381 2017-08-31 Florian Weimer <fweimer@redhat.com>
35382
35383 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35384 (__gai_enqueue_request): Remove internal_function.
35385 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35386 (__gai_remove_request, __gai_notify, __gai_notify_only)
35387 (__gai_sigqueue): Likewise.
35388 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35389 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35390 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35391 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35392 Likewise.
35393
35394 2017-08-31 Florian Weimer <fweimer@redhat.com>
35395
35396 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35397 * include/dirent.h (__opendirat, __getdents, __getdents64)
35398 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35399 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35400 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35401 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35402 Likewise.
35403 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35404
35405 2017-08-31 Florian Weimer <fweimer@redhat.com>
35406
35407 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35408 internal_function.
35409 (GETCWD_RETURN_TYPE): Likewise.
35410
35411 2017-08-31 Florian Weimer <fweimer@redhat.com>
35412
35413 * include/time.h (__tz_compute, __strptime_internal): Remove
35414 internal_function.
35415 * time/strptime_l.c (__strptime_internal): Likewise.
35416 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35417
35418 2017-08-31 Florian Weimer <fweimer@redhat.com>
35419
35420 * iconv/gconv.c (__gconv): Remove internal_function.
35421 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35422 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35423 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35424 (__gconv_release_cache): Likewise.
35425 * iconv/gconv_close.c (__gconv_close): Likewise.
35426 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35427 (read_conf_file, __gconv_get_path): Likewise.
35428 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35429 (__gconv_release_step, gen_steps, increment_counter)
35430 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35431 (__gconv_close_transform, free_modules_db): Likewise.
35432 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35433 Likewise.
35434 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35435 (__gconv_find_transform, __gconv_lookup_cache)
35436 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35437 (__gconv_close_transform, __gconv_release_cache)
35438 (__gconv_loaded_object, __gconv_release_shlib)
35439 (__gconv_compare_alias): Likewise.
35440 * iconv/gconv_open.c (__gconv_open): Likewise.
35441 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35442 * iconv/iconvconfig.c (add_module): Likewise.
35443 * intl/dcigettext.c (plural_lookup, guess_category_value)
35444 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35445 * intl/eval-plural.h (plural_eval): Likewise.
35446 * intl/finddomain.c (_nl_find_domain): Likewise.
35447 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35448 (_nl_load_domain, _nl_find_msg): Likewise.
35449 (internal_function): Remove definition.
35450 * intl/loadinfo.h (internal_function): Likewise.
35451 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35452 internal_function.
35453 * intl/localealias.c (internal_function): Remove definition.
35454 (read_alias_file): Remove internal_function.
35455 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35456 * intl/plural-exp.h (internal_function): Remove definition.
35457 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35458 internal_function.
35459 * intl/plural.c: Regenerate.
35460 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35461 * locale/coll-lookup.c (__collidx_table_lookup)
35462 (__collseq_table_lookup): Likewise.
35463 * locale/coll-lookup.h (__collidx_table_lookup)
35464 (__collseq_table_lookup): Likewise.
35465 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35466 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35467 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35468 (_nl_unload_locale): Likewise.
35469 * locale/localeinfo.h (struct __locale_data): Remove
35470 internal_function from cleanup member.
35471 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35472 (_nl_remove_locale, _nl_load_locale_from_archive)
35473 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35474 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35475 (_nl_cleanup_time): Remove internal_function.
35476 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35477 (_nl_parse_alt_digit): Likewise.
35478 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35479 (_nl_select_era_entry): Likewise.
35480 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35481 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35482 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35483 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35484 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35485
35486 2017-08-31 Florian Weimer <fweimer@redhat.com>
35487
35488 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35489 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35490 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35491 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35492 Likewise.
35493 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35494 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35495 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35496 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35497 Likewise.
35498 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35499
35500 2017-08-31 Florian Weimer <fweimer@redhat.com>
35501
35502 * misc/getttyent.c (skip, value): Remove internal_function.
35503 * misc/syslog.c (openlog_internal): Likewise.
35504 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35505
35506 2017-08-31 Florian Weimer <fweimer@redhat.com>
35507
35508 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35509 (__nss_rewrite_field): Remove internal_function.
35510 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35511 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35512 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35513 * nss/nsswitch.c (nss_parse_file, nss_getline)
35514 (nss_parse_service_list, nss_new_service): Likewise.
35515 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35516 * nss/valid_field.c (__nss_valid_field): Likewise.
35517 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35518
35519 2017-08-31 Florian Weimer <fweimer@redhat.com>
35520
35521 * malloc/arena.c (__malloc_fork_lock_parent)
35522 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35523 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35524 internal_function from defintions.
35525 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35526 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35527 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35528 internal_function from declarations.
35529 * malloc/malloc.c (internal_function): Do not define.
35530 (mem2mem_check): Remove internal_function from declaration.
35531 (munmap_chunk, mremap_chunk): Remove internal_function.
35532 * malloc/mtrace.c (tr_where): Likewise.
35533
35534 2017-08-31 Florian Weimer <fweimer@redhat.com>
35535
35536 * include/rpc/pmap_clnt.h (__get_socket): Remove
35537 internal_function.
35538 * sunrpc/auth_des.c (synchronize): Likewise.
35539 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35540 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35541 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35542 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35543 (key_call): Likewise.
35544 * sunrpc/pm_getport.c (__get_socket): Likewise.
35545 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35546 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35547 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35548 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35549 (invalidate): Likewise.
35550 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35551 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35552 (set_input_fragment, get_input_bytes): Likewise.
35553
35554 2017-08-31 Florian Weimer <fweimer@redhat.com>
35555
35556 * malloc/malloc.c (_int_free): Remove locked variable and related
35557 asserts.
35558
35559 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35560
35561 [BZ #22051]
35562 * Makerules (build-module-helper-objlist): Filter out
35563 $(elf-objpfx)sofini.os.
35564 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35565 needed.
35566
35567 2017-08-31 Florian Weimer <fweimer@redhat.com>
35568
35569 * libio/fcloseall.c: Assume weak_alias is defined.
35570 * libio/feof.c: Likewise.
35571 * libio/fileno.c: Likewise.
35572 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35573 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35574 definitions.
35575 (_IO_file_open): Call __open directly.
35576 (_IO_new_file_sync): Assume ESPIPE is defined.
35577 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35578 (_IO_new_file_write): Call __write directly.
35579 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35580 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35581 * libio/genops.c: Assume _LIBC is defined.
35582 (save_for_backup): Remove internal_function.
35583 * libio/getc.c: Assume weak_alias is defined.
35584 * libio/getwc.c: Likewise.
35585 * libio/iofclose.c: Assume _LIBC is defined.
35586 * libio/iofdopen.c: Likewise.
35587 (_IO_fcntl): Remove macro definition.
35588 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35589 Call __fcntl directly.
35590 * libio/iofflush.c: Assume weak_alias is defined.
35591 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35592 defined.
35593 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35594 * libio/iofgets.c: Likewise.
35595 * libio/iofopen.c: Assume _LIBC is defined.
35596 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35597 * libio/iofputs.c: Assume weak_alias is defined.
35598 * libio/iofread.c: Likewise.
35599 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35600 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35601 * libio/ioftell.c: Assume weak_alias is defined.
35602 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35603 * libio/iofwide.c: Assume _LIBC is defined.
35604 (_IO_fwide): Drop SHARED conditional because it is implied by
35605 SHLIB_COMPAT.
35606 * libio/iofwrite.c: Assume weak_alias is defined.
35607 * libio/iogetdelim.c: Likewise.
35608 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35609 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35610 (_IO_getwline): Call __wmemcpy directly.
35611 * libio/iopopen.c: Assume _LIBC is defined.
35612 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35613 (_IO_close): Remove macro definitions.
35614 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35615 _exit directly.
35616 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35617 directly.
35618 * libio/ioputs.c: Assume weak_alias is defined.
35619 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35620 * libio/iosetbuffer.c: Assume weak_alias is defined.
35621 * libio/iosetvbuf.c: Likewise.
35622 * libio/ioungetc.c: Likewise.
35623 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35624 libc_hidden_def, libc_hidden_weak, NULL are defined.
35625 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35626 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35627 defined.
35628 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35629 definitions.
35630 (_IO_old_file_init_internal): Drop SHARED conditional because it
35631 is implied by SHLIB_COMPAT.
35632 (_IO_old_file_fopen): Call __open directly.
35633 (_IO_old_file_sync): Assume ESPIPE is defined.
35634 (_IO_old_file_write): Call __write directly.
35635 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35636 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35637 Call __fcntl directly.
35638 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35639 (_IO_old_fgetpos): Assume EIO is defined.
35640 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35641 (_IO_old_fgetpos64): Assume EIO is defined.
35642 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35643 (_IO_old_fsetpos): Assume EIO is defined.
35644 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35645 (_IO_old_fsetpos64): Assume EIO is defined.
35646 * libio/oldiopopen.c: Assume _LIBC is defined.
35647 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35648 (_IO_close): Remove macro definitions.
35649 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35650 directly.
35651 (_IO_old_proc_close): Call __close, __waitpid directly.
35652 * libio/put.c: Assume weak_alias is defined.
35653 * libio/stdfiles.c: Assume _LIBC is defined.
35654 * libio/stdio.c: Likewise.
35655 * libio/wfileops.c: Likewise.
35656 (_IO_wfile_sync): Assume ESPIPE is defined.
35657 * libio/wgenops.c: Assume _LIBC is defined.
35658 (save_for_wbackup): Remove internal_function.
35659
35660 2017-08-31 Florian Weimer <fweimer@redhat.com>
35661
35662 * malloc/malloc.c (top_check): Change return type to void. Remove
35663 internal_function.
35664 * malloc/hooks.c (top_check): Likewise.
35665 (malloc_check, realloc_check, memalign_check): Adjust.
35666
35667 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35668
35669 [BZ #21457]
35670 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35671 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35672 sigcontext and namespace requirements.
35673 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35674 * sysdeps/m68k/sys/ucontext.h: Likewise.
35675 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35676 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35677 <bits/sigcontext.h>.
35678 (__ctx): Define earlier.
35679 (mcontext_t): Define structure contents rather than using struct
35680 sigcontext.
35681 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35682 __glibc_reserved1 instead of __reserved.
35683 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35684 <bits/sigcontext.h>.
35685 (__ctx): Define earlier.
35686 (mcontext_t): Define structure contents rather than using struct
35687 sigcontext.
35688 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35689 mcontext_t instead of struct sigcontext.
35690 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35691 <bits/sigcontext.h>.
35692 (__ctx): Define earlier.
35693 (mcontext_t): Define structure contents rather than using struct
35694 sigcontext.
35695 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35696 <bits/sigcontext.h>.
35697 (__ctx): Define earlier.
35698 (mcontext_t): Define structure contents rather than using struct
35699 sigcontext.
35700 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35701 mcontext_t instead of struct sigcontext.
35702 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35703 mcontext_t instead of struct sigcontext.
35704 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35705 <bits/sigcontext.h>.
35706 (__ctx): New macro.
35707 (struct __ia64_fpreg_mcontext): New type.
35708 (mcontext_t): Define structure contents rather than using struct
35709 sigcontext.
35710 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35711 (uc_sigmask): Define using __ctx.
35712 (uc_stack): Likewise.
35713 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35714 <bits/sigcontext.h>.
35715 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35716 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35717 <bits/sigcontext.h>.
35718 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35719 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35720 <bits/sigcontext.h>.
35721 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35722 <bits/sigcontext.h>.
35723 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35724 <bits/sigcontext.h>.
35725 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35726 <bits/sigcontext.h>.
35727 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35728 <bits/sigcontext.h>.
35729 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35730 <bits/sigcontext.h>.
35731 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35732 <bits/sigcontext.h>.
35733 (__ctx): Define earlier.
35734 (mcontext_t): Define structure contents rather than using struct
35735 sigcontext.
35736 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35737 <bits/sigcontext.h>. Include <bits/types.h>.
35738 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35739 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35740 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35741 (test-xfail-UNIX98/signal.h/conform): Likewise.
35742 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35743 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35744 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35745 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35746 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35747 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35748 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35749 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35750 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35751
35752 2017-08-30 Florian Weimer <fweimer@redhat.com>
35753
35754 * malloc/dynarray_emplace_enlarge.c
35755 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35756 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35757 * malloc/tst-dynarray.c (test_long_overflow): New function.
35758 (do_test): Call it.
35759
35760 2017-08-30 Florian Weimer <fweimer@redhat.com>
35761
35762 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35763 (set_arena_corrupt): Remove definitions.
35764 (mtrim): Do not check for corrupt arena.
35765 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35766 Likewise.
35767
35768 2017-08-30 Florian Weimer <fweimer@redhat.com>
35769
35770 [BZ #21754]
35771 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35772 check_action.
35773 (ptmalloc_init): Do not set or use check_action.
35774 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35775 call to malloc_printerr. Remove return statement.
35776 (free_check): Likewise. Remove arena unlock.
35777 (top_check): Update comment. Adjust call to malloc_printerr.
35778 Remove heap repair code.
35779 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35780 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35781 (sysmalloc): Adjust call to malloc_printerr.
35782 (munmap_chunk, __libc_realloc): Likewise. Remove return
35783 statement.
35784 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35785 Remove errout label and corresponding gotos.
35786 (_int_free): Likewise. Remove arena unlock.
35787 (do_set_mallopt_check): Do not set check_action.
35788 (malloc_printerr): Adjust parameter list. Do not mark arena as
35789 corrupt.
35790 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35791 comment.
35792 * manual/probes.texi (Memory Allocation Probes): Remove
35793 memory_mallopt_check_action.
35794
35795 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35796
35797 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35798 Use pointer to uint64_t instead of long int for sp.
35799
35800 2017-08-30 Florian Weimer <fweimer@redhat.com>
35801
35802 [BZ #21754]
35803 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35804 without printing a backtrace. Do not leak any information in the
35805 error message.
35806 * manual/memory.texi (Heap Consistency Checking): Update.
35807 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35808
35809 2017-08-30 Florian Weimer <fweimer@redhat.com>
35810
35811 Do not scale NPTL tests with available number of CPUs.
35812 * nptl/tst-cond16.c (count): Set to constant value of 8.
35813 * nptl/tst-cond18.c (count): Likewise.
35814
35815 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35816
35817 [BZ #22035]
35818 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35819 Define to take a second argument that is a macro that
35820 concatentates a suffix, not the suffix itself.
35821 (__CONCAT_d): New macro.
35822 (__CONCAT_f): Likewise.
35823 (__CONCAT_l): Likewise.
35824
35825 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35826
35827 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35828 by child.
35829
35830 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35831 Aurelien Jarno <aurelien@aurel32.net>
35832 Maciej W. Rozycki <macro@imgtec.com>
35833
35834 [BZ #21956]
35835 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35836 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35837 `mips16-syscall6' and `mips16-syscall7'.
35838 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35839 (CFLAGS-mips16-syscall7.c): Remove.
35840 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35841 Remove `__mips16_syscall5', `__mips16_syscall6' and
35842 `__mips16_syscall7'.
35843 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35844 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35845 `__mips_syscall_return'.
35846 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35847 (__mips16_syscall1): Likewise.
35848 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35849 (__mips16_syscall2): Likewise.
35850 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35851 (__mips16_syscall3): Likewise.
35852 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35853 (__mips16_syscall4): Likewise.
35854 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35855 Remove.
35856 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35857 Remove.
35858 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35859 Remove.
35860 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35861 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35862 `__mips16_syscall5'. Remove prototype.
35863 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35864 `__mips16_syscall6'. Remove prototype.
35865 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35866 `__mips16_syscall7'. Remove prototype.
35867 (__nomips16, __mips16_syscall_return): Move to...
35868 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35869 (__nomips16, __mips_syscall_return): ... here.
35870 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35871 `__mips16_syscall_return' to `__mips_syscall_return'.
35872 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35873 `internal_syscall##nr'.
35874 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35875 `internal_syscall##nr'.
35876 (FORCE_FRAME_POINTER): Remove.
35877 (__mips_syscall5): New prototype.
35878 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35879 (__mips_syscall6): New prototype.
35880 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35881 (__mips_syscall7): New prototype.
35882 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35883 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35884 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35885 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35886 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35887 (sysdep_routines): Add libc-do-syscall.
35888 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35889 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35890
35891 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35892
35893 [BZ #21672]
35894 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35895 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35896 (advise_stack_range): New function.
35897 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35898 stack non required to advise_stack_range at allocatestack.c
35899
35900 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35901
35902 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35903
35904 2017-08-29 Florian Weimer <fweimer@redhat.com>
35905
35906 [BZ #22026]
35907 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35908 __end_fct. Mangle __end_fct after setting it to NULL.
35909 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35910 (modules-names, modules-names-tests): Add
35911 tst-gconv-init-failure-mod.
35912 (gconv-modules): New target.
35913 (tst-gconv-init-failure-mod.so): Link against libsupport.
35914 (tst-gconv-init-failure): Depend on gconv-modules,
35915 tst-gconv-init-failure-mod.so.
35916 * iconv/tst-gconv-init-failure-mod.c: New file.
35917 * iconv/tst-gconv-init-failure.c: Likewise.
35918 * iconv/test-gconv-modules: Likewise.
35919
35920 2017-08-29 Florian Weimer <fweimer@redhat.com>
35921
35922 [BZ #22025]
35923 * iconv/gconv_db.c (free_derivation): Remove redundant
35924 parentheses.
35925 (gen_steps): Unconditionally mangle __btowc_fct after
35926 initialization.
35927 (increment_counter): Likewise. Do not call init_fct for internal
35928 modules.
35929
35930 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35931
35932 [BZ #22028]
35933 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35934 (_MSUF_): Remove macro.
35935 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35936 Likewise.
35937 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35938 (__REDIRFROM_X): New macro.
35939 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35940 Likewise.
35941 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35942 (__REDIRTO_X): Likewise.
35943 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35944 arguments.
35945 (__MATH_REDIRCALL_2): Likewise.
35946 (__MATH_REDIRCALL_INTERNAL): Likewise.
35947 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35948 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35949 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35950 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35951 * math/test-finite-macros.c: New file.
35952 * math/Makefile (tests): Add test-finite-macros.
35953 (CFLAGS-test-finite-macros.c): New variable.
35954
35955 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35956 Jeff Law <law@redhat.com>
35957
35958 [BZ #22025]
35959 Mangle NULL pointers in iconv/gconv.
35960 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35961 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35962 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35963 is non-NULL before demangling the end_fct. Check for NULL
35964 end_fct after demangling.
35965 (__gconv_release_step): Demangle the end_fct before checking
35966 it for NULL. Remove assert on __shlibc_handle != NULL.
35967 (gen_steps): Don't check btowc_fct for NULL before mangling.
35968 Demangle init_fct before checking for NULL.
35969 (increment_counter): Likewise.
35970 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35971 end_fct for NULL before mangling.
35972 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35973 for NULL.
35974
35975 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35976
35977 [BZ #21971]
35978 * locale/iso-639.def: add Morisyen.
35979
35980 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35981
35982 [BZ #21930]
35983 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35984 (iszero): New C++ implementation that does not use
35985 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35986 signaling nans are enabled, since __builtin_types_compatible_p
35987 is a C-only feature.
35988 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35989 defined, include ieee754_float128.h for access to the union and
35990 member ieee854_float128.ieee.
35991 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35992 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35993 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35994 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35995 options of test-math-zero on powerpc64le.
35996
35997 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35998
35999 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
36000 Change double to float.
36001
36002 2017-08-28 Joseph Myers <joseph@codesourcery.com>
36003
36004 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
36005 unconditional.
36006 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
36007 conditional code; define contents only for [LIBM_SVID_COMPAT].
36008
36009 2017-08-28 Florian Weimer <fweimer@redhat.com>
36010
36011 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
36012 (abi-lp64_be-options): Remove.
36013 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
36014 (abi-hard-options): Likewise.
36015 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
36016 (abi-o32_hard-options, abi-o32_soft_2008-options)
36017 (abi-o32_hard_2008-options, abi-n32_soft-options)
36018 (abi-n32_hard-options, abi-n32_soft_2008-options)
36019 (abi-n32_hard_2008-options, abi-n64_soft-options)
36020 (abi-n64_hard-options, abi-n64_soft_2008-options)
36021 (abi-n64_hard_2008-options): Likewise.
36022 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
36023 (abi-64-v1-options, abi-64-v2-options): Likewise.
36024 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
36025 (abi-64-options): Likewise.
36026 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
36027 (abi-64-options): Likewise.
36028 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
36029 (abi-64-options): Likewise.
36030 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
36031 (abi-64-options, abi-x32-options): Likewise.
36032
36033 2017-08-28 Florian Weimer <fweimer@redhat.com>
36034
36035 Store supported list of SYS_* system calls in the source tree.
36036 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
36037 (bits/syscall.h): Generate from list file.
36038 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
36039 [$(subdir) = misc] (tests): Add tst-syscall-list.
36040 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
36041 [$(subdir) = misc] (tst-syscall-list-macros.list)
36042 [$(subdir) = misc] (tst-syscall-list-nr.list)
36043 (tst-syscall-list-sys.list): Helper targets for new
36044 tst-syscall-list test.
36045 [$(subdir) = misc] (tst-syscall-list.out): Run test script
36046 tst-syscall-list.sh.
36047 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
36048 target. Do not include bits/syscall.d.
36049 [$(subdir) = misc] (generated): Do not update.
36050 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
36051 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
36052 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
36053 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
36054
36055 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36056
36057 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
36058 (tst-cxa_atexit, tst-on_exit): Likewise.
36059 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
36060 tst-cxa_atexit, and tst-on_exit.
36061 * stdlib/tst-atexit-common.c: New file.
36062 * stdlib/tst-atexit.c: New file.
36063 * stdlib/tst-at_quick_exit.c: New file.
36064 * stdlib/tst-cxa_atexit.c: New file.
36065 * stdlib/tst-on_exit.c: New file.
36066
36067 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36068
36069 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
36070 * mach/stack_chk_fail_local.c: New file.
36071 * hurd/stack_chk_fail_local.c: New file.
36072 * mach/Machrules ($(interface-library)-routines): Add
36073 stack_chk_fail_local.
36074 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
36075 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
36076 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
36077 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
36078 * hurd/Makefile (CFLAGS-hurdstartup.o,
36079 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
36080
36081 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
36082
36083 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36084 (index_cpu_*, index_arch_*): Removed.
36085
36086 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
36087
36088 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
36089 Use uint64_t instead of unsigned long.
36090
36091 2017-08-25 Joseph Myers <joseph@codesourcery.com>
36092
36093 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
36094 [__HAVE_DISTINCT_FLOAT128].
36095
36096 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
36097 of <bits/math-finite.h>.
36098 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
36099 inclusion of <bits/math-finite.h>.
36100 * math/bits/math-finite.h (__REDIRTO_X): Do not define
36101 conditionally on [__MATH_DECLARING_LDOUBLE && defined
36102 __NO_LONG_DOUBLE_MATH].
36103 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36104 (__MATH_REDIRCALL_2): Likewise.
36105 (__MATH_REDIRCALL_INTERNAL): Likewise.
36106 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36107 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36108 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36109
36110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36111 Remove file.
36112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36113 Likewise.
36114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36115 Likewise.
36116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36117 Likewise.
36118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36119 Likewise.
36120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36121 Likewise.
36122 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36123 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36124 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36125 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36127 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36128 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36129 w_sqrtf_compat-ppc32.
36130
36131 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36132
36133 * math/math.h [defined __cplusplus] (issignaling): In the long
36134 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36135 is not defined. Call __issignaling, otherwise.
36136
36137 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36138
36139 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36140 syscall definitions and replace __builtin_expect with __glibc_likely.
36141 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36142 syscall.
36143 (SYSCALL_CANCELLABLE): Removedefinition
36144 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36145 definition.
36146 (PSEUDO_END): Likewise.
36147 [IS_IN (libpthread)] (CENABLE): Likewise.
36148 [IS_IN (libpthread)] (CDISABLE): Likewise.
36149 [IS_IN (libc)] (CENABLE): Likewise.
36150 [IS_IN (libc)] (CENABLE): Likewise.
36151 [IS_IN (librt)] (CDISABLE): Likewise.
36152 [IS_IN (librt)] (CDISABLE): Likewise.
36153 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36154 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36155 definition.
36156 (PSEUDO_END): Likewise.
36157 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36158 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36159 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36160 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36161 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36162 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36163 (CENABLE): Likewise.
36164 (CDISABLE): Likewise.
36165 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36166 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
36167 defintion.
36168 (PSEUDO_END): Likewise.
36169 [IS_IN (libpthread)] (CENABLE): Likewise.
36170 [IS_IN (libpthread)] (CDISABLE): Likewise.
36171 [IS_IN (libc)] (CENABLE): Likewise.
36172 [IS_IN (libc)] (CENABLE): Likewise.
36173 [IS_IN (librt)] (CDISABLE): Likewise.
36174 [IS_IN (librt)] (CDISABLE): Likewise.
36175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36176 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
36177 definition.
36178 (PSEUDO_END): Likewise.
36179 [IS_IN (libpthread)] (CENABLE): Likewise.
36180 [IS_IN (libpthread)] (CDISABLE): Likewise.
36181 [IS_IN (libc)] (CENABLE): Likewise.
36182 [IS_IN (libc)] (CENABLE): Likewise.
36183 [IS_IN (librt)] (CDISABLE): Likewise.
36184 [IS_IN (librt)] (CDISABLE): Likewise.
36185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36186 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
36187 definition.
36188 (PSEUDO_END): Likewise.
36189 [IS_IN (libpthread)] (CENABLE): Likewise.
36190 [IS_IN (libpthread)] (CDISABLE): Likewise.
36191 [IS_IN (libc)] (CENABLE): Likewise.
36192 [IS_IN (libc)] (CENABLE): Likewise.
36193 [IS_IN (librt)] (CDISABLE): Likewise.
36194 [IS_IN (librt)] (CDISABLE): Likewise.
36195 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36196 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36197 definition.
36198 (PSEUDO_END): Likewise.
36199 [IS_IN (libpthread)] (CENABLE): Likewise.
36200 [IS_IN (libpthread)] (CDISABLE): Likewise.
36201 [IS_IN (libc)] (CENABLE): Likewise.
36202 [IS_IN (libc)] (CENABLE): Likewise.
36203 [IS_IN (librt)] (CDISABLE): Likewise.
36204 [IS_IN (librt)] (CDISABLE): Likewise.
36205 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36206 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36207 definition.
36208 (PSEUDO_END): Likewise.
36209 [IS_IN (libpthread)] (CENABLE): Likewise.
36210 [IS_IN (libpthread)] (CDISABLE): Likewise.
36211 [IS_IN (libc)] (CENABLE): Likewise.
36212 [IS_IN (libc)] (CENABLE): Likewise.
36213 [IS_IN (librt)] (CDISABLE): Likewise.
36214 [IS_IN (librt)] (CDISABLE): Likewise.
36215 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36216 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36217 definition.
36218 (PSEUDO_END): Likewise.
36219 [IS_IN (libpthread)] (CENABLE): Likewise.
36220 [IS_IN (libpthread)] (CDISABLE): Likewise.
36221 [IS_IN (libc)] (CENABLE): Likewise.
36222 [IS_IN (libc)] (CENABLE): Likewise.
36223 [IS_IN (librt)] (CDISABLE): Likewise.
36224 [IS_IN (librt)] (CDISABLE): Likewise.
36225 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36226 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36227 Remove definition.
36228 (PSEUDO_END): Likewise.
36229 [IS_IN (libpthread)] (CENABLE): Likewise.
36230 [IS_IN (libpthread)] (CDISABLE): Likewise.
36231 [IS_IN (libc)] (CENABLE): Likewise.
36232 [IS_IN (libc)] (CENABLE): Likewise.
36233 [IS_IN (librt)] (CDISABLE): Likewise.
36234 [IS_IN (librt)] (CDISABLE): Likewise.
36235 (SINGLE_THREAD_P): Likewise.
36236 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36237 definition.
36238 (PSEUDO_END): Likewise.
36239 [IS_IN (libpthread)] (CENABLE): Likewise.
36240 [IS_IN (libpthread)] (CDISABLE): Likewise.
36241 [IS_IN (libc)] (CENABLE): Likewise.
36242 [IS_IN (libc)] (CENABLE): Likewise.
36243 [IS_IN (librt)] (CDISABLE): Likewise.
36244 [IS_IN (librt)] (CDISABLE): Likewise.
36245 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36246 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36247 definition.
36248 (PSEUDO_END): Likewise.
36249 [IS_IN (libpthread)] (CENABLE): Likewise.
36250 [IS_IN (libpthread)] (CDISABLE): Likewise.
36251 [IS_IN (libc)] (CENABLE): Likewise.
36252 [IS_IN (libc)] (CENABLE): Likewise.
36253 [IS_IN (librt)] (CDISABLE): Likewise.
36254 [IS_IN (librt)] (CDISABLE): Likewise.
36255 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36256 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36257 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36258 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36260 definition.
36261 (PSEUDO_END): Likewise.
36262 [IS_IN (libpthread)] (CENABLE): Likewise.
36263 [IS_IN (libpthread)] (CDISABLE): Likewise.
36264 [IS_IN (libc)] (CENABLE): Likewise.
36265 [IS_IN (libc)] (CENABLE): Likewise.
36266 [IS_IN (librt)] (CDISABLE): Likewise.
36267 [IS_IN (librt)] (CDISABLE): Likewise.
36268 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36270 definition.
36271 (PSEUDO_END): Likewise.
36272 [IS_IN (libpthread)] (CENABLE): Likewise.
36273 [IS_IN (libpthread)] (CDISABLE): Likewise.
36274 [IS_IN (libc)] (CENABLE): Likewise.
36275 [IS_IN (libc)] (CENABLE): Likewise.
36276 [IS_IN (librt)] (CDISABLE): Likewise.
36277 [IS_IN (librt)] (CDISABLE): Likewise.
36278 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36279 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36280 definition.
36281 (PSEUDO_END): Likewise.
36282 [IS_IN (libpthread)] (CENABLE): Likewise.
36283 [IS_IN (libpthread)] (CDISABLE): Likewise.
36284 [IS_IN (libc)] (CENABLE): Likewise.
36285 [IS_IN (libc)] (CENABLE): Likewise.
36286 [IS_IN (librt)] (CDISABLE): Likewise.
36287 [IS_IN (librt)] (CDISABLE): Likewise.
36288 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36291 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36292 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36293 definition.
36294 (PSEUDO_END): Likewise.
36295 [IS_IN (libpthread)] (CENABLE): Likewise.
36296 [IS_IN (libpthread)] (CDISABLE): Likewise.
36297 [IS_IN (libc)] (CENABLE): Likewise.
36298 [IS_IN (libc)] (CENABLE): Likewise.
36299 [IS_IN (librt)] (CDISABLE): Likewise.
36300 [IS_IN (librt)] (CDISABLE): Likewise.
36301 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36302 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36303 definition.
36304 (PSEUDO_END): Likewise.
36305 [IS_IN (libpthread)] (CENABLE): Likewise.
36306 [IS_IN (libpthread)] (CDISABLE): Likewise.
36307 [IS_IN (libc)] (CENABLE): Likewise.
36308 [IS_IN (libc)] (CENABLE): Likewise.
36309 [IS_IN (librt)] (CDISABLE): Likewise.
36310 [IS_IN (librt)] (CDISABLE): Likewise.
36311 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36312
36313 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36314
36315 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36316
36317 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36318
36319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36320
36321 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36322
36323 [BZ #21982]
36324 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36325 middle and outer with size_t instead of int. Repleace %d and
36326 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36327 "MAX (outer, nchars - 64)" to support unsigned outer and
36328 nchars. Also exit loop when outer == 0.
36329
36330 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36331
36332 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36333 * include/signal.h (__sigsuspend_nocancel): Likewise.
36334 * include/time.h (__nanosleep_nocancel): Likewise.
36335 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36336 * login/utmp_file.c: Include non cancellable syscall header.
36337 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36338 prototype.
36339
36340 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36341
36342 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36343 .byte sequences with AVX512F instructions.
36344 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36345 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36346 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36347 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36348 Likewise.
36349 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36350 Likewise.
36351
36352 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36353 Steve Ellcey <sellcey@cavium.com>
36354
36355 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36356 Use PTR_REG macro in cmp instruction.
36357
36358 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36359
36360 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36361 Change the return type of the ifunc resolver to match the return
36362 type of the target function.
36363
36364 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36365
36366 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36367 (preadv64): Likewise.
36368 (pwrite64(: Likewise.
36369 (pwritev64): Likewise.
36370
36371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36372 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36373 (LOAD_ARGS_0): Likewise.
36374 (LOAD_ARGS_1): Likewise.
36375 (LOAD_ARGS_2): Likewise.
36376 (LOAD_ARGS_3): Likewise.
36377 (LOAD_ARGS_4): Likewise.
36378 (LOAD_ARGS_5): Likewise.
36379 (LOAD_ARGS_6): Likewise.
36380 (LOAD_REGS_0): Likewise.
36381 (LOAD_REGS_1): Likewise.
36382 (LOAD_REGS_2): Likewise.
36383 (LOAD_REGS_3): Likewise.
36384 (LOAD_REGS_4): Likewise.
36385 (LOAD_REGS_5): Likewise.
36386 (LOAD_REGS_6): Likewise.
36387 (ASM_ARGS_0): Likewise.
36388 (ASM_ARGS_1): Likewise.
36389 (ASM_ARGS_2): Likewise.
36390 (ASM_ARGS_3): Likewise.
36391 (ASM_ARGS_4): Likewise.
36392 (ASM_ARGS_5): Likewise.
36393 (ASM_ARGS_6): Likewise.
36394 (LOAD_ARGS_TYPES_1): Likewise.
36395 (LOAD_ARGS_TYPES_2): Likewise.
36396 (LOAD_ARGS_TYPES_3): Likewise.
36397 (LOAD_ARGS_TYPES_4): Likewise.
36398 (LOAD_ARGS_TYPES_5): Likewise.
36399 (LOAD_ARGS_TYPES_6): Likewise.
36400 (LOAD_REGS_TYPES_1): Likewise.
36401 (LOAD_REGS_TYPES_2): Likewise.
36402 (LOAD_REGS_TYPES_3): Likewise.
36403 (LOAD_REGS_TYPES_4): Likewise.
36404 (LOAD_REGS_TYPES_5): Likewise.
36405 (LOAD_REGS_TYPES_6): Likewise.
36406 (TYPEFY): New define.
36407 (ARGIFY): Likewise.
36408 (internal_syscall0): Likewise.
36409 (internal_syscall1): Likewise.
36410 (internal_syscall2): Likewise.
36411 (internal_syscall3): Likewise.
36412 (internal_syscall4): Likewise.
36413 (internal_syscall5): Likewise.
36414 (internal_syscall6): Likewise.
36415 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36416 (INTERNAL_SYSCALL_NCS): Remove define.
36417 (internal_syscall1): Add define.
36418
36419 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36420
36421 * math/w_remainder_compat.c: Remove duplicate inclusion of
36422 math-svid-compat.h.
36423 * math/w_remainderf_compat.c: Likewise.
36424 * math/w_remainderl_compat.c: Likewise.
36425
36426 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36427
36428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36429
36430 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36431
36432 [BZ #21684]
36433 * math/tgmath.h (__floating_type): Simplify definitions.
36434 (__real_integer_type): New macro.
36435 (__complex_integer_type): Likewise.
36436 (__expr_is_real): Likewise.
36437 (__tgmath_real_type_sub): Update comment to describe handling of
36438 complex types.
36439 (__tgmath_complex_type_sub): New macro.
36440 (__tgmath_complex_type): Likewise.
36441 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36442 (__TGMATH_CF128): Use __expr_is_real.
36443 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36444 __expr_is_real.
36445 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36446 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36447 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36448 integer types.
36449
36450 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36451
36452 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36453 macro.
36454 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36455 alias.
36456 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36457 Likewise.
36458
36459 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36460 nanosleep_not_cancel with __nanosleep_nocancel.
36461 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36462 (__nanosleep_nocancel): New macro.
36463 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36464 function.
36465 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36466 macro.
36467 (__nanosleep_nocancel): New prototype.
36468
36469 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36470 pause_not_cancel with __pause_nocancel.
36471 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36472 (__pause_nocancel): New macro.
36473 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36474 macro.
36475 (__pause_nocancel): New prototype.
36476 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36477
36478 2017-08-22 Martin Sebor <msebor@redhat.com>
36479
36480 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36481 to return a pointer to the same type as the target function.
36482
36483 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36484
36485 [BZ #18822]
36486 [BZ #21986]
36487 * include/printf.h (__printf_fphex): Add attribute_hidden.
36488 (__guess_grouping): New prototype.
36489 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36490 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36491 libc_hidden_proto and libc_hidden_def.
36492 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36493 (__vstrfmon_l): Remove the third argument passed to
36494 __guess_grouping.
36495
36496 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36497
36498 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36499 definition for issignaling that does not rely on __MATH_TG,
36500 since __MATH_TG uses __builtin_types_compatible_p, which is only
36501 available in C mode.
36502 (CFLAGS-test-math-issignaling.cc): New variable.
36503 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36504 * math/test-math-issignaling.cc: New test for C++ implementation
36505 of type-generic issignaling.
36506 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36507 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36508 options of test-math-issignaling on powerpc64le.
36509
36510 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36511
36512 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36513 building libc.a.
36514 (hidden_proto): Likewise.
36515 (hidden_tls_proto): Likewise.
36516 (__hidden_proto): Likewise.
36517
36518 2017-08-22 Florian Weimer <fweimer@redhat.com>
36519
36520 math: Statically link tests of internal functionality.
36521 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36522 atest-exp2.
36523 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36524 (gmp-objs): Remove assignment.
36525 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36526
36527 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36528
36529 [BZ #21987]
36530 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36531 and copy to ...
36532 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36533 ... here.
36534 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36535 ... and here.
36536
36537 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36538 variable definitions above inclusion of ../Rules.
36539
36540 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36541
36542 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36543 case calling __builtin_unreachable.
36544
36545 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36546
36547 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36548 __waitpid_nocancel.
36549 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36550 (__waitpid_nocancel): New macro.
36551 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36552 macro.
36553 (__waitpid_nocancel): Replace macro with a function.
36554 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36555 function.
36556
36557 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36558 __fcntl_nocancel.
36559 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36560 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36561
36562 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36563 __writev_nocancel_nostatus.
36564 (write_call_graph): Likewise.
36565 (write_bb_counts): Likewise.
36566 * resolv/herror.c (herror): Likewise.
36567 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36568 macro.
36569 (__writev_nocancel_nostatus): New macro.
36570 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36571 Remove macro.
36572 (__writev_nocancel_nostatus): New function.
36573
36574 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36575
36576 Revert:
36577 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36578
36579 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36580 building libc.a.
36581 (hidden_proto): Likewise.
36582 (hidden_tls_proto): Likewise.
36583 (__hidden_proto): Likewise.
36584
36585 [BZ #21973]
36586 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36587 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36589 Likewise.
36590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36591 Likewise.
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36593 Likewise.
36594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36595 Likewise.
36596 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36598 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36599 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36600 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36601 GLIBC_2.0 sqrtl symbol.
36602
36603 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36604 [__USE_MISC] (_LIB_VERSION): Likewise.
36605 [__USE_MISC] (struct exception): Likewise.
36606 [__USE_MISC] (matherr): Likewise.
36607 [__USE_MISC] (DOMAIN): Likewise.
36608 [__USE_MISC] (SING): Likewise.
36609 [__USE_MISC] (OVERFLOW): Likewise.
36610 [__USE_MISC] (UNDERFLOW): Likewise.
36611 [__USE_MISC] (TLOSS): Likewise.
36612 [__USE_MISC] (PLOSS): Likewise.
36613 [__USE_MISC] (HUGE): Likewise.
36614 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36615 * math/math-svid-compat.h: New file.
36616 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36617 and matherrl.
36618 * include/math.h [!_ISOMAC] (__matherr): Remove.
36619 * manual/arith.texi (FP Exceptions): Do not document matherr.
36620 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36621 (tests-internal): New variable.
36622 (install-lib): Do not add libieee.a.
36623 (non-lib.a): Likewise.
36624 (extra-objs): Do not add libieee.a and ieee-math.o.
36625 (CPPFLAGS-s_lib_version.c): Remove variable.
36626 ($(objpfx)libieee.a): Remove rule.
36627 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36628 * math/ieee-math.c: Remove.
36629 * math/libm-test-support.c (matherr): Remove.
36630 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36631 and license notices. Include <math-svid-compat.h> and
36632 <shlib-compat.h>.
36633 (matherr): Undefine as macro. Use compat_symbol_reference.
36634 (_LIB_VERSION): Likewise.
36635 * math/test-matherr-2.c: New file.
36636 * math/test-matherr-3.c: Likewise.
36637 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36638 declaration.
36639 (__kernel_standard_f): Likewise.
36640 (__kernel_standard_l): Likewise.
36641 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36642 <math_private.h>. Include <math-svid-compat.h>.
36643 (_LIB_VERSION): Undefine as macro.
36644 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36645 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36646 [LIBM_SVID_COMPAT], use compat_symbol.
36647 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36648 <math_private.h>. Include <math-svid-compat.h>.
36649 (matherr): Undefine as macro.
36650 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36651 compat_symbol.
36652 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36653 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36654 compat_symbol_reference.
36655 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36656 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36657 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36658 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36659 (MATHERR_D): Remove declaration.
36660 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36661 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36662 [LIBM_BUILD] (pmatherrf): Likewise.
36663 [LIBM_BUILD] (pmatherr): Likewise.
36664 [LIBM_BUILD] (pmatherrl): Likewise.
36665 (DOMAIN): Likewise.
36666 (SING): Likewise.
36667 (OVERFLOW): Likewise.
36668 (UNDERFLOW): Likewise.
36669 (TLOSS): Likewise.
36670 (PLOSS): Likewise.
36671 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36672 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36673 compat_symbol.
36674 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36675 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36676 compat_symbol.
36677 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36678 * math/w_acos_compat.c: Likewise.
36679 * math/w_acosf_compat.c: Likewise.
36680 * math/w_acosh_compat.c: Likewise.
36681 * math/w_acoshf_compat.c: Likewise.
36682 * math/w_acoshl_compat.c: Likewise.
36683 * math/w_acosl_compat.c: Likewise.
36684 * math/w_asin_compat.c: Likewise.
36685 * math/w_asinf_compat.c: Likewise.
36686 * math/w_asinl_compat.c: Likewise.
36687 * math/w_atan2_compat.c: Likewise.
36688 * math/w_atan2f_compat.c: Likewise.
36689 * math/w_atan2l_compat.c: Likewise.
36690 * math/w_atanh_compat.c: Likewise.
36691 * math/w_atanhf_compat.c: Likewise.
36692 * math/w_atanhl_compat.c: Likewise.
36693 * math/w_cosh_compat.c: Likewise.
36694 * math/w_coshf_compat.c: Likewise.
36695 * math/w_coshl_compat.c: Likewise.
36696 * math/w_exp10_compat.c: Likewise.
36697 * math/w_exp10f_compat.c: Likewise.
36698 * math/w_exp10l_compat.c: Likewise.
36699 * math/w_exp2_compat.c: Likewise.
36700 * math/w_exp2f_compat.c: Likewise.
36701 * math/w_exp2l_compat.c: Likewise.
36702 * math/w_fmod_compat.c: Likewise.
36703 * math/w_fmodf_compat.c: Likewise.
36704 * math/w_fmodl_compat.c: Likewise.
36705 * math/w_hypot_compat.c: Likewise.
36706 * math/w_hypotf_compat.c: Likewise.
36707 * math/w_hypotl_compat.c: Likewise.
36708 * math/w_j0_compat.c: Likewise.
36709 * math/w_j0f_compat.c: Likewise.
36710 * math/w_j0l_compat.c: Likewise.
36711 * math/w_j1_compat.c: Likewise.
36712 * math/w_j1f_compat.c: Likewise.
36713 * math/w_j1l_compat.c: Likewise.
36714 * math/w_jn_compat.c: Likewise.
36715 * math/w_jnf_compat.c: Likewise.
36716 * math/w_jnl_compat.c: Likewise.
36717 * math/w_lgamma_main.c: Likewise.
36718 * math/w_lgamma_r_compat.c: Likewise.
36719 * math/w_lgammaf_main.c: Likewise.
36720 * math/w_lgammaf_r_compat.c: Likewise.
36721 * math/w_lgammal_main.c: Likewise.
36722 * math/w_lgammal_r_compat.c: Likewise.
36723 * math/w_log10_compat.c: Likewise.
36724 * math/w_log10f_compat.c: Likewise.
36725 * math/w_log10l_compat.c: Likewise.
36726 * math/w_log2_compat.c: Likewise.
36727 * math/w_log2f_compat.c: Likewise.
36728 * math/w_log2l_compat.c: Likewise.
36729 * math/w_log_compat.c: Likewise.
36730 * math/w_logf_compat.c: Likewise.
36731 * math/w_logl_compat.c: Likewise.
36732 * math/w_pow_compat.c: Likewise.
36733 * math/w_powf_compat.c: Likewise.
36734 * math/w_powl_compat.c: Likewise.
36735 * math/w_remainder_compat.c: Likewise.
36736 * math/w_remainderf_compat.c: Likewise.
36737 * math/w_remainderl_compat.c: Likewise.
36738 * math/w_scalb_compat.c: Likewise.
36739 * math/w_scalbf_compat.c: Likewise.
36740 * math/w_scalbl_compat.c: Likewise.
36741 * math/w_sinh_compat.c: Likewise.
36742 * math/w_sinhf_compat.c: Likewise.
36743 * math/w_sinhl_compat.c: Likewise.
36744 * math/w_sqrt_compat.c: Likewise.
36745 * math/w_sqrtf_compat.c: Likewise.
36746 * math/w_sqrtl_compat.c: Likewise.
36747 * math/w_tgamma_compat.c: Likewise.
36748 * math/w_tgammaf_compat.c: Likewise.
36749 * math/w_tgammal_compat.c: Likewise.
36750 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36751 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36752 * sysdeps/ieee754/k_standard.c: Likewise.
36753 * sysdeps/ieee754/k_standardf.c: Likewise.
36754 * sysdeps/ieee754/k_standardl.c: Likewise.
36755 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36756 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36757 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36762 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36763 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36765 Likewise.
36766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36767 Likewise.
36768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36769 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36770 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36771 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36772
36773 2017-08-21 Florian Weimer <fweimer@redhat.com>
36774
36775 [BZ #21864]
36776 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36777 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36778 Move before inclusion of ../Rules.
36779
36780 2017-08-21 Florian Weimer <fweimer@redhat.com>
36781
36782 [BZ #21972]
36783 * assert/assert.h (assert): Use static_cast (bool) for C++.
36784 Use the ternary operator in the warning branch for GNU C.
36785 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36786 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36787 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36788 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36789 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36790
36791 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36792
36793 [BZ #18822]
36794 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36795 (__syscall_clock_gettime): Add attribute_hidden.
36796 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36797 (__start_context): Likewise.
36798
36799 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36800
36801 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36802 building libc.a.
36803 (hidden_proto): Likewise.
36804 (hidden_tls_proto): Likewise.
36805 (__hidden_proto): Likewise.
36806
36807 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36808
36809 * include/libc-symbols.h (attribute_hidden): Enable hidden
36810 visibility in libc.a compiled with PIE.
36811
36812 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36813
36814 [BZ #18822]
36815 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36816 Add attribute_hidden.
36817
36818 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36819
36820 [BZ #21864]
36821 * Makerules (all-nonlib): Add $(others-extras).
36822 * catgets/Makefile (others-extras): New.
36823 * elf/Makefile (others-extras): Likewise.
36824 * nss/Makefile (others-extras): Likewise.
36825
36826 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36827
36828 [BZ #18822]
36829 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36830 * elf/dl-open.c: Include <libc-internal.h>.
36831 (__libc_multiple_libcs): Removed.
36832 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36833 <hp-timing.h>.
36834 * include/libc-internal.h (__libc_multiple_libcs): New.
36835 * misc/sbrk.c: Include <libc-internal.h>.
36836 (__libc_multiple_libcs): Removed.
36837
36838 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36839
36840 [BZ #18822]
36841 * grp/initgroups.c (__nss_group_database): Removed.
36842 (__nss_initgroups_database): Likewise.
36843 * nscd/gai.c (__nss_hosts_database): Likewise.
36844 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36845 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36846 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36847 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36848 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36849 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36850 attribute_hidden.
36851 * nss/nsswitch.c (__nss_database_custom): Define only if
36852 USE_NSCD is defined.
36853 (__nss_configure_lookup): Use __nss_database_custom only if
36854 USE_NSCD is defined.
36855 * nss/nsswitch.h (__nss_database_custom): Declare only if
36856 USE_NSCD is defined. Add attribute_hidden.
36857 (__nss_setent): Add attribute_hidden.
36858 (__nss_endent): Likewise.
36859 (__nss_getent_r): Likewise.
36860 (__nss_getent): Likewise.
36861 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36862
36863 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36864
36865 [BZ #18822]
36866 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36867 libc_hidden_proto and libc_hidden_def.
36868
36869 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36870
36871 [BZ #18822]
36872 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36873 Add libc_hidden_proto.
36874 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36875 Add libc_hidden_def.
36876
36877 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36878
36879 [BZ #21974]
36880 * gmon/Makefile (routines): Remove bb_init_func and
36881 bb_exit_func.
36882 (elide-routines.os): Removed.
36883 * gmon/bb_exit_func.c: Likewise.
36884 * gmon/bb_init_func.c: Likewise.
36885 * include/sys/gmon.h (__bb): Likewise.
36886 (__bb_init_func): Likewise.
36887 (__bb_exit_func): Likewise.
36888 * sysdeps/alpha/bb_init_func.S: Likewise.
36889
36890 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36891
36892 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36893 * include/setjmp.h (____longjmp_chk): Here. Add
36894 attribute_hidden.
36895
36896 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36897
36898 [BZ #18822]
36899 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36900 attribute_hidden.
36901 (__strspn_sse2): Likewise.
36902
36903 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36904
36905 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36906 (close_not_cancel_no_status): Likewise.
36907 (__close_nocancel): New macro.
36908 (__close_nocancel_nostatus): Likewise.
36909 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36910 macro.
36911 (close_not_cancel): Likewise.
36912 (close_not_cancel_no_status): Likewise.
36913 (__close_nocancel): New prototype.
36914 (__close_nocancel_nostatus): New function.
36915 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36916 * catgets/open_catalog.c (__open_catalog): Replace
36917 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36918 * gmon/gmon.c (write_gmon): Likewise.
36919 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36920 * intl/loadmsgcat.c (close): Likewise.
36921 * io/ftw.c (open_dir_stream): Likewise.
36922 (ftw_startup): Likewise.
36923 * libio/fileops.c (_IO_file_open): Likewise.
36924 (_IO_file_close_mmap): Likewise.
36925 (_IO_file_close): Likewise.
36926 * libio/iopopen.c (_IO_dup2): Likewise.
36927 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36928 * locale/loadlocale.c (_nl_load_locale): Likewise.
36929 * login/utmp_file.c (pututline_file): Likewise.
36930 (endutent_file): Likewise.
36931 * misc/daemon.c (daemon): Likewise.
36932 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36933 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36934 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36935 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36937 * nscd/nscd_helper.c (open_socket): Likewise.
36938 (__nscd_open_socket): Likewise.
36939 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36940 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36941 (__nscd_innetgr): Likewise.
36942 * nss/nss_db/db-open.c (internal_setent): Likewise.
36943 * resolv/res-close.c (__res_iclose): Likewise.
36944 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36945 * sysdeps/posix/closedir.c (__closedir): Likewise.
36946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36947 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36948 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36949 (opendir_tail): Likewise.
36950 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36951 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36952 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36953 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36954 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36955 (gethostid): Likewise.
36956 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36957 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36958 Likewise.
36959 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36960 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36961 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36962 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36963 Likewise.
36964 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36965 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36966 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36967 Likewise.
36968 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36969 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36970 Likewise.
36971 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36972 Likewise.
36973 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36975 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36976 __close_nocancel.
36977
36978 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36979 (openat_not_cancel_3): Likewise.
36980 (openat64_not_cancel_3): Likewise).
36981 (openat_not_cancel_3): Likewise).
36982 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36983 macro.
36984 (openat_not_cancel_3): Likewise.
36985 (openat64_not_cancel): Likewise.
36986 (openat64_not_cancel_3): Likewise.
36987 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36988 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36989 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36990 __open{64}_nocancel.
36991 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36992 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36993 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36994
36995 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36996
36997 [BZ #18822]
36998 * include/argz.h (__argz_create_sep): New function prototype.
36999 (__argz_append): Likewise.
37000 (__argz_add): Likewise.
37001 (__argz_add_sep): Likewise.
37002 (__argz_delete): Likewise.
37003 (__argz_insert): Likewise.
37004 (__argz_replace): Likewise.
37005 * string/argz.h (__argz_create_sep): Removed.
37006 (__argz_append): Likewise.
37007 (__argz_add): Likewise.
37008 (__argz_add_sep): Likewise.
37009 (__argz_delete): Likewise.
37010 (__argz_insert): Likewise.
37011 (__argz_replace): Likewise.
37012
37013 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37014
37015 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
37016 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
37017 (GNU_PROPERTY_STACK_SIZE): Likewie.
37018 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
37019 (GNU_PROPERTY_LOPROC): Likewise.
37020 (GNU_PROPERTY_HIPROC): Likewise.
37021 (GNU_PROPERTY_LOUSER): Likewise.
37022 (GNU_PROPERTY_HIUSER): Likewise.
37023 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
37024 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
37025 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
37026 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
37027 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
37028 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
37029 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
37030 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
37031 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
37032 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
37033 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
37034 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
37035 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
37036 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
37037 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
37038 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
37039 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
37040 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
37041 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
37042 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
37043 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
37044 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
37045 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
37046
37047 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37048
37049 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
37050 in C++ mode.
37051
37052 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37053
37054 [BZ #21930]
37055 * math/math.h (isinf): Check if in C or C++ mode before using
37056 __builtin_types_compatible_p, since this is a C mode feature.
37057
37058 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37059
37060 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
37061 (__write_nocancel): New macro.
37062 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
37063 Rewrite as a function prototype.
37064 (write_not_cancel): Remove macro.
37065 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
37066 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
37067 (write_gmon): Likewise.
37068 * libio/fileops.c (_IO_new_file_write): Likewise.
37069 * login/utmp_file.c (pututline_file): Likewise.
37070 (updwtmp_file): Likewise.
37071 * stdio-common/psiginfo.c (psiginfo): Likewise.
37072 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37073 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37074 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37075 Likewise.
37076 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37077 Likewise.
37078
37079 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
37080 (__read_nocancel): New macro.
37081 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37082 __read_nocancel.
37083 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
37084 macro.
37085 (__read_nocancel): New prototype.
37086 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
37087 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
37088 with __read_nocancel.
37089 * intl/loadmsgcat.c (read): Likewise.
37090 * libio/fileops.c (_IO_file_read): Likewise.
37091 * locale/loadlocale.c (_nl_load_locale): Likewise.
37092 * login/utmp_file.c (getutent_r_file): Likewise.
37093 (internal_getut_r): Likewise.
37094 (getutline_r_file): Likewise.
37095 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37096 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37097 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37099 Likewise.
37100 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
37101 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37102 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37103 Likewise.
37104 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37105 Likewise.
37106 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37107 Likewise.
37108 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37109 Likewise.
37110 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37111
37112 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37113
37114 [BZ #21966]
37115 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37116 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37117 usable.
37118
37119 2017-08-17 DJ Delorie <dj@redhat.com>
37120
37121 * bug17079.c: Update to new test harness.
37122 * test-digits-dots.c: Likewise.
37123 * test-netdb.c: Likewise.
37124 * tst-field.c: Likewise.
37125 * tst-nss-getpwent.c: Likewise.
37126 * tst-nss-static.c: Likewise.
37127 * tst-nss-test1.c: Likewise.
37128 * tst-nss-test2.c: Likewise.
37129 * tst-nss-test3.c: Likewise.
37130 * tst-nss-test4.c: Likewise.
37131 * tst-nss-test5.c: Likewise.
37132
37133 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37134
37135 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37136 (open_not_cancel_2): Likewise.
37137 (open_nocancel): New macro.
37138 (open64_nocancel): Likewise.
37139 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37140 (open_not_cancel_2): Likewise.
37141 (__open_nocancel): New prototype.
37142 (__open64_nocancel): Likewise.
37143 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37144 __open_nocancel.
37145 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37146 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37147 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37148 with __open_nocancel.
37149 * csu/check_fds.c (check_one_fd): Likewise.
37150 * gmon/gmon.c (write_gmon): Likewise.
37151 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37152 * intl/loadmsgcat.c (open): Likewise.
37153 * libio/fileops.c (_IO_file_open): Likewise.
37154 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37155 * locale/loadlocale.c (_nl_load_locale): Likewise.
37156 * login/utmp_file.c (setutent_file): Likewise.
37157 * misc/daemon.c (daemon): Likewise.
37158 * nss/nss_db/db-open.c (internal_setent): Likewise.
37159 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37160 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37161 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37162 (__opendir): Likewise.
37163 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37164 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37165 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37166 (gethostid): Likewise.
37167 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37168 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37169 Likewise.
37170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37171 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37172 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37173 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37174 Likewise.
37175 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37176 Likewise.
37177 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37178 Likewise.
37179 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37180 Likewise.
37181 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37182 Likewise.
37183 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37184 Likewise.
37185 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37186 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37187
37188 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37189
37190 * benchtests/bench-skeleton.c (main): Add support for
37191 latency benchmarking.
37192 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37193
37194 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37195
37196 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37197 the startup object.
37198
37199 2017-08-17 Florian Weimer <fweimer@redhat.com>
37200
37201 * include/sys/socket.h (__opensock): Remove internal_function.
37202 * socket/opensock.c (__opensock): Likewise.
37203 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37204
37205 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37206
37207 [BZ #21944]
37208 * signal/bits/types/__sigval_t.h: New file.
37209 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37210 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37211 and define sigval_t using __sigval_t.
37212 * include/bits/types/__sigval_t.h: New file.
37213 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37214 instead of <bits/types/__sigval_t.h>.
37215 (struct sigevent): Use __sigval_t instead of sigval_t.
37216 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37217 instead of <bits/types/__sigval_t.h>.
37218 (siginfo_t): Use __sigval_t instead of sigval_t.
37219 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37220 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37221 (struct sigevent): Use __sigval_t instead of sigval_t.
37222 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37223 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37224 (siginfo_t): Use __sigval_t instead of sigval_t.
37225 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37226
37227 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37228
37229 * NEWS: Remove "[Add new features here]" for 2.27.
37230
37231 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37232
37233 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37234 libc.so.
37235
37236 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37237
37238 * NEWS: Mention x86-64 FMA optimization.
37239
37240 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37241
37242 [BZ #21912]
37243 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37244 Add e_expf-fma.
37245 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37246 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37248
37249 2017-08-16 Andreas Schwab <schwab@suse.de>
37250
37251 [BZ #16750]
37252 CVE-2009-5064
37253 * elf/ldd.bash.in: Never run file directly.
37254
37255 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37256
37257 [BZ #21955]
37258 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37259 (L(SP_INF_0)): Likewise.
37260
37261 2017-08-15 Florian Weimer <fweimer@redhat.com>
37262
37263 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37264 run-built-tests.
37265
37266 2017-08-15 Florian Weimer <fweimer@redhat.com>
37267
37268 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37269 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37270 BROKEN_THREAD_SIGNALS code.
37271 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37272 request_list): Remove caller_pid member used for
37273 BROKEN_THREAD_SIGNALS.
37274 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37275 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37276 Remove BROKEN_THREAD_SIGNALS support.
37277 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37278 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37279
37280 2017-08-15 Florian Weimer <fweimer@redhat.com>
37281
37282 * gmon/Makefile (tests): Add tst-gmon.
37283 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37284 Set.
37285 (tests-special): Add tst-gmon-prof.out.
37286 (tst-gmon.out): Depend on clean-tst-gmon-data.
37287 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37288 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37289 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37290 startup object.
37291 * aclocal.m4 (GPROF): Set and substitute.
37292 * config.amke.in (GPROF): Set.
37293 * configure: Regenerate.
37294
37295 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37296
37297 * elf/elf.h A (NT_PPC_TAR): New macro.
37298 (NT_PPC_PPR): Likewise.
37299 (NT_PPC_DSCR): Likewise.
37300 (NT_PPC_EBB): Likewise.
37301 (NT_PPC_PMU): Likewise.
37302 (NT_PPC_TM_CGPR): Likewise.
37303 (NT_PPC_TM_CFPR): Likewise.
37304 (NT_PPC_TM_CVMX): Likewise.
37305 (NT_PPC_TM_CVSX): Likewise.
37306 (NT_PPC_TM_SPR): Likewise.
37307 (NT_PPC_TM_CTAR): Likewise.
37308 (NT_PPC_TM_CPPR): Likewise.
37309 (NT_PPC_TM_CDSCR): Likewise.
37310
37311 2017-08-15 Florian Weimer <fweimer@redhat.com>
37312
37313 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37314 regparm (2) instead of internal_function.
37315 (_MCOUNT_DECL): Adjust.
37316
37317 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37318
37319 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37320 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37321
37322 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37323
37324 * conform/data/sys/wait.h-data (si_value): Do not expect for
37325 XPG42.
37326
37327 2017-08-14 Florian Weimer <fweimer@redhat.com>
37328
37329 [BZ #21962]
37330 NSS: Create stubs for accidentally exported lookup functions.
37331 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37332 Remove declaration.
37333 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37334 (ether_hostton): Call __nss_ethers_lookup2 instead.
37335 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37336 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37337 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37338 (setup): Call __nss_netgroup_lookup2 instead.
37339 * nss/Makefile (routines): Add compat-lookup.
37340 * nss/Versions (GLIBC_2.27): Add symbol version.
37341 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37342 (DB_COMPAT_FCT): Remove.
37343 * nss/compat-lookup.c: New file.
37344 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37345 from databases.def.
37346 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37347 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37348 (netname2user): Call __nss_publickey_lookup2 instead.
37349 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37350 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37351 instead.
37352
37353 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37354 Sergei Trofimovich <slyfox@inbox.ru>
37355
37356 [BZ #21908]
37357 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37358 Rename to MMAP2_PAGE_UNIT.
37359 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37360 __OFF_T_MATCHES_OFF64_T is not defined.
37361 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37362 uint64_t.
37363 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37364 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37365
37366 2017-08-14 Florian Weimer <fweimer@redhat.com>
37367
37368 i386: Do not set internal_function.
37369 * config.h.in (USE_REGPARMS, internal_function): Remove.
37370 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37371 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37372
37373 2017-08-14 Florian Weimer <fweimer@redhat.com>
37374
37375 * elf/dl-init.c (_dl_init): Remove internal_function.
37376 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37377 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37378
37379 2017-08-14 Florian Weimer <fweimer@redhat.com>
37380
37381 * elf/rtld.c (_dl_start): Remove internal_function.
37382 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37383 _dl_start.
37384
37385 2017-08-14 Florian Weimer <fweimer@redhat.com>
37386
37387 * elf/dl-fini.c (_dl_fini): Remove internal_function
37388 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37389
37390 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37391
37392 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37393 (bit_cpu_SHSTK): Likewise.
37394 (index_cpu_IBT): Likewise.
37395 (index_cpu_SHSTK): Likewise.
37396 (reg_IBT): Likewise.
37397 (reg_SHSTK): Likewise.
37398 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37399 Handle index_cpu_IBT and index_cpu_SHSTK.
37400
37401 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37402
37403 [BZ #19982]
37404 * po/fr.po: Fix spelling mistake.
37405
37406 2017-08-13 Florian Weimer <fweimer@redhat.com>
37407
37408 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37409 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37410 (_dl_catch_error, _dl_receive_error): Likewise.
37411 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37412 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37413 (_dl_deallocate_tls): Likewise.
37414 * include/dlfcn.h (_dl_addr): Likewise.
37415 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37416 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37417 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37418 Likewise.
37419
37420 2017-08-13 Florian Weimer <fweimer@redhat.com>
37421
37422 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37423 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37424 internal_function.
37425 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37426
37427 2017-08-13 Florian Weimer <fweimer@redhat.com>
37428
37429 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37430 internal_function.
37431 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37432 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37433 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37434 internal_function from _dl_make_stack_executable_hook member.
37435 (_dl_make_stack_executable): Remove internal_function.
37436 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37437 Likewise.
37438 * sysdeps/unix/sysv/linux/dl-execstack.c
37439 (_dl_make_stack_executable): Likewise.
37440
37441 2017-08-13 Florian Weimer <fweimer@redhat.com>
37442
37443 * sysdeps/unix/sysv/linux/netlinkaccess.h
37444 (__netlink_assert_response): Remove internal_function.
37445 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37446 (__netlink_assert_response): Likewise.
37447
37448 2017-08-13 Florian Weimer <fweimer@redhat.com>
37449
37450 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37451 internal_function.
37452 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37453
37454 2017-08-13 Florian Weimer <fweimer@redhat.com>
37455
37456 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37457 internal_function.
37458 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37459 * inet/netgroup.h (__internal_setnetgrent)
37460 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37461 * inet/getnetgrent_r.c (__internal_setnetgrent)
37462 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37463 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37464 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37465 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37466 * nss/nsswitch.h (db_lookup_function): Likewise.
37467
37468 2017-08-13 Florian Weimer <fweimer@redhat.com>
37469
37470 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37471 Remove internal_function.
37472 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37473 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37474 message argument on the stack.
37475 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37476 Likeweise.
37477
37478 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37479
37480 Adapt test case data to the changes in the thousands
37481 separators.
37482
37483 [BZ #20756]
37484 * localedata/tst-langinfo.sh: Adapt test case data.
37485 * stdlib/tst-strfmon_l.c: Likewise.
37486 * stdlib/tst-strtod4.c: Likewise.
37487 * stdlib/tst-strtod5i.c: Likewise.
37488
37489 2017-08-11 Florian Weimer <fweimer@redhat.com>
37490
37491 [BZ #21242]
37492 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37493 Suppress pedantic warning resulting from statement expression.
37494 (__ASSERT_FUNCTION): Add missing __extension__.
37495
37496 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37497
37498 * benchtests/bench-memmove-large.c: Print output in JSON
37499 format.
37500 * benchtests/bench-memmove.c: Likewise.
37501
37502 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37503 * benchtests/bench-memchr.c (do_one_test): Likewise.
37504 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37505 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37506 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37507 * benchtests/bench-memmove.c (do_one_test): Likewise.
37508 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37509 * benchtests/bench-memset.c (do_one_test): Likewise.
37510 * benchtests/bench-string.h (test_init): Remove memsets.
37511
37512 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37513
37514 * manual/lang.texi
37515 (Computing the Width of an Integer Data Type): Rename section to
37516 "Width of an Integer Type". Remove inaccurate statement regarding
37517 lack of C language facilities for determining width of integer
37518 types, and reorder content to improve flow and context of
37519 discussion.
37520
37521 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37522
37523 * lang.texi (va_copy): Change standard from ISO to C99.
37524 (__va_copy): Add standard and header annotation.
37525 Update description for clarity of origins and current use.
37526
37527 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37528
37529 [BZ #21941]
37530 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37531 xssqrtqp requires operands to be in Vector Registers
37532 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37533 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37534 (__ieee754_sqrtf128): Likewise.
37535
37536 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37537
37538 * sysdeps/aarch64/memcmp.S (memcmp):
37539 Rewrite of optimized memcmp.
37540
37541 2017-08-10 Florian Weimer <fweimer@redhat.com>
37542
37543 Introduce ld.so exceptions.
37544 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37545 (_dl_exception_create, _dl_exception_create_format)
37546 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37547 (_dl_catch_exception): Declare.
37548 (_dl_catch_error): Update comment.
37549 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37550 errstring, malloced members with exception member.
37551 (_dl_out_of_memory): Remove.
37552 (fatal_error): New function, extracted from _dl_signal_error.
37553 (_dl_signal_exception, _dl_signal_cexception): New functions.
37554 (_dl_signal_error): Call _dl_exception_create to allocate an
37555 exception object.
37556 (_dl_catch_exception): New function, based on _dl_catch_error.
37557 (_dl_catch_error): Implement using _dl_catch_exception.
37558 * elf/dl-exception.c: New file.
37559 * elf/Makefile (dl-routines): Add dl-exception.
37560 (elide-routines.os): Likewise.
37561 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37562 _dl_exception_create_format, _dl_exception_free.
37563 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37564 _dl_signal_exception.
37565 * elf/dl-lookup.c (make_string): Remove.
37566 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37567 _dl_signal_cexception, _dl_exception_free.
37568 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37569 _dl_signal_exception.
37570 * elf/dl-sym.c (do_sym): Likewise.
37571 * elf/dl-version.c (make_string): Remove.
37572 (match_symbol): Use _dl_exception_create_format,
37573 _dl_signal_cexception, _dl_exception_free.
37574 (_dl_check_map_versions): Likewise.
37575 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37576 _dl_catch_exception.
37577 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37578 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37579 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37580 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37581 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37582 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37583 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37584 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37585 Likewise.
37586 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37588 (ld.so): Likewise.
37589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37590 (ld.so): Likewise.
37591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37592 Likewise.
37593 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37594 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37595 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37596 Likewise.
37597 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37598 Likewise.
37599 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37600
37601 2017-08-10 Florian Weimer <fweimer@redhat.com>
37602
37603 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37604 attribute_hidden, internal_function.
37605 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37606 internal_function.
37607
37608 2017-08-10 Florian Weimer <fweimer@redhat.com>
37609
37610 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37611 function which calls __builtin_unreachable.
37612
37613 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37614
37615 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37616 Indian monetary formatting
37617 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37618 test cases.
37619
37620 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37621
37622 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37623 Fix typo in comment.
37624
37625 [BZ #21928]
37626 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37627 PTRACE_SEIZE_DEVEL): Remove.
37628 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37629 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37630 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37633
37634 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37635
37636 * posix/bits/types.h (__qaddr_t): Remove.
37637
37638 [BZ #21457]
37639 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37640 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37641 __glibc_reserved1.
37642 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37643 (ucontext_t): Use __ctx with uc_flags.
37644 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37645 (__ctxt): Likewise.
37646 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37647 __glibc_reserved1.
37648 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37649 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37650 __glibc_reserved1.
37651 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37652 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37653 __glibc_reserved1.
37654 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37655 macro.
37656 (ucontext_t): Use __ctx with uc_flags.
37657 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37658 (ucontext_t): Use __ctx with uc_flags.
37659 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37660 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37661 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37662 (ucontext_t): Use __ctx with uc_flags.
37663 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37664 undefine further down.
37665 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37666 __glibc_reserved1.
37667 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37668 undefine further down.
37669 (ucontext_t): Use __ctx with uc_flags.
37670 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37671 undefine further down.
37672 (ucontext_t): Use __ctx with uc_flags.
37673 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37674 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37675 Rename uc_pad to __glibc_reserved1.
37676 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37677 undefine further down.
37678 (ucontext_t): Use __ctx with uc_flags.
37679 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37680 further down.
37681 (ucontext_t): Use __ctx with uc_flags.
37682 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37683 __ctx with uc_flags.
37684 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37685 (ucontext_t): Use __ctx with uc_flags.
37686 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37687 __ctx with uc_flags.
37688
37689 2017-08-09 Florian Weimer <fweimer@redhat.com>
37690
37691 [BZ #21932]
37692 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37693 before early return.
37694
37695 2017-08-09 Andreas Schwab <schwab@suse.de>
37696
37697 [BZ #21041]
37698 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37699 renamed alias.
37700
37701 [BZ #21041]
37702 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37703 tst-compat-forwarder.
37704 (modules-names): Add tst-compat-forwarder-mod.
37705 ($(objpfx)tst-compat-forwarder): Depend on
37706 $(objpfx)tst-compat-forwarder-mod.so.
37707 * nptl/tst-compat-forwarder.c: New file.
37708 * nptl/tst-compat-forwarder-mod.c: New file.
37709
37710 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37711
37712 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37713 comments.
37714
37715 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37716 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37717 memcpy_falkor.
37718 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37719 Bump.
37720 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37721 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37722 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37723 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37724 Add falkor.
37725 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37726 New macro.
37727
37728 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37729
37730 [BZ #759]
37731 * manual/setjmp.texi (getcontex): Document uc_stack value
37732 compatibility differences.
37733
37734 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37735
37736 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37737 (old_malloc_hook): Likewise.
37738 (old_memalign_hook): Likewise.
37739 (old_realloc_hook): Likewise.
37740 (struct hdr): Likewise.
37741 (flood): Likewise.
37742 (freehook): Likewise.
37743 (mallochook): Likewise.
37744 (memalignhook): Likewise.
37745 (reallochook): Likewise.
37746 (mprobe): Likewise.
37747 * malloc/mtrace.c (mallwatch): Likewise.
37748 (tr_old_free_hook): Likewise.
37749 (tr_old_malloc_hook): Likewise.
37750 (tr_old_realloc_hook): Likewise.
37751 (tr_old_memalign_hook): Likewise.
37752 (tr_where): Likewise.
37753 (lock_and_info): Likewise.
37754 (tr_freehook): Likewise.
37755 (tr_mallochook): Likewise.
37756 (tr_reallochook): Likewise.
37757 (tr_memalignhook): Likewise.
37758 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37759 * misc/mmap.c (__mmap): Likewise.
37760 * misc/mmap64.c (__mmap64): Likewise.
37761 * misc/mprotect.c (__mprotect): Likewise.
37762 * misc/msync.c (msync): Likewise.
37763 * misc/munmap.c (__munmap): Likewise.
37764 * posix/posix_madvise.c (posix_madvise): Likewise.
37765 * socket/send.c (__send): Likewise.
37766 * socket/sendto.c (__sendto): Likewise.
37767 * socket/setsockopt.c (__setsockopt): Likewise.
37768 * string/memcmp.c (__ptr_t): Remove macro.
37769 (MEMCMP): Use void * instead of ptr_t.
37770 * string/memrchr.c (__ptr_t): Remove macro.
37771 (__memrchr): Use void * instead of ptr_t.
37772 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37773 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37774 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37775 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37776 * sysdeps/mach/msync.c (msync): Likewise.
37777 * sysdeps/mach/munmap.c (__munmap): Likewise.
37778 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37779 Likewise.
37780 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37781 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37782 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37783 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37784 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37785 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37786 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37787 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37788 Likewise.
37789 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37790 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37791 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37792 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37793 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37794 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37795 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37796 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37798 Likewise.
37799 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37800 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37801 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37802 (MEMCMP): Use void * instead of ptr_t.
37803 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37804 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37805
37806 2017-08-08 Florian Weimer <fweimer@redhat.com>
37807
37808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37809 return statement.
37810
37811 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37812
37813 [BZ #21913]
37814 * csu/libc-tls.c: Include <startup.h> first.
37815 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37816 * elf/dl-tunables.c: Include <startup.h> first.
37817 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37818 * sysdeps/generic/startup.h: New file.
37819 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37820 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37821 (I386_USE_SYSENTER): New. Defined to 0.
37822
37823 2017-08-08 Andreas Schwab <schwab@suse.de>
37824
37825 [BZ #21041]
37826 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37827 * nptl/pt-system.c (system): Likewise.
37828
37829 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37830
37831 [BZ #21780]
37832 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37833 EOPNOTSUPP.
37834 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37835 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37836 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37837 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37838 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37839 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37840 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37841
37842 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37843
37844 [BZ #21899]
37845 * bits/sigaction.h (struct sigaction): Define sa_handler and
37846 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37847 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37848 [__USE_XOPEN_EXTENDED].
37849 (SA_RESTART): Likewise.
37850 (SA_NODEFER): Likewise.
37851 (SA_RESETHAND): Likewise.
37852 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37853 (struct sigaction): Define sa_handler and sa_sigaction using union
37854 also for [__USE_XOPEN_EXTENDED].
37855 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37856 [__USE_XOPEN_EXTENDED].
37857 (SA_RESTART): Likewise.
37858 (SA_NODEFER): Likewise.
37859 (SA_RESETHAND): Likewise.
37860 * sysdeps/unix/sysv/linux/bits/sigaction.h
37861 (struct sigaction): Define sa_handler and sa_sigaction using union
37862 also for [__USE_XOPEN_EXTENDED].
37863 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37864 [__USE_XOPEN_EXTENDED].
37865 (SA_RESTART): Likewise.
37866 (SA_NODEFER): Likewise.
37867 (SA_RESETHAND): Likewise.
37868 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37869 (struct sigaction): Define sa_handler and sa_sigaction using union
37870 also for [__USE_XOPEN_EXTENDED].
37871 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37872 [__USE_XOPEN_EXTENDED].
37873 (SA_RESTART): Likewise.
37874 (SA_NODEFER): Likewise.
37875 (SA_RESETHAND): Likewise.
37876 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37877 (struct sigaction): Define sa_handler and sa_sigaction using union
37878 also for [__USE_XOPEN_EXTENDED].
37879 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37880 [__USE_XOPEN_EXTENDED].
37881 (SA_RESTART): Likewise.
37882 (SA_NODEFER): Likewise.
37883 (SA_RESETHAND): Likewise.
37884 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37885 (struct sigaction): Define sa_handler and sa_sigaction using union
37886 also for [__USE_XOPEN_EXTENDED].
37887 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37888 [__USE_XOPEN_EXTENDED].
37889 (SA_RESTART): Likewise.
37890 (SA_NODEFER): Likewise.
37891 (SA_RESETHAND): Likewise.
37892 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37893 (struct sigaction): Define sa_handler and sa_sigaction using union
37894 also for [__USE_XOPEN_EXTENDED].
37895 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37896 [__USE_XOPEN_EXTENDED].
37897 (SA_RESTART): Likewise.
37898 (SA_NODEFER): Likewise.
37899 (SA_RESETHAND): Likewise.
37900 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37901 (struct sigaction): Define sa_handler and sa_sigaction using union
37902 also for [__USE_XOPEN_EXTENDED].
37903 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37904 [__USE_XOPEN_EXTENDED].
37905 (SA_RESTART): Likewise.
37906 (SA_NODEFER): Likewise. Define directly rather than as alias.
37907 (SA_RESETHAND): Likewise.
37908 (SA_INTERRUPT): Define only for [__USE_MISC].
37909 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37910 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37911 [__USE_MISC].
37912 (SA_STACK): Define only for [__USE_MISC].
37913 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37914 (struct sigaction): Define sa_handler and sa_sigaction using union
37915 also for [__USE_XOPEN_EXTENDED].
37916 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37917 [__USE_XOPEN_EXTENDED].
37918 (SA_RESTART): Likewise.
37919 (SA_NODEFER): Likewise.
37920 (SA_RESETHAND): Likewise.
37921 (SA_NOPTRACE): Define only for [__USE_MISC].
37922
37923 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37924 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37925 (struct catalog_info): Likewise.
37926 * inet/htontest.c (lo): Likewise.
37927 (foo): Likewise.
37928 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37929 * inet/inet_net.c (inet_network): Likewise.
37930 * inet/inet_netof.c (inet_netof): Likewise.
37931 * inet/rcmd.c (__ivaliduser): Likewise.
37932 (iruserok): Likewise.
37933 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37934 * locale/programs/locale-spec.c (locale_special): Likewise.
37935 * nis/nis_findserv.c (struct findserv_req): Likewise.
37936 (__nis_findfastest_with_timeout): Likewise.
37937 * nss/test-netdb.c (test_network): Likewise.
37938 * resolv/inet_neta.c (inet_neta): Likewise.
37939 * resolv/ns_date.c (ns_datetosecs): Likewise.
37940 (SECS_PER_DAY): Likewise.
37941 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37942 Likewise.
37943 * resolv/res_comp.c (__putlong): Likewise.
37944 (__putshort): Likewise.
37945 (_getlong): Likewise.
37946 (_getshort): Likewise.
37947 * resolv/res_debug.c (p_time): Likewise.
37948 (precsize_ntoa): Likewise.
37949 (precsize_aton): Likewise.
37950 (latlon2ul): Likewise.
37951 (loc_aton): Likewise.
37952 (loc_ntoa): Likewise.
37953 * resolv/res_hconf.c (struct netaddr): Likewise.
37954 (_res_hconf_reorder_addrs): Likewise.
37955 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37956 (clnttcp_control): Likewise.
37957 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37958 (clntudp_control): Likewise.
37959 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37960 (clntunix_control): Likewise.
37961 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37962 * sunrpc/rpc/auth.h (union des_block): Likewise.
37963 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37964 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37965 (xdrrec_create): Likewise.
37966 (xdrrec_endofrecord): Likewise.
37967 (flush_out): Likewise.
37968 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37969 (xdrstdio_putlong): Likewise.
37970 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37971 Likewise.
37972
37973 * misc/sys/cdefs.h (__long_double_t): Remove.
37974 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37975 instead of __long_double_t,
37976 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37977
37978 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37979
37980 * benchtests/scripts/compare_strings.py: Avoid display error when
37981 running on a text terminal.
37982
37983 * benchtests/scripts/compare_strings.py (main): Add an
37984 optional -base option.
37985 (process_results): New argument base_func.
37986
37987 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37988 hardcoding memcpy.
37989 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37990 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37991
37992 2017-08-07 Andreas Schwab <schwab@suse.de>
37993
37994 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37995 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37996 * intl/Makefile ($(objpfx)tst-gettext.out)
37997 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37998 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37999 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38000 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38001 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
38002 * posix/Makefile ($(objpfx)globtest.out)
38003 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
38004 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
38005 ($(objpfx)tst-printf.out): Likewise.
38006 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
38007 ($(objpfx)tst-setcontext3.out): Likewise.
38008
38009 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
38010
38011 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38012 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
38013 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
38014 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
38015 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
38016 and mptan-fma.
38017 (CFLAGS-doasin-fma.c): New.
38018 (CFLAGS-dosincos-fma.c): Likewise.
38019 (CFLAGS-e_asin-fma.c): Likewise.
38020 (CFLAGS-e_atan2-fma.c): Likewise.
38021 (CFLAGS-e_exp-fma.c): Likewise.
38022 (CFLAGS-e_log-fma.c): Likewise.
38023 (CFLAGS-e_pow-fma.c): Likewise.
38024 (CFLAGS-halfulp-fma.c): Likewise.
38025 (CFLAGS-mpa-fma.c): Likewise.
38026 (CFLAGS-mpatan-fma.c): Likewise.
38027 (CFLAGS-mpatan2-fma.c): Likewise.
38028 (CFLAGS-mpexp-fma.c): Likewise.
38029 (CFLAGS-mplog-fma.c): Likewise.
38030 (CFLAGS-mpsqrt-fma.c): Likewise.
38031 (CFLAGS-mptan-fma.c): Likewise.
38032 (CFLAGS-s_atan-fma.c): Likewise.
38033 (CFLAGS-sincos32-fma.c): Likewise.
38034 (CFLAGS-slowexp-fma.c): Likewise.
38035 (CFLAGS-slowpow-fma.c): Likewise.
38036 (CFLAGS-s_sin-fma.c): Likewise.
38037 (CFLAGS-s_tan-fma.c): Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
38039 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
38040 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
38041 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
38042 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
38043 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
38044 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
38045 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
38046 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
38047 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
38048 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
38049 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
38050 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
38051 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
38052 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
38053 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
38054 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
38055 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
38056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
38057 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
38058 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
38059 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
38060 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
38061 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
38062 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38063 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38064 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38065 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
38066 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38067 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38068 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38069
38070 2017-08-04 Joseph Myers <joseph@codesourcery.com>
38071
38072 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
38073 (min_of_type_f): New macro.
38074 (min_of_type_): Likewise.
38075 (min_of_type_l): Likewise.
38076 (min_of_type_f128): Likewise.
38077 (min_of_type): Define using __MATH_TG and taking an expression
38078 argument.
38079 (math_check_force_underflow): Pass expression instead of type to
38080 min_of_type.
38081 (math_check_force_underflow_nonneg): Likewise.
38082
38083 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38084
38085 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
38086 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
38087 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
38088
38089 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38090
38091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38092 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
38093 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
38094 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
38095 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
38096 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
38097 memcpy_chk-nonshared, mempcpy_chk-nonshared,
38098 memmove_chk-nonshared and memset_chk-nonshared
38099 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
38100 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
38101 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
38102 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38103 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38104 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38105 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38106 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38107 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38108 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38109 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38110 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38111 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38112 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38113 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38114 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38115 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38116 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38117 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38118 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38119 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38120 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38121 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38122 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38123 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38124 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38125 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38126 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38127 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38128 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38129 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38130 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38131 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38132 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38133 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38134 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38135 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38136 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38137 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38138 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38139 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38140 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38141 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38142 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38143 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38144 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38145 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38146 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38147 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38148 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38149 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38150 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38151 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38152 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38153 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38154 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38155 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38156 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38157 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38158 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38159 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38160 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38161 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38162 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38163 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38164 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38165 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38166 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38167 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38168 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38169 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38170 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38171 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38172 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38179 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38180 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38181 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38182 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38183 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38184 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38186 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38187 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38188 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38189 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38190 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38191 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38192 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38193 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38194 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38195 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38196 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38197 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38198 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38199 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38200 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38201 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38202 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38203 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38204 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38205 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38206 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38207
38208 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38209
38210 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38211 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38212 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38213 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38214 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38215 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38216 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38217 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38218 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38219 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38220 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38221 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38222 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38223 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38224 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38225 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38226 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38227 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38228 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38229 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38230 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38231 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38232 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38233 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38234 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38235 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38236 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38237 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38238 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38239 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38240 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38241 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38242 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38243 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38244 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38245 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38246 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38247 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38248 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38249 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38250 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38251 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38252 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38253 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38254 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38255 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38256 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38257 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38258 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38259 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38260 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38261 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38262 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38263 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38264 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38265 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38266 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38267 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38269 ...
38270 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38271 Don't include <sysdep.h> nor <init-arch.h>.
38272 (_ZGVbN2v_cos): Removed.
38273 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38274 ...
38275 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38276 Don't include <sysdep.h> nor <init-arch.h>.
38277 (_ZGVdN4v_cos): Removed.
38278 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38279 ...
38280 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38281 Don't include <sysdep.h> nor <init-arch.h>.
38282 (_ZGVeN8v_cos): Removed.
38283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38284 ...
38285 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38286 Don't include <sysdep.h> nor <init-arch.h>.
38287 (_ZGVbN2v_exp): Removed.
38288 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38289 ...
38290 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38291 Don't include <sysdep.h> nor <init-arch.h>.
38292 (_ZGVdN4v_exp): Removed.
38293 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38294 ...
38295 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38296 Don't include <sysdep.h> nor <init-arch.h>.
38297 (_ZGVeN8v_exp): Removed.
38298 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38299 ...
38300 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38301 Don't include <sysdep.h> nor <init-arch.h>.
38302 (_ZGVbN2v_log): Removed.
38303 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38304 ...
38305 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38306 Don't include <sysdep.h> nor <init-arch.h>.
38307 (_ZGVdN4v_log): Removed.
38308 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38309 ...
38310 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38311 Don't include <sysdep.h> nor <init-arch.h>.
38312 (_ZGVeN8v_log): Removed.
38313 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38314 ...
38315 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38316 Don't include <sysdep.h> nor <init-arch.h>.
38317 (_ZGVbN2vv_pow): Removed.
38318 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38319 ...
38320 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38321 Don't include <sysdep.h> nor <init-arch.h>.
38322 (_ZGVdN4vv_pow): Removed.
38323 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38324 ...
38325 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38326 Don't include <sysdep.h> nor <init-arch.h>.
38327 (_ZGVeN8vv_pow): Removed.
38328 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38329 ...
38330 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38331 Don't include <sysdep.h> nor <init-arch.h>.
38332 (_ZGVbN2v_sin): Removed.
38333 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38334 ...
38335 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38336 Don't include <sysdep.h> nor <init-arch.h>.
38337 (_ZGVbN4v_sin): Removed.
38338 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38339 ...
38340 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38341 Don't include <sysdep.h> nor <init-arch.h>.
38342 (_ZGVbN8v_sin): Removed.
38343 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38344 ...
38345 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38346 Don't include <sysdep.h> nor <init-arch.h>.
38347 (_ZGVbN2vvv_sincos): Removed.
38348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38349 ...
38350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38351 Don't include <sysdep.h> nor <init-arch.h>.
38352 (_ZGVdN4vvv_sincos): Removed.
38353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38354 ...
38355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38356 Don't include <sysdep.h> nor <init-arch.h>.
38357 (_ZGVeN8vvv_sincos): Removed.
38358 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38359 ...
38360 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38361 Don't include <sysdep.h> nor <init-arch.h>.
38362 (_ZGVeN16v_cosf): Removed.
38363 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38364 ...
38365 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38366 Don't include <sysdep.h> nor <init-arch.h>.
38367 (_ZGVbN4v_cosf): Removed.
38368 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38369 ...
38370 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38371 Don't include <sysdep.h> nor <init-arch.h>.
38372 (_ZGVdN8v_cosf): Removed.
38373 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38374 ...
38375 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38376 Don't include <sysdep.h> nor <init-arch.h>.
38377 (_ZGVeN16v_expf): Removed.
38378 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38379 ...
38380 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38381 Don't include <sysdep.h> nor <init-arch.h>.
38382 (_ZGVbN4v_expf): Removed.
38383 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38384 ...
38385 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38386 Don't include <sysdep.h> nor <init-arch.h>.
38387 (_ZGVdN8v_expf): Removed.
38388 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38389 ...
38390 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38391 Don't include <sysdep.h> nor <init-arch.h>.
38392 (_ZGVeN16v_logf): Removed.
38393 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38394 ...
38395 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38396 Don't include <sysdep.h> nor <init-arch.h>.
38397 (_ZGVbN4v_logf): Removed.
38398 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38399 ...
38400 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38401 Don't include <sysdep.h> nor <init-arch.h>.
38402 (_ZGVdN8v_logf): Removed.
38403 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38404 ...
38405 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38406 Don't include <sysdep.h> nor <init-arch.h>.
38407 (_ZGVeN16vv_powf): Removed.
38408 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38409 ...
38410 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38411 Don't include <sysdep.h> nor <init-arch.h>.
38412 (_ZGVbN4vv_powf): Removed.
38413 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38414 ...
38415 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38416 Don't include <sysdep.h> nor <init-arch.h>.
38417 (_ZGVdN8vv_powf): Removed.
38418 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38419 ...
38420 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38421 Don't include <sysdep.h> nor <init-arch.h>.
38422 (_ZGVeN16vvv_sincosf): Removed.
38423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38424 ...
38425 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38426 Don't include <sysdep.h> nor <init-arch.h>.
38427 (_ZGVbN4vvv_sincosf): Removed.
38428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38429 ...
38430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38431 Don't include <sysdep.h> nor <init-arch.h>.
38432 (_ZGVdN8vvv_sincosf): Removed.
38433 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38434 ...
38435 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38436 Don't include <sysdep.h> nor <init-arch.h>.
38437 (_ZGVeN16v_sinf): Removed.
38438 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38439 ...
38440 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38441 Don't include <sysdep.h> nor <init-arch.h>.
38442 (_ZGVbN4v_sinf): Removed.
38443 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38444 ...
38445 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38446 Don't include <sysdep.h> nor <init-arch.h>.
38447 (_ZGVdN8v_sinf): Removed.
38448
38449 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38450
38451 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38452 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38453 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38454 s_rint-sse4_1 and s_rintf-sse4_1.
38455 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38456 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38457 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38458 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38459 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38460 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38461 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38462 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38463 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38464 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38465 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38466 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38467 (__ceil): Removed.
38468 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38469 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38470 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38471 (__ceilf): Removed.
38472 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38473 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38474 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38475 (__floor): Removed.
38476 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38477 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38478 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38479 (__floorf): Removed.
38480 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38481 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38482 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38483 (__nearbyint): Removed.
38484 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38485 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38486 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38487 (__nearbyintf): Removed.
38488 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38489 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38490 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38491 (__rint): Removed.
38492 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38493 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38494 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38495 (__rintf): Removed.
38496
38497 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38498
38499 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38500 SHARED. Avoid dynamic relocation against main in static PIE.
38501
38502 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38503
38504 [BZ #21815]
38505 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38506 (LDFLAGS-tst-prelink): Likewise.
38507
38508 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38509
38510 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38511 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38512 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38513 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38514 (INTERNAL_SYSCALL_NCS): Likewise.
38515 (LOADARGS_1): Likewise.
38516 (LOADARGS_5): Likewise.
38517 (RESTOREARGS_1): Likewise.
38518 (RESTOREARGS_5): Likewise.
38519
38520 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38521
38522 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38523 (MEMPCPY_SYMBOL): Likewise.
38524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38525 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38526 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38527 in libc.a.
38528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38529 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38530 Likewise.
38531 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38532 (__hidden_ver1): Don't use in libc.a.
38533 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38534 (__mempcpy): Don't create a weak alias in libc.a.
38535 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38536 libc.a.
38537 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38538 (__hidden_ver1): Don't use in libc.a.
38539
38540 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38541
38542 * config.make.in (have-insert): New.
38543 * configure.ac (libc_cv_insert): New. Set to yes if linker
38544 supports INSERT in linker script.
38545 (AC_SUBST(libc_cv_insert): New.
38546 * configure: Regenerated.
38547 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38548 if $(have-insert) == yes.
38549
38550 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38551
38552 * elf/Makefile (tests): Add vismain only if
38553 $(have-protected-data) == yes.
38554 (tests-pie): Likewise.
38555
38556 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38557
38558 [BZ #21871]
38559 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38560 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38561
38562 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38563
38564 [BZ #21790]
38565 * sysdeps/i386/i586/memset.S
38566 (__memset_zero_constant_len_parameter): Removed.
38567 * sysdeps/i386/i686/memset.S
38568 (__memset_zero_constant_len_parameter): Likewise.
38569 * sysdeps/i386/i686/multiarch/memset_chk.S
38570 (__memset_zero_constant_len_parameter): Likewise.
38571 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38572 Likewise.
38573
38574 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38575
38576 * stdlib/getentropy.c (getentropy): Change return type to int.
38577
38578 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38579
38580 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38581
38582 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38583
38584 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38585 u_intN_t.
38586 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38587 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38588 Likewise.
38589 (ieee_float_shape_type): Likewise.
38590 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38591 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38592 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38593 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38594 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38595 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38596 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38597 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38598 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38599 Likewise.
38600 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38601 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38602 (__ieee754_yn): Likewise.
38603 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38604 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38605 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38606 Likewise.
38607 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38608 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38609 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38610 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38611 (__erfc): Likewise.
38612 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38613 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38614 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38615 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38616 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38617 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38618 Likewise.
38619 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38620 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38621 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38622 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38623 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38624 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38625 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38626 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38627 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38628 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38629 (__issignaling): Likewise.
38630 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38631 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38632 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38633 Likewise.
38634 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38635 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38636 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38638 Likewise.
38639 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38640 Likewise.
38641 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38642 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38643 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38644 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38645 (__erfcf): Likewise.
38646 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38647 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38648 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38649 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38650 Likewise.
38651 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38652 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38653 Likewise.
38654 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38655 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38656 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38657 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38658 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38659 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38660 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38661 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38662 Likewise.
38663 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38664 Likewise.
38665 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38666 Likewise.
38667 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38669 Likewise.
38670 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38671 Likewise.
38672 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38673 (__ieee754_ynl): Likewise.
38674 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38675 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38676 Likewise.
38677 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38678 Likewise.
38679 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38680 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38681 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38682 Likewise.
38683 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38684 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38685 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38686 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38687 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38688 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38689 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38690 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38691 Likewise.
38692 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38693 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38694 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38695 Likewise.
38696 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38697 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38698 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38699 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38700 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38702 Likewise.
38703 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38704 Likewise.
38705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38706 Likewise.
38707 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38708 Likewise.
38709 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38710 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38711 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38712 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38713 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38714 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38716 Likewise.
38717 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38718 Likewise.
38719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38721 Likewise.
38722 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38723 (__ieee754_remainderl): Likewise.
38724 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38726 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38727 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38728 Likewise.
38729 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38731 Likewise.
38732 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38733 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38734 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38735 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38736 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38737 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38738 Likewise.
38739 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38740 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38741 (__ieee754_y0l): Likewise.
38742 (pzero): Likewise.
38743 (qzero): Likewise.
38744 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38745 (__ieee754_y1l): Likewise.
38746 (pone): Likewise.
38747 (qone): Likewise.
38748 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38749 (__ieee754_ynl): Likewise.
38750 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38751 (__ieee754_lgammal_r): Likewise.
38752 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38753 Likewise.
38754 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38755 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38756 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38757 (__erfcl): Likewise.
38758 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38759 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38760 Likewise.
38761 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38762 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38763 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38764 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38765 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38768 Likewise.
38769 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38770 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38771 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38772 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38773 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38774 Likewise.
38775 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38776 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38777 Likewise.
38778 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38779 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38780 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38781 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38782 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38783
38784 2017-08-03 Florian Weimer <fweimer@redhat.com>
38785
38786 [BZ #21885]
38787 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38788 on memory allocation failure.
38789
38790 2017-08-03 Alan Modra <amodra@gmail.com>
38791
38792 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38793 tst-tlsopt-powerpc.c with function name change and no test harness.
38794 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38795 Call tls_get_addr_opt_test.
38796 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38797 (modules-names): Add mod-tlsopt-powerpc.
38798 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38799 (tst-tlsopt-powerpc): Depend on .so.
38800 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38801 define. Expand use in TLS_GD and TLS_LD.
38802
38803 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38804
38805 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38806 function.
38807 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38808
38809 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38810
38811 [BZ #21686]
38812 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38813 comparing size with that of double.
38814 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38815 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38816 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38817 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38818 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38819 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38820 unsigned __int128 types.
38821
38822 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38823
38824 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38825 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38826 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38827 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38828 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38829
38830 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38831
38832 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38833
38834 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38835
38836 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38837 of SHARED.
38838 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38839 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38841 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38842 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38844 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38845
38846 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38847
38848 [BZ #21685]
38849 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38850 bit-field expressions passed to sizeof or typeof.
38851 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38852 (__TGMATH_F128): Likewise.
38853 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38854 (__TGMATH_CF128): Likewise.
38855 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38856 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38857 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38858 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38859 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38860 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38861 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38862 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38863 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38864 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38865 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38866 (__TGMATH_UNARY_IMAG): Likewise.
38867 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38868 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38869 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38870 type.
38871 (define_vars_for_type): Handle bit_field type specially.
38872 (Tests.__init__): Declare structure with bit-field element.
38873
38874 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38875
38876 [BZ #21791]
38877 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38878 (MEMCPY_CHK): Define only if SHARED is defined.
38879 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38880 Likewise.
38881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38882 Likewise.
38883
38884 See ChangeLog.18 for earlier changes.