]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[powerpc] No need to enter "Ignore Exceptions Mode"
[thirdparty/glibc.git] / ChangeLog
CommitLineData
21417aaa
AS
12019-10-02 Arjun Shankar <arjun@redhat.com>
2
3 debugglibc.sh: Implement program arguments
4 * Makefile (debugglibc): Change variable definition.
5
69fd157a
AF
62019-10-01 Alistair Francis <alistair.francis@wdc.com>
7
8 * time/bits/types/struct_timespec.h: Add padding for the timespec if
9 required.
10
aa706e13
AF
112019-10-01 Zack Weinberg <zackw@panix.com>
12 Alistair Francis <alistair.francis@wdc.com>
13
14 * string/endian.h: Unconditionally define LITTLE_ENDIAN,
15 BIG_ENDIAN, PDP_ENDIAN, and BYTE_ORDER. Condition byteswapping
16 macros only on !__ASSEMBLER__. Move the definitions of
17 __BIG_ENDIAN, __LITTLE_ENDIAN, __PDP_ENDIAN, __FLOAT_WORD_ORDER,
18 and __LONG_LONG_PAIR to...
19 * string/bits/endian.h: ...this new file, which includes
20 the renamed header bits/endianness.h for the definition of
21 __BYTE_ORDER and possibly __FLOAT_WORD_ORDER.
22
23 * string/Makefile: Install bits/endianness.h.
24 * include/bits/endian.h: New wrapper.
25
26 * bits/endian.h: Rename to bits/endianness.h.
27 Add multiple-include guard. Rewrite the comment explaining what
28 the machine-specific variants of this file should do.
29
30 * sysdeps/unix/sysv/linux/ia64/bits/endian.h:
31 Move to sysdeps/ia64.
32
33 * sysdeps/aarch64/bits/endian.h
34 * sysdeps/alpha/bits/endian.h
35 * sysdeps/arm/bits/endian.h
36 * sysdeps/csky/bits/endian.h
37 * sysdeps/hppa/bits/endian.h
38 * sysdeps/ia64/bits/endian.h
39 * sysdeps/m68k/bits/endian.h
40 * sysdeps/microblaze/bits/endian.h
41 * sysdeps/mips/bits/endian.h
42 * sysdeps/nios2/bits/endian.h
43 * sysdeps/powerpc/bits/endian.h
44 * sysdeps/riscv/bits/endian.h
45 * sysdeps/s390/bits/endian.h
46 * sysdeps/sh/bits/endian.h
47 * sysdeps/sparc/bits/endian.h
48 * sysdeps/x86/bits/endian.h:
49 Rename to endianness.h; canonicalize form of file; remove
50 redundant definitions of __FLOAT_WORD_ORDER.
51
52 * sysdeps/powerpc/bits/endianness.h: Remove logic to check for
53 broken compilers.
54
55 * ctype/ctype.h
56 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
57 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
58 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h
59 * sysdeps/ia64/ieee754.h
60 * sysdeps/ieee754/ieee754.h
61 * sysdeps/ieee754/ldbl-128/ieee754.h
62 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
64 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
65 * sysdeps/mips/ieee754/ieee754.h
66 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
67 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
68 * sysdeps/nptl/pthread.h
69 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
70 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
71 * sysdeps/sparc/sparc32/ieee754.h
72 * sysdeps/unix/sysv/linux/generic/bits/stat.h
73 * sysdeps/unix/sysv/linux/generic/bits/statfs.h
74 * sysdeps/unix/sysv/linux/sys/acct.h
75 * wctype/bits/wctype-wchar.h:
76 Include bits/endian.h, not endian.h.
77
78 * sysdeps/unix/sysv/linux/hppa/pthread.h: Don’t include endian.h.
79
80 * sysdeps/mips/ieee754/ieee754.h: Use __LDBL_MANT_DIG__
81 in ifdefs, instead of LDBL_MANT_DIG. Only include float.h
82 when __LDBL_MANT_DIG__ is not predefined, in which case
83 define __LDBL_MANT_DIG__ to equal LDBL_MANT_DIG.
84
8e42fc68
MF
852019-09-17 Mike FABIAN <mfabian@redhat.com>
86
87 * localedata/locales/az_AZ: Make lang_name agree with CLDR
88 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
89 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
90 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
91 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
92 * localedata/locales/bho_IN: Add country_name from langtable
93 * localedata/locales/chr_US: Make country_name agree with CLDR
94 * localedata/locales/crh_UA: Make lang_name agree with langtable
95 * localedata/locales/csb_PL: Add country_name from langtable
96 * localedata/locales/doi_IN: Add country_name from langtable
97 * localedata/locales/dv_MV: Add country_name from langtable
98 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
99 * localedata/locales/hak_TW: Make lang_name agree with langtable
100 * localedata/locales/hif_FJ: Make lang_name agree with langtable
101 * localedata/locales/hne_IN: Add country_name from langtable
102 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
103 * localedata/locales/id_ID: Make lang_name agree with CLDR
104 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
105 * localedata/locales/kab_DZ: Make country_name agree with CLDR
106 * localedata/locales/ks_IN: Make country_name agree with CLDR
107 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
108 * localedata/locales/mag_IN: Add country_name from langtable
109 * localedata/locales/mfe_MU: Make country_name agree with CLDR
110 * localedata/locales/mhr_RU: Add lang_name from langtable
111 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
112 * localedata/locales/ms_MY: Make lang_name agree with CLDR
113 * localedata/locales/nan_TW: Make lang_name agree with langtable
114 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
115 * localedata/locales/nds_DE: Make lang_name agree with langtable
116 * localedata/locales/nds_NL: Make lang_name agree with langtable
117 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
118 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
119 * localedata/locales/niu_NZ: Add lang_name from langtable
120 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
121 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
122 * localedata/locales/or_IN: Fix spelling of language from langtable
123 * localedata/locales/pa_PK: Make country_name agree with CLDR
124 * localedata/locales/ps_AF: Make country_name agree with CLDR
125 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
126 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
127 * localedata/locales/rw_RW: Make country_name agree with CLDR
128 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
129 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
130 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
131 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
132 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
133 * localedata/locales/shn_MM: Make country_name agree with langtable
134 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
135 * localedata/locales/sm_WS: Make country_name agree with langtable
136 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
137 * localedata/locales/szl_PL: Add country_name from langtable
138 * localedata/locales/te_IN: Fix country_name from CLDR
139 * localedata/locales/tg_TJ: Add lang_name from CLDR
140 * localedata/locales/the_NP: Add country_name, lang_name from langtable
141 * localedata/locales/tk_TM: Make lang_name agree with CLDR
142 * localedata/locales/tl_PH: Add lang_name from langtable
143 * localedata/locales/to_TO: Make lang_name agree with CLDR
144 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
145 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
146 * localedata/locales/ug_CN: Add lang_name from CLDR
147 * localedata/locales/unm_US: Add lang_name from langtable
148 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
149 * localedata/locales/wo_SN: Add lang_name from CLDR
150 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
151 * localedata/locales/yo_NG: Make country_name agree with CLDR
152 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
153 * localedata/locales/zh_HK: Add lang_name from langtable
154 * localedata/locales/zh_SG: Add lang_name from langtable
155
b5b67ece
JM
1562019-09-30 Joseph Myers <joseph@codesourcery.com>
157
158 * scripts/build-many-glibcs.py (Context.checkout): Default
159 binutils version to 2.33 branch.
160
9c44c6a9
LM
1612019-10-01 Lukasz Majewski <lukma@denx.de>
162
163 * include/time.h (valid_timeval_to_timespec64): Add.
164 * include/time.h (valid_timespec_to_timespec64): Likewise.
165 * include/time.h (valid_timespec64_to_timespec): Likewise.
166 * include/time.h (valid_timespec64_to_timeval): Likewise.
167
71bdf29a
JM
1682019-09-30 Joseph Myers <joseph@codesourcery.com>
169
170 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
171 (MAP_SYNC): New macro.
172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
173 (MAP_SYNC): Likewise.
174 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
175 kernel version number to 5.3.
176
d7a568af
PC
1772019-09-27 Paul A. Clarke <pc@us.ibm.com>
178
179 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
180 fesetenv_control.
181 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
182 rename of fesetenv_mode to fegetenv_control.
183 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
184 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
185 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
186 (libc_feholdsetround_noex_ppc_ctx): Likewise.
187
36c17c70
PC
1882019-09-27 Paul A. Clarke <pc@us.ibm.com>
189
190 * sysdeps/powerpc/fpu/fenv_private.h
191 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
192 of fesetenv_register.
193
81ecb0ee
PC
1942019-09-27 Paul A. Clarke <pc@us.ibm.com>
195
196 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
197 fegetenv_control.
198 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
199 rename of fegetenv_status to fegetenv_control.
200 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
201 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
202 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
203 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
204 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
205
e68b1151
PC
2062019-09-27 Paul A. Clarke <pc@us.ibm.com>
207
208 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
209 'mffscrn' instruction on POWER9.
210 (__fesetround_inline_nocheck): Likewise.
211
7413c188
PC
2122019-09-27 Paul A. Clarke <pc@us.ibm.com>
213
214 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
215 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
216 to write FPSCR control only, if exceptions have not changed.
217
e3d85df5
PC
2182019-09-27 Paul A. Clarke <pc@us.ibm.com>
219
220 * sysdeps/powerpc/fpu/fenv_libc.h:
221 (__TEST_AND_ENTER_NON_STOP): New.
222 (__TEST_AND_EXIT_NON_STOP): New.
223 * sysdeps/powerpc/fpu/fenv_private.h
224 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
225 (_FPU_MASK_RN): Delete.
226 (_FPU_MASK_NOT_RN_NI): Delete.
227 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
228 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
229 (__libc_feholdbits_ppc): Delete, move code into
230 libc_feholdexcept_setround_ppc.
231 (libc_feholdexcept_ppc): Delete.
232 (libc_fesetround_ppc): Delete.
233 (libc_fetestexcept_ppc): Delete.
234 (libc_feholdsetround_ppc): Delete.
235 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
236 (libc_feholdsetround_noex_ppc_ctx): Likewise.
237 (libc_feupdateenv_test_ppc): Use FPSCR defines.
238 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
239 __TEST_AND_ENTER_NON_STOP.
240 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
241 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
242 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
243 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
244 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
245 (_FPU_MASK_ALL): Delete.
246
9a44050e
JM
2472019-09-27 Joseph Myers <joseph@codesourcery.com>
248
249 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
250
464cd3a9
LM
2512019-09-26 Lukasz Majewski <lukma@denx.de>
252
253 * include/time.h: Add struct __timespec64 definition
254
8b45cac0
SP
2552019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
256
257 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
258 from codecs.
259
bacd3227
AZ
2602019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
261
b2b3b759
AZ
262 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
263 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
264
bacd3227
AZ
265 * sysdeps/unix/sysv/linux/Makefile
266 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
267 CFLAGS-tst-sigcontext-get_pc.c.
268
5d245b5f
AF
2692019-09-24 Alistair Francis <alistair.francis@wdc.com>
270
271 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
272
eb502f72
AS
2732019-09-24 Andreas Schwab <schwab@suse.de>
274
275 * sysdeps/unix/sysv/linux/arm/sysdep.h
276 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
277 not "__vdso_gettimeofday".
278 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
279 "__vdso_clock_gettime".
280 * sysdeps/unix/sysv/linux/mips/sysdep.h
281 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
282 not "__vdso_gettimeofday".
283 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
284 "__vdso_clock_gettime".
285
f1c56cdf 2862019-09-19 Paul A. Clarke <pc@us.ibm.com>
eb502f72 287
f1c56cdf
PC
288 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
289 (__fe_mffscrn): New.
290 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
291 Do not clear enable bits, remove obsolete code, use
292 fegetenv_and_set_rn.
293 (libc_feresetround_ppc): Remove obsolete code, use
294 fegetenv_and_set_rn.
295
64fab363
SL
2962019-09-19 Stefan Liebler <stli@linux.ibm.com>
297
298 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
299
73d9051d
SL
3002019-09-19 Stefan Liebler <stli@linux.ibm.com>
301
302 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
303 (_HP_TIMING_S390_H): Define.
304
2dd8d4a7
JM
3052019-09-18 Joseph Myers <joseph@codesourcery.com>
306
0f02b6cf
JM
307 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
308 version to 5.3.
309 (clone3): New syscall.
310 (pidfd_open): Likewise.
311
2dd8d4a7
JM
312 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
313 version to 5.3.
314
2b680878
SL
3152019-09-18 Stefan Liebler <stli@linux.ibm.com>
316
317 * sysdeps/s390/hp-timing.h: New file.
318
8cacbcf4
JM
3192019-09-18 Joseph Myers <joseph@codesourcery.com>
320
321 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
322 <linux/sched.h>.
323 (CLONE_VM): New macro.
324 (CLONE_VFORK): Likewise.
325
2f9046fb
SL
3262019-09-18 Stefan Liebler <stli@linux.ibm.com>
327
328 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
329 Rearrange subprocesses.
330 (pldd_process): New function.
331 * support/Makefile (libsupport-routines): Add support_ptrace.
332 * support/xptrace.h: New file.
333 * support/support_ptrace.c: Likewise.
334
b8386c28
AZ
3352019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
336
87accae3
AZ
337 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
338
7c3eed78
AZ
339 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
340 (INTERNAL_VSYSCALL_CALL): Remove.
341 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
342 (INTERNAL_VSYSCALL_CALL): Likewise.
343 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
344 (INTERNAL_VSYSCALL_CALL): Likewise.
345 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
346 New macro.
347
986a5064
AZ
348 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
349 defined.
350 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
351 (__get_timebase_freq): Remove use of
352 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
353 (get_timebase_freq_fallback): New symbol.
354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
355 HAVE_GETTIMEOFDAY_VSYSCALL.
356 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
357 HAVE_TIME_VSYSCALL.
358 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
359 implementation.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
361 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
362 powerpc64.
363 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
364 * .../sysv/linux/powerpc/powerpc64/sysdep.h
365 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
366 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
367 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
368
b8a7c7da
AZ
369 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
370 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
371 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
372 Likewise.
373 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
374 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
375 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
376 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
377 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
378 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
379 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
380 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
381 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
382 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
383 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
384 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
385 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
386 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
387 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
388 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
389 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
390 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
391 name.
392 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
393 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
394 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
395 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
396 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
397 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
398 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
399 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
400 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
401 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
402 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
403 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
404 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
405 HAVE_GETCPU_VSYSCALL): Likewise.
406 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
407 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
408 HAVE_GETCPU_VSYSCALL): Likewise.
409 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
410 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
412 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
413 HAVE_GETCPU_VSYSCALL): Likewise.
414 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
415 invalid names if architecture does not define them.
416 (get_vdso_mangle_symbol): New symbol.
417 * sysdeps/unix/sysv/linux/init-first.c: New file.
418 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
420 clock_gettime, clock_getres, getcpu, time): Remove declaration.
421 (__libc_vdso_platform_setup_arch): Likewise and use
422 get_vdso_mangle_symbol to setup vDSO symbols.
423 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
424 attribute_hidden.
425 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
426 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
427 definition.
428
b8386c28
AZ
429 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
430 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
431 Use get_vdso_symbol instead of _dl_vdso_vsym.
432 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
433 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
434 (__lookup_riscv_flush_icache): Likewise.
435 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
436 Likewise.
437 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
438 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
439 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
440 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
441 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
442 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
443 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
444 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
445 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
446 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
447 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
448 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
449 Define.
450 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
451 Likewise.
452 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
453 Likewise.
454 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
455 Likewise.
456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
457 Likewise.
458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
459 Likewise.
460 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
461 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
462 definition.
463 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
464 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
465 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
466 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
468 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
470 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
472 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
473 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
475 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
476 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
477 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
478 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
479 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
480 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
481 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
482 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
483 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
484 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
485 (get_vdso_symbol): New function.
486
b881217f
CLT
4872019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
488
489 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
490 position of string null termination.
491
1a656609
AJ
4922019-09-14 Aurelien Jarno <aurelien@aurel32.net>
493
494 [BZ #24986]
495 * sysdeps/unix/alpha/getegid.S: Move to ...
496 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
497 * sysdeps/unix/alpha/geteuid.S: Move to ...
498 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
499 * sysdeps/unix/alpha/getppid.S: Move to ...
500 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
501
3f02b772
PE
5022019-09-09 Paul Eggert <eggert@cs.ucla.edu>
503
02d35f06
PE
504 Fix http: URL in 'configure'
505 * configure.ac: Add URL to AC_INIT so that it generates an
506 https: URL instead of an http: URL.
507 * configure: Regenerate.
508
3f02b772
PE
509 Regenerate charmap-kw.h, locfile-kw.h
510 This propagates the recent http->https URL changes.
511 Since I used gperf 3.1 to regenerate, this is also a minor
512 internal-to-localedef API change.
513 URL problem reported by Joseph Myers in:
514 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
515 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
516 Regenerate with gperf 3.1.
517 * locale/programs/linereader.h (kw_hash_fct_t):
518 * locale/programs/repertoire.c (repertoiremap_hash):
519 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
520
de18a706
FW
5212019-09-05 Florian Weimer <fweimer@redhat.com>
522
523 [BZ #24962]
524 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
525 (_nl_category_names_get): New function.
526 * intl/dcigettext.c (category_to_name): Call it.
527 * locale/findlocale.c (_nl_find_locale): Likewise.
528 * intl/loadlocale.c (_nl_load_locale): Likewise.
529 * locale/newlocale.c (__newlocale): Likewise.
530 * locale/setlocale.c (_nl_category_names): Adjust definition.
531 (_nl_category_name_idxs): Likewise.
532 (new_composite_name): Call _nl_category_names_get.
533 (setlocale): Likewise.
534
ab41100b
GG
5352019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
536
537 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
538 const attribute with pure attribute.
539
a26918cf
LM
5402019-09-04 Lukasz Majewski <lukma@denx.de>
541
542 * sysdeps/unix/sysv/linux/kernel-features.h
543 (__ASSUME_TIME64_SYSCALLS): New macro.
544
7b5af2d8
ZW
5452019-09-04 Zack Weinberg <zackw@panix.com>
546
547 [BZ #24959]
548 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
549 * rt/clock_getres.c: Move to time/clock_getres.c.
550 * rt/clock_gettime.c: Move to time/clock_gettime.c.
551 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
552 * rt/clock_settime.c: Move to time/clock_settime.c.
553 * rt/tst-clock.c: Move to time/tst-clock.c.
554 * rt/tst-clock2.c: Move to time/tst-clock2.c.
555 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
556 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
557 * rt/clock-compat.c: Delete file.
558
559 * time/clock_getcpuclockid.c
560 * time/clock_getres.c
561 * time/clock_gettime.c
562 * time/clock_nanosleep.c
563 * time/clock_settime.c
564 * sysdeps/posix/clock_getres.c
565 * sysdeps/unix/clock_gettime.c
566 * sysdeps/unix/clock_nanosleep.c
567 * sysdeps/unix/clock_settime.c
568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
569 * sysdeps/unix/sysv/linux/clock_getres.c
570 * sysdeps/unix/sysv/linux/clock_gettime.c
571 * sysdeps/unix/sysv/linux/clock_nanosleep.c
572 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
573 defined by this file with default symbol version GLIBC_2_17,
574 and optionally a compatibility alias at symbol version GLIBC_2_2.
575 * include/time.h: Remove internal prototypes for clock_getres,
576 clock_nanosleep, and clock_getcpuclockid.
577
578 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
579 Remove unused function realtime_gettime.
580
581 * rt/Makefile (clock-routines, routines): Remove variable.
582 (librt-routines): Remove clock-compat.
583 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
584 and tst-cpuclock1.
585 * time/Makefile (routines): Add clock_getres, clock_gettime,
586 clock_settime, clock_getcpuclockid, and clock_nanosleep.
587 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
588 and tst-cpuclock1.
589
590 * rt/Versions (libc): Remove entire stanza.
591 (librt GLIBC_2.2): Remove all clock_* functions.
592 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
593 Add clock_getres, clock_gettime, clock_settime,
594 clock_getcpuclockid, and clock_nanosleep.
595 (libc GLIBC_PRIVATE): Add __clock_gettime.
596
597 * sysdeps/mach/hurd/i386/librt.abilist
598 * sysdeps/unix/sysv/linux/alpha/librt.abilist
599 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
600 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
601 * sysdeps/unix/sysv/linux/hppa/librt.abilist
602 * sysdeps/unix/sysv/linux/i386/librt.abilist
603 * sysdeps/unix/sysv/linux/ia64/librt.abilist
604 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
605 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
606 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
607 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
608 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
609 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
612 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
613 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
614 * sysdeps/unix/sysv/linux/sh/librt.abilist
615 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
616 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
617 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
618 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
619 Remove entries for clock_getres, clock_gettime, clock_settime,
620 clock_getcpuclockid, and clock_nanosleep.
621
622 * sysdeps/mach/hurd/i386/libc.abilist
623 * sysdeps/unix/sysv/linux/alpha/libc.abilist
624 * sysdeps/unix/sysv/linux/arm/libc.abilist
625 * sysdeps/unix/sysv/linux/hppa/libc.abilist
626 * sysdeps/unix/sysv/linux/i386/libc.abilist
627 * sysdeps/unix/sysv/linux/ia64/libc.abilist
628 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
630 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
631 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
632 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
633 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
637 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
638 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
639 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
640 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
641 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
642 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
643 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
644 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
645 Add another set of entries for clock_getres, clock_gettime,
646 clock_settime, clock_getcpuclockid, and clock_nanosleep at
647 whatever version GLIBC_2.2 maps to.
648
b5367a08
AJ
6492019-09-03 Aurelien Jarno <aurelien@aurel32.net>
650
651 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
652
1471fa55
FW
6532019-09-03 Florian Weimer <fweimer@redhat.com>
654
655 [BZ #24950]
656 * locale/programs/charmap.h (struct charseq): Turn bytes into a
657 flexible array member.
658 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
659 replace.
660
9a1e7257
FW
6612019-09-02 Florian Weimer <fweimer@redhat.com>
662
663 * misc/tst-mntent-autofs.c: New file.
664 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
665
08b7e998
IK
6662019-09-02 Ian Kent <ikent@redhat.com>
667
668 Use autofs "ignore" mount hint in getmntent_r/getmntent.
669 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
670 getmntent_r.
671 (__getmntent_r): Call it. Filter out autofs entries with an
672 "ignore" mount option.
673
3c05dd79
WD
6742019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
675
676 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
677 (generic_memcpy): Include generic C memcpy.
678 * benchtests/bench-memmove.c (simple_memmove): Remove.
679 (generic_memmove): Include generic C memmove.
680 * benchtests/bench-memset.c (simple_memset): Remove.
681 (generic_memset): Include generic C memset.
682 * benchtests/bench-memset-large.c (simple_memset): Remove.
683 (generic_memset): Include generic C memset.
684 * benchtests/bench-memset-walk.c (simple_memset): Remove.
685 (generic_memset): Include generic C memset.
686 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
687 * string/memset.c (MEMSET): Likewise.
688 * sysdeps/x86_64/memcopy.h: Remove empty file.
689
9743c627
FW
6902019-08-30 Florian Weimer <fweimer@redhat.com>
691
692 nptl: Move pthread_attr_getinheritsched implementation into libc.
693 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
694 (libpthread-routines): Remove pthread_attr_getinheritsched.
695 * nptl/Versions (libpthread GLIBC_2.0): Remove
696 pthread_attr_getinheritsched.
697 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
698 * nptl/nptl-init.c (pthread_functions): Remove initializer for
699 ptr_pthread_attr_getinheritsched.
700 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
701 Remove ptr_pthread_attr_getinheritsched member.
702 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
703 Remove pthread_attr_getinheritsched.
704 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
705 Likewise.
706 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
707 Likewise.
708 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
709 Likewise.
710 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
711 Likewise.
712 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
713 Likewise.
714 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
715 Likewise.
716 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
717 Likewise.
718 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
719 (GLIBC_2.4): Likewise.
720 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
721 (GLIBC_2.0): Likewise.
722 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
723 (GLIBC_2.18): Likewise.
724 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
725 (GLIBC_2.18): Likewise.
726 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
727 (GLIBC_2.0): Likewise.
728 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
729 (GLIBC_2.0): Likewise.
730 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
731 Likewise.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
733 (GLIBC_2.0): Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
735 (GLIBC_2.3): Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
737 (GLIBC_2.17): Likewise.
738 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
739 (GLIBC_2.27): Likewise.
740 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
741 (GLIBC_2.0): Likewise.
742 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
743 (GLIBC_2.2): Likewise.
744 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
745 Likewise.
746 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
747 Likewise.
748 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
749 (GLIBC_2.0): Likewise.
750 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
751 (GLIBC_2.2): Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
753 (GLIBC_2.2.5): Likewise.
754 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
755 (GLIBC_2.16): Likewise.
756
90f0f97c
ST
7572019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
758
90f0f97c
ST
759 * sysdeps/mach/hurd/getcwd.c
760 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
761 slash if we got an unknown root directory. (__getcwd): Do not fail with
762 EGRATUITOUS if we got an unknown root directory.
d76d187c
ST
763 * hurd/hurdselect.c (SELECT_ERROR): New macro.
764 (_hurd_select):
765 - Add `error' field to `d' structures array.
766 - If a poll descriptor is bogus, set EBADF, but continue with a zero
767 timeout.
768 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
769 EBADF there is any bit set above _hurd_dtablesize.
770 - Do not request io_select on bogus descriptors (SELECT_ERROR).
771 - On io_select request error, record the error.
772 - On io_select bogus reply, use EIO error code.
773 - On io_select bogus or error reply, record the error.
774 - Do not destroy reply port for bogus FDs.
775 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
776 EBADF case, or else POLLERR.
777 - On error, make select simulated readiness.
90f0f97c 778
c9536b7b
ST
779 [BZ #19903]
780 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
781 as __vm_allocate.
782
a644a4b2
ST
783 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
784 unlocks SS and returns to the saved PC.
785 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
786 thread stack instead of the saved PC.
787
90f0f97c 7882019-08-30 Richard Braun <rbraun@sceen.net>
4b068090
RB
789
790 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
791 timeout.
f0e84494 792 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
c3010778
RB
793 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
794 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
795 <limits.h>.
796 (_hurd_select): Replace the call to __io_select with either
797 __io_select_request or __io_select_timeout_request, depending on the
798 timeout. Count the number of ready descriptors (replies for which at
799 least one type bit is set). Implement the timeout locally when there is
800 no file descriptor.
4b068090 801
23c1c256
MS
8022019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
803
804 * elf/dl-addr.c (determine_info): Calculate the symbol index
805 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
806 * elf/dl-lookup.c (do_lookup_x): Ditto.
807 (_dl_setup_hash): Initialize MIPS xhash translation table.
808 * elf/elf.h (SHT_MIPS_XHASH): New define.
809 (DT_MIPS_XHASH): New define.
810 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
811 define.
812 (ELF_MACHINE_HASH_SYMIDX): Ditto.
813 (ELF_MACHINE_XHASH_SETUP): Ditto.
814 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
815 define.
816 (ELF_MACHINE_HASH_SYMIDX): Ditto.
817 (ELF_MACHINE_XHASH_SETUP): Ditto.
818 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
819 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
820 version.
821 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
822
1673ba87
AZ
8232019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
824
605f3817
AZ
825 * sysdeps/sh/preconfigure.ac: New file.
826 * sysdeps/sh/preconfigure: Regenerate.
827 * sysdeps/sh/be/sh3/Implies: New file.
828 * sysdeps/sh/be/sh4/Implies: Likewise.
829 * sysdeps/sh/le/sh3/Implies: Likewise.
830 * sysdeps/sh/le/sh4/Implies: Likewise.
831 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
832 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
833 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
834 sysdeps/unix/sysv/linux/sh/le/*.abilist.
835 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
836
c7fca8d4
AZ
837 * sysdeps/microblaze/preconfigure.ac: New file.
838 * sysdeps/microblaze/preconfigure: Regenerate.
839 * sysdeps/microblaze/be/implies: New file.
840 * sysdeps/microblaze/le/implies: Likewise.
841 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
842 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
843 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
844 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
845 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
846
1673ba87
AZ
847 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
848 * sysdeps/arm/preconfigure: Regenerate.
849 * sysdeps/arm/be/Implies: New file.
850 * sysdeps/arm/be/armv6/Implies: Likewise.
851 * sysdeps/arm/be/armv6t2/Implies: Likewise.
852 * sysdeps/arm/be/armv7/Implies: Likewise.
853 * sysdeps/arm/le/Implies: Likewise.
854 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
855 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
856 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
857 sysdeps/unix/sysv/linux/arm/le/*.abilist.
858 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
859
a22a582e
PE
8602019-08-27 Paul Eggert <eggert@cs.ucla.edu>
861
862 Fix posix/tst-regex by using UTF-8 and own test input
863 Problem reported by Stefan Liebler in:
864 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
865 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
866 (do_test, test_expr): Adjust to the fact that this source file,
867 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
868 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
869 so that it is now UTF-8.
870
0b3c9e57 8712019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 872
0b3c9e57
PC
873 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
874 (fegetenv_status): Generate 'mffsl' unconditionally.
875
fec2bd2c 8762019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 877
fec2bd2c
PC
878 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
879 FPSCR read.
880 (_FPU_MASK_ALL): Delete.
881
e9052126 8822019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 883
e9052126
PC
884 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
885 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
886 if possible.
887 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
888 with simpler required steps, set fewer FPSCR bits if possible.
889
3c1766ea 8902019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 891
3c1766ea
PC
892 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
893 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
894 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
895 weight access to FPSCR; remove unnecessary second FPSCR read and
896 validate.
897 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
898 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
899 access to FPSCR; Use macros in fenv_libc.h in favor of local.
900
cd7ce12a 9012019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 902
cd7ce12a
PC
903 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
904 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
905 (fenv_exceptions_to_reg): New.
906 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
907 operation with call to fenv_exceptions_to_reg().
908 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
909
35ffd20d
FW
9102019-08-28 Florian Weimer <fweimer@redhat.com>
911
912 * misc/mntent.c (struct mntent_buffer): Define.
913 (mntent_buffer): Adjust type to void *.
914 (allocate): Adjust for allocate_once.
915 (deallocate): New function.
916 (getmntent): Call allocate_once.
917
ffced383
FW
9182019-08-28 Florian Weimer <fweimer@redhat.com>
919
920 nptl: Move pthread_attr_setdetachstate implementation into libc.
921 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
922 (libpthread-routines): Remove pthread_attr_setdetachstate.
923 * nptl/Versions (libpthread GLIBC_2.0): Remove
924 pthread_attr_setdetachstate.
925 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
926 * nptl/nptl-init.c (pthread_functions): Remove initializer for
927 ptr_pthread_attr_setdetachstate.
928 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
929 Remove ptr_pthread_attr_setdetachstate member.
930 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
931 Remove pthread_attr_setdetachstate.
932 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
933 Likewise.
934 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
935 Likewise.
936 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
937 Likewise.
938 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
939 Likewise.
940 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
941 Likewise.
942 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
943 Likewise.
944 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
945 (GLIBC_2.4): Likewise.
946 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
947 (GLIBC_2.0): Likewise.
948 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
949 (GLIBC_2.18): Likewise.
950 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
951 (GLIBC_2.0): Likewise.
952 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
953 (GLIBC_2.0): Likewise.
954 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
955 Likewise.
956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
957 (GLIBC_2.0): Likewise.
958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
959 (GLIBC_2.3): Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
961 (GLIBC_2.17): Likewise.
962 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
963 (GLIBC_2.27): Likewise.
964 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
965 (GLIBC_2.0): Likewise.
966 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
967 (GLIBC_2.2): Likewise.
968 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
969 Likewise.
970 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
971 (GLIBC_2.0): Likewise.
972 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
973 (GLIBC_2.2): Likewise.
974 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
975 (GLIBC_2.2.5): Likewise.
976 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
977 (GLIBC_2.16): Likewise.
978
61d3db42
FW
9792019-08-28 Florian Weimer <fweimer@redhat.com>
980
981 [BZ #24902]
982 * login/Makefile (tests): Add tst-pututxline-lockfail.
983 (tst-pututxline-lockfail): Link with -lpthread.
984 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
985 (__libc_getutid_r): Adjust.
986 (__libc_pututline): Likewise. Check for file_offset == -1.
987 * login/tst-pututxline-lockfail.c: New file.
988
3a9d025f
SL
9892019-08-28 Stefan Liebler <stli@linux.ibm.com>
990
991 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
992 * posix/tst-regex.input: New file.
993
edd8d70b
MS
9942019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
995
996 [BZ #24916]
997 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
998 tst-undefined-weak.
999 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
1000 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
1001 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
1002 * sysdeps/mips/tst-undefined-weak.c: Likewise.
1003 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1004 Increment highest valid ABIVERSION value.
1005
33bc9efd
DM
10062019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1007
1008 * sysdeps/unix/sysv/linux/mips/Makefile
1009 (test-xfail-check-execstack):
1010 Move under mips-has-gnustack != yes.
1011 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
1012 Apply -Wa,-execstack if mips-force-execstack == yes.
1013 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1014 * sysdeps/unix/sysv/linux/mips/configure.ac
1015 (mips-force-execstack): New var.
1016 Set to yes for hard-float builds with minimum_kernel < 4.8.0
1017 or minimum_kernel not set at all.
1018 (mips-has-gnustack): New var.
1019 Use value of libc_cv_as_noexecstack
1020 if mips-force-execstack != yes, otherwise set to no.
1021
a43565ac
AZ
10222019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1023 Florian Weimer <fweimer@redhat.com>
1024
08d57105
AZ
1025 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
1026 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1027 Make a compat_symbol.
1028 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
1029 (__profil_counter_global): Likewise.
1030
a43565ac
AZ
1031 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
1032 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
1033 uintptr_t.
1034 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
1035 sigcontext_get_pc and return aligned cast to uintptr_t.
1036 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
1037 * sysdeps/posix/profil.c (profil_count): Change PC argument to
1038 uintptr_t.
1039 (__profil): Use SA_SIGINFO.
1040 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
1041 uintptr_t.
1042 (__sprofil): Use SA_SIGINFO.
1043 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
1044 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
1045 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1046 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
1047 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
1048 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
1049 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
1050 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
1051 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
1053 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
1054 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1055 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
1056 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
1057 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
1058 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
1059 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
1060 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
1061 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
1062 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
1063 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
1064 GET_PC, __sigaction, sigaction): Remove defines.
1065 (sigcontext_get_pc): New function.
1066 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1067 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1068 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1069 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
1070 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1071 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
1072 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1073 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1074 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
1075 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1076 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
1077 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1078 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1079 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1080 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1081 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
1083 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1084 Handle CTX argument as ucontext_t.
1085 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1086 Likewise.
1087 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1088 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1089 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1090 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1091 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1092 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1093 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1095 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1096 tst-sigcontextinfo-get_pc.
1097 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1098 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1099
624c109b
AZ
11002019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1101
1102 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1103 definition.
1104
ab74d59f 11052019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
c0fd3244
RL
1106
1107 [BZ #24682]
1108 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1109 * localedata/locales/ug_CN (first_weekday): Likewise.
1110 * localedata/locales/zh_CN (first_weekday): Likewise.
1111
c8c8160c
GR
11122019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1113
1114 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1115 field name in mcontext_t struct.
1116
c737ef0d
JM
11172019-08-22 Joseph Myers <joseph@codesourcery.com>
1118
42f527c8
JM
1119 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1120 unsupported with libidn2 before 2.0.5.
1121 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1122
c737ef0d
JM
1123 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1124 features.
1125
8a80ee5e
PE
11262019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1127
f615e3fc
PE
1128 Remove dead regex code
1129 * posix/regex_internal.c (re_node_set_insert):
1130 Remove unnecessary assignment. Reported by Tim Rühsen in:
1131 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1132
8a80ee5e
PE
1133 Fix bad pointer / leak in regex code
1134 This was found by Coverity (CID 1484201). [BZ#24844]
1135 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1136 pointer and/or memory leak when storage is exhausted.
1137
1baae4aa
ZW
11382019-08-21 Zack Weinberg <zackw@panix.com>
1139
1140 * misc/syslog.c (__vsyslog_internal)
1141 * time/getdate.c (__getdate_r)
1142 * time/tst_wcsftime.c (main):
1143 Use return value of time, not its argument.
1144
1145 * string/strfry.c (strfry)
1146 * sysdeps/mach/sleep.c (__sleep):
1147 Remove unnecessary casts of NULL in calls to time.
1148
f9fabc1b
JM
11492019-08-21 Joseph Myers <joseph@codesourcery.com>
1150
1151 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1152 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1153 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1154 (__TGMATH_2_NARROW_F): Likewise.
1155 (__TGMATH_2_NARROW_D): New macro.
1156 (__TGMATH_2_NARROW_F16): Likewise.
1157 (__TGMATH_2_NARROW_F32): Likewise.
1158 (__TGMATH_2_NARROW_F64): Likewise.
1159 (__TGMATH_2_NARROW_F32X): Likewise.
1160 (__TGMATH_2_NARROW_F64X): Likewise.
1161 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1162 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1163 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1164 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1165 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1166 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1167 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1168 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1169 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1170 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1171 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1172 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1173 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1174 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1175 Likewise.
1176 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1177 Likewise.
1178 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1179 Likewise.
1180 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1181 Likewise.
1182 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1183 Likewise.
1184 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1185 Likewise.
1186 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1187 Likewise.
1188 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1189 Likewise.
1190 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1191 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1192 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1193 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1194 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1195 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1196 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1197 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1198 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1199 Likewise.
1200 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1201 Likewise.
1202 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1203 Likewise.
1204 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1205 Likewise.
1206 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1207 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1208 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1209 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1210 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1211 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1212 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1213 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1214 * math/gen-tgmath-tests.py (Type): Add members
1215 non_standard_real_argument_types_list, long_double_type,
1216 complex_float64_type and float32x_ext_type.
1217 (Type.__init__): Set the new members.
1218 (Type.floating_type): Add new argument floatn.
1219 (Type.real_floating_type): Likewise.
1220 (Type.can_combine_types): Likewise.
1221 (Type.combine_types): Likewise.
1222 (Type.init_types): Create internal Float32x_ext type.
1223 (Tests.__init__): Define Float32x_ext in generated C code.
1224 (Tests.add_tests): Handle narrowing functions.
1225 (Tests.add_all_tests): Likewise.
1226 (Tests.tests_text): Allow variation in mant_dig for narrowing
1227 functions with compilers before GCC 8.
1228 * math/Makefile (tgmath3-narrow-types): New variable.
1229 (tgmath3-narrow-macros): Likewise.
1230 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1231
b7297184
AS
12322019-08-20 Andreas Schwab <schwab@suse.de>
1233
1234 * sysdeps/i386/fpu/libm-test-ulps: Update.
1235
d34d4c80
CD
12362019-08-19 Carlos O'Donell <carlos@redhat.com>
1237
1238 * nscd/nscd.conf: Add warning and comment about shared option.
1239
4b7c7417
CD
12402019-08-19 Carlos O'Donell <carlos@redhat.com>
1241
1242 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1243 * manual/nss.texi (NSS Basics): List all known databases.
1244 (Services in the NSS configuration): Mention automount.
1245
a289ea09
FW
12462019-08-19 Florian Weimer <fweimer@redhat.com>
1247
1248 Do not print backtraces on fatal errors.
1249 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1250 (__fortify_fail_abort): Remove definition.
1251 (__fortify_fail): Call __libc_message directly.
1252 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1253 (__stack_chk_fail): Call __fortify_fail instead of
1254 __fortify_fail_abort.
1255 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1256 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1257 definitions.
1258 (__libc_message): Do not handle do_backtrace. Do not call
1259 BEFORE_ABORT.
1260 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1261 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1262 (before_abort): Remove definitions.
1263
1d714fd9
FW
12642019-08-16 Florian Weimer <fweimer@redhat.com>
1265
1266 nptl: Move pthread_attr_getdetachstate implementation into libc.
1267 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1268 (libpthread-routines): Remove pthread_attr_getdetachstate.
1269 * nptl/Versions (libpthread GLIBC_2.0): Remove
1270 pthread_attr_getdetachstate.
1271 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1272 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1273 ptr_pthread_attr_getdetachstate.
1274 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1275 Remove ptr_pthread_attr_getdetachstate member.
1276 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1277 Remove pthread_attr_getdetachstate.
1278 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1279 Likewise.
1280 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1281 Likewise.
1282 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1283 Likewise.
1284 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1285 Likewise.
1286 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1287 Likewise.
1288 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1289 Likewise.
1290 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1291 (GLIBC_2.4): Likewise.
1292 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1293 (GLIBC_2.0): Likewise.
1294 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1295 (GLIBC_2.18): Likewise.
1296 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1297 (GLIBC_2.0): Likewise.
1298 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1299 (GLIBC_2.0): Likewise.
1300 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1301 Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1303 (GLIBC_2.0): Likewise.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1305 (GLIBC_2.3): Likewise.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1307 (GLIBC_2.17): Likewise.
1308 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1309 (GLIBC_2.27): Likewise.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1311 (GLIBC_2.0): Likewise.
1312 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1313 (GLIBC_2.2): Likewise.
1314 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1315 Likewise.
1316 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1317 (GLIBC_2.0): Likewise.
1318 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1319 (GLIBC_2.2): Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1321 (GLIBC_2.2.5): Likewise.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1323 (GLIBC_2.16): Likewise.
1324
4745f4c1
JM
13252019-08-16 Joseph Myers <joseph@codesourcery.com>
1326
1327 * math/libm-test-compat_totalorder.inc (do_test)
1328 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1329 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1330 * math/libm-test-compat_totalordermag.inc (do_test)
1331 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1332
a635d756
FW
13332019-08-15 Florian Weimer <fweimer@redhat.com>
1334
1335 nptl: Move pthread_attr_init implementation into libc.
1336 * nptl/Makefile (routines): Add pthread_attr_init.
1337 (libpthread-routines): Remove pthread_attr_init.
1338 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1339 (libpthread GLIBC_2.0): Likewise.
1340 * nptl/pthread_attr_init.c: Check for libc compat version instead
1341 of libpthread compat version.
1342 * nptl/forward.c (__pthread_attr_init_2_0)
1343 (__pthread_attr_init_2_1): Remove definitions.
1344 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1345 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1346 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1347 Remove members ptr___pthread_attr_init_2_0,
1348 ptr___pthread_attr_init_2_1.
1349 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1350 Remove pthread_attr_init.
1351 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1352 Likewise.
1353 (GLIBC_2.1): Likewise.
1354 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1355 Likewise.
1356 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1357 Likewise.
1358 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1359 Likewise.
1360 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1361 Likewise.
1362 (GLIBC_2.1): Likewise.
1363 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1364 Likewise.
1365 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1366 (GLIBC_2.4): Likewise.
1367 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1368 (GLIBC_2.0): Likewise.
1369 (GLIBC_2.1): Likewise.
1370 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1371 (GLIBC_2.18): Likewise.
1372 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1373 (GLIBC_2.0): Likewise.
1374 (GLIBC_2.1): Likewise.
1375 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1376 (GLIBC_2.0): Likewise.
1377 (GLIBC_2.1): Likewise.
1378 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1381 (GLIBC_2.0): Likewise.
1382 (GLIBC_2.1): Likewise.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1384 (GLIBC_2.3): Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1386 (GLIBC_2.17): Likewise.
1387 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1388 (GLIBC_2.27): Likewise.
1389 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1390 (GLIBC_2.0): Likewise.
1391 (GLIBC_2.1): Likewise.
1392 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1393 (GLIBC_2.2): Likewise.
1394 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1397 (GLIBC_2.0): Likewise.
1398 (GLIBC_2.1): Likewise.
1399 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1400 (GLIBC_2.2): Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1402 (GLIBC_2.2.5): Likewise.
1403 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1404 (GLIBC_2.16): Likewise.
1405
23d2e5fa
FW
14062019-08-15 Florian Weimer <fweimer@redhat.com>
1407
1408 [BZ #24900]
1409 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1410 new object in __RTLD_OPENEXEC mode (except for the origin).
1411 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1412 check for the error message.
1413 (do_test): Call it. Add check using relative path.
1414 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1415 (tst-dlopen-aout-container): Link with libpthread.
1416 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1417
42760d76
JM
14182019-08-15 Joseph Myers <joseph@codesourcery.com>
1419
1420 * math/bits/mathcalls.h
1421 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1422 (totalorder): Take pointer arguments.
1423 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1424 (totalordermag): Likewise.
1425 * manual/arith.texi (totalorder): Likewise.
1426 (totalorderf): Likewise.
1427 (totalorderl): Likewise.
1428 (totalorderfN): Likewise.
1429 (totalorderfNx): Likewise.
1430 (totalordermag): Likewise.
1431 (totalordermagf): Likewise.
1432 (totalordermagl): Likewise.
1433 (totalordermagfN): Likewise.
1434 (totalordermagfNx): Likewise.
1435 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1437 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1438 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1439 totalorderl, totalordermag, totalordermagf, totalordermagl,
1440 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1441 totalordermagf64, totalordermagf32x, totalorderf64x,
1442 totalordermagf64x, totalorderf128 and totalordermagf128.
1443 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1444 and compat_totalordermag.
1445 (libm-test-funcs-compat): New variable.
1446 (libm-tests-compat): Likewise.
1447 (tests): Do not include compat tests.
1448 (tests-internal): Add compat tests.
1449 ($(foreach t,$(libm-tests-base),
1450 $(objpfx)$(t)-compat_totalorder.o)): Depend
1451 on $(objpfx)libm-test-totalorder.c.
1452 ($(foreach t,$(libm-tests-base),
1453 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1454 $(objpfx)libm-test-totalordermag.c.
1455 (tgmath3-macros): Remove totalorder and totalordermag.
1456 * math/libm-test-compat_totalorder.inc: New file.
1457 * math/libm-test-compat_totalordermag.inc: Likewise.
1458 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1459 (RUN_TEST_fpfp_b): New macro.
1460 (RUN_TEST_LOOP_fpfp_b): Likewise.
1461 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1462 TEST_fpfp_b.
1463 (totalorder_test): Condition on [!COMPAT_TEST].
1464 (do_test): Likewise.
1465 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1466 TEST_fpfp_b.
1467 (totalordermag_test): Condition on [!COMPAT_TEST].
1468 (do_test): Likewise.
1469 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1470 totalorder and totalordermag.
1471 * math/test-tgmath.c (NCALLS): Change to 132.
1472 (F(compile_test)): Do not call totalorder or totalordermag.
1473 (F(totalorder)): Remove.
1474 (F(totalordermag)): Likewise.
1475 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1476 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1477 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1478 SJSTR_HELPER.
1479 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1480 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1481 [!_ISOMAC] (TEST_ALIGN): Likewise.
1482 [!_ISOMAC] (TEST_OFFSET): Likewise.
1483 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1484 and <first-versions.h>.
1485 (__totalorder): Take pointer arguments. Add symbol versions and
1486 compat symbols.
1487 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1488 <shlib-compat.h> and <first-versions.h>.
1489 (__totalordermag): Take pointer arguments. Add symbol versions
1490 and compat symbols.
1491 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1492 <shlib-compat.h> and <first-versions.h>.
1493 (__totalorder): Take pointer arguments. Add symbol versions and
1494 compat symbols.
1495 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1496 <shlib-compat.h> and <first-versions.h>.
1497 (__totalordermag): Take pointer arguments. Add symbol versions
1498 and compat symbols.
1499 * sysdeps/ieee754/float128/float128_private.h
1500 (__totalorder_compatl): New macro.
1501 (__totalordermag_compatl): Likewise.
1502 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1503 and <first-versions.h>.
1504 (__totalorderf): Take pointer arguments. Add symbol versions and
1505 compat symbols.
1506 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1507 <shlib-compat.h> and <first-versions.h>.
1508 (__totalordermagf): Take pointer arguments. Add symbol versions
1509 and compat symbols.
1510 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1511 <shlib-compat.h> and <first-versions.h>.
1512 (__totalorderl): Take pointer arguments. Add symbol versions and
1513 compat symbols.
1514 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1515 <shlib-compat.h> and <first-versions.h>.
1516 (__totalordermagl): Take pointer arguments. Add symbol versions
1517 and compat symbols.
1518 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1519 <shlib-compat.h>.
1520 (__totalorderl): Take pointer arguments. Add symbol versions and
1521 compat symbols.
1522 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1523 <shlib-compat.h>.
1524 (__totalordermagl): Take pointer arguments. Add symbol versions
1525 and compat symbols.
1526 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1527 <shlib-compat.h> and <first-versions.h>.
1528 (__totalorderl): Take pointer arguments. Add symbol versions and
1529 compat symbols.
1530 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1531 <shlib-compat.h> and <first-versions.h>.
1532 (__totalordermagl): Take pointer arguments. Add symbol versions
1533 and compat symbols.
1534 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1535 pointer arguments.
1536 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1537 Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1539 (do_test): Update calls to totalorderl and totalordermagl.
1540 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1541 Update calls to totalorderl and totalordermagl.
1542 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1543 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1544 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1545 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1546 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1547 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1548 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1549 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1550 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1551 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1552 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1553 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1554 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1555 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1557 Likewise.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1559 Likewise.
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1561 Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1563 Likewise.
1564 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1565 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1566 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1567 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1568 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1569 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1570 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1571 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1572
c2adefba
FW
15732019-08-15 Florian Weimer <fweimer@redhat.com>
1574
1575 [BZ #24899]
1576 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1577 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1578 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1579 Likewise.
1580 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1581 __attribute_nonstring__ to ut_id.
1582 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1583 Likewise.
1584
0d5b2917
FW
15852019-08-15 Florian Weimer <fweimer@redhat.com>
1586
1587 [BZ #24880]
1588 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1589 (file_locking_unlock): Likewise.
1590
628598be
FW
15912019-08-15 Florian Weimer <fweimer@redhat.com>
1592
1593 [BZ #24879]
1594 login: Disarm timer after utmp lock acquisition.
1595 * login/utmp_file.c (struct file_locking): Remove.
1596 (try_file_lock): Adjust.
1597 (file_lock_restore): Remove function.
1598 (__libc_getutent_r): .
1599 (internal_getut_r): Likewise.
1600 (__libc_getutline_r): Likewise.
1601 (__libc_pututline): Likewise.
1602 (__libc_updwtmp): Likewise.
1603
17e13474
FW
16042019-08-15 Florian Weimer <fweimer@redhat.com>
1605
1606 nptl: Remove pthread_self compatibility symbol from libpthread.
1607 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1608 pthread_equal.
1609 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1610 * nptl/compat-pthread_self.c: Remove file.
1611 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1612 Remove pthread_self.
1613 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1614 Likewise.
1615 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1616 Likewise.
1617 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1618 Likewise.
1619 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1620 Likewise.
1621 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1622 Likewise.
1623 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1624 (GLIBC_2.4): Likewise.
1625 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1626 (GLIBC_2.0): Likewise.
1627 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1628 (GLIBC_2.18): Likewise.
1629 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1630 (GLIBC_2.0): Likewise.
1631 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1632 (GLIBC_2.0): Likewise.
1633 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1634 Likewise.
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1636 (GLIBC_2.0): Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1638 (GLIBC_2.3): Likewise.
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1640 (GLIBC_2.17): Likewise.
1641 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1642 (GLIBC_2.0): Likewise.
1643 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1644 (GLIBC_2.2): Likewise.
1645 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1646 Likewise.
1647 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1648 (GLIBC_2.0): Likewise.
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1650 (GLIBC_2.2): Likewise.
1651 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1652 (GLIBC_2.2.5): Likewise.
1653 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1654 (GLIBC_2.16): Likewise.
1655
fa57c301
FW
16562019-08-15 Florian Weimer <fweimer@redhat.com>
1657
1658 nptl: Move pthread_attr_destroy implementation into libc.
1659 * nptl/Makefile (routines): Add pthread_attr_destroy.
1660 (libpthread-routines): Remove pthread_attr_destroy.
1661 * nptl/Versions (libpthread GLIBC_2.0): Remove
1662 pthread_attr_destroy.
1663 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1664 libc compat version instead of libpthread compat version.
1665 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1666 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1667 ptr_pthread_attr_destroy.
1668 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1669 Remove ptr_pthread_attr_destroy member.
1670 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1671 Remove pthread_attr_destroy.
1672 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1673 Likewise.
1674 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1675 Likewise.
1676 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1677 Likewise.
1678 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1679 Likewise.
1680 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1681 Likewise.
1682 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1685 (GLIBC_2.4): Likewise.
1686 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1687 (GLIBC_2.0): Likewise.
1688 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1689 (GLIBC_2.18): Likewise.
1690 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1691 (GLIBC_2.0): Likewise.
1692 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1693 (GLIBC_2.0): Likewise.
1694 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1695 Likewise.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1697 (GLIBC_2.0): Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1699 (GLIBC_2.3): Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1701 (GLIBC_2.17): Likewise.
1702 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1703 (GLIBC_2.27): Likewise.
1704 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1705 (GLIBC_2.0): Likewise.
1706 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1707 (GLIBC_2.2): Likewise.
1708 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1709 Likewise.
1710 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1711 (GLIBC_2.0): Likewise.
1712 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1713 (GLIBC_2.2): Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1715 (GLIBC_2.2.5): Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1717 (GLIBC_2.16): Likewise.
1718
56e09811
AS
17192019-08-15 Andreas Schwab <schwab@suse.de>
1720
1721 * sysdeps/i386/fpu/libm-test-ulps: Update.
1722
f9769a23
FW
17232019-08-15 Florian Weimer <fweimer@redhat.com>
1724
1725 * malloc/Makefile (tests): Only add tst-mxfast for
1726 $(have-tunables).
1727 * malloc/tst-mxfast.c: Fix copyright year.
1728 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1729 assert for checks.
1730
341da5b4
FW
17312019-08-15 Florian Weimer <fweimer@redhat.com>
1732
1733 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1734 descriptor.
1735 * login/Makefile (tests): Add tst-updwtmpx.
1736 * login/tst-updwtmpx.c: New file.
1737
dda373b0
FW
17382019-08-15 Florian Weimer <fweimer@redhat.com>
1739
1740 nptl: Move pthread_equal implementation into libc.
1741 * nptl/Makefile (routines): Add pthread_equal.
1742 * nptl/forward.c (pthread_equal): Remove definition.
1743 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1744 ptr_pthread_equal.
1745 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1746 Remove ptr_pthread_equal member.
1747 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1748 Remove pthread_equal.
1749 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1750 Likewise.
1751 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1752 Likewise.
1753 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1754 Likewise.
1755 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1756 Likewise.
1757 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1758 Likewise.
1759 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1760 Likewise.
1761 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1762 (GLIBC_2.4): Likewise.
1763 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1764 (GLIBC_2.0): Likewise.
1765 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1766 (GLIBC_2.18): Likewise.
1767 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1768 (GLIBC_2.0): Likewise.
1769 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1770 (GLIBC_2.0): Likewise.
1771 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1774 (GLIBC_2.0): Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1776 (GLIBC_2.3): Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1778 (GLIBC_2.17): Likewise.
1779 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1780 (GLIBC_2.27): Likewise.
1781 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1782 (GLIBC_2.0): Likewise.
1783 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1784 (GLIBC_2.2): Likewise.
1785 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1786 Likewise.
1787 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1788 (GLIBC_2.0): Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1790 (GLIBC_2.2): Likewise.
1791 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1792 (GLIBC_2.2.5): Likewise.
1793 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1794 (GLIBC_2.16): Likewise.
1795
c54d8649
FW
17962019-08-14 Florian Weimer <fweimer@redhat.com>
1797
1798 * support/support_descriptors.c: Include <support/descriptors.h>.
1799
b68fabfb
FX
18002019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1801
1802 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1803 Disable DC ZVA code if this macro is defined as zero.
1804 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1805 Change to zero to disable using DC ZVA.
1806
c3ce62cc
JM
18072019-08-13 Joseph Myers <joseph@codesourcery.com>
1808
1809 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1810 Update comment.
1811 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1812 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1813 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1814 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1815 Likewise.
1816
5a3afa97
FW
18172019-08-13 Florian Weimer <fweimer@redhat.com>
1818
1819 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1820 Remove macros.
1821 (struct file_locking): New.
1822 (try_file_lock, file_unlock, file_lock_restore): New functions.
1823 (__libc_getutent_r): Use the new functions.
1824 (internal_getut_r): Likewise.
1825 (__libc_getutline_r): Likewise.
1826 (__libc_pututline): Likewise.
1827 (__libc_updwtmp): Likewise.
1828
777d75fb
JM
18292019-08-13 Joseph Myers <joseph@codesourcery.com>
1830
0175c9e9
JM
1831 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1832 comment.
1833 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1834 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1835 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1836 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1837 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1838 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1839 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1840 Likewise.
1841 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1842 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1843 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1844 Likewise.
1845 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1846 Likewise.
1847 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1848 Likewise.
1849 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1850 Likewise.
1851 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1852 Likewise.
1853 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1854 Likewise.
1855 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1856 Likewise.
1857 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1858 (IEC_60559_BFP_EXT)]: Likewise.
1859 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1860 Likewise.
1861 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1862 Likewise.
1863 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1864 Likewise.
1865 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1866 Likewise.
1867 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1868 Likewise.
1869 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1870 Likewise.
1871 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1872 Likewise.
1873 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1874 Likewise.
1875 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1876 Likewise, except for totalorder, totalordermag, getpayload,
1877 setpayload and setpayloadsig.
1878 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1879 except for totalorder and totalordermag.
1880
a8c2fa98
JM
1881 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1882 (strdup): Likewise.
1883 (strndup): Likewise.
1884
777d75fb
JM
1885 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1886 Undefine and define to 1 if [_GNU_SOURCE].
1887 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1888 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1889 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1890 (__USE_ISOC99): Likewise.
1891 (__USE_ISOC95): Likewise.
1892 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1893
a33b817f
FW
18942019-08-13 Florian Weimer <fweimer@redhat.com>
1895
1896 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1897 are always true.
1898 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1899 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1900 * login/getutmpx.c (getutmpx): Likewise.
1901 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1902 true.
1903 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1904 _HAVE_UT_TV are always true.
1905 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1906 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1907 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1908 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1909 are always true.
1910 (internal_getut_r): _HAVE_UT_TYPE is always true.
1911 (__libc_pututline): Likewise.
1912 * login/programs/utmpdump.c (print_entry): Assume that
1913 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1914 _HAVE_UT_TV are always true.
1915 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1916 _HAVE_UT_ID are always true.
1917 * sysdeps/gnu/bits/utmp.h: Move to ...
1918 * bits/utmp.h: ... here, replacing the old file.
1919
9b9670fc
FW
19202019-08-12 Florian Weimer <fweimer@redhat.com>
1921
1922 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1923 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1924 not set.
1925 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1926 (do_test): Open the executable using an absolute path. Print
1927 error message to standard output.
1928
c48d92b4
DD
19292019-08-09 DJ Delorie <dj@redhat.com>
1930
1931 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1932 * manual/tunables.texi: Document it.
1933 * malloc/malloc.c (do_set_mxfast): New.
1934 (__libc_mallopt): Call it.
1935 * malloc/arena.c: Add mxfast tunable.
1936 * malloc/tst-mxfast.c: New.
1937 * malloc/Makefile: Add it.
1938
b6d2c447
NH
19392019-08-08 Niklas Hambüchen <mail@nh2.me>
1940 Carlos O'Donell <carlos@redhat.com>
1941
1942 [BZ #24026]
1943 * malloc/malloc.c (__malloc_info): Account for top chunk.
1944
a02cd8e4
JM
19452019-08-07 Joseph Myers <joseph@codesourcery.com>
1946
1947 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1948 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1949
d8b97803
JM
19502019-08-06 Joseph Myers <joseph@codesourcery.com>
1951
1952 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1953
8d454abe
SL
19542019-07-02 Stefan Liebler <stli@linux.ibm.com>
1955
1956 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1957
98013846
JM
19582019-08-05 Joseph Myers <joseph@codesourcery.com>
1959
1960 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1961 New macro.
1962
503fc587
AZ
19632019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1964
d665367f
AZ
1965 [BZ #19767]
1966 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1967 Remove definition.
1968 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1969 Likewise.
1970 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1971 Likewise.
1972 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1973 Likewise.
1974 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1975 (ALWAYS_USE_VSYSCALL): Likewise.
1976 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1977 (ALWAYS_USE_VSYSCALL): Likewise.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1979 (ALWAYS_USE_VSYSCALL): Likewise.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1981 (ALWAYS_USE_VSYSCALL): Likewise.
1982 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1983 Likewise.
1984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1985 (ALWAYS_USE_VSYSCALL): Likewise.
1986 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1987 (ALWAYS_USE_VSYSCALL): Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1989 Likewise.
1990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1991 Likewise.
1992 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1993 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1994 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1995 USE_VSYSCALL): Remove defitions.
1996
c9c1a413
AZ
1997 [BZ #19767]
1998 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1999 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
2000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2001 Define.
2002
27a0914e 2003 [BZ #19767]
5e855c89
AZ
2004 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
2005 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
2006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2007 (ALWAYS_USE_VSYSCALL): Define.
2008 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2009 (ALWAYS_USE_VSYSCALL): Likewise.
2010
2011 [BZ #19767]
27a0914e
AZ
2012 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
2013 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2014 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2015 Define.
2016
503fc587
AZ
2017 * sysdeps/sh/libm-test-ulps: Update.
2018
1a7fe2eb
FW
20192019-08-05 Florian Weimer <fweimer@redhat.com>
2020
2021 [BZ #23518]
2022 * login/uptmp-private.h (struct ufuncs): Remove definition.
2023 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
2024 (__libc_utmp_jump_table): Remove declarations.
2025 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
2026 (__libc_getutline_r, __libc_pututline, __libc_endutent)
2027 (__libc_updwtmp): Declare.
2028 * login/getutent_r.c (__libc_utmp_unknown_functions)
2029 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
2030 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
2031 (endutent_unknown): Remove definitions.
2032 (__setutent): Call __libc_setutent.
2033 (__getutent_r): Call __libc_getutent_r.
2034 (__pututline): Call __libc_pututline.
2035 (__endutent): Call __libc_endutent.
2036 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
2037 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
2038 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
2039 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
2040 (__libc_setutent): Rename from stetutent_file. Drop static.
2041 (maybe_setutent): New function.
2042 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
2043 Check for initialization.
2044 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
2045 Check for initialization.
2046 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
2047 Check for initialization.
2048 (__libc_pututline): Rename from pututline_file. Drop static.
2049 Check for initialization.
2050 (__libc_endutent): Rename from endutent_file. Drop static. Check
2051 for initialization.
2052 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
2053 * login/utmpname.c (__utmpname): Call __libc_endutent.
2054 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
2055 __libc_getutlien_r, __libc_endutent.
2056 * manual/users.texi (Who Logged In, Manipulating the Database):
2057 Adjust.
2058
ab74d59f 20592019-08-05 Alexandra Hájková <ahajkova@redhat.com>
a6c1ce77
AH
2060
2061 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
2062
c7a26cba
JM
20632019-08-02 Joseph Myers <joseph@codesourcery.com>
2064
9c37bde5
JM
2065 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
2066
c7a26cba
JM
2067 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
2068 kernel version number to 5.2.
2069
066020c5
RFF
20702019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
2071
2072 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
2073 mnemonics and set .machine power8.
2074 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2075 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
2076 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2077 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2078 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2082 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2084
3175dcc1
AZ
20852019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2086
2087 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2088
b0f6679b
FW
20892019-08-01 Florian Weimer <fweimer@redhat.com>
2090
2091 [BZ #24867]
2092 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2093 whitespace.
2094
e1df30fb
AZ
20952019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2096
2097 [BZ #15813]
2098 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2099 attempt.
2100
e7124906
CD
21012019-08-01 Carlos O'Donell <carlos@redhat.com>
2102
0a8262a1
CD
2103 * version.h (RELEASE): Set to "stable".
2104 (VERSION): Set to "2.30".
2105 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2106
e7124906
CD
2107 * manual/install.texi: Update component versions.
2108 * INSTALL: Regenerate.
2109 * NEWS: Update.
2110
cc3bf319
CD
21112019-07-31 Carlos O'Donell <carlos@redhat.com>
2112
2113 * po/be.po: Update translations.
2114 * po/bg.po: Likewise.
2115 * po/ca.po: Likewise.
2116 * po/cs.po: Likewise.
2117 * po/da.po: Likewise.
2118 * po/de.po: Likewise.
2119 * po/el.po: Likewise.
2120 * po/eo.po: Likewise.
2121 * po/es.po: Likewise.
2122 * po/fi.po: Likewise.
2123 * po/fr.po: Likewise.
2124 * po/gl.po: Likewise.
2125 * po/hr.po: Likewise.
2126 * po/hu.po: Likewise.
2127 * po/ia.po: Likewise.
2128 * po/id.po: Likewise.
2129 * po/it.po: Likewise.
2130 * po/ja.po: Likewise.
2131 * po/ko.po: Likewise.
2132 * po/lt.po: Likewise.
2133 * po/nb.po: Likewise.
2134 * po/nl.po: Likewise.
2135 * po/pl.po: Likewise.
2136 * po/pt_BR.po: Likewise.
2137 * po/ru.po: Likewise.
2138 * po/rw.po: Likewise.
2139 * po/sk.po: Likewise.
2140 * po/sl.po: Likewise.
2141 * po/sv.po: Likewise.
2142 * po/tr.po: Likewise.
2143 * po/uk.po: Likewise.
2144 * po/vi.po: Likewise.
2145 * po/zh_CN.po: Likewise.
2146 * po/zh_TW.po: Likewise.
2147
0bfddfc9
FW
21482019-07-31 Florian Weimer <fweimer@redhat.com>
2149
2150 [BZ #24583]
2151 [BZ #24677]
2152 iconv, libio: Revert reference counting changes.
2153 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2154 free the steps array.
2155 * libio/Makefile (tests): Remove tst-wfile-gconv.
2156 (tests-container): Do not add tst-wfile-ascii.
2157 (tst-wfile-gconv-ENV): Do not set.
2158 (generated): Do not add tst-wfile-gconv.mtrace,
2159 tst-wfile-gconv.check.
2160 [($run-built-tests)] (tests-special): Do not add
2161 tst-wfile-gconv-mem.out.
2162 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2163 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2164 instead of __wcsmbs_clone_conv.
2165 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2166 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2167
c86b8e75
JM
21682019-07-30 Joseph Myers <joseph@codesourcery.com>
2169
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2171 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2172
8a814e20
FW
21732019-07-30 Florian Weimer <fweimer@redhat.com>
2174
2175 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2176 type to uintptr_t. Update comment.
2177 (check_stack_top): Adjust.
2178
b8b3d5a1
FW
21792019-07-29 Florian Weimer <fweimer@redhat.com>
2180
2181 Linux: Move declaration of getdents64 to <dirent.h>.
2182 * bits/dirent_ext.h: New file.
2183 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2184 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2185 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2186 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2187 declaration.
2188 * manual/filesys.texi (Low-level Directory Access): Update header
2189 to dirent.h.
2190
354e4c1a
TMQMF
21912019-07-29 DJ Delorie <dj@redhat.com>
2192 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2193
2194 [BZ #24794]
2195 * Makeconfig (all-subdirs): Improved source comments.
2196 * Makefile (testroot.pristine/install.stamp): Pass
2197 subdirs='$(sorted-subdirs)' to make install.
2198
50ce3eae
FW
21992019-07-25 Florian Weimer <fweimer@redhat.com>
2200
2201 [BZ #24677]
2202 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2203 counter before freeing array.
2204
7e681561
L
22052019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2206
2207 [BZ #24603]
2208 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2209 works.
2210 * sysdeps/x86_64/configure: Regenerated.
2211 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2212 to -mprefer-vector-width=128 if supported.
2213
82c664ed
FW
22142019-07-24 Florian Weimer <fweimer@redhat.com>
2215
2216 * scripts/build-many-glibcs.py (Context.checkout): Default to
2217 Linux 5.2.
2218
7854ebf8
FW
22192019-07-24 Florian Weimer <fweimer@redhat.com>
2220
2221 [BZ #24532]
2222 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2223 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2224 (sysdep_headers): Add bits/socket-constants.h.
2225 (tests-special): Add tst-socket-consts.out.
2226 (tst-socket-consts.out): New target.
2227 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2228 around <asm/unistd.h>.
2229 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2230 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2231 <asm/socket.h>.
2232 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2233 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2234 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2235 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2236 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2238 Likewise.
2239 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2240
95da14da
TMQMF
22412019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2242
35e038c1
TMQMF
2243 [BZ #24794]
2244 * Makefile (testroot.pristine/install.stamp): Pass
2245 subdirs='$(all-subdirs)' to make install.
2246
95da14da
TMQMF
2247 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2248 the same arguments used in all tests.
2249
dcf36bca
SN
22502019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2251
2252 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2253
c7e4b684
EK
22542019-07-20 Egor Kobylkin <egor@kobylkin.com>
2255
2256 [BZ #2872]
2257 * locale/C-translit.h.in: Add Cyrillic transliteration.
2258
1f7097d0
FW
22592019-07-19 Florian Weimer <fweimer@redhat.com>
2260
2261 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2262 from Linux 5.2.
2263 (fsconfig): Add system call name.
2264 (fsmount): Likewise.
2265 (fsopen): Likewise.
2266 (fspick): Likewise.
2267 (move_mount): Likewise.
2268 (open_tree): Likewise.
2269
3556658c
CD
22702019-07-18 Carlos O'Donell <carlos@redhat.com>
2271
2272 * po/libc.pot: Regenerate.
2273
4a8f6d31
MC
22742019-07-18 Mike Crowe <mac@mcrowe.com>
2275
2ab9ad57
AZ
2276 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2277 functions recently added to sysdeps/nptl/pthread.h:
2278 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2279 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2280
4a8f6d31
MC
2281 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2282 pthread_cond_clockwait forwarding functions. There are no internal
2283 users, so it is unnecessary to expose these functions in libc.so.
2284 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2285 unnecessary ptr___pthread_cond_clockwait member.
2286 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2287 removed member.
2288
ab74d59f 22892019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9208c3b8
RL
2290
2291 [BZ #21897]
2292 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2293 begin with an uppercase letter now.
2294 (abmon): Likewise.
2295 (mon): Update from CLDR, reword February from "Kudo" to
2296 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2297 and August from "Liiqen" to "Leqeeni".
2298 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2299 April from "Agda Baxisso" to "Agda Baxis" and August from
2300 "Leqeeni" to "Liiqen".
2301 * localedata/locales/aa_ER@saaho (mon): Likewise.
2302 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2303 abbreviated February from "Kud" to "Nah".
2304 (mon): Update from CLDR, reword February from "Kudo" to
2305 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2306
ab74d59f 23072019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
fba6d4bb
RL
2308
2309 [BZ #23996]
2310 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2311
3cc7c9c5
P
23122019-07-17 PanderMusubi <pander@users.sourceforge.net>
2313
2314 [BZ #23996]
2315 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2316 name_mrs, name_miss, and name_ms.
2317 * localedata/locales/nl_NL (LC_NAME): Likewise.
2318
cce7b6a5
DZ
23192019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2320
2321 [BZ #24200]
2322 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2323 * localedata/locales/en_IE (first_weekday): Likewise.
2324
99d01ffc
MC
23252019-07-12 Mike Crowe <mac@mcrowe.com>
2326
1ff1373b
MC
2327 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2328 that is only useful if futex_supports_exact_relative_timeouts ()
2329 returns false.
2330 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2331 Likewise.
2332 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2333 timeouts potentially being imprecise since it's no longer true.
2334 Remove declaration of futex_supports_exact_relative_timeouts.
2335 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2336 of futex_supports_exact_relative_timeouts.
2337
65dd7e9c
MC
2338 * NEWS: Mention recently-added pthread_cond_clockwait,
2339 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2340 sem_clockwait functions.
2341
9d20e22e
MC
2342 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2343 works like pthread_mutex_timedlock but takes a clockid parameter to
2344 measure the abstime parameter against.
2345 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2346 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2347 * nptl/pthread_mutex_timedlock.c
2348 (__pthread_mutex_clocklock_common): Rename from
2349 __pthread_mutex_timedlock and add clockid parameter. Pass this
2350 parameter to lll_clocklock and lll_clocklock_elision in place of
2351 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2352 LIBC_PROBE and validate clockid parameter before calling
2353 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2354 implementation to add LIBC_PROBE and calls
2355 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2356 clockid.
2357 * nptl/Makefile: Add tst-mutex11.c.
2358 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2359 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2360 clockid parameters to pthread_mutex_clocklock.
2361 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2362 clockid parameter to indicate which clock to be used. Call
2363 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2364 (do_test): Call do_test_clock to separately test
2365 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2366 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2367 * nptl/tst-mutex9.c: Likewise.
2368 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2369 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2370 Likewise.
2371 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2372 Likewise.
2373 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2374 Likewise.
2375 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2376 Likewise.
2377 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2378 Likewise.
2379 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2380 Likewise.
2381 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2382 Likewise.
2383 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2384 (GLIBC_2.30): Likewise.
2385 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2386 (GLIBC_2.30): Likewise.
2387 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2388 (GLIBC_2.30): Likewise.
2389 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2390 (GLIBC_2.30): Likewise.
2391 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2392 (GLIBC_2.30): Likewise.
2393 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2394 Likewise.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2396 (GLIBC_2.30): Likewise.
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2398 (GLIBC_2.30): Likewise.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2400 (GLIBC_2.30): Likewise.
2401 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2402 (GLIBC_2.30): Likewise.
2403 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2404 (GLIBC_2.30): Likewise.
2405 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2406 (GLIBC_2.30): Likewise.
2407 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2408 Likewise.
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2410 (GLIBC_2.30): Likewise.
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2412 (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2414 (GLIBC_2.30): Likewise.
2415 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2416 (GLIBC_2.30): Likewise.
2417
59213094
MC
2418 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2419 parameter to indicate the clock that the abstime parameter should
2420 be measured against in preparation for adding
2421 pthread_mutex_clocklock.
2422 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2423 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2424 from __lll_timedlock and add clockid parameter.
2425 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2426 Likewise.
2427 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2428 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2429 rather than __gettimeofday so that clockid can be used. This means
2430 that conversion from struct timeval is no longer required.
2431 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2432 Likewise.
2433 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2434 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2435 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2436 from lll_timedlock_elision, add clockid parameter and use
2437 meaningful names for other parameters. (__pthread_mutex_timedlock):
2438 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2439 lll_clocklock_elision.
2440 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2441 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2442 clockid parameter. (__lll_clocklock_elision): Rename from
2443 __lll_timedlock_elision and add clockid parameter.
2444 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2445 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2446 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2447 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2448 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2449 (LLL_LOCK): Likewise.
2450 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2451 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2452
e996fa72
MC
2453 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2454 pthread_rwlock_clockwrlock which behave like
2455 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2456 respectively, except they always measure abstime against the
2457 supplied clockid. The functions currently support CLOCK_REALTIME
2458 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2459 specified.
2460 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2461 pthread_wrlock_clockwrlock.
2462 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2463 pthread_rwlock_clockwrlock.c.
2464 * nptl/pthread_rwlock_clockrdlock.c: Implement
2465 pthread_rwlock_clockrdlock.
2466 * nptl/pthread_rwlock_clockwrlock.c: Implement
2467 pthread_rwlock_clockwrlock.
2468 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2469 clockid parameter and verify that it indicates a supported clock on
2470 entry so that we fail even if it doesn't end up being used. Pass
2471 that clock on to futex_abstimed_wait when necessary.
2472 (__pthread_rwlock_wrlock_full): Likewise.
2473 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2474 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2475 be used because there's no timeout.
2476 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2477 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2478 be used because there is no timeout.
2479 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2480 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2481 uses that clock.
2482 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2483 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2484 uses that clock.
2485 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2486 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2487 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2488 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2489 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2490 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2491 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2492 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2493 (GLIBC_2.30): Likewise.
2494 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2495 (GLIBC_2.30): Likewise.
2496 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2497 (GLIBC_2.30): Likewise.
2498 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2499 (GLIBC_2.30): Likewise.
2500 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2501 (GLIBC_2.30): Likewise.
2502 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2504 (GLIBC_2.30): Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2506 (GLIBC_2.30): Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2508 (GLIBC_2.30): Likewise.
2509 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2510 (GLIBC_2.30): Likewise.
2511 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2512 (GLIBC_2.30): Likewise.
2513 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2514 (GLIBC_2.30): Likewise.
2515 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2516 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2517 (GLIBC_2.30): Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2519 (GLIBC_2.30): Likewise.
2520 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2521 (GLIBC_2.30): Likewise.
2522 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2523 (GLIBC_2.30): Likewise.
2524 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2525 pthread_rwlock_clockwrlock timeout tests to match the existing
2526 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2527 * nptl/tst-rwlock14.c (do_test): Likewise.
2528 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2529 ancillary output throughout. (tf): Accept thread_args structure so
2530 that rwlock, a clockid and function name can be passed to the
2531 thread. (do_test_clock): Rename from do_test. Accept clockid
2532 parameter to specify test clock. Use the magic clockid value of
2533 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2534 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2535 specified clockid to pthread_rwlock_clockrdlock and
2536 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2537 (do_test): Call do_test_clock to test each clockid in turn.
2538 * nptl/tst-rwlock7.c: Likewise.
2539 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2540 thread_args structure so that the (now int) thread number, the
2541 clockid and the function name can be passed to the thread.
2542 (do_test_clock): Renamed from do_test. Pass the necessary
2543 thread_args when creating the reader and writer threads. Use
2544 xpthread_create and xpthread_join.
2545 (do_test): Call do_test_clock to test each clockid in turn.
2546 * manual/threads.texi: Add documentation for
2547 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2548
600b4be4
MC
2549 nptl: pthread_rwlock: Move timeout validation into _full functions
2550 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2551 Check validity of abstime parameter.
2552 (__pthread_rwlock_rwlock_full): Likewise.
2553 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2554 Remove check for validity of abstime parameter.
2555 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2556 Likewise.
2557
afe4de7d
MC
2558 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2559 like pthread_cond_timedwait except it always measures abstime
2560 against the supplied clockid.
2561 * nptl/Makefile: Add tst-cond26 and tst-cond27
2562 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2563 * sysdeps/nptl/pthread.h: Likewise
2564 * nptl/forward.c: Add __pthread_cond_clockwait
2565 * nptl/forward.c: Likewise
2566 * nptl/pthreadP.h: Likewise
2567 * sysdeps/nptl/pthread-functions.h: Likewise
2568 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2569 clockid parameter and comment describing why we don't need to check
2570 its value. Use that value when calling
2571 futex_abstimed_wait_cancelable rather than reading the clock from
2572 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2573 (__pthread_cond_timedwait): Read clock from flags and pass it to
2574 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2575 function with weak alias from pthread_cond_clockwait.
2576 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2577 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2578 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2579 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2580 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2581 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2582 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2583 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2584 (GLIBC_2.30): Likewise.
2585 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2586 (GLIBC_2.30): Likewise.
2587 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2588 (GLIBC_2.30): Likewise.
2589 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2590 (GLIBC_2.30): Likewise.
2591 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2592 (GLIBC_2.30): Likewise.
2593 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2595 (GLIBC_2.30): Likewise.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2597 (GLIBC_2.30): Likewise.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2599 (GLIBC_2.30): Likewise.
2600 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2601 (GLIBC_2.30): Likewise.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2603 (GLIBC_2.30): Likewise.
2604 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2605 (GLIBC_2.30): Likewise.
2606 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2607 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2608 (GLIBC_2.30): Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2610 (GLIBC_2.30): Likewise.
2611 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2612 (GLIBC_2.30): Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2614 (GLIBC_2.30): Likewise.
2615 * nptl/tst-cond11.c (run_test): Support testing
2616 pthread_cond_clockwait too by using a special magic
2617 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2618 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2619 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2620 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2621 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2622 clocks to pthread_cond_clockwait.
2623 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2624 struct timespec and pthread_cond_clockwait.
2625 * manual/threads.texi: Document pthread_cond_clockwait.
2626
6615f779
MC
2627 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2628 sem_timedwait, but measures abstime against the specified clock.
2629 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2630 clockid parameters to indicate the clock which abstime should be
2631 measured against.
2632 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2633 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2634 __new_sem_wait_slow.
2635 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2636 on sem_timedwait.c.
2637 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2638 sem_clockwait.c to match those used for sem_timedwait.c.
2639 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2640 * nptl/Versions (GLIBC_2.30): Likewise.
2641 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2642 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2643 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2644 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2645 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2646 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2647 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2648 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2649 (GLIBC_2.30): Likewise.
2650 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2651 (GLIBC_2.30): Likewise.
2652 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2653 (GLIBC_2.30): Likewise.
2654 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2655 (GLIBC_2.30): Likewise.
2656 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2657 (GLIBC_2.30): Likewise.
2658 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2660 (GLIBC_2.30): Likewise.
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2662 (GLIBC_2.30): Likewise.
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2664 (GLIBC_2.30): Likewise.
2665 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2666 (GLIBC_2.30): Likewise.
2667 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2668 (GLIBC_2.30): Likewise.
2669 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2670 (GLIBC_2.30): Likewise.
2671 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2673 (GLIBC_2.30): Likewise.
2674 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2675 (GLIBC_2.30): Likewise.
2676 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2677 (GLIBC_2.30): Likewise.
2678 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2679 (GLIBC_2.30): Likewise.
2680 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2681 sem_clockwait.
2682 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2683 tests to also test sem_clockwait.
2684 * manual/threads.texi: Document sem_clockwait.
2685
99d01ffc
MC
2686 nptl: Add clockid parameter to futex timed wait calls
2687 * sysdeps/nptl/lowlevellock-futex.h,
2688 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2689 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2690 takes a clockid rather than a special clockbit.
2691 * sysdeps/nptl/lowlevellock-futex.h: Add
2692 lll_futex_supported_clockid so that client functions can check
2693 whether their clockid parameter is valid even if they don't
2694 ultimately end up calling lll_futex_clock_wait_bitset.
2695 * sysdeps/nptl/futex-internal.h,
2696 sysdeps/unix/sysv/linux/futex-internal.h
2697 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2698 clockid_t parameter to indicate which clock the absolute time
2699 passed should be measured against. Pass that clockid onto
2700 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2701 returning -EINVAL.
2702 * sysdeps/nptl/futex-internal.h,
2703 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2704 futex_abstimed_supported_clockid so that client functions can check
2705 whether their clockid parameter is valid even if they don't
2706 ultimately end up calling futex_abstimed_wait.
2707 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2708 code to calculate relative timeout for
2709 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2710 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2711 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2712 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2713 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2714 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2715 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2716
a008c76b
AZ
27172019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2718
2719 [BZ #24699]
2720 * posix/tst-mmap-offset.c: Mention BZ #24699.
2721 (do_test_bz21270): Rename to do_test_large_offset and use
2722 mmap64_maximum_offset to check for maximum expected offset value.
2723 * sysdeps/generic/mmap_info.h: New file.
2724 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2725 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2726 __NR_mmap2 is used.
2727
99135114
DD
27282019-07-10 DJ Delorie <dj@redhat.com>
2729 Sergei Trofimovich <slyfox@inbox.ru>
2730
2731 [BZ #24696]
2732 [BZ #24695]
2733 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2734 mappings.
2735 * nss/tst-nss-db-endgrent.c: New.
2736 * nss/tst-nss-db-endgrent.root: New.
2737 * nss/tst-nss-db-endpwent.c: New.
2738 * nss/tst-nss-db-endpwent.root: New.
2739 * nss/Makefile: Add new tests.
2740 * support/links-dso-program-c.c: Add selinux dependency.
2741 * support/links-dso-program.cc: Add selinux dependency.
2742 * support/Makefile: Build those with -lselinux if enabled.
2743
30ba0375
SN
27442019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2745
2746 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2747 DT_AARCH64_VARIANT_PCS check.
2748 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2749 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2750 variant_pcs.
2751
32b8188a
AS
27522019-07-10 Andreas Schwab <schwab@suse.de>
2753
2754 [BZ #23352]
2755 * malloc/malloc.h (__malloc_check_init): Don't declare.
2756 * include/malloc.h (__malloc_check_init): Likewise.
2757 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2758 * manual/memory.texi (__malloc_check_init): Don't mention it.
2759
7901d4ee
MH
27602019-07-10 Mao Han <han_mao@c-sky.com>
2761
2762 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2763
b5232c9f 27642019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 2765
b5232c9f
PC
2766 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2767 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2768
6ba205b2
DD
27692019-07-08 DJ Delorie <dj@redhat.com>
2770
2771 [BZ #23501]
2772 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2773 * io/tst-ftw-lnk.c: New test.
2774 * io/Makefile: Run it.
2775
f215dbbd
AZ
27762019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2777
6ea21bfe
AZ
2778 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2779 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2780 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2781 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2782 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2783 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2785 Adjust implementation path.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2787 Adjust implementation path.
2788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2789 Adjust implementation path.
2790 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2791 (libm-sysdep_routines): Add s_log* objects.
2792 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2793 CFLAGS-s_logb-power7.c): New fule.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2795 to ...
2796 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2797 ... here.
2798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2799 to ...
2800 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2801 ... here.
2802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2803 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2805 to ...
2806 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2807 ... here.
2808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2809 to ...
2810 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2811 ... here.
2812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2813 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2815 to ...
2816 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2817 ... here.
2818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2819 to ...
2820 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2821 ... here.
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2823 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2825 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2826 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2827 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2828
105f2ed3
AZ
2829 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2830 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2831 powerpc32 integer 0 converting to -0.
2832
0cccd37f
AZ
2833 * benchtests/Makefile (bench-math): Add logb.
2834 * benchtests/logb-inputs: New file.
2835 * benchtests/logbf-inputs: New file.
2836
931c616e
AZ
2837 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2838 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2839 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2840 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2842 Adjust include.
2843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2844 Likewise.
2845 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2846 sysdep_routines): Add s_modf* objects.
2847 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2848 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2850 to ...
2851 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2852 ... here.
2853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2854 to ...
2855 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2856 ... here.
2857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2858 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2860 to ...
2861 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2862 ... here.
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2864 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2865 ... here.
2866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2867 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2868
69461d98
AZ
2869 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2870 twoM500, twoM600, two60factor, pdnum): Remove.
2871 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2872 (__ieee754_hypot): Replace static variables with inline definition,
2873 remove ununsed branches.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2875 (libm-sysdep_routines): Remove e_hypot-* objects.
2876 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2877 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2878 file.
2879 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2881 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2884
f215dbbd
AZ
2885 * benchtests/Makefile (bench-math): Add hypot.
2886 * benchtests/hypot-inputs: New file.
2887
97274b18
VC
28882019-07-08 Vincent Chen <vincentc@andestech.com>
2889
2890 * sysdeps/unix/sysv/linux/dl-vdso.h
2891 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2892
484b7af3
AS
28932019-07-04 Andreas Schwab <schwab@suse.de>
2894
2895 [BZ #24484]
2896 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2897
2b8a3c86
SN
28982019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2899
2900 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2901 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2902 * sysdeps/aarch64/sys/ifunc.h: New file.
2903 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2904 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2905
41d6f74e
FW
29062019-07-01 Florian Weimer <fweimer@redhat.com>
2907
2908 [BZ #20188]
2909 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2910 Replace __vfork with __libpthread_version_placeholder for
2911 GLIBC_2.1.2.
2912 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2913 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2914 libpthread-compat.
2915 * nptl/pt-vfork.c: Remove file.
2916 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2917 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2918 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2919 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2920 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2921 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2922 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2923 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2924 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2925 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2926 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2927 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2928 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2929 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2930 Remove vfork, __vfork.
2931 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2932 Remove vfork.
2933 (GLIBC_2.1.2): Replace __vfork with
2934 __libpthread_version_placeholder.
2935 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2936 Remove vfork, __vfork.
2937 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2938 Likewise.
2939 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2940 Remove vfork.
2941 (GLIBC_2.1.2): Replace __vfork with
2942 __libpthread_version_placeholder.
2943 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2944 Remove vfork.
2945 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2946 (GLIBC_2.4): Remove vfork, __vfork.
2947 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2948 (GLIBC_2.0): Remove vfork.
2949 (GLIBC_2.1.2): Replace __vfork with
2950 __libpthread_version_placeholder.
2951 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2952 (GLIBC_2.18): Remove vfork, __vfork.
2953 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2954 (GLIBC_2.0): Remove vfork.
2955 (GLIBC_2.2): Remove __vfork.
2956 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2957 (GLIBC_2.2): Remove vfork, __vfork.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2959 (GLIBC_2.0): Remove vfork.
2960 (GLIBC_2.1.2): Replace __vfork with
2961 __libpthread_version_placeholder.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2963 (GLIBC_2.3): Remove vfork, __vfork.
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2965 (GLIBC_2.17): Likewise.
2966 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/libpthread.abilist
2971 (GLIBC_2.2): Remove vfork, __vfork.
2972 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2973 Likewise.
2974 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2975 (GLIBC_2.0): Remove vfork.
2976 (GLIBC_2.1.2): Replace __vfork with
2977 __libpthread_version_placeholder.
2978 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2979 (GLIBC_2.2): Remove vfork, __vfork.
2980 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2981 (GLIBC_2.2.5): Likewise.
2982 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2983 (GLIBC_2.16): Likewise.
2984 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2985 Remove __errno_location.
2986
27cec9ae
FW
29872019-07-02 Florian Weimer <fweimer@redhat.com>
2988
2989 [BZ #24757]
2990 * malloc/Depend: Add nptl and htl, due to potential indirect
2991 libpthread dependency of memusagestat.
2992
d1bc2cbb
SL
29932019-07-02 Stefan Liebler <stli@linux.ibm.com>
2994
2995 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2996 warning.
2997
72edea80
FW
29982019-07-01 Florian Weimer <fweimer@redhat.com>
2999
3000 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
3001 variant for arm-linux-gnueabi.
3002
d0093c5c
L
30032019-07-01 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 [BZ #24259]
3006 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
3007 relocation.
3008 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
3009 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
3010 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
3011 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
3012 and tst-cet-legacy-mod-6c.
3013 (CFLAGS-tst-cet-legacy-5a.c): New.
3014 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
3015 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
3016 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
3017 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
3018 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
3019 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
3020 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
3021 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
3022 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
3023 ($(objpfx)tst-cet-legacy-5a): Likewise.
3024 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
3025 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
3026 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
3027 ($(objpfx)tst-cet-legacy-5b): Likewise.
3028 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
3029 (tst-cet-legacy-5b-ENV): Likewise.
3030 ($(objpfx)tst-cet-legacy-6a): Likewise.
3031 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
3032 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
3033 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
3034 ($(objpfx)tst-cet-legacy-6b): Likewise.
3035 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
3036 (tst-cet-legacy-6b-ENV): Likewise.
3037 * sysdeps/x86/tst-cet-legacy-5.c: New file.
3038 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
3039 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
3040 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
3041 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
3042 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
3043 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
3044 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
3045 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
3046 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
3047 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
3048 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
3049 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
3050 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
3051
3db85a98
PC
30522019-06-30 Paul A. Clarke <pc@us.ibm.com>
3053
3054 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
3055 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
3056 (__fegetround_ISA300) New.
3057 (__fegetround_ISA2) New.
3058 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
3059 (_FPU_MFFS): Move implementation...
3060 (_FPU_GETCW): Here.
3061 (_FPU_MFFSL): Move implementation....
3062 (_FPU_GET_RC_ISA300): Here. New.
3063 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
3064 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
3065 (fegetenv_status): New.
3066 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
3067 instead of fegetenv_register().
3068 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
3069
d0645912
WD
30702019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3071
3072 * benchtests/bench-math-inlines.c: Increase iterations.
3073 * benchtests/bench-memcmp.c: Likewise.
3074 * benchtests/bench-rawmemchr.c: Likewise.
3075 * benchtests/bench-strcmp.c: Likewise.
3076 * benchtests/bench-strcpy_chk.c: Likewise.
3077 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
3078 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
3079 (INNER_LOOP_ITERS_SMALL): Likewise.
3080 * benchtests/bench-strncat.c: Increase iterations.
3081 * benchtests/bench-strncmp.c: Increase iterations.
3082 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
3083 * benchtests/bench-strrchr.c: Increase iterations.
3084 * benchtests/bench-strstr.c: Keep iterations unchanged.
3085 * benchtests/bench-strtod.c: Increase iterations.
3086
afe23eb0
AY
30872019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3088
3089 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3090 with INNER_LOOP_ITERS_LARGE.
3091 * benchtests/bench-memchr.c: Likewise.
3092 * benchtests/bench-rawmemchr.c: Likewise.
3093 * benchtests/bench-strcat.c: Likewise.
3094 * benchtests/bench-strchr.c: Likewise.
3095 * benchtests/bench-string.h: Likewise.
3096 * benchtests/bench-strlen.c: Likewise.
3097 * benchtests/bench-strncpy.c: Likewise.
3098 * benchtests/bench-strnlen.c: Likewise.
3099
507f55c0
FW
31002019-06-28 Florian Weimer <fweimer@redhat.com>
3101
3102 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3103 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3104 entire allocated memory range.
3105
589787f8
TK
31062019-06-28 Tobias Klauser <tklauser@distanz.ch>
3107
3108 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3109 (prepare_version_base): New helper inline function.
3110 (prepare_version): New macro replacing PREPARE_VERSION.
3111 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3112
f0b2132b
FW
31132019-06-28 Florian Weimer <fweimer@redhat.com>
3114
3115 [BZ #24741]
3116 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3117 mismatch in a versioned symbol reference.
3118 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3119 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3120 tst-sonamemove-dlopen.
3121 (module-names): Add tst-sonamemove-linkmod1,
3122 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3123 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3124 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3125 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3126 (tst-sonamemove-runmod1.so): Link against
3127 tst-sonamemove-runmod2.so.
3128 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3129 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3130 tst-sonamemove-runmod2.so.
3131 (tst-sonamemove-dlopen): Link with -ldl.
3132 (tst-sonamemove-dlopen.out): Likewise.
3133 * elf/tst-sonamemove-link.c: New file.
3134 * elf/tst-sonamemove-dlopen.c: Likewise.
3135 * elf/tst-sonamemove-linkmod1.c: Likewise.
3136 * elf/tst-sonamemove-linkmod1.map: Likewise.
3137 * elf/tst-sonamemove-runmod1.c: Likewise.
3138 * elf/tst-sonamemove-runmod1.map: Likewise.
3139 * elf/tst-sonamemove-runmod2.c: Likewise.
3140 * elf/tst-sonamemove-runmod2.map: Likewise.
3141
17432d71
FW
31422019-06-28 Florian Weimer <fweimer@redhat.com>
3143
3144 * support/xdlfcn.h (xdlvsym): Declare function.
3145 * support/xdlfcn.c (xdlvsym): Define funciton.
3146
5a659ccc
FW
31472019-06-28 Florian Weimer <fweimer@redhat.com>
3148
3149 [BZ #24744]
3150 io: Remove the copy_file_range emulation.
3151 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3152 not define and call copy_file_range_compat.
3153 * io/Makefile (tests-static, tests-internal): Do not add
3154 tst-copy_file_range-compat.
3155 * io/copy_file_range-compat.c: Remove file.
3156 * io/copy_file_range.c (copy_file_range): Define as stub.
3157 * io/tst-copy_file_range-compat.c: Remove file.
3158 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3159 (typical_sizes): Update comment. Remove 16K sizes.
3160 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3161 Remove variables.
3162 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3163 (delayed_write_failure_beginning, delayed_write_failure_end)
3164 (cross_device_failure, enospc_failure_1, enospc_failure)
3165 (oappend_failure): Remove functions.
3166 (tests): Adjust test case list.
3167 (do_test): Remove file system search code. Check for ENOSYS from
3168 copy_file_range. Do not free xdevfile.
3169 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3170 copy_file_range. Do not document the EXDEV error, which future
3171 kernels may not report. Update the wording to reflect that
3172 further errors are possible.
3173 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3174 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3175 not undefine.
3176 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3177 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3178 Likewise.
3179 * sysdeps/unix/sysv/linux/kernel-features.h
3180 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3181 Remove definition.
3182 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3183 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3184 not undefine.
3185 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3186 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3187 Likewise.
3188
1626f499
GG
31892019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3190
3191 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3192 used as a mask for the mode argument of __vfprintf_internal.
3193 * stdio-common/printf-parse.h (printf_arg): New union member:
3194 pa_float128.
3195 * stdio-common/vfprintf-internal.c
3196 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3197 (PARSE_FLOAT_VA_ARG): Likewise.
3198 (SETUP_FLOAT128_INFO): Likewise.
3199 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3200 SETUP_FLOAT128_INFO.
3201 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3202 floating-point value to the new union member, pa_float128.
3203 (printf_positional): Zero-initialize args_value[cnt] with memset.
3204
a620bd79
FW
32052019-06-27 Florian Weimer <fweimer@redhat.com>
3206
3207 [BZ #24740]
3208 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3209 buffer size if necessary.
3210 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3211 Likewise.
3212 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3213 New function.
3214 (large_buffer_checks): Likewise.
3215 (do_test): Call large_buffer_checks.
3216
d039da1c
L
32172019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3218
3219 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3220 * sysdeps/x86/dl-lookupcfg.h: Here.
3221 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3222
9d5d214e
AZ
32232019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3224
aa32f5bf
AZ
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3226 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3228 file.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3231 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3232 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3233 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3234
9d5d214e
AZ
3235 * sysdeps/powerpc/powerpc32/fpu/Makefile
3236 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3237 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3238 and fctidz optimization.
3239 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3240 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3242 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3243 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3244 CFLAGS-s_lround-power5+.c): New rule.
3245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3246 New file.
3247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3248 Likewise.
3249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3250 Likewise.
3251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3252 Likewise.
3253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3254 Likewise.
3255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3256 Remove file.
3257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3258 Likewise.
3259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3260 Likewise.
3261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3262 Likewise.
3263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3264 Likewise.
3265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3269 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3271 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3272
a63b96fb
VC
32732019-06-26 Vincent Chen <vincentc@andestech.com>
3274
3275 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3276 specific system calls, fp_udfiex_crtl and udftrap.
3277
c78b3f55
SL
32782019-06-26 Stefan Liebler <stli@linux.ibm.com>
3279
3280 * nptl/tst-eintr1.c (tf1): Add return statement.
3281 (do_test): Remove unused th variable.
3282
9e6a7d9c
SL
32832019-06-26 Stefan Liebler <stli@linux.ibm.com>
3284
3285 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3286 Return error if get_character fails.
3287
c89e669a
SL
32882019-06-25 Stefan Liebler <stli@linux.ibm.com>
3289
3290 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3291
ab74d59f 32922019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
a55541fd
RL
3293
3294 [BZ #24652]
3295 * localedata/locales/szl_PL (day): Use the correct Unicode
3296 sequences instead of non-ASCII characters.
3297
2bd81b60
GK
32982019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3299
3300 [BZ #24652]
3301 * localedata/locales/szl_PL (abday): Spelling corrections.
3302 (day): Likewise.
3303 (abmon): Likewise.
3304 (mon): Rename to...
3305 (alt_mon): This, then apply spelling corrections.
3306 (mon): New entry, month names in the genitive case.
3307
ab74d59f 33082019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
fefa2179
RL
3309
3310 [BZ #23831]
3311 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3312 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3313 (thousands_sep): Likewise.
3314 (grouping): Set to 3;3.
3315
85c748f9
TK
33162019-06-21 Tobias Klauser <tklauser@distanz.ch>
3317
3318 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3319 PREPARE_VERSION_KNOWN.
3320 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3321 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3322 define.
3323 (VDSO_HASH_LINUX_2_6_39): Likewise.
3324 (VDSO_NAME_LINUX_4_9): Likewise.
3325 (VDSO_HASH_LINUX_4_9): Likewise.
3326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3327 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3328 (_libc_vdso_platform_setup): Likewise.
3329 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3330 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3331 Likewise.
3332 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3333 Likewise.
3334
db13e32c
MC
33352019-06-20 Mike Crowe <mac@mcrowe.com>
3336
ce5b73a7
MC
3337 * nptl/eintr.c: Use libsupport.
3338 * nptl/tst-eintr1.c: Likewise.
3339 * nptl/tst-eintr2.c: Likewise.
3340 * nptl/tst-eintr3.c: Likewise.
3341 * nptl/tst-eintr4.c: Likewise.
3342 * nptl/tst-eintr5.c: Likewise.
3343 * nptl/tst-mutex-errorcheck.c: Likewise.
3344 * nptl/tst-mutex5.c: Likewise.
3345
8bf225d5
MC
3346 * support/test-driver.h: Add verbose_printf macro.
3347
db13e32c
MC
3348 * support/xtime.h: Add xclock_now() helper function.
3349
21cc130b
DL
33502019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3351 Florian Weimer <fweimer@redhat.com>
3352
3353 [BZ #24228]
3354 * libio/genops.c (_IO_unbuffer_all)
3355 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3356 buffers and access _IO_FILE_complete members of legacy libio streams.
3357 * libio/tst-bz24228.c: New file.
3358 * libio/tst-bz24228.map: Likewise.
3359 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3360 [build-shared] (generated): Add tst-bz24228.mtrace and
3361 tst-bz24228.check.
3362 [run-built-tests && build-shared] (tests-special): Add
3363 $(objpfx)tst-bz24228-mem.out.
3364 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3365 ($(objpfx)tst-bz24228-mem.out): New rule.
3366
49bc41b6
PC
33672019-06-19 Paul A. Clarke <pc@us.ibm.com>
3368
3369 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3370 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3371 (__FPU_MFFSL): Likewise.
3372 (_FPU_SETCW): Likewise.
3373
335c1007
SS
33742019-06-19 Stan Shebs <stanshebs@google.com>
3375 Raoni Fassina Firmino <raoni@linux.ibm.com>
3376
3377 [BZ #24640]
3378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3379 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3380 static-linking version.
3381 * sysdeps/unix/sysv/linux/powerpc/Makefile
3382 (tests-static): Add test-gettimebasefreq-static.
3383 (tests): Likewise.
3384 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3385 New file.
3386
ab74d59f 33872019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
f59a54ab
RL
3388
3389 [BZ #24614]
3390 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3391 between the currency symbol and the minus sign).
3392 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3393
f0c5a803
SL
33942019-06-19 Stefan Liebler <stli@linux.ibm.com>
3395
3396 [BZ #24556]
3397 * string/test-strcasestr.c (check_result): Add NULL check.
3398 * nss/tst-field.c (check_rewrite): Likewise.
3399 * benchtests/bench-strstr.c (do_one_test): Likewise.
3400 * string/test-strstr.c (check_result): Likewise.
3401 * argp/argp-test.c (popt): Increase size of buf to 12.
3402 * benchtests/bench-malloc-simple.c (bench):
3403 Do not initialize tests array out of bounds.
3404
fabf5e49
FW
34052019-06-19 Florian Weimer <fweimer@redhat.com>
3406
3407 [BZ #24166]
3408 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3409 dls_serpath field.
3410
2c75b545
FW
34112019-06-18 Florian Weimer <fweimer@redhat.com>
3412
3413 [BZ #24323]
3414 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3415 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3416 fail when called from dlopen.
3417 * elf/Makefile [have-fpie && build-shared] (tests): Add
3418 tst-dlopen-pie.
3419 (tst-dlopen-pie): Link with -ldl.
3420 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3421 * elf/tst-dlopen-pie.c (do_test): New file.
3422
ab74d59f 34232019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
02d8b5ab
RL
3424
3425 [BZ #24614]
3426 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3427 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3428 between the currency symbol and the minus sign).
3429 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3430 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3431
78049de0
AZ
34322019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3433
112a0ae1
AZ
3434 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3435 sysdep-rtld-routines): Remove rules.
3436 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3437 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3438 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3439 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3440 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3441 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3442 vDSO path for SHARED.
3443 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3444 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3445 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3446 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3447 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3448 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3449
dee07df1
AZ
3450 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3451 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3452 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3453 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3454 CFLAGS-s_llround-power5+.c): New rule.
3455 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3456 New file.
3457 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3458 Likewise.
3459 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3460 Likewise.
3461 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3462 Likewise.
3463 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3464 Likewise.
3465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3466 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3468 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3470 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3471 * sysdeps/powerpc/powerpc64/fpu/Makefile
3472 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3474 (libm-sysdep_routines): Remove s_llround-* objects.
3475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3476 file.
3477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3478 Likewise.
3479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3480 Likewise.
3481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3482 Likewise.
3483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3484 Likewise.
3485 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3487 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3488 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3489 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3490 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3491 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3492 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3493 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3495 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3496 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3497 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3498 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3499
2166283f
AZ
3500 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3501 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3502 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3503 * sysdeps/powerpc/powerpc32/fpu/Makefile
3504 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3505 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3506 optimization.
3507 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3508 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3509 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3511 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3512 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3513 CFLAGS-s_lrint-ppc32.c): New rule.
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3515 Remove file.
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3517 Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3519 Likewise.
3520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3521 Likewise.
3522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3523 Likewise.
3524 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3526 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3527 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3529 New file.
3530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3531 Likewise.
3532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3533 Likewise.
3534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3535 Likewise.
3536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3537 Likewise.
3538
78049de0
AZ
3539 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3540 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3541 s_llrint-ppc64.
3542 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3543 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3544 file.
3545 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3546 Likewise.
3547 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3548 Likewise.
3549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3552 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3554 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3555 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3556 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3558 (libm-sysdep_routines): Remove s_llrint-* objects.
3559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3560 file.
3561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3562 Likewise.
3563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3564 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3565 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3566 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3567 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3568 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3569 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3570 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3571 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3572 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3573
48c3c123
FW
35742019-06-14 Florian Weimer <fweimer@redhat.com>
3575
3576 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3577 argument to __glibc_has_include to inhibit macro expansion.
3578
8d141877
FW
35792019-06-14 Florian Weimer <fweimer@redhat.com>
3580
3581 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3582 function-like macro, so that __has_include can inhibit expansion
3583 of its argument.
3584
a26e2e9f
JM
35852019-06-13 Joseph Myers <joseph@codesourcery.com>
3586
cf274686
JM
3587 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3588 New macro.
3589
a26e2e9f
JM
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3591 Allow memset in libc.so.
3592
82bc69c0
SN
35932019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3594
3595 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3596 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3597 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3598 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3599 symbols at load time.
3600 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3601
55f82d32
SN
36022019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3603
3604 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3605 (DT_AARCH64_VARIANT_PCS): Define.
3606
21bd039b
AZ
36072019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3608
11926960
AZ
3609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3610 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3611 objects.
3612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3613 Remove file.
3614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3615 Likewise.
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3618 Likewise.
3619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3621 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3623 Remove s_finite* objects.
3624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3630 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3631 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3632 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3633 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3634
a7218676
AZ
3635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3636 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3637
6427a6ac
AZ
3638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3639 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3640 objects.
3641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3642 Remove file.
3643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3644 Likewise.
3645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3647 Likewise.
3648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3649 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3650 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3652 Remove s_isinf* and s_isinf* objects.
3653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3659 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3660 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3661 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3662 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3663
a8c590f7
AZ
3664 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3665 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3666
2666f963
AZ
3667 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3668 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3671 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3672 s_isnanf-* objects.
3673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3674 Remove file
3675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3676 Likewise.
3677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3678 Likewise.
3679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3680 Likewise.
3681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3683 Likewise.
3684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3685 Likewise.
3686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3687 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3688 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3689 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3690 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3691 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3692 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3694 Remove s_isnan-* and s_isnanf-* objects.
3695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3698 Likewise.
3699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3704 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3705 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3706 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3707 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3708 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3709 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3710 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3711 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3712
197dbda1
AZ
3713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3714 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3715
2731a326
AZ
3716 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3717 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3718 CFLAGS-bench-isfinite.c): New rule.
3719 * benchtests/isnan-input: New file.
3720 * benchtests/isinf-input: New file.
3721 * benchtests/isfinite-input: New file.
3722
e41d66e4
AZ
3723 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3724 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3725 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3726 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3728 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3729 s_copysign-ppc32.
3730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3731 Remove file.
3732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3733 Likewise.
3734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3735 Likewise.
3736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3737 Likewise.
3738 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3739 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3741 Remove s_copysign-power6 s_copysign-ppc64.
3742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3743 Remove file.
3744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3745 Likewise.
3746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3748 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3749 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3750 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3751 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3752
21bd039b
AZ
3753 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3754 round_to_integer_float, round_mode): Add RINT handling.
3755 (reset_fenv_mode): New symbol.
3756 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3757 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3758 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3759 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3760 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3761 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3762
cfa61144
FW
37632019-06-12 Florian Weimer <fweimer@redhat.com>
3764
3765 [BZ #24632]
3766 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3767 * libio/freopen.c (freopen): Use it.
3768
744e8296
FW
37692019-06-12 Florian Weimer <fweimer@redhat.com>
3770
3771 Linux: Deprecate sysctl.
3772 * include/sysctl.h (__sysctl): Remove declaration.
3773 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3774 check.
3775 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3776 (sysctl): Add deprecation attribute.
3777 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3778 directly, to avoid the deprecation warning. Do not include
3779 <string.h>.
3780 (__sysctl): Remove hidden alias.
3781
5dad6ffb
FW
37822019-06-12 Florian Weimer <fweimer@redhat.com>
3783
3784 Linux: Use kernel headers for statx definitions if available.
3785 * include/bits/statx-generic.h: New file.
3786 * include/bits/types/struct_statx.h: Likewise.
3787 * include/bits/types/struct_statx_timestamp.h: Likewise.
3788 * io/Makefile (headers): Add bits/statx-generic.h.
3789 * io/bits/statx-generic.h: New file. Partly copied from
3790 io/bits/statx.h.
3791 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3792 define original_statx.
3793 * io/bits/types/struct_statx.h: Likewise.
3794 * io/bits/types/struct_statx_timestamp.h: Likewise.
3795 (statx_generic): Use original_statx.
3796 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3797 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3798
4e75c2a4
FW
37992019-06-12 Florian Weimer <fweimer@redhat.com>
3800
3801 * misc/sys/cdefs.h (__glibc_has_include): Define.
3802
680942b0
WD
38032019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3804
3805 * string/memmem.c (__memmem): Rewrite to improve performance.
3806
5e0a7ecb
WD
38072019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3808
3809 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3810 warning.
3811 (two_way_long_needle): Block inlining.
3812 * string/strstr.c (strstr2): Add new function.
3813 (strstr3): Likewise.
3814 (STRSTR): Completely rewrite strstr to improve performance.
3815
80b2bfb5
WD
38162019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3817
3818 * benchtests/bench-strstr.c (test_hard_needle): New function.
3819
e6e24243
JM
38202019-06-10 Joseph Myers <joseph@codesourcery.com>
3821
3822 * malloc/tst-calloc.c: Include <libc-diag.h>.
3823 (null_test): Ignore -Wunused-result around calls to calloc.
3824 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3825 (do_test): Ignore -Wunused-result around call to malloc.
3826
51ea67d5
FW
38272019-06-07 Florian Weimer <fweimer@redhat.com>
3828
3829 Linux: Add getdents64 system call.
3830 * include/dirnent.h (getdents): Add comment and change buffer
3831 argument type to void *.
3832 (getdents64): Likewise. Add hidden prototype.
3833 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3834 getdents64.
3835 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3836 Add tst-getdents64.
3837 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3838 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3839 argument type to void *.
3840 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3841 Add hidden definition and getdents64 alias.
3842 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3843 Likewise.
3844 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3845 * manual/filesys.texi (Accessing Directories): Add Low-level
3846 Directory Access node reference.
3847 (Opening a Directory): Cross-reference it.
3848 (Low-level Directory Access): New node.
3849 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3850 getdents64.
3851 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3854 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3855 Likewise.
3856 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3857 Likewise.
3858 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3859 Likewise.
3860 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3861 Likewise.
3862 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3863 Likewise.
3864 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3865 Likewise.
3866 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3867 Likewise.
3868 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3869 (GLIBC_2.30): Likewise.
3870 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3871 (GLIBC_2.30): Likewise.
3872 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3873 (GLIBC_2.30): Likewise.
3874 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3875 (GLIBC_2.30): Likewise.
3876 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3877 Likewise.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3879 (GLIBC_2.30): Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3881 (GLIBC_2.30): Likewise.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3883 (GLIBC_2.30): Likewise.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3885 (GLIBC_2.30): Likewise.
3886 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3887 Likewise.
3888 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3889 Likewise.
3890 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3891 Likewise.
3892 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3893 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3894 Likewise.
3895 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3896 Likewise.
3897 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3898 Likewise.
3899 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3900 Likewise.
3901
de751ebc
PC
39022019-06-06 Paul A. Clarke <pc@us.ibm.com>
3903
3904 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3905 (__FPU_MFFS): New.
3906 (__FPU_MFFSL): New.
3907 (_FPU_GET_RC): New.
3908 (_FPU_GETCW): Use __FPU_MFFS().
3909 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3910
28dd3939
FW
39112019-06-06 Florian Weimer <fweimer@redhat.com>
3912
3913 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3914 internal GCC preprocessor identifier __has_include__.
3915
0158473d
PC
39162019-06-05 Paul A. Clarke <pc@us.ibm.com>
3917
3918 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3919 with call to equivalent function.
3920
e863dbf6
FW
39212019-06-04 Florian Weimer <fweimer@redhat.com>
3922
3923 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3924 (do_release_shlib): Adjust for __twalk_r.
3925 (__gconv_release_shlib): Call __twalk_r.
3926
4802be92
AS
39272019-06-04 Andreas Schwab <schwab@suse.de>
3928
3929 [BZ #18830]
3930 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3931 no irreversible characters occurred.
3932 * iconv/gconv_simple.c (internal_ucs4_loop)
3933 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3934 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3935 (ucs4_internal_loop_single, internal_ucs4le_loop)
3936 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3937 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3938 (ucs4le_internal_loop_single): Add const to outend.
3939 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3940 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3941 * iconv/Makefile (tests): Add tst-iconv7.
3942 * iconv/tst-iconv7.c: New file.
3943
dc91a19e
JM
39442019-06-03 Joseph Myers <joseph@codesourcery.com>
3945
3946 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3947
6a1a9a49 39482019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
3949
3950 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3951 * sysdeps/unix/sysv/linux/arm/Makefile
3952 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3953 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3954 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3955 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3956 compatibility symbols.
3957
0bb8f8c7
FW
39582019-05-31 Florian Weimer <fweimer@redhat.com>
3959
3960 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3961 system calls for the arm architecture: breakpoint, get_tls,
3962 set_tls, usr26, usr32.
3963
9250e661
GG
39642019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3965
3966 * sysdeps/powerpc/Makefile
3967 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3968 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3969 Declare '.machine power7' to get support for ldbrx.
3970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3971 directive based on the directory of the file.
3972 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3973 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3974 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3975 '.machine' directive.
3976 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3977 (VADDUQM_V7_V8): Remove.
3978 (__STRCASECMP): Replace macros with actual instructions.
3979 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3980 '.machine' directive.
3981 (VCLZD_V8_v7): Remove.
3982 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3983
fbd6c928
AZ
39842019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3985
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3987 Remove file.
3988 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3989
e47308c9
AZ
39902019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3991
3992 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3993 NEARBYINT handling.
3994 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3995 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3996 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3997 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4000
157cda1f 40012019-05-28 mansayk <6688000@gmail.com>
4002
4003 [BZ #24370]
4004 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
4005
182a3746 40062019-05-28 mansayk <6688000@gmail.com>
4007
4008 [BZ #24369]
4009 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
4010 (abmon): Likewise, but remove the trailing dots.
4011
c6df1ce3
JM
40122019-05-28 Joseph Myers <joseph@codesourcery.com>
4013
4014 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
4015
85188d82
FW
40162019-05-27 Florian Weimer <fweimer@redhat.com>
4017
4018 * nptl/nptl-init.c: Add comment.
4019
5c23c821
FW
40202019-05-24 Florian Weimer <fweimer@redhat.com>
4021
4022 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
4023 struct in_addr/struct in6_addr alignment.
4024
bee1f2c4
JM
40252019-05-23 Joseph Myers <joseph@codesourcery.com>
4026
4027 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4028 (F_SEAL_FUTURE_WRITE): New macro.
4029
ab74d59f 40302019-05-23 Alexandra Hájková <ahajkova@redhat.com>
481c30cb
AH
4031
4032 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
4033 * elf/tst-ldconfig-bad-aux-cache.c: New file.
4034 * elf/tst-ldconfig_aux-cache.root: New directory.
4035 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
4036 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
4037 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
4038
cb755eed
ZW
40392019-05-22 Zack Weinberg <zackw@panix.com>
4040
4041 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
4042 host type.
4043 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
4044 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
4045
4046 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
4049 Delete.
4050
4051 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
4052 Issue an #error if used with a compiler in SPE-float mode.
4053 * sysdeps/powerpc/powerpc32/__longjmp_common.S
4054 * sysdeps/powerpc/powerpc32/setjmp_common.S
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4061 Remove code to preserve SPE register state.
4062
4063 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4064 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4065 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
4066 Remove __SPE__ ifndefs.
4067
46ae0732
WD
40682019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
4069
4070 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
4071 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
4072 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
4073 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
4074 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
4075 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
4076 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
4077 (INNER_LOOP_ITERS_MEDIUM): New define.
4078 (INNER_LOOP_ITERS_SMALL): New define.
4079 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
4080 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
4081 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
4082 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
4083 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4084
e6855a3b 40852019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
004e52fe
AZ
4086
4087 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4088 New define.
4089 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4090 (SEMTIMEDOP_IPC_ARGS): Likewise.
4091
c9c15ac3
FW
40922019-05-21 Florian Weimer <fweimer@redhat.com>
4093
4094 [BZ #24584]
4095 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4096 before updating __counter field and release it afterwards. Add
4097 overflow check.
4098 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4099 requirement for __counter member.
4100
7e740ab2
FW
41012019-05-21 Florian Weimer <fweimer@redhat.com>
4102
4103 [BZ #24583]
4104 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4105 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4106 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4107 instead of __gconv_release_step.
4108 * libio/Makefile (tests): Add tst-wfile-gconv.
4109 (tests-container): Add tst-wfile-ascii.
4110 (tst-wfile-gconv-ENV): Enable mtrace.
4111 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4112 (tests-special): Add tst-wfile-gconv-mem.out.
4113 (tst-wfile-gconv.out): Depend on locales.
4114 (tst-wfile-gconv-mem.out): Add mtrace rule.
4115 * libio/tst-wfile-ascii.c: New file.
4116 * libio/tst-wfile-gconv.c: Likewise.
4117
09e1b0e3
FW
41182019-05-20 Florian Weimer <fweimer@redhat.com>
4119
4120 [BZ #24588]
4121 libio: Remove codecvt vtable.
4122 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4123 __libio_codecvt.
4124 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4125 __libio_codecvt_encoding.
4126 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4127 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4128 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4129 * libio/iofwide.c (__libio_codecvt): Remove variable.
4130 (_IO_fwide): Do not copy __libio_codecvt.
4131 (__libio_codecvt_out): Rename from do_out and export.
4132 (do_unshift): Remove function.
4133 (__libio_codecvt_in): Rename from do_in and export.
4134 (__libio_codecvt_encoding): Rename from do_encoding and export.
4135 (do_always_noconv): Remove function.
4136 (__libio_codecvt_length): Rename from do_length and export.
4137 (do_max_length): Remove function.
4138 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4139 to libioP.h.
4140 (struct _IO_codecvt): Remove fields __codecvt_destr,
4141 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4142 __codecvt_do_encoding, __codecvt_do_always_noconv,
4143 __codecvt_do_length, __codecvt_do_max_length.
4144 * libio/libioP.h (enum __codecvt_result): Define; moved from
4145 libio.h.
4146 (__libio_codecvt_out, __libio_codecvt_in)
4147 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4148 functions.
4149 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4150 (_IO_wfile_underflow): Call __libio_codecvt_in.
4151 (_IO_wfile_underflow): Likewise.
4152 (_IO_wfile_underflow_mmap): Likewise.
4153 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4154 __libio_codecvt_length.
4155 (adjust_wide_data): Call __libio_codecvt_encoding,
4156 __libio_codecvt_in.
4157 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4158 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4159 __libio_codecvt_length.
4160
75c51570
FW
41612019-05-20 Florian Weimer <fweimer@redhat.com>
4162
4163 * support/support.h (support_sbindir_prefix): Declare.
4164 (support_install_rootsbindir): Update comment.
4165 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4166 * support/support_paths.c (support_sbindir_prefix): Define.
4167
ff6bec7d
MC
41682019-05-20 Mike Crowe <mac@mcrowe.com>
4169
b62bb3bc
MC
4170 * support/timespec.c: Add backslash to correct newline in failure
4171 message.
4172
ff6bec7d
MC
4173 * support/timespec.h: Correct confusing comment.
4174
dfba907f
AZ
41752019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4176
236c18e5
AZ
4177 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4178 define.
4179 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4180 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4181 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4182 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4183
dfba907f
AZ
4184 [BZ #24570]
4185 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4186 usage.
4187
13886008
JM
41882019-05-20 Joseph Myers <joseph@codesourcery.com>
4189
4190 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4191 (NT_ARM_PACG_KEYS): Likewise.
4192
1f50f2ad
WD
41932019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4194
4195 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4196 (tcache_put): Remove redundant assert.
4197 (tcache_get): Remove redundant asserts.
4198 (__libc_malloc): Check tcache count is not zero.
4199 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4200
fef7c63c
FW
42012019-05-17 Florian Weimer <fweimer@redhat.com>
4202
4203 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4204
5f161b23
JM
42052019-05-16 Joseph Myers <joseph@codesourcery.com>
4206
4207 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4208 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4209 0x050100].
4210 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4211 Likewise.
4212 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4213 (__ASSUME_STATX): Likewise.
4214
ec255a97
FW
42152019-05-16 Florian Weimer <fweimer@redhat.com>
4216
4217 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4218 flags argument.
4219 (LINE_PARSER): Do not map IPv4 addresses.
4220 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4221 to parse_line.
4222 (_nss_nis_gethostent_r): Always pass AF_INET to
4223 internal_nis_gethostent_r.
4224 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4225 to parse_line.
4226 (_nss_nis_gethostbyname2_r): Adjust call to
4227 internal_nis_gethostent_r.
4228 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4229 call to internal_nis_gethostent_r.
4230 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4231 from parse_line.
4232 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4233 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4234 Remove flags argument. Do not map IPv4 addresses.
4235 (internal_nisplus_gethostent_r): Adjust call to
4236 _nss_nisplus_parse_hostent.
4237 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4238 to _nss_nisplus_parse_hostent.
4239 (_nss_nisplus_gethostbyname2_r): Adjust call to
4240 internal_gethostbyname2_r.
4241 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4242 Adjust call to internal_gethostbyname2_r.
4243 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4244 _nss_nisplus_parse_hostent.
4245 (_nss_nisplus_gethostbyname4_r): Adjust call to
4246 internal_gethostbyname2_r.
4247
9c02d078
FW
42482019-05-16 Florian Weimer <fweimer@redhat.com>
4249
4250 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4251 Remove flags.
4252 (LINE_PARSER): Remove address mapping.
4253 (EXTRA_ARGS_VALUE): Remove flags argument.
4254 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4255 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4256 gethostbyname3_multi.
4257 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4258 _nss_files_gethostbyname3_r.
4259 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4260
85b0e1e8
FW
42612019-05-16 Florian Weimer <fweimer@redhat.com>
4262
4263 * support/support_test_compare_blob.c (report_blob): Report
4264 incorrect NULL blobs.
4265
11b451c8
MW
42662019-05-15 Mark Wielaard <mark@klomp.org>
4267
4268 [BZ# 24476]
4269 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4270 __libc_once_get (once) and static_buf == NULL.
4271 (__dlerror): Check we have a valid key, set result to static_buf
4272 otherwise.
4273
32ff3975
AS
42742019-05-15 Andreas Schwab <schwab@suse.de>
4275
4276 [BZ #20568]
4277 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4278 __codecvt_do_length.
4279 * libio/Makefile (tests): Add tst-wfile-sync.
4280 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4281 * libio/tst-wfile-sync.c: New file.
4282 * libio/tst-wfile-sync.input: New file.
4283
a9368c34
FW
42842019-05-15 Florian Weimer <fweimer@redhat.com>
4285
4286 nss: Turn __nss_database_lookup into a compatibility symbol.
4287 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4288 __nss_database_lookup.
4289 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4290 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4291 __nss_database_lookup.
4292 (__nss_next): Move to …
4293 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4294 unconditionally.
4295 (__nss_database_lookup): New function.
4296 * nss/Versions (GLIBC_2.0): Update comment.
4297 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4298 * grp/initgroups.c (internal_getgrouplist): Call
4299 __nss_database_lookup2 instead of __nss_database_lookup.
4300 * nscd/aicache.c (addhstaiX): Likewise.
4301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4302 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4303 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4304 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4305 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4306 Likewise.
4307 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4308 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4310
ab74d59f 43112019-05-15 Alexandra Hájková <ahajkova@redhat.com>
32ff3975 4312
d50f0918
AH
4313 * support/support.h (support_install_rootsbindir): New variable.
4314 * support/support_paths.c: Likewise.
4315 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4316
7ac6fad9
FW
43172019-05-15 Florian Weimer <fweimer@redhat.com>
4318
4319 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4320 * iconv/gconv_int.h (__gconv_transliterate): … here.
4321 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4322 * iconv/skeleton.c: Likewise.
4323
04b261bd
FW
43242019-05-14 Florian Weimer <fweimer@redhat.com>
4325
4326 Linux: Add the tgkill function.
4327 * bits/signal_ext.h: New file.
4328 * manual/signal.texi (Signaling Another Process): Document tgkill.
4329 * signal/Makefile (headers): Add bits/signal_ext.h.
4330 * signal/signal.h: Include <bits/signal_ext.h>.
4331 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4332 (tst-tgkill): Link with libpthread.
4333 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4334 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4335 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4336 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4337 tgkill.
4338 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4339 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4341 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4344 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4345 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4347 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4348 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4349 Likewise.
4350 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4351 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4352 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4354 Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4356 Likewise.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4358 Likewise.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4360 Likewise.
4361 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4369
6807f47b
CD
43702019-05-14 Carlos O'Donell <carlos@redhat.com>
4371
4372 * manual/search.texi (Tree Search Function): Adjust twalk_r
4373 documentation.
4374
fdb8a0be
AZ
43752019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4376
da2b83ef
AZ
4377 [BZ #24544]
4378 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4379 pre-defined value.
4380
c7ac9caa
AZ
4381 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4382 * support/support.h (support_bindir_prefix): New variable.
4383 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4384
91f043ae
AZ
4385 * config.make.in (bindir): New variable.
4386
c50e1c26
AZ
4387 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4388 (lll_trylock): Call __lll_trylock.
4389 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4390 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4391 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4392 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4393 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4394 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4396 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4397 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4398 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4399 lowlevellock-futex.h.
4400
959aff9f
AZ
4401 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4402 initialization for LLL_LOCK_INITIALIZER different than 0.
4403 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4404 Assume LLL_LOCK_INITIALIZER being 0.
4405 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4406 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4407 Likewise.
4408 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4409 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4410
d7e4c642
AZ
4411 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4412 Optimize futex call and add systemtap probe.
4413
fdb8a0be
AZ
4414 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4415 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4416 __libc_disable_asynccancel, __librt_enable_asynccancel,
4417 __libc_disable_asynccancel, __librt_enable_asynccancel,
4418 __librt_disable_asynccancel): Move to ...
4419 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4420 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4421 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4422 * sysdeps/generic/single-thread.h: New file.
4423 * sysdeps/unix/sysdep.h: Include single-thread.h.
4424 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4425 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4426
f6efec90
MF
44272019-05-08 Mike FABIAN <mfabian@redhat.com>
4428
4429 [BZ #24535]
4430 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4431 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4432 Unicode 12.1.0.
4433 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4434 * localedata/unicode-gen/PropList.txt: Likewise.
4435 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4436 * localedata/charmaps/UTF-8: Regenerate.
4437 * localedata/locales/i18n_ctype: Likewise.
4438 * localedata/locales/tr_TR: Likewise.
4439 * localedata/locales/translit_circle: Likewise.
4440 * localedata/locales/translit_cjk_compat: Likewise.
4441 * localedata/locales/translit_combining: Likewise.
4442 * localedata/locales/translit_compat: Likewise.
4443 * localedata/locales/translit_font: Likewise.
4444 * localedata/locales/translit_fraction: Likewise.
4445
5ad533e8
WD
44462019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4447
4448 [BZ #24531]
4449 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4450 (do_set_tcache_count): Only update if count is small enough.
4451 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4452
4aee85f9
FW
44532019-05-10 Florian Weimer <fweimer@redhat.com>
4454
4455 * nptl/sem_close.c (struct walk_closure): Define.
4456 (walker): Adjust for __twalk_r.
4457 (sem_close): Call __twalk_r.
4458
eb669ff5
AZ
44592019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4460
4461 * support/timespec.c (test_timespec_before_impl,
4462 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4463 insted of long int.
4464
51983996
MC
44652019-05-09 Mike Crowe <mac@mcrowe.com>
4466
44ac6ee9
MC
4467 * nptl/tst-abstime.c: Use libsupport.
4468
495514ee
MC
4469 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4470 small bug where only tv.tv_usec was checked which could cause an
4471 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4472 than a second.
4473
4474 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4475 libsupport.
4476
40d0816f
MC
4477 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4478 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4479
d8e0b901
MC
4480 * nptl/tst-cond11.c: Use libsupport.
4481
51983996
MC
4482 * support/timespec.h: New file. Provide timespec helper functions
4483 along with macros in the style of those in check.h.
4484 * support/timespec.c: New file. Implement check functions declared
4485 in support/timespec.h.
4486 * support/timespec-add.c: New file from gnulib containing
4487 timespec_add implementation that handles overflow.
4488 * support/timespec-sub.c: New file from gnulib containing
4489 timespec_sub implementation that handles overflow.
4490 * support/README: Mention timespec.h.
4491
18aa51ee
SN
44922019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4493
4494 [BZ #24537]
4495 * nptl/Makefile: Move tst-eintr1 to xtests.
4496
252296c6
AZ
44972019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4498
ae45cf84
AZ
4499 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4500 TRUNC handling.
4501 (round_mode): Add definition for TRUNC.
4502 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4503 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4504 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4505 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4506 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4507 Likewise.
4508 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4509 Likewise.
4510 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4511 Likewise.
4512 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4513 Likewise.
4514 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4515 file.
4516 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4517 Likewise.
4518 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4519 Likewise.
4520 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4521 Likewise.
4522 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4523 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4524 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4525 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4526 s_truncf-power5+, and s_truncf-ppc64.
4527 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4528 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4529 file.
4530 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4532 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4533 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4534 file.
4535 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4536 Likewise.
4537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4538 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4540 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4541 s_truncf-power5+, and s_truncf-ppc64.
4542 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4543 file.
4544 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4545 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4546 Likewise.
4547 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4548 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4549 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4550 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4551 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4552
a1cb1888
AZ
4553 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4554 ROUND handling.
4555 (round_mode): Add definition for ROUND.
4556 (round_to_integer_float): Likewise.
4557 * sysdeps/powerpc/fpu/s_round.c: New file.
4558 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4559 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4560 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4561 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4562 Likewise.
4563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4564 Likewise.
4565 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4566 Likewise.
4567 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4568 Likewise.
4569 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4570 file.
4571 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4572 Likewise.
4573 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4574 Likewise.
4575 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4576 Likewise.
4577 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4578 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4579 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4580 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4581 s_roundf-power5+, and s_roundf-ppc64.
4582 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4583 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4584 file.
4585 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4587 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4588 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4589 file.
4590 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4591 Likewise.
4592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4593 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4594 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4595 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4596 s_roundf-power5+, and s_roundf-ppc64.
4597 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4598 file.
4599 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4600 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4601 Likewise.
4602 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4603 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4604 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4605 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4606 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4607
252296c6
AZ
4608 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4609 Add FLOOR option.
4610 (round_mode): Add definition for FLOOR.
4611 * sysdeps/powerpc/fpu/s_floor.c: New file.
4612 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4613 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4614 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4616 Remove file.
4617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4618 Likewise
4619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4620 Likewise.
4621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4622 Likewise.
4623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4624 New file.
4625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4626 Likewise.
4627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4628 Likewise.
4629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4630 Likewise.
4631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4633 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4634 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4635 s_floorf-power5+, and s_floorf-ppc64.
4636 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4637 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4638 file.
4639 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4641 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4642 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4643 file.
4644 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4645 Likewise.
4646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4647 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4649 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4650 s_floorf-power5+, and s_floorf-ppc64.
4651 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4652 file.
4653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4654 file.
4655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4656 Likewise.
4657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4658 Likewise.
4659 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4660 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4661 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4662 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4663
33647a72
MC
46642019-05-08 Mike Crowe <mac@mcrowe.com>
4665
4666 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4667 clock_gettime wrapper for use in tests that fails the test rather
4668 than returning failure.
4669
4670 * support/xtime.h: New file to declare xclock_gettime.
4671
4672 * support/Makefile: Add xclock_gettime.c.
4673
4674 * support/README: Mention xtime.h.
4675
b2f601ba
FW
46762019-05-08 Florian Weimer <fweimer@redhat.com>
4677
4678 malloc/tst-mallocfork2: Use process-shared barriers.
4679 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4680 (signal_count, sigusr1_sender_pid): Remove.
4681 (iterations): Define constant.
4682 (shared): New variable.
4683 (sigusr1_received): Update comment.
4684 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4685 (signal_sender): Optional use barriers to avoid sending signals
4686 during irrelevant times.
4687 (do_it): Initialize variable shared. Use xfork for error
4688 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4689 the iteration count, independent of signal delivery. Check for
4690 deadlocks in fork. Introduce barriers for reducing signal
4691 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4692 replaced by the barriers. Count signals during fork/free/malloc
4693 and report them.
4694 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4695
c4a392cf
JM
46962019-05-07 Joseph Myers <joseph@codesourcery.com>
4697
7621676f
JM
4698 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4699 version to 5.1.
4700 (clock_adjtime64) New syscall.
4701 (clock_getres_time64) Likewise.
4702 (clock_gettime64) Likewise.
4703 (clock_nanosleep_time64) Likewise.
4704 (clock_settime64) Likewise.
4705 (futex_time64) Likewise.
4706 (io_pgetevents_time64) Likewise.
4707 (io_uring_enter) Likewise.
4708 (io_uring_register) Likewise.
4709 (io_uring_setup) Likewise.
4710 (mq_timedreceive_time64) Likewise.
4711 (mq_timedsend_time64) Likewise.
4712 (pidfd_send_signal) Likewise.
4713 (ppoll_time64) Likewise.
4714 (pselect6_time64) Likewise.
4715 (recvmmsg_time64) Likewise.
4716 (rt_sigtimedwait_time64) Likewise.
4717 (sched_rr_get_interval_time64) Likewise.
4718 (semtimedop_time64) Likewise.
4719 (timer_gettime64) Likewise.
4720 (timer_settime64) Likewise.
4721 (timerfd_gettime64) Likewise.
4722 (timerfd_settime64) Likewise.
4723 (utimensat_time64) Likewise.
4724
c4a392cf
JM
4725 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4726 version to 9 branch.
4727
32e902a9
AY
47282019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4729
4730 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4731 __memmove_thunderx2 to the list of implementations
4732 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4733 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4734 (__memmove_thunderx2): Rewritten using SIMD ld/st
4735 (__memcpy_thunderx2): Fixed handling overlapping cases.
4736 Used ldp/stp instead of ldr/str if possible. Made loops
4737 tails branchless.
4738
ac3da35d
FW
47392019-05-03 Florian Weimer <fweimer@redhat.com>
4740
4741 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4742
b2af6fb2
AZ
47432019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4744
7dfde28a 4745 [BZ #24506]
b2af6fb2
AZ
4746 * elf/tst-pldd.c (in_str_list): New function.
4747 (do_test): Add default names for ld and libc as one option.
4748
7b807a35
FW
47492019-05-02 Florian Weimer <fweimer@redhat.com>
4750
4751 misc: Add twalk_r function.
4752 * include/search.h (__twalk_r): Declare.
4753 * manual/examples/twalk.c: New file.
4754 * manual/search.texi (Tree Search Function): Document twalk_r.
4755 * misc/Versions (2.30): Export twalk_r.
4756 (GLIBC_PRIVATE): Export __twalk_r.
4757 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4758 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4759 (twalk_r): Add weak alias.
4760 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4761 (walk_trace): New variable.
4762 (struct twalk_with_twalk_r_closure): Define.
4763 (twalk_with_twalk_r_action): New function.
4764 (twalk_with_twalk_r): Likewise.
4765 (walk_action): Call walk_trace_add.
4766 (walk_tree_with): Rename from walk_tree. Add walk argument.
4767 (walk_tree): New function.
4768 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4769 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4770 Likewise.
4771 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4772 Likewise.
4773 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4774 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4775 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4776 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4777 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4778 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4779 Likewise.
4780 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4781 Likewise.
4782 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4783 Likewise.
4784 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4785 (GLIBC_2.30): Likewise.
4786 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4787 (GLIBC_2.30): Likewise.
4788 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4789 (GLIBC_2.30): Likewise.
4790 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4791 (GLIBC_2.30): Likewise.
4792 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4793 Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4795 (GLIBC_2.30): Likewise.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4797 (GLIBC_2.30): Likewise.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4799 (GLIBC_2.30): Likewise.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4801 (GLIBC_2.30): Likewise.
4802 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4803 Likewise.
4804 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4805 Likewise.
4806 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4807 Likewise.
4808 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4809 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4810 Likewise.
4811 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4812 Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4814 Likewise.
4815 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4816 Likewise.
4817
20aa5819
PE
48182019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4819
4820 Make mktime etc. compatible with __time64_t
4821 Keep these functions compatible with Gnulib while adding
4822 __time64_t support. The basic idea is to move private API
4823 declarations from include/time.h to time/mktime-internal.h, since
4824 the former file cannot easily be shared with Gnulib whereas the
4825 latter can.
4826 Also, do some other minor cleanup while in the neighborhood.
4827 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4828 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4829 since Gnulib needs it.
4830 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4831 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4832 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4833 (in_time_t_range): New static function.
4834 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4835 so that glibc users are not tempted to use __time64_t.
4836 * time/mktime-internal.h: Rewrite so that it does both glibc
4837 and Gnulib work. Include time.h if not _LIBC.
4838 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4839 (__time64_t): New type or macro, moved here from
4840 posix/bits/types.h.
4841 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4842 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4843 from include/time.h.
4844 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4845 New macros, taken from GNulib.
4846 (__mktime_internal): New prototype, moved here from include/time.h.
4847 * time/mktime.c (mktime_min, mktime_max, convert_time)
4848 (ranged_convert, __mktime_internal, __mktime64):
4849 * time/timegm.c (__timegm64):
4850 Use __time64_t, not time_t.
4851 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4852 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4853 Rename from mktime.
4854 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4855 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4856 for libc_hidden_def.
4857 Include errno.h.
4858 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4859 Rename from timegm.
4860 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4861
87c266d7
MR
48622019-04-30 Maciej W. Rozycki <macro@wdc.com>
4863
4864 [BZ #19444]
4865 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4866 from `-Wmaybe-uninitialized'.
4867 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4868
c4c0848b
AZ
48692019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4870
6cac323c
AZ
4871 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4872 function.
4873 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4874 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4875 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4877 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4879 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4881 Remove file.
4882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4883 Likewise.
4884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4885 Likewise.
4886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4887 Likewise.
4888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4889 New file.
4890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4891 Likewise.
4892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4893 Likewise.
4894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4895 Likewise.
4896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4897 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4898 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4899 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4900 Likewise.
4901 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4902 Likewise.
4903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4904 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4905 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4906 file.
4907 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4908 Likewise.
4909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4910 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4911 * here.
4912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4913 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4914 s_ceilf-power5+, and s_ceilf-ppc64.
4915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4916 file.
4917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4920 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4921 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4922 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4924
c4c0848b
AZ
4925 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4926 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4927 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4928
f492fc99
YD
49292019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4930
4931 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4932 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4933 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4934 (sem_getvalue): Likewise.
4935
c57afec0
FW
49362019-04-26 Florian Weimer <fweimer@redhat.com>
4937
4938 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4939 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4940
a8ff215e
FW
49412019-04-26 Florian Weimer <fweimer@redhat.com>
4942
4943 Makeconfig: Move -Wl,-rpath-link options before library references.
4944 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4945 (link-libc): Remove $(link-libc-rpath-link).
4946
49472019-04-25 Florian Weimer <fweimer@redhat.com>
4948
4949 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4950 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4951 (+link-static-before-libc): Remove $(CC).
4952 (+link-static, +link-static-tests): Add $(CC).
4953 (+link-before-libc): Remove $(CC).
4954 (+link, +link-pie, +link-pie-printers): Add $(CC).
4955
e30fb31c
FW
49562019-04-26 Florian Weimer <fweimer@redhat.com>
4957
4958 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4959 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4960 (+link-static-before-libc): Remove $(CC).
4961 (+link-static, +link-static-tests): Add $(CC).
4962 (+link-before-libc): Remove $(CC).
4963 (+link, +link-pie, +link-pie-printers): Add $(CC).
4964
deacca00
DA
49652019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4966
4967 [BZ#24484]
4968 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4969
b5ffdc48
FW
49702019-04-25 Florian Weimer <fweimer@redhat.com>
4971
4972 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4973 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4974 (bench-link-targets): New variable.
4975 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4976
94a4e9e4
FW
49772019-04-25 Florian Weimer <fweimer@redhat.com>
4978
4979 Also enable BIND_NOW for programs if --enable-bind-now.
4980 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4981 (+link-pie): Use $(link-extra-flags).
4982 (+link-static): Likewise.
4983 [! $(build-pie-default)] (+link): Likewise.
4984 * manual/install.texi (Configuring and compiling): Update
4985 --enable-bind-now description.
4986 * INSTALL: Regenerated.
4987
fe92a91f
WD
49882019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4989
4990 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4991 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4992
f9b645b4
MF
49932019-04-24 Mike Frysinger <vapier@gentoo.org>
4994
4995 [BZ #18465]
4996 * malloc/Makefile (others): Add memusagestat.
4997 ($(objpfx)memusagestat): Delete rule.
4998 (LDLIBS-memusagestat): New variable.
4999
439bf534
FW
50002019-04-24 Florian Weimer <fweimer@redhat.com>
5001
5002 * locale/Makefile (tests-special): Guard setting by
5003 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
5004 to run while cross-compiling.
5005
1a4c2735
AZ
50062019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5007
5008 [BZ #18035]
5009 * elf/Makefile (tests-container): Add tst-pldd.
5010 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
5011 (E(find_maps)): Avoid use alloca, use default read file operations
5012 instead of explicit LFS names, and fix infinite loop.
5013 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
5014 (get_process_info): Use _Static_assert instead of assert, use default
5015 directory operations instead of explicit LFS names, and free some
5016 leadek pointers.
5017 * elf/tst-pldd.c: New file.
5018
2d398aa2
L
50192019-04-23 H.J. Lu <hongjiu.lu@intel.com>
5020
5021 * malloc/arena.c (do_set_mallopt_check): Removed.
5022
e485b2b6
FW
50232019-04-23 Florian Weimer <fweimer@redhat.com>
5024
5025 locale: Add LOCPATH diagnostics to the locale program.
5026 * locale/programs/locale.c (setlocale_failed): New variable.
5027 (try_setlocale): New function.
5028 (quote_string): Likewise.
5029 (setlocale_diagnostics): Likewise.
5030 (main): Call try_setlocale instead of setlocale. Call
5031 setlocale_diagnostics.
5032 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
5033 (tst-locale-locpath.out): New target.
5034 * locale/tst-locale-locpath.sh: New file.
5035
25f7a3c9
AZ
50362019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5037
5038 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
5039 to 2.30 notes.
5040
9bf8e29c
AZ
50412019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5042
5043 [BZ #23741]
5044 * malloc/hooks.c (malloc_check, realloc_check): Use
5045 __builtin_add_overflow on overflow check and adapt to
5046 checked_request2size change.
5047 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
5048 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
5049 allocation size to PTRDIFF_MAX.
5050 (REQUEST_OUT_OF_RANGE): Remove macro.
5051 (checked_request2size): Change to inline function and limit maximum
5052 requested size to PTRDIFF_MAX.
5053 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
5054 maximum allocation size to PTRDIFF_MAX.
5055 (_mid_memalign): Use _int_memalign call for overflow check.
5056 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
5057 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
5058 limit maximum requested size to PTRDIFF_MAX.
5059 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
5060 valloc, pvalloc): Add __attribute_alloc_size__.
5061 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
5062 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
5063 larger than PTRDIFF_MAX.
5064 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
5065 around tests of malloc with negative sizes.
5066 * malloc/tst-posix_memalign.c (do_test): Likewise.
5067 * malloc/tst-pvalloc.c (do_test): Likewise.
5068 * malloc/tst-valloc.c (do_test): Likewise.
5069 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
5070 with resulting size allocation larger than PTRDIFF_MAX with
5071 reallocarray_nowarn.
5072 (reallocarray_nowarn): New function.
5073 * NEWS: Mention the malloc function semantic change.
5074
0e169691
AZ
50752019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5076
52faba65
AZ
5077 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
5078 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5079
3a16dd78
AZ
5080 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
5081 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
5082 * sysdeps/powerpc/fpu/s_fma.c: New file.
5083 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5084
1dac8bd6
AZ
5085 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5086 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5087
a3ae315a
AZ
5088 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5089 the magic flag store.
5090 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5091 Likewise.
5092 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5093 Likewise.
5094 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5095 Remove rt_sigreturn call.
5096
ffe8a9a8
AZ
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5098 Remove rt_sigreturn call.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5100 Likewise.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5103
0e169691
AZ
5104 * support/Makefile (libsupport-routines): Add support_subprocess,
5105 xposix_spawn, xposix_spawn_file_actions_addclose, and
5106 xposix_spawn_file_actions_adddup2.
5107 (tst-support_capture_subprocess-ARGS): New rule.
5108 * support/capture_subprocess.h (support_capture_subprogram): New
5109 prototype.
5110 * support/support_capture_subprocess.c (support_capture_subprocess):
5111 Refactor to use support_subprocess and support_capture_poll.
5112 (support_capture_subprogram): New function.
5113 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5114 str_to_write_mode, test_common, parse_int, handle_restart,
5115 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5116 (do_test): Add support_capture_subprogram tests.
5117 * support/subprocess.h: New file.
5118 * support/support_subprocess.c: Likewise.
5119 * support/xposix_spawn.c: Likewise.
5120 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5121 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5122 * support/xspawn.h: Likewise.
5123
bae8cf0e
MG
51242019-04-17 Mike Gerow <gerow@google.com>
5125
5126 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5127 groups limit.
5128
e3f454ba
FW
51292019-04-11 Florian Weimer <fweimer@redhat.com>
5130
5131 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5132 domain with empty string.
5133 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5134
32d85c11
FW
51352019-04-11 Florian Weimer <fweimer@redhat.com>
5136
5137 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5138 comment.
5139 (alloc_buffer_next): Change return type to non-const. Update
5140 comment.
5141
221710af
FW
51422019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5143
5144 * manual/time.texi (Formatting Calendar Time): Add missing percent
5145 sign to conversion specifier.
5146
e621246e
CD
51472019-04-09 Carlos O'Donell <carlos@redhat.com>
5148 Kwok Cheung Yeung <kcy@codesourcery.com>
5149
5150 [BZ #16573]
5151 * malloc/mtrace.c: Define prototypes for all hooks.
5152 (set_default_hooks): New function.
5153 (set_trace_hooks): Likewise.
5154 (save_default_hooks): Likewise.
5155 (tr_freehook): Use new s*_hooks functions.
5156 (tr_mallochook): Likewise.
5157 (tr_reallochook): Likewise.
5158 (tr_memalignhook): Likewise.
5159 (mtrace): Likewise.
5160 (muntrace): Likewise.
5161
648279f4
WD
51622019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5163
5164 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5165 (generic_stpcpy): New function.
5166 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5167 (generic_stpncpy): New function.
5168 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5169 (generic_strcat): New function.
5170 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5171 (generic_strcpy): New function.
5172 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5173 (STUPID_STRNCAT): Remove function.
5174 (generic_strncat): New function.
5175 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5176 (STUPID_STRNCPY): Remove function.
5177 (generic_strncpy): New function.
5178 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5179 (generic_strnlen): New function.
5180 (memchr_strnlen): New function.
5181 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5182 (memchr_strlen): Likewise.
5183
93eebae5
WD
51842019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5185
5186 * benchtests/bench-strstr.c (input): Add realistic input text.
5187 (stupid_strstr): Remove function.
5188 (basic_strstr): Add function.
5189 (twoway_strstr): Add function.
5190 (do_one_test): Add result checking.
5191 (do_test): Use new input text. Remove accidental early matches.
5192 (test_main): Improve range of tests, reduce unaligned cases.
5193
a173d09f
WD
51942019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5195
5196 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5197 (basic_memmem): Add function.
5198 (twoway_memmem): Add function.
5199
6103c0a8
WD
52002019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5201
5202 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5203 * benchtests/bench-malloc-thread.c: Likewise.
5204 * benchtests/bench-skeleton.c: Likewise.
5205 * benchtests/bench-strtod.c: Likewise.
5206 * benchtests/bench-timing.h: Likewise.
5207
33322186
FW
52082019-04-08 Florian Weimer <fweimer@redhat.com>
5209
5210 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5211 definitions.
5212 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5213 RES_INSECURE2 security checks.
5214 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5215 RES_INSECURE2 handling.
5216
3f8b44be
FW
52172019-04-08 Florian Weimer <fweimer@redhat.com>
5218
5219 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5220 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5221 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5222 GETHOSTBYNAME.
5223 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5224 (tests-internal): Update justification for tst-resolv-res_init,
5225 tst-resolv-res_init-thread.
5226 (tst-res_use_inet6): Remove target.
5227 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5228 * resolv/res_debug.c (p_option): Remove "inet6" support.
5229 * resolv/res_init.c (res_setoptions): Likewise.
5230 * resolv/res_use_inet6.h: Remove file.
5231 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5232 definition.
5233 (res_use_inet6): Always return false.
5234 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5235 * resolv/resolv_context.h: Adjust file comment.
5236 (struct resolv_context): Update comment on __next field.
5237 (__resolv_context_put): Update comment.
5238 * resolv/tst-res_use_inet6.c: Remove file.
5239 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5240 "inet6" support.
5241 (test_cases): Adjust test case.
5242 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5243 (thread_byname2_af_inet6): Use old byname_inet6 code.
5244 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5245 (gai): Remove do_inet6 argument.
5246 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5247 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5248 (thread_gai_unspec_inet6): Remove functions.
5249 (do_test): Adjust thread_funcs.
5250 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5251 RES_USE_INET6 flag.
5252 (gaih_inet): Do not disable RES_USE_INET6 flag.
5253
6b5c8607 52542019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
5255
5256 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5257 and remove redundant code.
5258
e3fd0b0e
AZ
52592019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5260
f82ed45d
AZ
5261 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5262 New rule.
5263 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5265 Likewise.
5266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5267 Likewise.
5268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5269 Likewise.
5270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5274 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5275 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5277 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5278 wcsrchr-power7.
5279 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5282 Remove wcsrchr optimizations.
5283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5284
662c2cc4
AZ
5285 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5286 the loop unroll.
5287
421e3005
AZ
5288 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5289 New rule.
5290 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5292 Likewise.
5293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5294 Likewise.
5295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5296 Likewise.
5297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5298 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5299 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5300 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5301 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5302 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5304 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5305 wcschr-power7.
5306 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5309 Remove wcschr optimizations.
5310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5311
7ba0100c
AZ
5312 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5313 the loop unroll.
5314
447a1306
AZ
5315 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5316 New rule.
5317 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5319 Likewise.
5320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5321 Likewise.
5322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5323 Likewise.
5324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5327 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5328 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5329 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5331 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5332 wcscpy-power7.
5333 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5336 Remove wcscpy optimizations.
5337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5338
e3fd0b0e
AZ
5339 * include/loop_unroll.h: New file.
5340 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5341 besides generic implementation.
5342
8260f236
DD
53432019-04-03 DJ Delorie <dj@redhat.com>
5344
5345 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5346 snprintf truncating output.
5347
0bd545ee
DD
53482019-04-02 DJ Delorie <dj@redhat.com>
5349
5350 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5351 warning.
5352
466afec3
TS
53532019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5354
5355 [BZ #22964]
5356 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5357 era.
5358 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5359 (mkreftable): Add rules for the new Japanese era and the new dates.
5360
2f1d6155 53612019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
ab74d59f 5362 Rafał Lużyński <digitalfreak@lingonborough.com>
2f1d6155
TS
5363
5364 * time/tst-strftime2.c (date_t): Explicitly define the type.
5365 (dates): Use natural month and year numbers to express a date.
5366 (is_before): New function to compare dates.
5367 (mkreftable): Minor improvements to simplify maintenance.
5368 (do_test): Reflect the changes in dates array.
5369
84aea169
TS
5370 [BZ #24293]
5371 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5372 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5373 * time/tst-strftime2.c (locales): Likewise.
5374 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5375 2010-04-01, and 2011-04-01.
5376 (mkreftable): Add rules for the new locales and the new dates.
5377
62449176
CD
53782019-04-01 Carlos O'Donell <carlos@redhat.com>
5379
5380 * localedata/locales/ja_JP: Add comments to era entries.
5381
e0e4c321
DD
53822019-04-01 DJ Delorie <dj@redhat.com>
5383
5384 [BZ #24394]
5385 * time/strptime_l.c (%Ey): Fix fencepost error.
5386 * time/tst-strftime3.c: New.
5387 * time/Makefile (tests): Add tst-strftime3.
5388
ab74d59f 53892019-04-01 Uroš Bizjak <ubizjak@gmail.com>
993e3107
UB
5390
5391 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5392 conditional branch to DIVBYZERO. Fix unwind info.
5393 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5394 excb after conditional branch to $powerof2. Add missing unop
5395 instructions and .align directives and reorder instructions to
5396 match __divqu.
5397
d5ecee82
RH
53982019-04-01 Richard Henderson <rth@twiddle.net>
5399
5400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5401 Do not redefine.
5402 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5403 Do not redefine.
5404
656dd306
MR
54052019-03-30 Maciej W. Rozycki <macro@wdc.com>
5406
5407 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5408 $libc_cv_riscv_float_abi in `test' invocation.
5409 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5410
10cce669
PC
54112019-03-29 Paul A. Clarke <pc@us.ibm.com>
5412
5413 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5414 asm with builtin.
5415 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5416 Likewise.
5417 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5418 (_GET_SI_FPSCR): Likewise.
5419 (_SET_SI_FPSCR): Likewise.
5420
5e67e4bf 54212019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
5422
5423 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5424 clang 2.8.
5425 (signbit): Use builtin for clang 3.3.
5426 (isinf): Use builtin for clang 3.7.
5427
01963891
AZ
54282019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5429
5430 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5431
67112f7a
AH
54322019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5433
5434 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5435 quote in printf.
5436
7a773abf
MC
54372019-03-25 Mike Crowe <mac@mcrowe.com>
5438
82849fde
MC
5439 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5440 pthread_rwlock_timedrdlock with calls to
5441 pthread_rwlock_timedwrlock to ensure that the latter is tested
5442 too. Use new function name in diagnostic messages too.
5443
7a773abf
MC
5444 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5445 (do_test) Use libsupport test macros rather than hand-coded
5446 conditionals and error messages. Ensure that sem_init returns zero
5447 rather than not -1. Use <support/test-driver.c> rather than
5448 test-skeleton.c.
5449
5450 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5451 test macros rather than hand-coded conditionals and error messages.
5452 Use <support/test-driver.c> rather than test-skeleton.c.
5453
9ac2de69
JM
54542019-03-25 Joseph Myers <joseph@codesourcery.com>
5455
d7563e62
JM
5456 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5457
9ac2de69
JM
5458 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5459 (NT_MIPS_MSA): Likewise.
5460
38cc11da
AZ
54612019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5462
7621e38b
WD
5463 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5464 * benchtests/README: Update description.
5465 * benchtests/bench-timing.h: Default to hp-timing.
5466 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5467 HP_TIMING_PRINT): Remove.
5468 (HP_TIMING_NOW): Add generic implementation.
5469 (hp_timing_t): Change to uint64_t.
5470
1e372ded
AZ
5471 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5472 HP_TIMING_INLINE.
5473 * nptl/descr.h: Likewise.
5474 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5475 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5476 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5477 Abstract hp-timing usage with RTLD_* macros.
5478 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5479 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5480 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5481 HP_TIMING_NONAVAIL): Likewise.
5482 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5483 Likewise.
5484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5485 HP_SMALL_TIMING_AVAIL): Likewise.
5486 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5487 HP_SMALL_TIMING_AVAIL): Likewise.
5488 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5489 HP_SMALL_TIMING_AVAIL): Likewise.
5490 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5491 HP_SMALL_TIMING_AVAIL): Likewise.
5492 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5493 Likewise.
5494 * sysdeps/generic/hp-timing-common.h: Update comment with
5495 HP_TIMING_AVAIL removal.
5496
359653aa
AZ
5497 * include/random-bits.h: New file.
5498 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5499 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5500 random_bits.
5501 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5502 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5503 Likewise.
5504
6e8ba7fd
AZ
5505 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5506 * rt/Makefile (clock-routines): Remove get_clockfreq.
5507 * rt/get_clockfreq.c: Remove file.
5508 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5509 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5510 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5511 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5512 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5513
77b6f553
AZ
5514 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5515 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5516 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5517 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5518 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5519
38cc11da
AZ
5520 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5521 pthread_clock_settime.
5522 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5523 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5524 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5525 * elf/rtld.c (_dl_start_final): Likewise.
5526 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5527 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5528 Remove.
5529 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5530 (_dl_cpuclock_offset): Remove.
5531 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5532 cpuclock_offset_ununsed.
5533 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5534 cpuclock_offset set.
5535 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5536 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5537 * nptl/pthread_clock_gettime.c: Remove file.
5538 * nptl/pthread_clock_settime.c: Likewise.
5539 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5540 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5541 and CLOCK_PROCESS_CPUTIME_ID support.
5542 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5543 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5544 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5545 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5546 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5547 Likewise.
5548 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5549
421749d6
SL
55502019-03-22 Stefan Liebler <stli@linux.ibm.com>
5551
5552 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5553 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5554 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5555 New defines.
5556 * sysdeps/s390/memmem-arch13.S: New file.
5557 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5558 if it is only used as fallback.
5559 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5560 * sysdeps/s390/multiarch/ifunc-impl-list.c
5561 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5562
6f47401b
SL
55632019-03-22 Stefan Liebler <stli@linux.ibm.com>
5564
5565 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5566 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5567 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5568 New defines.
5569 * sysdeps/s390/multiarch/ifunc-impl-list.c
5570 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5571 * sysdeps/s390/strstr-arch13.S: New file.
5572 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5573 if it is only used as fallback.
5574 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5575
96fbb9a3
SL
55762019-03-22 Stefan Liebler <stli@linux.ibm.com>
5577
5578 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5579 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5580 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5581 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5582 ifunc selector.
5583 * sysdeps/s390/multiarch/ifunc-impl-list.c
5584 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5585 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5586 S390_IS_ARCH13_MIE3): New defines.
5587
a899a551
SL
55882019-03-22 Stefan Liebler <stli@linux.ibm.com>
5589
5590 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5591 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5592 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5593 * sysdeps/s390/configure: Regenerated.
5594
1a7df49c
SL
55952019-03-22 Stefan Liebler <stli@linux.ibm.com>
5596
5597 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5598 Add vxe2, vxp, dflt, sort flags.
5599 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5600 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5601 capabilities.
5602 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5603 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5604 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5605 HWCAP_S390_DFLT): Define.
5606
5e67e4bf 56072019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
5608
5609 [BZ #24372]
5610 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5611 of compiler warning.
5612 * locale/programs/ld-collate.c (collate_output): Likewise.
5613
ac64195c
DD
56142019-03-21 DJ Delorie <dj@redhat.com>
5615
5616 [BZ #24372]
5617 * iconv/iconvconfig.c (write_output): Replace floating point math
5618 with integer math to avoid imprecise results.
5619 * locale/programs/ld-collate.c (collate_output): Likewise.
5620
61f5e947
SL
56212019-03-21 Stefan Liebler <stli@linux.ibm.com>
5622
5623 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5624 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5625
57ada43c 56262019-03-20 mansayk <6688000@gmail.com>
5627
5628 [BZ #24296]
5629 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5630 (abday): Likewise, but remove the trailing dots.
5631
a2e57f89
JM
56322019-03-19 Joseph Myers <joseph@codesourcery.com>
5633
5634 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5635 macro.
5636 (HWCAP_PACA): Likewise.
5637 (HWCAP_PACG): Likewise.
5638 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5639 Increase to 32.
5640 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5641
e87d8ada
ST
56422019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5643
5644 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5645 should be handled.
5646
477e739b
JM
56472019-03-15 Joseph Myers <joseph@codesourcery.com>
5648
5649 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5650 version to 5.0.
5651 (old_getpagesize): New syscall.
5652
238d60a1
FY
56532019-03-15 Felix Yan <felixonmars@archlinux.org>
5654
5655 [BZ #24293]
5656 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5657 * localedata/locales/cmn_TW (era): Likewise.
5658 * localedata/locales/hak_TW (era): Likewise.
5659 * localedata/locales/lzh_TW (era): Likewise.
5660 * localedata/locales/nan_TW (era): Likewise.
5661
5dde9ef7
DD
56622019-03-14 Adam Maris <amaris@redhat.com>
5663
5664 * malloc/malloc.c (_int_malloc): Check for large bin list
5665 corruption when inserting unsorted chunk.
5666
a0a0dc83
FW
56672019-03-14 Florian Weimer <fweimer@redhat.com>
5668
5669 Remove obsolete, never-implemented XSI STREAMS declarations.
5670 * manual/terminal.texi (Allocation): Remove portability note and
5671 adjust example.
5672 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5673 _SC_STREAMS.
5674 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5675 * sysdeps/unix/inet/Subdirs (streams): Remove.
5676 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5677 (conformtest-headers-UNIX98): Likewise.
5678 (conformtest-headers-XOPEN2K): Likewise.
5679 (conformtest-headers-POSIX2008): Likewise.
5680 * posix/compat-streams.c: New file.
5681 * posix/Makefile (routines): Add it.
5682 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5683 getpmsg, isastream, putmsg, putpmsg.
5684 (GLIBC_2.30): New section.
5685 * bits/stropts.h: Remove file.
5686 * bits/xtitypes.h: Likewise.
5687 * conform/data/stropts.h-data: Likewise.
5688 * include/stropts.h: Likewise.
5689 * include/sys/stropts.h: Likewise.
5690 * include/xtitypes.h: Likewise.
5691 * streams/Makefile: Likewise.
5692 * streams/fattach.c: Likewise.
5693 * streams/fdetach.c: Likewise.
5694 * streams/getmsg.c: Likewise.
5695 * streams/getpmsg.c: Likewise.
5696 * streams/isastream.c: Likewise.
5697 * streams/putmsg.c: Likewise.
5698 * streams/putpmsg.c: Likewise.
5699 * streams/stropts.h: Likewise.
5700 * streams/sys/stropts.h: Likewise.
5701 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5702 * sysdeps/s390/bits/xtitypes.h: Likewise.
5703 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5704 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5705 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5706 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5707 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5708 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5711 * sysdeps/x86/bits/xtitypes.h: Likewise.
5712
081bdf94
FW
57132019-03-14 Florian Weimer <fweimer@redhat.com>
5714
5715 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5716 libnss_files.
5717 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5718 but not with libnss_files.
5719 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5720
97f8225d
ZW
57212019-03-14 Zack Weinberg <zackw@panix.com>
5722
5723 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5724 Specify encoding="utf-8" when opening headers to check.
5725
0c1041ee
JM
57262019-03-13 Joseph Myers <joseph@codesourcery.com>
5727
5728 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5729 version to 5.0.
5730 (Context.checkout_tar): Handle variable major version for Linux
5731 kernel.
5732
043440e7
FW
57332019-03-13 Florian Weimer <fweimer@redhat.com>
5734
5735 [BZ #24047]
5736 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5737
29218b26
ZW
57382019-03-13 Zack Weinberg <zackw@panix.com>
5739
5740 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5741 Move to stdlib.
5742 * include/inttypes.h: Adjust to match.
5743 * include/stdint.h: New wrapper.
5744
711a322a
ZW
57452019-03-13 Zack Weinberg <zackw@panix.com>
5746
5747 * scripts/check-obsolete-constructs.py: New test script.
5748 * scripts/check-installed-headers.sh: Remove tests for
5749 obsolete typedefs, superseded by check-obsolete-constructs.py.
5750 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5751 as a special test. Update commentary.
5752 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5753 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5754 Update commentary.
5755 * posix/sys/types.h (__u_intN_t): Remove.
5756 (u_int8_t): Typedef using __uint8_t.
5757 (u_int16_t): Typedef using __uint16_t.
5758 (u_int32_t): Typedef using __uint32_t.
5759 (u_int64_t): Typedef using __uint64_t.
5760
7c651308
SL
57612019-03-13 Stefan Liebler <stli@linux.ibm.com>
5762
5763 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5764 call _dl_procinfo.
5765 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5766 Ignore types other than AT_HWCAP.
5767 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5768 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5769 Likewise.
5770 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5771 in the case of falling back to generic output mechanism.
5772 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5773 Likewise.
5774
38b52865
FW
57752019-03-12 Florian Weimer <fweimer@redhat.com>
5776
5777 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5778
08504de7
FW
57792019-03-12 Florian Weimer <fweimer@redhat.com>
5780
5781 [BZ #24047]
5782 resolv: Enable full ICMP errors for UDP DNS sockets
5783 * resolv/res_enable_icmp.c: New file.
5784 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5785 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5786 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5787 socket.
5788
5fbcd763
MH
57892019-03-11 Mao Han <han_mao@c-sky.com>
5790
5791 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5792 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5793
c4e5f34b
MH
57942019-03-11 Mao Han <han_mao@c-sky.com>
5795
5796 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5797 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5798 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5799
827e30f3
MH
58002019-03-11 Mao Han <han_mao@c-sky.com>
5801
5802 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5803 directly.
5804 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5805 definition.
5806
6229c9bf
MH
58072019-03-11 Mao Han <han_mao@c-sky.com>
5808
5809 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5810 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5811 in mcontext_t
5812
86bdd49d
MF
58132019-03-08 Mike FABIAN <mfabian@redhat.com>
5814
5815 [BZ #24307]
5816 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5817 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5818 Unicode 12.0.0.
5819 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5820 * localedata/unicode-gen/PropList.txt: Likewise.
5821 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5822 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5823 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5824 * localedata/charmaps/UTF-8: Regenerate.
5825 * localedata/locales/i18n_ctype: Likewise.
5826 * localedata/locales/tr_TR: Likewise.
5827 * localedata/locales/translit_circle: Likewise.
5828 * localedata/locales/translit_cjk_compat: Likewise.
5829 * localedata/locales/translit_combining: Likewise.
5830 * localedata/locales/translit_compat: Likewise.
5831 * localedata/locales/translit_font: Likewise.
5832 * localedata/locales/translit_fraction: Likewise.
5833
c5f65462
JM
58342019-03-07 Joseph Myers <joseph@codesourcery.com>
5835
5836 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5837 than after operators.
5838 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5839 (setitimer_locked): Likewise.
5840 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5841 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5842 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5843 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5844 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5845 (PPC_CPU_SUPPORTED): Likewise.
5846 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5847 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5848 (stat_overflow): Likewise.
5849 (statfs_overflow): Likewise.
5850 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5851 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5852 (eq_ttyname_r): Likewise.
5853 (run_chroot_tests): Likewise.
5854
27a2f2f3
FW
58552019-03-07 Florian Weimer <fweimer@redhat.com>
5856
5857 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5858 header check.
5859
ae514971 58602019-03-07 Martin Liska <mliska@suse.cz>
5861
5862 * math/Makefile: Change location where math-vector-fortran.h is
5863 installed.
5864 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5865 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5866 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5867 * scripts/check-installed-headers.sh: Skip Fortran header files.
5868 * scripts/check-wrapper-headers.py: Likewise.
5869
0ddb7ea8
AZ
58702019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5871
5872 * nptl/nptl-init.c (__have_futex_clock_realtime,
5873 __have_futex_clock_realtime): Remove definition.
5874 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5875 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5876 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5877 __ASSUME_FUTEX_CLOCK_REALTIME support.
5878 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5879 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5880 * sysdeps/unix/sysv/linux/kernel-features.h
5881 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5882 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5883 Adjust comment.
5884
590675c0
GG
58852019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5886
5887 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5888 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5889 __GI___wcscpy and wcscpy.
5890
de71ee7b
FW
58912019-03-04 Florian Weimer <fweimer@redhat.com>
5892
5893 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5894 declaration.
5895 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5896 defined.
5897
ce6ddae0
SL
58982019-03-04 Stefan Liebler <stli@linux.ibm.com>
5899
5900 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5901 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5902
31efface
TS
59032019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5904
5905 [BZ #24162]
5906 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5907 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5908
f0eaf862
GG
59092019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5910
5911 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5912 tests.
5913 (do_test): Likewise.
5914 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5915 (do_test_call_varg): Likewise.
5916 (do_test_call_rarg): Likewise.
5917 * sysdeps/ieee754/ldbl-opt/Makefile
5918 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5919 tst-nldbl-error.
5920 ($(objpfx)tst-nldbl-warn.c): New rule.
5921 ($(objpfx)tst-nldbl-error.c): Likewise.
5922 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5923 New variables.
5924
d11086a9
GG
59252019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5926
5927 [BZ #23984]
5928 * include/bits/error-ldbl.h: New file.
5929 * include/error.h: Include stdarg.h. Declare internal functions
5930 __error_internal and __error_at_line_internal.
5931 * misc/Makefile (headers): Add bits/error-ldbl.h.
5932 * misc/bits/error-ldbl.h: New file.
5933 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5934 avoid the inclusion of bits/error.h.
5935 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5936 and __nldbl_error_at_line.
5937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5938 (__nldbl_error, __ndlbl_error_at_line): New functions.
5939 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5940 Redirect error and error_at_line.
5941 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5943 Likewise.
5944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5945 Likewise.
5946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5947 Likewise.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5949 Likewise.
5950 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5951 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5952 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5953
90188e7d
GG
59542019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5955
5956 [BZ #23984]
5957 * include/bits/err-ldbl.h: New file.
5958 * include/err.h: Add prototypes for the internal functions:
5959 __vwarnx_internal and __vwarn_internal.
5960 * misc/Makefile (headers): Add bits/err-ldbl.h.
5961 * misc/bits/err-ldbl.h: New file.
5962 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5963 defined, i.e.: when -mlong-double-64 is in use.
5964 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5965 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5966 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5967 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5968 (VA_CALL): New macro.
5969 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5970 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5971 functions.
5972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5973 declare prototypes for the new functions.
5974 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5976 Likewise.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5978 Likewise.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5980 Likewise.
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5982 Likewise.
5983 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5985 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5986
ea2d89d0
GG
59872019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5988
5989 * sysdeps/ieee754/ldbl-opt/Makefile
5990 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5991 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5992 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5993
6e1f6440
GG
59942019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5995
5996 [BZ #23983]
5997 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5998 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5999 * argp/bits/argp-ldbl.h: New file.
6000 * include/argp.h: Include stdarg.h. Add prototypes for internal
6001 functions: __argp_error_internal and __argp_failure_internal.
6002 * include/bits/argp-ldbl.h: New file.
6003 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
6004 __nldbl_argp_error and __nldbl_argp_failure.
6005 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
6006 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
6007 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
6008 Redirect argp_error and argp_failure calls.
6009 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6011 Likewise.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6013 Likewise.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6015 Likewise.
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6017 Likewise.
6018 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6019 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6020 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6021
c259196b
FW
60222019-03-01 Florian Weimer <fweimer@redhat.com>
6023
6024 [BZ #20419]
6025 * elf/tst-big-note-lib.S: Create a syntactically valid note.
6026 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
6027 code, to avoid creating an ABI tag note.
6028 (modules-names-nobuild): Add tst-big-note-lib.
6029
928b305d
SL
60302019-03-01 Stefan Liebler <stli@linux.ibm.com>
6031
6032 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
6033 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6034
36f30c10
FW
60352019-03-01 Florian Weimer <fweimer@redhat.com>
6036
6037 [BZ #20271]
6038 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6039 (__netlink_assert_response): Add additional missing newlines.
6040
462e83a4
JM
60412019-02-28 Joseph Myers <joseph@codesourcery.com>
6042
6043 * sysdeps/powerpc/powerpc32/dl-machine.c
6044 (__elf_machine_fixup_plt): Use space before '('.
6045 (__process_machine_rela): Likewise.
6046 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
6047 Likewise.
6048 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
6049 Likewise.
6050 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
6051 Likewise.
6052 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
6053 (pattern): Likewise.
6054 (delta): Likewise.
6055 (check_result): Likewise.
6056 (check_excepts): Likewise.
6057 (check_op): Likewise.
6058 (fail_xr): Likewise.
6059 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
6060 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
6061 (SCNHSZ): Likewise.
6062 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
6063 Likewise.
6064 (ARGS): Likewise.
6065 (__makecontext): Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
6067 Likewise.
6068
cc3e573c
FW
60692019-02-28 Florian Weimer <fweimer@redhat.com>
6070
6071 [BZ #23937]
6072 elf: Add test with a local IFUNC resolver.
6073 * elf/ifuncmain9.c: New file.
6074 * elf/ifuncmain9pic.c: Likewise.
6075 * elf/ifuncmain9picstatic.c: Likewise.
6076 * elf/ifuncmain9pie.c: Likewise.
6077 * elf/ifuncmain9static.c: Likewise.
6078 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
6079 ifuncmain9static, ifuncmain9picstatic.
6080 * elf/Makefile [multi-arch && build-shared] (tests-internal):
6081 Add ifuncmain9, ifuncmain9pic.
6082 * elf/Makefile [multi-arch && build-shared && have-fpie]
6083 (ifunc-pie-tests): Add ifuncmain9pie.
6084 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6085 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6086 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6087
92ad88fe
L
60882019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6089
6090 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6091 * configure: Regenerated.
6092 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6093
6bd4d02e
AZ
60942019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6095
6096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6097 symbol as __wcspcy instead of wcscpy.
6098
1b218417
ST
60992019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6100
6101 * include/stdio.h (__renameat2): New hidden prototype.
6102 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6103 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6104 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6105 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6106
c4f50205
JM
61072019-02-27 Joseph Myers <joseph@codesourcery.com>
6108
f627dd4d
JM
6109 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6110 if statement.
6111
c4f50205
JM
6112 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6113 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6114 * benchtests/bench-strlen.c (do_test): Likewise.
6115 (test_main): Likewise.
6116 * catgets/gencat.c (read_old): Likewise.
6117 * elf/cache.c (load_aux_cache): Likewise.
6118 * iconvdata/bug-iconv8.c (do_test): Likewise.
6119 * math/test-tgmath-ret.c (do_test): Likewise.
6120 * nis/nis_call.c (rec_dirsearch): Likewise.
6121 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6122 * nptl/tst-audit-threads.c (do_test): Likewise.
6123 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6124 * nss/nss_test1.c (init): Likewise.
6125 * nss/test-netdb.c (test_hosts): Likewise.
6126 * posix/execvpe.c (maybe_script_execute): Likewise.
6127 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6128 * stdio-common/tst-printf.c (do_test): Likewise.
6129 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6130 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6131 * stdlib/qsort.c (STACK_SIZE): Likewise.
6132 * stdlib/test-canon.c (do_test): Likewise.
6133 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6134 * string/memcmp.c (OPSIZ): Likewise.
6135 * string/test-strcpy.c (do_test): Likewise.
6136 (do_random_tests): Likewise.
6137 * string/test-strlen.c (do_test): Likewise.
6138 (test_main): Likewise.
6139 * string/test-strrchr.c (do_test): Likewise.
6140 (do_random_tests): Likewise.
6141 * string/tester.c (test_memrchr): Likewise.
6142 (test_memchr): Likewise.
6143 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6144 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6145 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6146 (read_encoded_value_with_base): Likewise.
6147 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6148 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6149 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6150 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6151 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6152 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6153 Likewise.
6154 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6155 Likewise.
6156 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6157 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6158 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6159 Likewise.
6160 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6161 Likewise.
6162 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6163 Likewise.
6164 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6165 Likewise.
6166 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6167 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6168 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6169 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6170 * time/test_time.c (main): Likewise.
6171
7b3fb620
AZ
61722019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6173
457208b1
AZ
6174 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6175
30a7e208
AZ
6176 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6177 wmemcpy.
6178
ddf21ec7
AZ
6179 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6180 wmemcpy.
6181
4d801563
AZ
6182 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6183
81a14439
AZ
6184 * include/wchar.h (__wcscpy): New prototype.
6185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6186 (__wcscpy): Route internal symbol to generic implementation.
6187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6188 Add internal __wcscpy alias.
6189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6190 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6191 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6192 * wcsmbs/wcscpy.c (wcscpy): Add
6193 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6194 use generic implementation.
6195 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6196
39ef0744
AZ
6197 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6198 wmemset.
6199
7b3fb620
AZ
6200 * sysdeps/m68k/wcpcpy.c: Remove file.
6201 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6202
e0cb7b61
JM
62032019-02-26 Joseph Myers <joseph@codesourcery.com>
6204
aa0e4663
JM
6205 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6206 than after operators.
6207 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6208 * sysdeps/mach/hurd/getcwd.c
6209 (__hurd_canonicalize_directory_name_internal): Likewise.
6210 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6211 (pthread_mutex_consistent): Likewise.
6212 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6213 Likewise.
6214 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6215 (__pthread_mutex_transfer_np): Likewise.
6216 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6217 (__pthread_mutex_unlock): Likewise.
6218 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6219 (mtx_owned_p): Likewise.
6220 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6221 (pthread_mutexattr_getrobust): Likewise.
6222 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6223 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6224 Likewise.
6225 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6226 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6227 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6228 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6229 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6232 Likewise.
6233 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6234 Likewise.
6235 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6236 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6237 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6238 (____longjmp_chk): Likewise.
6239 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6240 Likewise.
6241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6242 (INTERNAL_SYSCALL): Likewise.
6243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6244 (INTERNAL_SYSCALL): Likewise.
6245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6246 (__get_clockfreq_via_cpuinfo): Likewise.
6247
e0cb7b61
JM
6248 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6249 comments.
6250 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6251 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6252 (WORD_COPY_BWD): Likewise.
6253 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6255 Likewise.
6256 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6257 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6258 comment.
6259 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6260
a04549c1
JM
62612019-02-25 Joseph Myers <joseph@codesourcery.com>
6262
6263 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6264 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6265 rather than after operators.
6266 * elf/cache.c (print_cache): Likewise.
6267 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6268 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6269 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6270 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6271 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6272 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6273 (reauth_proc): Likewise.
6274 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6275 (__file_name_split_at): Likewise.
6276 (__directory_name_split_at): Likewise.
6277 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6278 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6279 * iconv/gconv_dl.c (do_print): Likewise.
6280 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6281 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6282 * locale/setlocale.c (new_composite_name): Likewise.
6283 * malloc/memusagestat.c (main): Likewise.
6284 * misc/fstab.c (fstab_convert): Likewise.
6285 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6286 Likewise.
6287 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6288 (getgrent_next_file): Likewise.
6289 (internal_getgrnam_r): Likewise.
6290 (internal_getgrgid_r): Likewise.
6291 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6292 Likewise.
6293 (internal_getgrent_r): Likewise.
6294 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6295 (getpwent_next_nss): Likewise.
6296 (getpwent_next_file): Likewise.
6297 (internal_getpwnam_r): Likewise.
6298 (internal_getpwuid_r): Likewise.
6299 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6300 Likewise.
6301 (getspent_next_nss): Likewise.
6302 (internal_getspnam_r): Likewise.
6303 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6304 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6305 * string/strchr.c (STRCHR): Likewise.
6306 * string/strchrnul.c (STRCHRNUL): Likewise.
6307 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6308 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6309 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6310 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6311 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6312 Likewise.
6313 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6314 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6315 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6316 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6317 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6319 (open_file): Likewise.
6320 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6321 (pthread_mutexattr_setprotocol): Likewise.
6322 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6323 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6324 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6325 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6326 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6327 Likewise.
6328 (elf_machine_rela): Likewise.
6329 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6330 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6331 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6332 * sysdeps/posix/rename.c (rename): Likewise.
6333 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6334 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6335 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6336 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6337 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6338 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6339 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6340 Likewise.
6341 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6342 Likewise.
6343 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6344 * time/tzfile.c (__tzfile_compute): Likewise.
6345
34a5a146
JM
63462019-02-22 Joseph Myers <joseph@codesourcery.com>
6347
6348 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6349 rather than after operators.
6350 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6351 * crypt/md5.c (md5_finish_ctx): Likewise.
6352 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6353 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6354 * elf/cache.c (load_aux_cache): Likewise.
6355 * elf/dl-load.c (open_verify): Likewise.
6356 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6357 * elf/readelflib.c (process_elf_file): Likewise.
6358 * elf/rtld.c (dl_main): Likewise.
6359 * elf/sprof.c (generate_call_graph): Likewise.
6360 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6361 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6362 * hurd/dtable.c (reauth_dtable): Likewise.
6363 * hurd/getdport.c (__getdport): Likewise.
6364 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6365 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6366 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6367 Likewise.
6368 * hurd/hurdioctl.c (fioctl): Likewise.
6369 * hurd/hurdselect.c (_hurd_select): Likewise.
6370 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6371 (STOPSIGS): Likewise.
6372 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6373 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6374 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6375 * hurd/msgportdemux.c (msgport_server): Likewise.
6376 * hurd/setauth.c (_hurd_setauth): Likewise.
6377 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6378 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6379 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6380 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6381 * login/tst-utmp.c (do_check): Likewise.
6382 (simulate_login): Likewise.
6383 * mach/lowlevellock.h (lll_lock): Likewise.
6384 (lll_trylock): Likewise.
6385 * math/test-fenv.c (ALL_EXC): Likewise.
6386 * math/test-fenvinline.c (ALL_EXC): Likewise.
6387 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6388 * nis/nis_call.c (__do_niscall3): Likewise.
6389 * nis/nis_callback.c (cb_prog_1): Likewise.
6390 * nis/nis_defaults.c (searchaccess): Likewise.
6391 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6392 * nis/nis_ismember.c (internal_ismember): Likewise.
6393 * nis/nis_local_names.c (nis_local_principal): Likewise.
6394 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6395 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6396 Likewise.
6397 * nis/ypclnt.c (yp_match): Likewise.
6398 (yp_first): Likewise.
6399 (yp_next): Likewise.
6400 (yp_master): Likewise.
6401 (yp_order): Likewise.
6402 * nscd/hstcache.c (cache_addhst): Likewise.
6403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6404 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6405 (internal_getpwuid_r): Likewise.
6406 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6407 * posix/glob.h (__GLOB_FLAGS): Likewise.
6408 * posix/regcomp.c (peek_token): Likewise.
6409 (peek_token_bracket): Likewise.
6410 (parse_expression): Likewise.
6411 * posix/regexec.c (sift_states_iter_mb): Likewise.
6412 (check_node_accept_bytes): Likewise.
6413 * posix/tst-spawn3.c (do_test): Likewise.
6414 * posix/wordexp-test.c (testit): Likewise.
6415 * posix/wordexp.c (parse_tilde): Likewise.
6416 (exec_comm): Likewise.
6417 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6418 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6419 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6420 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6421 * stdio-common/tst-fileno.c (do_test): Likewise.
6422 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6423 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6424 * stdlib/strtod_l.c (round_and_return): Likewise.
6425 (____STRTOF_INTERNAL): Likewise.
6426 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6427 * string/strcspn.c (STRCSPN): Likewise.
6428 * string/test-memmem.c (simple_memmem): Likewise.
6429 * termios/tcsetattr.c (tcsetattr): Likewise.
6430 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6431 * time/asctime.c (asctime_internal): Likewise.
6432 * time/strptime_l.c (__strptime_internal): Likewise.
6433 * time/sys/time.h (timercmp): Likewise.
6434 * time/tzfile.c (__tzfile_compute): Likewise.
6435
b0b50fe0
PF
64362019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6437
b39d961c
TS
6438 [BZ #21915]
6439 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 6440
f43b8dd5
GG
64412019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6442
6443 * argp/argp-help.c (__argp_error_internal): New function,
6444 renamed from __argp_error, but that takes a 'mode_flags'
6445 parameter to control the format of long double parameters.
6446 (__argp_error): Converted into a call __argp_error_internal.
6447 (__argp_failure_internal): New function, renamed from
6448 __argp_failure, but that takes a 'mode_flags' parameter.
6449 (__argp_failure): Converted into a call __argp_failure_internal.
6450 * misc/err.c (__vwarnx_internal): New function, renamed from
6451 vwarnx, but that takes a 'mode_flags' parameter.
6452 (vwarnx): Converted into a call to __vwarnx_internal.
6453 (__vwarn_internal): New function, renamed from vwarn, but that
6454 takes a 'mode_flags' parameter.
6455 (vwarn): Converted into a call to __vwarn_internal.
6456 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6457 call to __vfxprintf with 'mode_flags'.
6458 (__error_internal): New function, renamed from error, but that
6459 takes a 'mode_flags' parameter.
6460 (error): Converted into a call to __error_internal.
6461 (__error_at_line_internal): New function, renamed from
6462 error_at_line, but that takes a 'mode_flags' parameter.
6463 (error_at_line): Converted into a call to
6464 __error_at_line_internal.
6465 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6466 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6467 Likewise.
6468
dc0afac3 64692019-02-20 Martin Liska <mliska@suse.cz>
6470
6471 * math/Makefile: Install math-vector-fortran.h.
6472 * bits/math-vector-fortran.h: New file.
6473 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6474
4a2dd41c
GG
64752019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6476
6477 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6478 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6479
04de9302
WS
64802019-02-19 Wolfram Sang <wsa@the-dreams.de>
6481
6482 * nptl/pthread_mutex_trylock.c: Fix comment.
6483
b026ce1e
CD
64842019-02-19 Carlos O'Donell <carlos@redhat.com>
6485
6486 * nptl/pthread_tryjoin.c: Fix comment.
6487
8c9289b6
JM
64882019-02-18 Joseph Myers <joseph@codesourcery.com>
6489
6490 [BZ #24231]
6491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6492 after R_SPARC_H34 case.
6493
308e022f
FW
64942019-02-18 Florian Weimer <fweimer@redhat.com>
6495
6496 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6497 (getanswer): Do not call Dprintf.
6498 (res_gethostbyname2_context): Likewise.
6499 (res_gethostbyaddr_context): Likewise.
6500
a5406364
FW
65012019-02-18 Florian Weimer <fweimer@redhat.com>
6502
6503 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6504 declaration.
6505 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6506 Remove definitions.
6507 * libio/stdfiles.c: Update comment.
6508 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6509 set _IO_stdin, _IO_stdout, _IO_stderr.
6510 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6511 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6512 inline function.
6513 (_IO_deallocate_file): New inline function.
6514 * libio/iolibio.h (_IO_vprintf): Remove definition.
6515 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6516 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6517 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6518 _IO_legacy_file.
6519 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6520 __builtin_expect. Use _IO_legacy_file.
6521
6c29942c
SL
65222019-02-18 Stefan Liebler <stli@linux.ibm.com>
6523
6524 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6525 Initialize ctid with a known value and remove update of ctid
6526 after clone.
6527 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6528 as assumed current value of ctid_ptr.
6529
225d9445 65302019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
6531
6532 Check that non-sysdeps headers have wrapper headers.
6533 * scripts/check-wrapper-headers.py: New file.
6534 * Makefile (tests-special): Add check-wrapper-headers.out.
6535 (check-wrapper-headers.out): New target.
6536 * Rules (tests-special): Add check-wrapper-headers.out.
6537 (check-wrapper-headers.out): New target.
6538
225d9445 65392019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
6540
6541 Add missing header wrappers under include/.
6542 * include/ar.h: New file.
6543 * include/bits/mqueue2.h: Likewise.
6544 * include/bits/stdio.h: Likewise.
6545 * include/bits/stdio2.h: Likewise.
6546 * include/fstab.h: Likewise.
6547 * include/fts.h: Likewise.
6548 * include/lastlog.h: Likewise.
6549 * include/netinet/icmp6.h: Likewise.
6550 * include/netinet/igmp.h: Likewise.
6551 * include/netinet/ip6.h: Likewise.
6552 * include/re_comp.h: Likewise.
6553 * include/regexp.h: Likewise.
6554 * include/rpcsvc/bootparam.h: Likewise.
6555 * include/rpcsvc/yp_prot.h: Likewise.
6556 * include/sys/random.h: Likewise.
6557 * include/sys/stropts.h: Likewise.
6558 * include/sys/ttychars.h: Likewise.
6559 * include/sys/vfs.h: Likewise.
6560 * include/wait.h: Likewise.
6561
225d9445 65622019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
6563
6564 * nptl_db/proc_service.h: Move to ...
6565 * sysdeps/nptl/proc_service.h: ... here.
6566 * nptl_db/thread_db.h: Move to ...
6567 * sysdeps/nptl/thread_db.h: ... here.
6568 * nptl/descr.h: Include <thread_db.h>.
6569
e442e40d
AZ
65702019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6571
6572 * io/Makefile (tests): Add tst-lockf.
6573 * io/lockf.c (lockf): Use __fcntl and only define for
6574 !__OFF_T_MATCHES_OFF64_T.
6575 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6576 __OFF_T_MATCHES_OFF64_T case.
6577 * io/tst-lockf.c: New file.
6578 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6579 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6580 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6581 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6582 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6584 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6585 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6586 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6587
bc10e22c
FW
65882019-02-15 Florian Weimer <fweimer@redhat.com>
6589
6590 [BZ #24211]
6591 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6592 pd->result after the thread descriptor has been freed.
6593
365f05c7
JM
65942019-02-15 Joseph Myers <joseph@codesourcery.com>
6595
8a11f970
JM
6596 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6597 from function return type.
6598
365f05c7
JM
6599 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6600
6b5c8607 66012019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
6602
6603 * scripts/test_printers_common.py: Set TERM to a known harmless
6604 value.
6605
712182c8
JM
66062019-02-14 Joseph Myers <joseph@codesourcery.com>
6607
6608 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6609 (xdr_u_int): Likewise.
6610 (xdr_enum): Likewise.
6611 (xdr_bytes): Reword fall-through comment.
6612 (xdr_string): Likewise.
6613
eb76e5b4
AZ
66142019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6615
6616 [BZ #2421]
6617 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6618 (tests): Add tst-join8 tst-join9.
6619 * nptl/lll_timedwait_tid.c: Remove file.
6620 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6621 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6622 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6623 * nptl/pthread_join_common.c (timedwait_tid): New function.
6624 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6625 is set.
6626 * nptl/tst-join5.c (thread_join): New function.
6627 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6628 check.
6629 * nptl/tst-join8.c: New file.
6630 * nptl/tst-join9.c: Likewise.
6631 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6632 lll_futex_timed_wait_cancel): Add generic macros.
6633 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6634 Remove definitions.
6635 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6637 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6638 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6639 Remove function.
6640 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6641 Likewise.
6642 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6643 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6644 (lll_futex_timed_wait_cancel): New macro.
6645
3904fd85
WD
66462019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6647
6648 * benchtests/Makefile: Add malloc-simple benchmark.
6649 * benchtests/bench-malloc-simple.c: New benchmark.
6650
24ca04fe
SP
66512019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6652
6653 * benchtests/bench-memmove.c (do_one_test): Remove unused
6654 ORIG_SRC.
6655 (do_test): Adjust.
6656 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6657 ORIG_SRC.
6658 (do_test): Adjust.
6659
85bd1ddb
JW
66602019-01-13 Jim Wilson <jimw@sifive.com>
6661
6662 [BZ #24040]
6663 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6664 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6665 (func): New.
6666 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6667 call func directly.
6668 * nptl/Makefile (tests): Add tst-unwind-thread.
6669 (CFLAGS-tst-unwind-thread.c): Define.
6670 * nptl/tst-unwind-thread.c: New file.
6671 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6672 as undefined.
6673
86140c62
JM
66742019-02-13 Joseph Myers <joseph@codesourcery.com>
6675
10756268
JM
6676 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6677 comment wording.
6678 * nis/nis_call.c (__do_niscall3): Likewise.
6679
05383720
JM
6680 * catgets/gencat.c (normalize_line): Use braces around empty
6681 'else' body.
6682 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6683 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6684 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6685 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6686 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6687 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6688 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6689 definition.
6690
86140c62
JM
6691 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6692 execlp returns.
6693
16f87cfd
WD
66942019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6695
6696 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6697 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6698 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6699 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6700 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6701 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6702 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6703 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6704 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6705 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6706 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6707 * benchtests/bench-bcopy.c: Delete file.
6708 * benchtests/bench-bzero.c: Likewise.
6709 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6710 (simple_memccpy): Remove.
6711 (generic_memccpy): Add function.
6712 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6713 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6714 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6715 (generic_mempcpy): Add new function.
6716 * benchtests/bench-memset.c (simple_bzero): Remove.
6717 (builtin_bzero): Remove.
6718 (builtin_memset): Remove.
6719 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6720 (generic_rawmemchr): Add new function.
6721
0c6d82e9
FW
67222019-02-12 Florian Weimer <fweimer@redhat.com>
6723
6724 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6725
b3fbfe81
AZ
67262019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6727
6728 [BZ #24122]
6729 * elf/Makefile (tests): Add tst-audit13.
6730 (modules-names): Add tst-audit13mod1.
6731 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6732 rule.
6733 * elf/tst-audit13.c: New file.
6734 * elf/tst-audit13mod1.c: Likewise.
6735
3b856d09
FW
67362019-02-12 Florian Weimer <fweimer@redhat.com>
6737
6738 [BZ #24122]
6739 * elf/rtld.c (unload_audit_module): New function.
6740 (report_audit_module_load_error): Likewise.
6741 (load_audit_module): Likewise. Extracted from dl_main. Call
6742 _dl_close if the laversion symbol cannot be found. Use early
6743 returns for error handling. Add malloc error check. Check for a
6744 zero return value from la_version. Remove spurious comment about
6745 static TLS initialization. Remove useless casts.
6746 (notify_audit_modules_of_loaded_object): New function. Extracted
6747 from dl_main.
6748 (load_audit_module): Likewise.
6749 (dl_main): Call load_audit_modules.
6750
32db86d5
JM
67512019-02-12 Joseph Myers <joseph@codesourcery.com>
6752
6753 * elf/dl-exception.c (_dl_exception_create_format): Add
6754 fall-through comments.
6755 * elf/ldconfig.c (parse_conf_include): Likewise.
6756 * elf/rtld.c (print_statistics): Likewise.
6757 * locale/programs/charmap.c (parse_charmap): Likewise.
6758 * misc/mntent_r.c (__getmntent_r): Likewise.
6759 * posix/wordexp.c (parse_arith): Likewise.
6760 (parse_backtick): Likewise.
6761 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6762 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6764
a51bc4fe
PC
67652019-02-11 Paul A. Clarke <pc@us.ibm.com>
6766
6767 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6768 Use float instead of double.
6769
fb25b135
TS
67702019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6771
6772 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6773
32ea7299
JM
67742019-02-08 Joseph Myers <joseph@codesourcery.com>
6775
6776 * sysdeps/powerpc/bits/mathinline.h: Remove.
6777
eef4d4f8
FW
67782019-02-08 Florian Weimer <fweimer@redhat.com>
6779
6780 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6781 * math/bits/math-finite.h: Move to ...
6782 * bits/math-finite.h: ... here.
6783
fdfbd47d
FW
67842019-02-08 Florian Weimer <fweimer@redhat.com>
6785
6786 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6787 * bits/unistd_ext.h: here.
6788
11eb21c4
PF
67892019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6790
6791 [BZ #21915]
6792 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6793 * nss/tst-nss-files-hosts-long.c: New file.
6794 * nss/tst-nss-files-hosts-long.root: New directory.
6795 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6796 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6797
e47d82c9
FW
67982019-02-08 Florian Weimer <fweimer@redhat.com>
6799
6800 * include/bits/unistd_ext.h: Remove file.
6801 * posix/bits/unistd_ext.h: Move to ...
6802 * sysdeps/generic/bits/unistd_ext.h: ... here.
6803
8f89ab21
FW
68042019-02-08 Florian Weimer <fweimer@redhat.com>
6805
6806 * include/bits/unistd_ext.h: New file.
6807
144a794e
TS
68082019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6809
6810 * time/tst-strftime2.c: Use array_length macros instead of magic
6811 numbers.
6812
669ff911
FW
68132019-02-08 Florian Weimer <fweimer@redhat.com>
6814
6815 [BZ #24161]
6816 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6817 argument.
6818 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6819 locking if the new do_locking argument is true.
6820 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6821 __run_fork_handlers.
6822
d0bd87d4 68232019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
6824
6825 [BZ #6399]
6826 Linux: Add gettid system call wrapper.
6827 * posix/Makefile (headers): Add bits/unistd_ext.h.
6828 * posix/bits/unistd_ext.h: New file.
6829 * posix/unistd.h: Include it.
6830 * manual/process.texi (Process Identification): Document gettid.
6831 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6832 tst-gettid, tst-gettid-kill.
6833 (tst-gettid): Link with $(shared-thread-library).
6834 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6835 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6836 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6837 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6838 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6839 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6840 Add gettid.
6841 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6842 Likewise.
6843 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6844 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6845 Likewise.
6846 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6847 Likewise.
6848 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6849 Likewise.
6850 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6851 Likewise.
6852 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6853 Likewise.
6854 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6855 Likewise.
6856 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6857 Likewise.
6858 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6859 (GLIBC_2.30): Likewise.
6860 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6861 (GLIBC_2.30): Likewise.
6862 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6863 (GLIBC_2.30): Likewise.
6864 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6865 (GLIBC_2.30): Likewise.
6866 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6867 Likewise.
6868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6869 (GLIBC_2.30): Likewise.
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6871 (GLIBC_2.30): Likewise.
6872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6873 (GLIBC_2.30): Likewise.
6874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6875 (GLIBC_2.30): Likewise.
6876 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6877 Likewise.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6879 Likewise.
6880 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6881 Likewise.
6882 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6883 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6884 Likewise.
6885 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6886 Likewise.
6887 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6888 Likewise.
6889 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6890 Likewise.
6891 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6892
225d9445 68932019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
6894
6895 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6896 compatibility symbols.
6897
823624bd
SL
68982019-02-07 Stefan Liebler <stli@linux.ibm.com>
6899
6900 [BZ #24180]
6901 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6902 Add compiler barriers and comments.
6903
8311c83f
FW
69042019-02-07 Florian Weimer <fweimer@redhat.com>
6905
6906 * include/array_length.h (array_length): Do not use a statement
6907 expression and _Static_assert, so that array_length can be used at
6908 file scope and as a constant expression.
6909
94b63e66
FW
69102019-02-07 Florian Weimer <fweimer@redhat.com>
6911
6912 * support/xdlfcn.h (xdlmopen): Declare.
6913 * support/xdlmopen.c: New file.
6914 * support/Makefile (libsupport-routines): Add xdlmopen.
6915
c2d8f0b7
JM
69162019-02-06 Joseph Myers <joseph@codesourcery.com>
6917
6918 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6919 before return type, without separate inline.
6920 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6921 * elf/dl-tunables.h (tunable_is_name): Likewise.
6922 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6923 (do_set_top_pad): Likewise.
6924 (do_set_mmap_threshold): Likewise.
6925 (do_set_mmaps_max): Likewise.
6926 (do_set_mallopt_check): Likewise.
6927 (do_set_perturb_byte): Likewise.
6928 (do_set_arena_test): Likewise.
6929 (do_set_arena_max): Likewise.
6930 (do_set_tcache_max): Likewise.
6931 (do_set_tcache_count): Likewise.
6932 (do_set_tcache_unsorted_limit): Likewise.
6933 * nis/nis_subr.c (count_dots): Likewise.
6934 * nptl/allocatestack.c (advise_stack_range): Likewise.
6935 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6936 (do_sin): Likewise.
6937 (reduce_sincos): Likewise.
6938 (do_sincos): Likewise.
6939 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6940 (do_set_elision_enable): Likewise.
6941 (TUNABLE_CALLBACK_FNDECL): Likewise.
6942
3b935595
FW
69432019-02-06 Florian Weimer <fweimer@redhat.com>
6944
6945 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6946 (xdlsym): Use dlerror to detect a NULL symbol.
6947
b4333340
FW
69482019-02-06 Florian Weimer <fweimer@redhat.com>
6949
6950 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6951 <stap-probe.h>.
6952 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6953
b6d8a999
SL
69542019-02-06 Stefan Liebler <stli@linux.ibm.com>
6955
6956 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6957
94eeeec0
SL
69582019-02-06 Stefan Liebler <stli@linux.ibm.com>
6959
6960 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6961 __wmemcmp and weak alias to wmemcmp.
6962
bc79db3f
SL
69632019-02-06 Stefan Liebler <stli@linux.ibm.com>
6964
6965 [BZ #23403]
6966 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6967 TLS_TCB_AT_TP tls variant.
6968 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6969 Add alignment checks.
6970 * support/Makefile (libsupport-routines): Add xposix_memalign and
6971 xpthread_setstack.
6972 * support/support.h: Add xposix_memalign.
6973 * support/xthread.h: Add xpthread_attr_setstack.
6974 * support/xposix_memalign.c: New File.
6975 * support/xpthread_attr_setstack.c: Likewise.
6976
f1ac7455
FW
69772019-02-05 Florian Weimer <fweimer@redhat.com>
6978
6979 [BZ #24164]
6980 arm: Use "nr" constraint for Systemtap probes, to avoid the
6981 compiler using memory operands for constants, due to the "o"
6982 alternative in the default "nor" constraint.
6983 * include/stap-probe.h [USE_STAP_PROBE]: Include
6984 <stap-probe-machine.h>
6985 * sysdeps/generic/stap-probe-machine.h: New file.
6986 * sysdeps/arm/stap-probe-machine.h: Likewise.
6987
7a0dcfc6
JM
69882019-02-04 Joseph Myers <joseph@codesourcery.com>
6989
77dc0d86
JM
6990 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6991 with 0, not tcache->entries[tc_idx].
6992
7a0dcfc6
JM
6993 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6994 once.
6995
65f7767a
AS
69962019-02-04 Andreas Schwab <schwab@suse.de>
6997
6998 [BZ #16976]
6999 [BZ #17396]
7000 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
7001 looking up collating elements match against (wide) character
7002 sequence instead of name. Correct alignment adjustment.
7003 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
7004 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
7005 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
7006 (LOCALES): Add cs_CZ.ISO-8859-2.
7007 * posix/tst-fnmatch4.c: New file.
7008 * posix/tst-fnmatch5.c: New file.
7009 * include/wchar.h (__wmemcmp): Declare.
7010 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
7011 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7012 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
7013 * sysdeps/s390/wmemcmp.c: Likewise.
7014
3f635fb4
L
70152019-02-04 H.J. Lu <hongjiu.lu@intel.com>
7016
7017 [BZ #24155]
7018 CVE-2019-7309
7019 * NEWS: Updated for CVE-2019-7309.
7020 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7021 upper 32 bits of RDX register for x32. Use unsigned Jcc
7022 instructions, instead of signed.
7023 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
7024 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
7025
2ab5741b
FW
70262019-02-04 Florian Weimer <fweimer@redhat.com>
7027
7028 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
7029 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
7030 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
7031 Likewise.
7032 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
7033 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
7034 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
7035 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
7036 Likewise.
7037 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
7038 Likewise.
7039 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
7040 Likewise.
7041 (posix_spawn_file_actions_addopen): Likewise.
7042 (posix_spawn_file_actions_addclose): Likewise.
7043 (posix_spawn_file_actions_adddup2): Likewise.
7044 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
7045 qualifiers.
7046 (posix_spawn_file_actions_addfchdir_np): Likewise.
7047
8692ebdb
DN
70482019-02-04 David Newall <glibc@davidnewall.com>
7049
7050 elf: Implement --preload option for the dynamic linker.
7051 * elf/rtld.c (preloadarg): New variable.
7052 (handle_preload_list): Pass through “where” argument to
7053 do_preload.
7054 (dl_main): Handle "--preload" and add second call to
7055 handle_preload_list.
7056 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
7057 (tst-rtld-preload-OBJS): Set variable.
7058 (tst-rtld-preload.out): New target.
7059 * elf/tst-rtld-preload.sh: New file.
7060
5e10136b
MM
70612019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
7062
7063 * Makefile (testrun.sh): Exit in case of incorrect argument.
7064
221baae0
FW
70652019-02-04 Florian Weimer <fweimer@redhat.com>
7066
7067 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
7068 alignment gaps.
7069
b8c72381
FW
70702019-02-03 Florian Weimer <fweimer@redhat.com>
7071
7072 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
7073 implicit overflow checks.
7074
11f382ee
AJ
70752019-02-03 Aurelien Jarno <aurelien@aurel32.net>
7076
7077 * stdlib/isomac.c: Include <unistd.h>.
7078
77c7d55e
FW
70792019-02-03 Florian Weimer <fweimer@redhat.com>
7080
7081 * include/time.h (__tzfile_default): Use int, not long int, for
7082 the GMT offsets.
7083 * time/tzfile.c (struct ttinfo): Change type of the offset member
7084 to int.
7085 (__tzfile_read): Remove useless cast.
7086 (__tzfile_default): Adjust prototype.
7087 * time/tzset.c (tz_rule): Change type of the offset member to int.
7088 (parse_offset): Change the type of the sign variable to int.
7089
ee9941f9
FW
70902019-02-03 Florian Weimer <fweimer@redhat.com>
7091
7092 [BZ #24153]
7093 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7094 * libio/getchar.c (getchar): Likewise.
7095 * libio/getchar_u.c (getchar_unlocked): Likewise.
7096 * libio/getwchar.c (getwchar): Likewise.
7097 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7098 * libio/iogets.c (_IO_gets): Likewise.
7099 * libio/vscanf.c (_IO_vscanf): Likewise.
7100 * libio/vwscanf.c (__vwscanf): Likewise.
7101 * libio/tst-bz24153.c: New file.
7102 * libio/Makefile (tests): Add it.
7103
c70824b9
FW
71042019-02-02 Florian Weimer <fweimer@redhat.com>
7105
7106 [BZ #14829]
7107 * manual/resource.texi (Basic Scheduling Functions): Add
7108 portability note. Change process to task throughout the section.
7109 Remove incorrect comment about sched_yield as it affects
7110 tasks/threads, not entire processes.
7111 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7112 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7113
4dcbbc3b
JM
71142019-02-01 Joseph Myers <joseph@codesourcery.com>
7115
7116 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7117 * configure: Regenerated.
7118 * manual/install.texi (Tools for Compilation): Update minimum GCC
7119 version.
7120 * INSTALL: Regenerated.
7121
6175507c
FW
71222019-02-01 Florian Weimer <fweimer@redhat.com>
7123
7124 * support/support_test_compare_string.c
7125 (support_test_compare_string): Use "string" in error message.
7126 * support/tst-test_compare_string.c (do_test): Adjust.
7127
baef1943
FW
71282019-02-01 Florian Weimer <fweimer@redhat.com>
7129
7130 * support/support_format_address_family.c
7131 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7132
395599f0
FW
71332019-02-01 Florian Weimer <fweimer@redhat.com>
7134
7135 * manual/socket.texi (Internet Address Formats): Clarify the byte
7136 order of struct sockaddr_in, struct sockaddr_in6. Document
7137 sin6_flowinfo and sin6_scope_id.
7138
b06f4c00
WD
71392019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7140
7141 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7142 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7143 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7144 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7145 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7146 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7147
83d1cc42
FX
71482019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7149
7150 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7151 [!MEMCHR](MEMCHR): Set to __memchr.
7152 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7153 Add memchr_generic and memchr_nosimd.
7154 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7155 (__libc_ifunc_impl_list): Add memchr ifuncs.
7156 * sysdeps/aarch64/multiarch/memchr.c: New file.
7157 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7158 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7159
c7d3890f
FX
71602019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7161
7162 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7163 Add memset_emag.
7164 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7165 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7166 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7167 Add IS_EMAG check for ifunc dispatch.
7168 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7169 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7170
07c3d1ec
FX
71712019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7172
7173 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7174 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7175 Add emag.
7176 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7177 New macro.
7178
114f792e
SL
71792019-02-01 Stefan Liebler <stli@linux.ibm.com>
7180
7181 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7182
d5627550
VG
71832019-01-31 Vineet Gupta <vgupta@synopsys.com>
7184
7185 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7186 syscall-template file.
7187
5fc9ed4c
CD
71882019-01-31 Carlos O'Donell <carlos@redhat.com>
7189 Torvald Riegel <triegel@redhat.com>
7190 Rik Prohaska <prohaska7@gmail.com>
7191
7192 [BZ# 23844]
7193 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7194 tst-rwlock-trywrlock-stall.
7195 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7196 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7197 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7198 Set __wrphase_fute to 1 only if we started the write phase.
7199 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7200 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7201 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7202 * support/xpthread_rwlock_destroy.c: New file.
7203 * support/xthread.h: Declare xpthread_rwlock_destroy.
7204
932329a5
JM
72052019-02-01 Joseph Myers <joseph@codesourcery.com>
7206
7207 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7208 version to 4.0.2.
7209
5f10701f
PP
72102019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7211
7212 [BZ #24051]
7213 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7214 * libio/fileops.c (_IO_new_file_underflow): Likewise
7215 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7216 * libio/putchar.c (putchar): Likewise.
7217 * libio/putchar_u.c (putchar_unlocked): Likewise.
7218 * libio/putwchar.c (putchar): Likewise.
7219 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7220 * libio/tst-bz24051.c: New test.
7221 * libio/Makefile (tests): Add tst-bz24051
7222
583dd860
PE
72232019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7224
b626c5aa 7225 CVE-2019-9169
583dd860
PE
7226 regex: fix read overrun [BZ #24114]
7227 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7228 https://debbugs.gnu.org/34140
7229 * posix/regexec.c (proceed_next_node):
7230 Do not read past end of input buffer.
7231
2bac7daa
FW
72322019-01-31 Florian Weimer <fweimer@redhat.com>
7233
7234 [BZ #24059]
7235 * nss/nss_files/files-alias.c (get_next_alias): Handle
7236 continuation line without newline at the end.
7237 * nss/tst-nss-files-alias-truncated.c: New file.
7238 * nss/Makefile [$(build-shared)] (tests): Add
7239 tst-nss-files-alias-truncated.
7240 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7241 * support/namespace.h (struct support_chroot_configuration): Add
7242 aliases member.
7243 (struct support_chroot): Add path_aliases member.
7244 * support/support_chroot.c (support_chroot_create): Handle
7245 aliases.
7246 (support_chroot_free): Free path_aliases.
7247
330c9d0d
SP
72482019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7249
de44ab67
SP
7250 * version.h (RELEASE): Set to "development".
7251 (VERSION): Set to "2.29.9000".
7252 * NEWS: Add section for 2.30.
7253
56c86f5d
SP
7254 * version.h (RELEASE): Set to "stable".
7255 (VERSION): Set to "2.29".
7256 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7257
330c9d0d
SP
7258 * NEWS: Add the list of bugs fixed in 2.29.
7259 * manual/contrib.texi: Update contributors list with some more
7260 names.
7261 * manual/install.texi: Update latest versions of packages
7262 tested.
7263 * INSTALL: Regenerated.
7264
e1e47c91
SP
72652019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7266
7267 * po/be.po: Update translations.
7268 * po/bg.po: Likewise.
7269 * po/ca.po: Likewise.
7270 * po/cs.po: Likewise.
7271 * po/da.po: Likewise.
7272 * po/de.po: Likewise.
7273 * po/el.po: Likewise.
7274 * po/eo.po: Likewise.
7275 * po/es.po: Likewise.
7276 * po/fi.po: Likewise.
7277 * po/fr.po: Likewise.
7278 * po/gl.po: Likewise.
7279 * po/hr.po: Likewise.
7280 * po/hu.po: Likewise.
7281 * po/ia.po: Likewise.
7282 * po/id.po: Likewise.
7283 * po/it.po: Likewise.
7284 * po/ja.po: Likewise.
7285 * po/ko.po: Likewise.
7286 * po/lt.po: Likewise.
7287 * po/nb.po: Likewise.
7288 * po/nl.po: Likewise.
7289 * po/pl.po: Likewise.
7290 * po/pt_BR.po: Likewise.
7291 * po/ru.po: Likewise.
7292 * po/rw.po: Likewise.
7293 * po/sk.po: Likewise.
7294 * po/sl.po: Likewise.
7295 * po/sv.po: Likewise.
7296 * po/tr.po: Likewise.
7297 * po/uk.po: Likewise.
7298 * po/vi.po: Likewise.
7299 * po/zh_CN.po: Likewise.
7300 * po/zh_TW.po: Likewise.
7301
8d016826
UB
73022019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7303
7304 [BZ #24130]
7305 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7306 of $f3 register on $y_is_neg path.
7307
a0bb5abd
ST
73082019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7309
b96e22d0 7310 [BZ #24110]
a0bb5abd
ST
7311 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7312 sigaltstack.ss_flags.
7313
b22eed37
TS
73142019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7315
7316 [BZ #23758]
7317 * manual/time.texi (strftime): Document "%Ey".
7318 * time/strftime_l.c (__strftime_internal): Set the default width
7319 padding with zero of "%Ey" to 2.
7320
32f600a2
TS
7321 [BZ #24096]
7322 * manual/time.texi (strftime): Document "%EC" and "%EY".
7323 * time/Makefile (tests): Add tst-strftime2.
7324 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7325 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7326 override padding for "%Ey".
7327 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7328 "%Ey" in the subformat as if decorated with that flag.
7329 * time/tst-strftime2.c: New file.
7330
8e889c5d
AZ
73312019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7332
3367acdb
AZ
7333 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7334 are not defined.
7335
8e889c5d
AZ
7336 [BZ #24122]
7337 * elf/Makefile (tests): Add tst-audit13.
7338 (modules-names): Add tst-audit13mod1.
7339 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7340 rule.
7341 * elf/rtld.c (dl_main): Handle invalid audit module version.
7342 * elf/tst-audit13.c: New file.
7343 * elf/tst-audit13mod1.c: Likewise.
7344
a95dc01c
ST
73452019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7346
7347 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7348 returned by __hurd_at_flags.
ee4d7902
ST
7349 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7350 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7351 directly instead of __hurd_file_name_lookup.
a95dc01c 7352
712f1167
JM
73532019-01-21 Joseph Myers <joseph@codesourcery.com>
7354
7355 * scripts/build-many-glibcs.py (Context.checkout): Default
7356 binutils version to 2.32 branch.
7357
108bc404
FW
73582019-01-21 Florian Weimer <fweimer@redhat.com>
7359
7360 [BZ #20018]
7361 CVE-2016-10739
7362 resolv: Reject trailing characters in host names
7363 * include/arpa/inet.h (__inet_aton_exact): Declare.
7364 (inet_aton): Remove hidden prototype. No longer used internally.
7365 * nscd/gai.c (__inet_aton): Do not define.
7366 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7367 * nss/digits_dots.c (__inet_aton): Likewise.
7368 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7369 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7370 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7371 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7372 (tst-resolv-trailing): Likewise.
7373 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7374 libc.
7375 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7376 Make static. Add endp parameter.
7377 (__inet_aton_exact): New function.
7378 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7379 (__inet_addr): Call inet_aton_end.
7380 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7381 not just IPv6. Call __inet_aton_exact.
7382 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7383 (tests): Make const. Add additional test cases with trailing
7384 characters.
7385 (do_test): Use array_length.
7386 * resolv/tst-inet_aton_exact.c: New file.
7387 * resolv/tst-resolv-trailing.c: Likewise.
7388 * resolv/tst-resolv-nondecimal.c: Likewise.
7389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7390
5165de69
L
73912019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7392
7393 [BZ# 24097]
7394 CVE-2019-6488
7395 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7396 Clear the upper 32 bits of RSI register.
7397 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7398 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7399 and tst-size_t-wcsnlen.
7400 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7401 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7402
c7c54f65
L
74032019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7404
7405 [BZ# 24097]
7406 CVE-2019-6488
7407 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7410 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7411 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7412
ee915088
L
74132019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7414
7415 [BZ# 24097]
7416 CVE-2019-6488
7417 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7419 * sysdeps/x86_64/strcmp.S: Likewise.
7420 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7421 tst-size_t-strncmp and tst-size_t-wcsncmp.
7422 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7423 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7424 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7425
82d0b4a4
L
74262019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 [BZ# 24097]
7429 CVE-2019-6488
7430 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7431 RDX_LP for length. Clear the upper 32 bits of RDX register.
7432 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7433 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7434 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7435 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7436
ecd8b842
L
74372019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7438
7439 [BZ# 24097]
7440 CVE-2019-6488
7441 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7442 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7443 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7444 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7445
231c5676
L
74462019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7447
7448 [BZ# 24097]
7449 CVE-2019-6488
7450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7451 length. Clear the upper 32 bits of RDX register.
7452 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7453 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7454 Likewise.
7455 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7456 Likewise.
7457 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7458 tst-size_t-wmemchr.
7459 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7460
b304fc20
L
74612019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 [BZ# 24097]
7464 CVE-2019-6488
7465 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7466 length. Clear the upper 32 bits of RDX register.
7467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7468 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7469 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7470 tst-size_t-wmemcmp.
7471 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7472 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7473
97700a34
L
74742019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7475
7476 [BZ# 24097]
7477 CVE-2019-6488
7478 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7479 upper 32 bits of RDX register.
7480 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7481 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7482 tst-size_t-wmemchr.
7483 * sysdeps/x86_64/x32/test-size_t.h: New file.
7484 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7485 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7486
6ca53a24
FW
74872019-01-18 Florian Weimer <fweimer@redhat.com>
7488
7489 [BZ #24112]
7490 resolv: Do not send queries for non-host-names in nss_dns.
7491 * resolv/nss_dns/dns-host.c (check_name): New function.
7492 (_nss_dns_gethostbyname2_r): Use it.
7493 (_nss_dns_gethostbyname_r): Likewise.
7494 (_nss_dns_gethostbyname4_r): Likewise.
7495
5e30b8ef
FW
74962019-01-21 Florian Weimer <fweimer@redhat.com>
7497
7498 * resolv/inet_addr.c: Reformat to GNU style.
7499 (__inet_addr, __inet_aton): Update comment.
7500
71effcea
FW
75012019-01-18 Florian Weimer <fweimer@redhat.com>
7502
7503 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7504 ("malloc: Use current (C11-style) atomics for fastbin access").
7505 This commit introduces a substantial performance regression on
7506 POWER and Aarch64.
7507 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7508 (REMOVE_FB): Define.
7509 (_int_malloc): Use it and reindent.
7510 (_int_free): Use CAS loop with
7511 catomic_compare_and_exchange_val_rel.
7512 (malloc_consolidate): Use atomic_exchange_acq.
7513
7514
562f4362
L
75152019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7518 -Wl,-z,now.
7519 (LDFLAGS-tst-minsigstksz-2): Likewise.
7520 (LDFLAGS-tst-minsigstksz-3): Likewise.
7521 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7522 (LDFLAGS-tst-minsigstksz-4): Likewise.
7523
80dfa298
TS
75242019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7525
7526 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7527 than "alternate".
7528
008b598e
PC
75292019-01-16 Paul A. Clarke <pc@us.ibm.com>
7530
7531 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7532
fbbc9a4e
ZW
75332019-01-16 Zack Weinberg <zackw@panix.com>
7534
6b5c8607
TS
7535 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7536 (xget_sigstack_location): New test support functions.
7537 * support/xsigstack.c: New file, implementing them.
7538 * support/tst-xsigstack.c: New test for them.
7539 * support/Makefile: Update.
fbbc9a4e 7540
6b5c8607
TS
7541 * signal/tst-minsigstksz-1.c
7542 * signal/tst-minsigstksz-2.c
7543 * signal/tst-minsigstksz-3.c
7544 * signal/tst-minsigstksz-3a.c
7545 * signal/tst-minsigstksz-4.c: New tests.
7546 * signal/Makefile: Run them.
fbbc9a4e 7547
5f1135e4
SP
75482019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7549
7550 * po/libc.pot: Regenerate.
7551
ecdacd34
TMQMF
75522019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7553
7554 * math/libm-test-fma.inc (fma_test_data): Set
7555 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7556
56054664
RA
75572019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7558
7559 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7560 (do_test): Changed __vector __int128_t to __vector unsigned int.
7561
1a153e47
LS
75622019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7563
7564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7565 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7566 stpcpy-avx2 and stpncpy-avx2.
7567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7568 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7569 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7570 and __stpncpy_avx2.
7571 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7572 ifunc-strcpy.h}: rename header for a more generic name.
7573 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7574 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7575 AVX unaligned load is fast and vzeroupper is preferred.
7576 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7577 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7578 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7579 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7580 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7581 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7582
a1b02ae7
DL
75832019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7584
7585 * argp/argp-help.c: Fix typo in comment.
7586 * misc/sys/cdefs.h: Likewise.
7587 * posix/regexec.c (sift_states_iter_mb): Likewise.
7588 * socket/sockatmark.c: Likewise.
7589 * socket/sys/socket.h: Likewise.
7590 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7591 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7592 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7594 * sysdeps/unix/sockatmark.c: Likewise.
7595 * time/strptime_l.c: Likewise.
7596
5cbbf01e
TS
75972019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7598
7599 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7600 missing space after the cast of "_NL_CURRENT".
7601
0bc9bdf1
RA
76022019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7603
7604 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7605 ifdef to fix read of VSCR.
7606 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7607 tst-ucontext-ppc64-vscr.c to test list.
7608 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7609
5494af04
AH
76102019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7611
7612 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7613 fall-through.
7614
e17f63ff
JW
76152019-01-09 Jim Wilson <jimw@sifive.com>
7616
7617 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7618
02f440c1
WD
76192019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7620
7621 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7622 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7623 __memcpy_falkor for ares.
7624 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7625 Add new define.
7626 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7627 Add ares cpu.
7628
69da3c9e
L
76292019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7630
7631 [BZ #24066]
7632 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7633 4_FP_W_TYPEs are used for IEEE quad precision.
7634 * soft-fp/extendhftf2.c: Likewise.
7635 * soft-fp/extendsftf2.c: Likewise.
7636 * soft-fp/extendxftf2.c: Likewise.
7637 * soft-fp/trunctfdf2.c: Likewise.
7638 * soft-fp/trunctfhf2.c: Likewise.
7639 * soft-fp/trunctfsf2.c: Likewise.
7640 * soft-fp/trunctfxf2.c: Likewise.
7641 * sysdeps/alpha/ots_cvttx.c: Likewise.
7642 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7643 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7644 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7645 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7646 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7647 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7648 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7649 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7650 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7651 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7652 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7653 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7654 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7655 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7656 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7657 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7658 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7659
2ef42716
AJ
76602019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7661
7662 [BZ #24024]
7663 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7664 code with -fmath-errno.
7665 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7666 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7667 * string/test-strerror-errno.c: New file.
7668
7395f3a0
AJ
76692019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7670
7671 [BZ #24046]
7672 * localedata/locales/en_US (date_fmt): Add, set to
7673 "%a %d %b %Y %r %Z".
7674
010fe231
FW
76752019-01-07 Florian Weimer <fweimer@redhat.com>
7676
7677 [BZ #24063]
7678 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7679 instead of @var{errno}.
7680 (Parsing of Integers): Likewise.
7681 (Parsing of Floats): Likewise.
7682 * manual/filesys.texi (Working with Directory Trees): Likewise.
7683 (Temporary Files): Likewise.
7684 * manual/job.texi (Terminal Access Functions): Likewise.
7685 * manual/llio.texi (Synchronizing I/O): Likewise.
7686 * manual/math.texi (SVID Random): Likewise.
7687 * manual/message.texi (The catgets Functions): Likewise.
7688 (Translation with gettext): Likewise.
7689 (Locating gettext catalog): Likewise.
7690 (Charset conversion in gettext): Likewise.
7691 * manual/nss.texi (NSS Module Function Internals): Likewise.
7692 * manual/search.texi (Hash Search Function): Likewise.
7693 * manual/setjmp.texi (System V contexts): Likewise.
7694 * manual/time.texi (Sleeping): Likewise.
7695 * manual/users.texi (Lookup User): Likewise.
7696 (Lookup Group): Likewise.
7697
b79dc8d0
AZ
76982019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7699
7700 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7701 fix typo.
7702
890461fe 77032019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
7704
7705 [BZ #19444]
7706 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7707 __builtin_unreachable for default case in switch.
7708 (__ieee754_yn): Likewise.
7709 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7710 (__ieee754_ynl): Likewise.
7711 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7712 (__ieee754_ynl): Likewise.
7713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7714 (__ieee754_ynl): Likewise.
7715
8b18d418
SN
77162019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7717
7718 * manual/maint.texi: Use @{ and @}.
7719
4392898d
FW
77202019-01-04 Florian Weimer <fweimer@redhat.com>
7721
7722 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7723 function.
7724 (do_in_chroot_1): Call it.
7725 (run_chroot_tests):
7726 Improve error reporting in case it is not possible to create a
7727 collision for the PTY name required by the test.
7728
17cc27d5
AZ
77292019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7730
ce7eb0e9
AZ
7731 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7732 lll_wait_tid with timeout.
7733 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7734 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7735 futex_reltimed_wait_cancelable for cancelabla mode.
7736 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7737 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7738 macros.
7739 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7740 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7741 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7742 SYSCALL_CANCEL_NCS): New macro.
7743 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7744 (lll_timedwait_tid): Remove macro.
7745 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7746 Likewise.
7747 (lll_timedwait_tid): Likewise.
7748 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7749 Likewise.
7750 (lll_timedwait_tid): Likewise.
7751 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7752 Likewise.
7753 (lll_timedwait_tid): Likewise.
7754 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7755 Use INTERNAL_SYSCALL_CANCEL.
7756 * sysdeps/unix/sysv/linux/futex-internal.h
7757 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7758 instead of __pthread_{enable,disable}_asynccancel.
7759 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7760 (lll_futex_wait_cancel): New macro.
7761
0b13e255
AZ
7762 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7763 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7764
85c828a4
AZ
7765 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7766 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7767
d0d7f85f
AZ
7768 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7769 in backtrace analysis.
7770 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7771 side-effects.
7772 (tf_send): Likewise.
7773
17cc27d5
AZ
7774 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7775 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7776 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7777 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7778 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7779 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7780 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7781 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7782 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7783 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7784 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7785 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7786 Likewise.
7787 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7788 tst-cancel-wrappers.sh.
7789 (generated): Remove tst-cancel-wrappers.out.
7790 (tst-cancel-wrappers.out): Remove rule.
7791 * nptl/tst-cancel-wrappers.sh: Remove file.
7792
7d7af8f1
SN
77932019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7794
7795 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7796 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7797 Update.
7798
805334b2
AZ
77992019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7800
7801 [BZ #23640]
7802 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7803 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7804 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7805 close-on-exec reset for adddup2 file action.
7806 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7807
03992356
ZW
78082019-01-03 Zack Weinberg <zackw@panix.com>
7809
7810 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7811 parameter. Only use deprecated scanf when __USE_GNU is defined
7812 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7813 than 201103L, whichever is relevant for the language being compiled.
7814
7815 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7816 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7817 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7818 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7819 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7820
7821 * libio/iovsscanf.c
7822 * libio/fwscanf.c
7823 * libio/iovswscanf.c
7824 * libio/swscanf.c
7825 * libio/vscanf.c
7826 * libio/vwscanf.c
7827 * libio/wscanf.c
7828 * stdio-common/fscanf.c
7829 * stdio-common/scanf.c
7830 * stdio-common/vfscanf.c
7831 * stdio-common/vfwscanf.c
7832 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7833 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7834 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7835 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7836 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7837 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7838 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7839 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7840 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7841 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7842 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7843 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7844 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7845 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7846 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7847
7848 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7849 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7850 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7851 not sscanf.
7852 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7853 with a preprocessor macro.
7854
7855 * stdio-common/bug21.c, stdio-common/scanf14.c:
7856 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7857 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7858 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7859 to xscanf, xfscanf, xsscanf.
7860
7861 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7862 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7863 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7864 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7865 xfscanf, xsscanf.
7866 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7867 override feature selection macros or provide definitions of u_char etc.
7868 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7869 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7870 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7871 with -std=gnu89.
7872
8083afa5
AZ
78732019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7874
6f343c1f
AZ
7875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7876 bits/termios-misc.h.
7877 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7878 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7879 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7881 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7882 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7883
51f4beb0
AZ
7884 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7886 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7887 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7888 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7889 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7890 termios-misc.h.
7891 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7892 (sysdep_headers): Add termios-misc.h.
7893
f69c5cb2
AZ
7894 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7895 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7896 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7897
3aa4a07e
AZ
7898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7899 termios-tcflow.h.
7900 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7901 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7902 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7903 TCSAFLUSH): Move to termios-tcflow.h.
7904 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7905 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7908
22679ddf
AZ
7909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7910 termios-c_lflag.h.
7911 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7912 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7913 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7914 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7915 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7916 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7917 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7918 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7919 Likewise.
7920 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7921 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7923 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7924
72eb6ecc
AZ
7925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7926 termios-c_cflag.h.
7927 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7928 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7930 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7931 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7932 termios-c_cflag.h.
7933 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7934 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7937
9c5d0d02
AZ
7938 [BZ #23783]
7939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7940 termios-baud.h.
7941 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7942 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7943 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7945 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7946 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7947 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7948 __MAX_BAUD): Move to termios-baud.h.
7949 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7950 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7951 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7953 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7954
7b832018
AZ
7955 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7956 termios-c_oflag.h.
7957 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7958 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7959 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7960 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7961 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7962 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7963 termios-c_oflag.h.
7964 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7965 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7966 FFR1): Likewise.
7967 [USE_MISC] (XTABS): Likewise.
7968 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7969 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7970 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7972
3127003e
AZ
7973 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7974 termios-c_iflag.h.
7975 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7976 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7977 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7978 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7979 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7980 IUTF8): Move to termios-c_iflag.h.
7981 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7982 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7984 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7985
48c1dd96
AZ
7986 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7987 termios-cc.h.
7988 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7989 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7990 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7992 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7993 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7994 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7995 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7996 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7997 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8000
e5a50db3
AZ
8001 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
8002 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
8003 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
8005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8006 termios-struct.h.
8007 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
8008 termios-struct.h.
8009 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
8010 Likewise.
8011 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
8012 Likewise.
8013 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
8016 Likewise.
8017 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
8018 _HAVE_C_OSPEED): Define.
8019 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
8020 _HAVE_C_OSPEED): Likewise.
8021 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
8022 _HAVE_C_OSPEED): Likewise.
8023 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
8024 (cfsetospeed): Check for define value instead of existence.
8025 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
8026 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8027 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
8028 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8029 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
8030
8083afa5
AZ
8031 [BZ #17783]
8032 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
8033 Define.
8034 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8035 (TIOCSER_TEMT): Likewise.
8036 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
8037 (TEOCSER_TEMT): Likewise.
8038
4d7d7dc6
P
80392019-01-02 PanderMusubi <pander@users.sourceforge.net>
8040
8041 [BZ #24011]
8042 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
8043
8e291a29
JM
80442019-01-02 Joseph Myers <joseph@codesourcery.com>
8045
8046 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8047
55137f7d
ST
80482019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8049
8050 * sysdeps/htl/pt-barrierattr-setpshared.c
8051 (pthread_barrierattr_setpshared): Add stub warning.
8052 * sysdeps/htl/pt-condattr-setpshared.c
8053 (pthread_condattr_setpshared): Likewise.
8054 * sysdeps/htl/pt-mutexattr-setpshared.c
8055 (pthread_mutexattr_setpshared): Likewise.
8056 * sysdeps/htl/pt-rwlockattr-setpshared.c
8057 (pthread_rwlockattr_setpshared): Likewise.
8058 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
8059 (pthread_mutexattr_setpshared): Likewise.
8060
2ce09e01
JM
80612019-01-02 Joseph Myers <joseph@codesourcery.com>
8062
acb55dcb
JM
8063 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
8064 constants to match with Linux 4.20.
8065
2ce09e01
JM
8066 * sysdeps/mips/mips32/libm-test-ulps: Update.
8067 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8068
fe20bb1d
AJ
80692019-01-02 Aurelien Jarno <aurelien@aurel32.net>
8070
8071 [BZ #24034]
8072 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
8073 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
8074 than __typeof (...) for the a_ptr variable.
8075
2d9837c1
GG
80762019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8077
8078 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
8079 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
8080 * libio/Makefile (tests): Add tst-sprintf-ub and
8081 tst-sprintf-chk-ub.
8082 (CFLAGS-tst-sprintf-ub.c): New variable.
8083 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8084 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8085 destination buffer and check for overflows in fortified mode.
8086 * libio/libioP.h (PRINTF_CHK): New macro.
8087 * libio/tst-sprintf-chk-ub.c: New file.
8088 * libio/tst-sprintf-ub.c: Likewise.
8089
d5c6df0b 80902019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
8091
8092 [BZ #24018]
8093 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8094 failure.
8095
66081e38
FW
80962019-01-02 Florian Weimer <fweimer@redhat.com>
8097
8098 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8099
04277e02
JM
81002019-01-01 Joseph Myers <joseph@codesourcery.com>
8101
6ef3d225
JM
8102 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8103 macro.
8104
e3d4e292
JM
8105 * sysdeps/unix/sysv/linux/netpacket/packet.h
8106 (PACKET_IGNORE_OUTGOING): New macro.
8107
f4507797
JM
8108 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8109 macro.
8110
47ad5e1a
JM
8111 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8112 version to 4.20.
8113 (riscv_flush_icache): New syscall.
8114
7628a1b0
JM
8115 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8116 trailing whitespace removed.
8117 * scripts/config.guess: Update to version 2019-01-01.
8118 * scripts/config.sub: Update to version 2019-01-01.
8119 * scripts/move-if-change: Update from gnulib.
8120
c9123888
JM
8121 * NEWS: Update copyright dates.
8122 * catgets/gencat.c (print_version): Likewise.
8123 * csu/version.c (banner): Likewise.
8124 * debug/catchsegv.sh: Likewise.
8125 * debug/pcprofiledump.c (print_version): Likewise.
8126 * debug/xtrace.sh (do_version): Likewise.
8127 * elf/ldconfig.c (print_version): Likewise.
8128 * elf/ldd.bash.in: Likewise.
8129 * elf/pldd.c (print_version): Likewise.
8130 * elf/sotruss.sh: Likewise.
8131 * elf/sprof.c (print_version): Likewise.
8132 * iconv/iconv_prog.c (print_version): Likewise.
8133 * iconv/iconvconfig.c (print_version): Likewise.
8134 * locale/programs/locale.c (print_version): Likewise.
8135 * locale/programs/localedef.c (print_version): Likewise.
8136 * login/programs/pt_chown.c (print_version): Likewise.
8137 * malloc/memusage.sh (do_version): Likewise.
8138 * malloc/memusagestat.c (print_version): Likewise.
8139 * malloc/mtrace.pl: Likewise.
8140 * manual/libc.texinfo: Likewise.
8141 * nptl/version.c (banner): Likewise.
8142 * nscd/nscd.c (print_version): Likewise.
8143 * nss/getent.c (print_version): Likewise.
8144 * nss/makedb.c (print_version): Likewise.
8145 * posix/getconf.c (main): Likewise.
8146 * scripts/test-installation.pl: Likewise.
8147 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8148
04277e02
JM
8149 * All files with FSF copyright notices: Update copyright dates
8150 using scripts/update-copyrights.
8151 * locale/programs/charmap-kw.h: Regenerated.
8152 * locale/programs/locfile-kw.h: Likewise.
8153
e740e5b1
JM
81542018-12-31 Joseph Myers <joseph@codesourcery.com>
8155
8156 * timezone/zdump.c: Update from tzcode 2018i.
8157 * timezone/zic.c: Likewise.
8158
9b7f98b3
PE
81592018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8160
8161 regex: improve Gnulib port to AIX
8162 From the glibc point of view, this removes duplicate macro
8163 definitions and is obviously safe.
8164 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8165 * posix/regex_internal.h:
8166 (__attribute__, __attribute_warn_unused_result__):
8167 Remove; already defined elsewhere.
8168
b50dd3bc
FW
81692018-12-31 Florian Weimer <fw@deneb.enyo.de>
8170
8171 [BZ #24027]
8172 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8173 copying operation. (ncopies had the wrong type, resulting in an
8174 integer wraparound and too few elements being copied.)
8175
0b9c8490
L
81762018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8177
8178 [BZ #24022]
8179 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8180 <asm/syscalls.h> exists with __has_include__ before including it.
8181
01047fa6
JM
81822018-12-31 Joseph Myers <joseph@codesourcery.com>
8183
8184 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8185 version to 4.20.
8186
6b5c8607 81872018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
8188
8189 * hurd/lookup-retry: Include <unistd.h>.
8190 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8191 Release it on return. Handle "pid" magical lookup retry.
8192
ab74d59f 81932018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
989182c4
RL
8194
8195 [BZ #10496]
8196 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8197 (t_fmt_ampm): Likewise.
8198 * localedata/locales/aa_ER (t_fmt): Likewise.
8199 (t_fmt_ampm): Likewise.
8200 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8201 (t_fmt_ampm): Likewise.
8202 * localedata/locales/aa_ET (t_fmt): Likewise.
8203 (t_fmt_ampm): Likewise.
8204 * localedata/locales/am_ET (t_fmt): Likewise.
8205 (t_fmt_ampm): Likewise.
8206 * localedata/locales/byn_ER (t_fmt): Likewise.
8207 (t_fmt_ampm): Likewise.
8208 * localedata/locales/om_ET (t_fmt): Likewise.
8209 (t_fmt_ampm): Likewise.
8210 * localedata/locales/sid_ET (t_fmt): Likewise.
8211 (t_fmt_ampm): Likewise.
8212 * localedata/locales/so_DJ (t_fmt): Likewise.
8213 (t_fmt_ampm): Likewise.
8214 * localedata/locales/so_ET (t_fmt): Likewise.
8215 (t_fmt_ampm): Likewise.
8216 * localedata/locales/so_SO (t_fmt): Likewise.
8217 (t_fmt_ampm): Likewise.
8218 * localedata/locales/ti_ER (t_fmt): Likewise.
8219 (t_fmt_ampm): Likewise.
8220 * localedata/locales/ti_ET (t_fmt): Likewise.
8221 (t_fmt_ampm): Likewise.
8222 * localedata/locales/tig_ER (t_fmt): Likewise.
8223 (t_fmt_ampm): Likewise.
8224 * localedata/locales/wal_ET (t_fmt): Likewise.
8225 (t_fmt_ampm): Likewise.
8226
8227 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8228 * localedata/locales/ar_IN (t_fmt): Likewise.
8229 * localedata/locales/bhb_IN (t_fmt): Likewise.
8230 * localedata/locales/bho_IN (t_fmt): Likewise.
8231 * localedata/locales/bi_VU (t_fmt): Likewise.
8232 * localedata/locales/bn_BD (t_fmt): Likewise.
8233 * localedata/locales/bn_IN (t_fmt): Likewise.
8234 * localedata/locales/brx_IN (t_fmt): Likewise.
8235 * localedata/locales/doi_IN (t_fmt): Likewise.
8236 * localedata/locales/en_HK (t_fmt): Likewise.
8237 (t_fmt_ampm): Likewise.
8238 * localedata/locales/en_IN (t_fmt): Likewise.
8239 * localedata/locales/en_PH (t_fmt): Likewise.
8240 * localedata/locales/gu_IN (t_fmt): Likewise.
8241 * localedata/locales/hi_IN (t_fmt): Likewise.
8242 * localedata/locales/hif_FJ (t_fmt): Likewise.
8243 * localedata/locales/hne_IN (t_fmt): Likewise.
8244 * localedata/locales/kn_IN (t_fmt): Likewise.
8245 * localedata/locales/kok_IN (t_fmt): Likewise.
8246 * localedata/locales/ks_IN (t_fmt): Likewise.
8247 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8248 * localedata/locales/mag_IN (t_fmt): Likewise.
8249 * localedata/locales/mai_IN (t_fmt): Likewise.
8250 * localedata/locales/mjw_IN (t_fmt): Likewise.
8251 * localedata/locales/ml_IN (t_fmt): Likewise.
8252 * localedata/locales/mni_IN (t_fmt): Likewise.
8253 * localedata/locales/mr_IN (t_fmt): Likewise.
8254 * localedata/locales/ms_MY (t_fmt): Likewise.
8255 * localedata/locales/pa_IN (t_fmt): Likewise.
8256 * localedata/locales/raj_IN (t_fmt): Likewise.
8257 * localedata/locales/sa_IN (t_fmt): Likewise.
8258 * localedata/locales/sat_IN (t_fmt): Likewise.
8259 * localedata/locales/sd_IN (t_fmt): Likewise.
8260 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8261 * localedata/locales/tcy_IN (t_fmt): Likewise.
8262 * localedata/locales/the_NP (t_fmt): Likewise.
8263 * localedata/locales/to_TO (t_fmt): Likewise.
8264 * localedata/locales/ur_IN (t_fmt): Likewise.
8265
8266 * localedata/locales/hif_FJ (d_t_fmt): Set to
8267 "%A %d %b %Y %I:%M:%S %p".
8268 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8269
8270 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8271 * localedata/locales/ar_BH (t_fmt): Likewise.
8272 * localedata/locales/ar_DZ (t_fmt): Likewise.
8273 * localedata/locales/ar_EG (t_fmt): Likewise.
8274 * localedata/locales/ar_IQ (t_fmt): Likewise.
8275 * localedata/locales/ar_JO (t_fmt): Likewise.
8276 * localedata/locales/ar_KW (t_fmt): Likewise.
8277 * localedata/locales/ar_LB (t_fmt): Likewise.
8278 * localedata/locales/ar_LY (t_fmt): Likewise.
8279 * localedata/locales/ar_OM (t_fmt): Likewise.
8280 * localedata/locales/ar_QA (t_fmt): Likewise.
8281 * localedata/locales/ar_SD (t_fmt): Likewise.
8282 * localedata/locales/ar_SS (t_fmt): Likewise.
8283 * localedata/locales/ar_SY (t_fmt): Likewise.
8284 * localedata/locales/ar_TN (t_fmt): Likewise.
8285 * localedata/locales/ar_YE (t_fmt): Likewise.
8286
8287 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8288 (t_fmt_ampm): Likewise.
8289 * localedata/locales/gez_ET (t_fmt): Likewise.
8290 (t_fmt_ampm): Likewise.
8291
8292 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8293 (t_fmt_ampm): Likewise.
8294 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8295
8296 * localedata/locales/zh_HK (t_fmt):
8297 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8298
8299 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8300 because this locale does not use the 12-hour clock.
8301 (t_fmt): Set to "%Z %H:%M:%S".
8302 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8303
8304 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8305 because this locale does not use the 12-hour clock.
8306 (t_fmt): Set to "%H:%M:%S %Z".
8307 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8308
8309 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8310 because this locale does not use the 12-hour clock.
8311 (t_fmt): Set to "%T".
8312 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8313 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8314
8315 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8316 because this locale does not use the 12-hour clock.
8317 (t_fmt): Set to "%H:%M:%S %Z".
8318 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8319
8320 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8321 because this locale does not use the 12-hour clock.
8322 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8323 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8324
ab74d59f 83252018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
27841a7d
RL
8326
8327 [BZ #10496]
8328 [BZ #23724]
8329 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8330 (t_fmt_ampm): Likewise.
8331 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8332 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8333 (d_fmt): Set to "%-d.%-m.%y".
8334
0253580a
AZ
83352018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8336
8337 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8338 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8339 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8340 Likewise.
8341 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8342 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8343 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8344 function.
8345 * support/blob_repeat.c (check_mul_overflow_size_t,
8346 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8347
09104e5b
AJ
83482018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8349
8350 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8351
c0feb731
PE
83522018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8353
8354 regex: simplify Gnulib port
8355 This simplifies the code, by removing stuff intended for porting
8356 to Gnulib but no longer needed there.
8357 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8358 uses of libc_hidden_def, weak_alias.
8359 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8360 _Restrict_ except for public-facing headers.
8361 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8362 Remove; already defined elsewhere.
8363 * posix/regex.c, posix/regex_internal.h:
8364 Use __GNUC_PREREQ instead of rolling our own.
8365 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8366
5289f1f5
WD
83672018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8368
8369 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 8370 (memchr_strlen): New function.
5289f1f5 8371
ba4b8fab
L
83722018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8373
8374 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8375 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8376 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8377
9412979a
L
83782018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8379
8380 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8381
8700a785
L
83822018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8383
8384 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8385 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8386 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8387 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8388 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8389 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8390 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8391
57b3ff8e
JM
83922018-12-21 Joseph Myers <joseph@codesourcery.com>
8393
8394 [BZ #24023]
8395 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8396 PLT reference in libc.so.
8397 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8398 _Q_lltoq and _Q_qtod PLT references in libc.so.
8399
90d3320d
WD
84002018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8401
8402 * benchtests/bench-memchr.c: Cleanup defines.
8403 * benchtests/bench-memcmp.c: Likewise.
8404 * benchtests/bench-memset.c: Likewise.
8405 * benchtests/bench-memset-large.c: Likewise.
8406 * benchtests/bench-memset-walk.c: Likewise.
8407 * benchtests/bench-stpcpy.c: Likewise.
8408 * benchtests/bench-stpncpy.c: Likewise.
8409 * benchtests/bench-strcat.c: Likewise.
8410 * benchtests/bench-strchr.c: Likewise.
8411 * benchtests/bench-strcmp.c: Likewise.
8412 * benchtests/bench-strcpy.c: Likewise.
8413 * benchtests/bench-strcspn.c: Likewise.
8414 * benchtests/bench-string.h: Likewise.
8415 * benchtests/bench-strlen.c: Likewise.
8416 * benchtests/bench-strncat.c: Likewise.
8417 * benchtests/bench-strncmp.c: Likewise.
8418 * benchtests/bench-strncpy.c: Likewise.
8419 * benchtests/bench-strnlen.c: Likewise.
8420 * benchtests/bench-strpbrk.c: Likewise.
8421 * benchtests/bench-strrchr.c: Likewise.
8422 * benchtests/bench-strspn.c: Likewise.
8423
192963be
JM
84242018-12-21 Joseph Myers <joseph@codesourcery.com>
8425
5d025ea6
JM
8426 * stdlib/longlong.h: Update from GCC.
8427
192963be
JM
8428 [BZ #23993]
8429 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8430 * configure: Regenerated.
8431 * manual/install.texi (Tools for Compilation): Update minimum GCC
8432 version.
8433 * INSTALL: Regenerated.
8434
6b5c8607 84352018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
8436
8437 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8438
6b5c8607 84392018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
8440
8441 * malloc/malloc.c (mremap_chunk): Additional checks.
8442
5f72b005
MH
84432018-12-21 Mao Han <han_mao@c-sky.com>
8444
8445 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8446 * scripts/build-many-glibcs.py: Add C-SKY targets.
8447 * sysdeps/csky/Implies: New file.
8448 * sysdeps/csky/Makefile: Likewise.
8449 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8450 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8451 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8452 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8453 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8454 * sysdeps/csky/abiv2/memmove.S: Likewise.
8455 * sysdeps/csky/abiv2/memset.S: Likewise.
8456 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8457 * sysdeps/csky/abiv2/start.S: Likewise.
8458 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8459 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8460 * sysdeps/csky/abiv2/strlen.S: Likewise.
8461 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8462 * sysdeps/csky/abort-instr.h: Likewise.
8463 * sysdeps/csky/atomic-machine.h: Likewise.
8464 * sysdeps/csky/bits/endian.h: Likewise.
8465 * sysdeps/csky/bits/fenv.h: Likewise.
8466 * sysdeps/csky/bits/link.h: Likewise.
8467 * sysdeps/csky/bits/setjmp.h: Likewise.
8468 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8469 * sysdeps/csky/bsd-setjmp.S: Likewise.
8470 * sysdeps/csky/configure: Likewise.
8471 * sysdeps/csky/configure.ac: Likewise.
8472 * sysdeps/csky/dl-machine.h: Likewise.
8473 * sysdeps/csky/dl-procinfo.c: Likewise.
8474 * sysdeps/csky/dl-procinfo.h: Likewise.
8475 * sysdeps/csky/dl-sysdep.h: Likewise.
8476 * sysdeps/csky/dl-tls.h: Likewise.
8477 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8478 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8479 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8480 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8481 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8482 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8483 * sysdeps/csky/fpu/fegetround.c: Likewise.
8484 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8485 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8486 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8487 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8488 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8489 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8490 * sysdeps/csky/fpu/fesetround.c: Likewise.
8491 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8492 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8493 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8494 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8495 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8496 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8497 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8498 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8499 * sysdeps/csky/fpu_control.h: Likewise.
8500 * sysdeps/csky/gccframe.h: Likewise.
8501 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8502 * sysdeps/csky/ldsodefs.h: Likewise.
8503 * sysdeps/csky/libc-tls.c: Likewise.
8504 * sysdeps/csky/linkmap.h: Likewise.
8505 * sysdeps/csky/machine-gmon.h: Likewise.
8506 * sysdeps/csky/memusage.h: Likewise.
8507 * sysdeps/csky/nofpu/Implies: Likewise.
8508 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8509 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8510 * sysdeps/csky/nptl/Makefile: Likewise.
8511 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8512 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8513 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8514 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8515 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8516 * sysdeps/csky/nptl/tls.h: Likewise.
8517 * sysdeps/csky/preconfigure: Likewise.
8518 * sysdeps/csky/sfp-machine.h: Likewise.
8519 * sysdeps/csky/sotruss-lib.c: Likewise.
8520 * sysdeps/csky/stackinfo.h: Likewise.
8521 * sysdeps/csky/sysdep.h: Likewise.
8522 * sysdeps/csky/tininess.h: Likewise.
8523 * sysdeps/csky/tst-audit.h: Likewise.
8524 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8525 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8526 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8527 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8528 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8529 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8530 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8531 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8532 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8533 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8534 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8535 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8536 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8537 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8538 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8539 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8540 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8541 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8542 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8543 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8544 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8545 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8546 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8547 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8548 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8549 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8550 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8551 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8552 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8553 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8554 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8555 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8556 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8557 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8558 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8559 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8560 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8561 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8562 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8563 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8564 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8565 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8566 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8567 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8568
6b5c8607 85692018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
8570
8571 * include/time.h (__difftime64): Add.
8572 * time/difftime.c (subtract): convert to 64-bit time.
8573 * time/difftime.c (__difftime64): Add.
8574 * time/difftime.c (__difftime): Wrap around __difftime64.
8575
ab416931
L
85762018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 * manual/examples/add.c: Remove redundant "if not".
8579 * manual/examples/argp-ex1.c: Likewise.
8580 * manual/examples/argp-ex2.c: Likewise.
8581 * manual/examples/argp-ex3.c: Likewise.
8582 * manual/examples/argp-ex4.c: Likewise.
8583 * manual/examples/atexit.c: Likewise.
8584 * manual/examples/db.c: Likewise.
8585 * manual/examples/dir.c: Likewise.
8586 * manual/examples/dir2.c: Likewise.
8587 * manual/examples/execinfo.c: Likewise.
8588 * manual/examples/filecli.c: Likewise.
8589 * manual/examples/filesrv.c: Likewise.
8590 * manual/examples/fmtmsgexpl.c: Likewise.
8591 * manual/examples/genpass.c: Likewise.
8592 * manual/examples/inetcli.c: Likewise.
8593 * manual/examples/inetsrv.c: Likewise.
8594 * manual/examples/isockad.c: Likewise.
8595 * manual/examples/longopt.c: Likewise.
8596 * manual/examples/memopen.c: Likewise.
8597 * manual/examples/memstrm.c: Likewise.
8598 * manual/examples/mkdirent.c: Likewise.
8599 * manual/examples/mkfsock.c: Likewise.
8600 * manual/examples/mkisock.c: Likewise.
8601 * manual/examples/mygetpass.c: Likewise.
8602 * manual/examples/pipe.c: Likewise.
8603 * manual/examples/popen.c: Likewise.
8604 * manual/examples/rprintf.c: Likewise.
8605 * manual/examples/search.c: Likewise.
8606 * manual/examples/select.c: Likewise.
8607 * manual/examples/setjmp.c: Likewise.
8608 * manual/examples/sigh1.c: Likewise.
8609 * manual/examples/sigusr.c: Likewise.
8610 * manual/examples/stpcpy.c: Likewise.
8611 * manual/examples/strdupa.c: Likewise.
8612 * manual/examples/strftim.c: Likewise.
8613 * manual/examples/subopt.c: Likewise.
8614 * manual/examples/swapcontext.c: Likewise.
8615 * manual/examples/termios.c: Likewise.
8616 * manual/examples/testopt.c: Likewise.
8617 * manual/examples/testpass.c: Likewise.
8618 * manual/examples/timeval_subtract.c: Likewise.
8619
515f463f
JM
86202018-12-19 Joseph Myers <joseph@codesourcery.com>
8621
da75c1b1
JM
8622 * sysdeps/x86/fpu/math_private.h: New file.
8623 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8624
515f463f
JM
8625 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8626 definition.
8627 (cosh): Likewise.
8628 (tanh): Likewise.
8629
1616d034
TMQMF
86302018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8631
8632 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8633 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8634 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8635 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8636 fields.
8637 (_dl_show_auxv): Give a special treatment to
8638 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8639 and AT_L3_CACHEGEOMETRY.
8640 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8641 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8642 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8643 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8644
61595e3d
AS
86452018-12-19 Andreas Schwab <schwab@suse.de>
8646
8647 * nscd/connections.c (check_use): Don't abort on invalid len.
8648
bbb7dc84
ST
86492018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8650
8651 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8652 values in the 64bit value cases.
8653
6b5c8607 86542018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 8655
c4c2836a
AA
8656 * include/time.h
8657 (__ctime64_r): Add.
8658 * time/ctime_r.c
8659 (__ctime64_r): Add.
8660 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8661
7755e504
AA
8662 * include/time.h
8663 (__ctime64): Add.
8664 * time/gmtime.c
8665 (__ctime64): Add.
8666 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8667
a1d346ce
AA
8668 * include/time.h
8669 (__gmtime64_r): Add.
8670 * time/gmtime.c
8671 (__gmtime64_r): Add.
8672 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8673
131db8b0
AA
8674 * include/time.h
8675 (__gmtime64): Add.
8676 * time/gmtime.c
8677 (__gmtime64): Add.
8678 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8679
64c2277d
AA
8680 * include/time.h
8681 (__localtime64_r): Add.
8682 * time/localtime.c
8683 (__localtime64_r): Add.
8684 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8685
56b98bf1
AZ
86862018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8687
64dd7a16
AZ
8688 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8689 kernel_sigction definition.
8690
8b1d5da5
AZ
8691 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8692
f9eabb19
AZ
8693 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8694
56b98bf1
AZ
8695 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8696 __syscall_rt_sigaction.
8697 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8698 (kernel_sigaction): Use Linux generic defintion.
8699 (STUB): Define.
8700 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8701 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8702 (__syscall_rt_sigaction): Remove implementation.
8703 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8704 hidden.
8705 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8706 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8707 INTERNAL_SYSCALL): Remove definitions.
8708 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8709 action and signal set size.
8710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8712
43a45c2d
AZ
87132018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8714 James Clarke <jrtc27@jrtc27.com>
8715
dfa6216f 8716 [BZ #23967]
43a45c2d
AZ
8717 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8718 Define if SA_RESTORER is defined.
8719 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8720 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8721 already defined.
8722 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8723 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8724 definitions.
8725 (HAS_SA_RESTORER): Define.
8726 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8727 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8728 (HAS_SA_RESTORER): Define.
8729 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8730 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8731 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8732 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8733 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8734
646ce7e0
JM
87352018-12-18 Joseph Myers <joseph@codesourcery.com>
8736
8737 * sysdeps/unix/sysv/linux/kernel-features.h
8738 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8740 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8741 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8742 (__ASSUME_ST_INO_64_BIT): Likewise.
8743 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8744 <kernel-features.h>.
8745 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8746 Remove conditional code.
8747 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8748 <kernel-features.h>.
8749 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8750 Remove conditional code.
8751 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8752 <kernel-features.h>.
8753 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8754 Remove conditional code.
8755 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8756 <kernel-features.h>.
8757 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8758 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8759
80190d2b
SL
87602018-12-18 Stefan Liebler <stli@linux.ibm.com>
8761
8762 * sysdeps/s390/multiarch/ifunc-resolve.h
8763 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8764 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8765 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8766 Delete macro definition.
8767 (s390_libc_ifunc_init): Rename to
8768 s390_libc_ifunc_expr_stfle_init.
8769 * sysdeps/s390/bzero: Use
8770 s390_libc_ifunc_expr_stfle_init instead of
8771 s390_libc_ifunc_init.
8772 * sysdeps/s390/memcmp.c: Likewise.
8773 * sysdeps/s390/memcpy.c: Likewise.
8774 * sysdeps/s390/mempcpy.c: Likewise.
8775 * sysdeps/s390/memset.c: Likewise.
8776
12f0dcb8
SL
87772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8778
8779 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8780 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8781
25654a8c
SL
87822018-12-18 Stefan Liebler <stli@linux.ibm.com>
8783
8784 * sysdeps/s390/multiarch/Makefile
8785 (sysdep_routines): Remove wmemcmp variants.
8786 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8787 * sysdeps/s390/multiarch/ifunc-impl-list.c
8788 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8789 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8790 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8791 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8792 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8793 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8794 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8795 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8796
d2a7436c
SL
87972018-12-18 Stefan Liebler <stli@linux.ibm.com>
8798
8799 * sysdeps/s390/multiarch/Makefile
8800 (sysdep_routines): Remove wmemset variants.
8801 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8802 * sysdeps/s390/multiarch/ifunc-impl-list.c
8803 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8804 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8805 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8806 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8807 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8808 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8809 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8810 * sysdeps/s390/ifunc-wmemset.h: New file.
8811
c62534ae
SL
88122018-12-18 Stefan Liebler <stli@linux.ibm.com>
8813
8814 * sysdeps/s390/multiarch/Makefile
8815 (sysdep_routines): Remove wmemchr variants.
8816 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8817 * sysdeps/s390/multiarch/ifunc-impl-list.c
8818 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8819 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8820 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8821 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8822 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8823 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8824 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8825 * sysdeps/s390/ifunc-wmemchr.h: New file.
8826
79b44cf6
SL
88272018-12-18 Stefan Liebler <stli@linux.ibm.com>
8828
8829 * sysdeps/s390/multiarch/Makefile
8830 (sysdep_routines): Remove wcscspn variants.
8831 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8832 * sysdeps/s390/multiarch/ifunc-impl-list.c
8833 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8834 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8835 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8836 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8837 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8838 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8839 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8840 * sysdeps/s390/ifunc-wcscspn.h: New file.
8841
8e87c1f6
SL
88422018-12-18 Stefan Liebler <stli@linux.ibm.com>
8843
8844 * sysdeps/s390/multiarch/Makefile
8845 (sysdep_routines): Remove wcspbrk variants.
8846 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8847 * sysdeps/s390/multiarch/ifunc-impl-list.c
8848 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8849 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8850 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8851 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8852 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8853 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8854 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8855 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8856
8507e831
SL
88572018-12-18 Stefan Liebler <stli@linux.ibm.com>
8858
8859 * sysdeps/s390/multiarch/Makefile
8860 (sysdep_routines): Remove wcsspn variants.
8861 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8862 * sysdeps/s390/multiarch/ifunc-impl-list.c
8863 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8864 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8865 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8866 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8867 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8868 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8869 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8870 * sysdeps/s390/ifunc-wcsspn.h: New file.
8871
4753713a
SL
88722018-12-18 Stefan Liebler <stli@linux.ibm.com>
8873
8874 * sysdeps/s390/multiarch/Makefile
8875 (sysdep_routines): Remove wcsrchr variants.
8876 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8877 * sysdeps/s390/multiarch/ifunc-impl-list.c
8878 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8879 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8880 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8881 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8882 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8883 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8884 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8885 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8886
c09c1b6f
SL
88872018-12-18 Stefan Liebler <stli@linux.ibm.com>
8888
8889 * sysdeps/s390/multiarch/Makefile
8890 (sysdep_routines): Remove wcschrnul variants.
8891 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8892 * sysdeps/s390/multiarch/ifunc-impl-list.c
8893 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8894 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8895 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8896 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8897 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8898 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8899 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8900 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8901
cf3ccc31
SL
89022018-12-18 Stefan Liebler <stli@linux.ibm.com>
8903
8904 * sysdeps/s390/multiarch/Makefile
8905 (sysdep_routines): Remove wcschr variants.
8906 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8907 * sysdeps/s390/multiarch/ifunc-impl-list.c
8908 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8909 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8910 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8911 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8912 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8913 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8914 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8915 * sysdeps/s390/ifunc-wcschr.h: New file.
8916
e9873e1d
SL
89172018-12-18 Stefan Liebler <stli@linux.ibm.com>
8918
8919 * sysdeps/s390/multiarch/Makefile
8920 (sysdep_routines): Remove wcsncmp variants.
8921 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8922 * sysdeps/s390/multiarch/ifunc-impl-list.c
8923 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8924 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8925 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8926 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8927 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8928 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8929 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8930 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8931
3459e23d
SL
89322018-12-18 Stefan Liebler <stli@linux.ibm.com>
8933
8934 * sysdeps/s390/multiarch/Makefile
8935 (sysdep_routines): Remove wcscmp variants.
8936 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8937 * sysdeps/s390/multiarch/ifunc-impl-list.c
8938 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8939 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8940 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8941 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8942 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8943 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8944 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8945 * sysdeps/s390/ifunc-wcscmp.h: New file.
8946
814a76e1
SL
89472018-12-18 Stefan Liebler <stli@linux.ibm.com>
8948
8949 * sysdeps/s390/multiarch/Makefile
8950 (sysdep_routines): Remove wcsncat variants.
8951 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8952 * sysdeps/s390/multiarch/ifunc-impl-list.c
8953 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8954 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8955 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8956 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8957 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8958 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8959 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8960 * sysdeps/s390/ifunc-wcsncat.h: New file.
8961
3389cae4
SL
89622018-12-18 Stefan Liebler <stli@linux.ibm.com>
8963
8964 * sysdeps/s390/multiarch/Makefile
8965 (sysdep_routines): Remove wcscat variants.
8966 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8967 * sysdeps/s390/multiarch/ifunc-impl-list.c
8968 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8969 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8970 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8971 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8972 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8973 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8974 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8975 * sysdeps/s390/ifunc-wcscat.h: New file.
8976
c3081bcb
SL
89772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8978
8979 * sysdeps/s390/multiarch/Makefile
8980 (sysdep_routines): Remove wcpncpy variants.
8981 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8982 * sysdeps/s390/multiarch/ifunc-impl-list.c
8983 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8984 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8985 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8986 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8987 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8988 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8989 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8990 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8991
0966dd86
SL
89922018-12-18 Stefan Liebler <stli@linux.ibm.com>
8993
8994 * sysdeps/s390/multiarch/Makefile
8995 (sysdep_routines): Remove wcsncpy variants.
8996 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8997 * sysdeps/s390/multiarch/ifunc-impl-list.c
8998 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8999 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9000 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
9001 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
9002 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
9003 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
9004 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
9005 * sysdeps/s390/ifunc-wcsncpy.h: New file.
9006
0582e428
SL
90072018-12-18 Stefan Liebler <stli@linux.ibm.com>
9008
9009 * sysdeps/s390/multiarch/Makefile
9010 (sysdep_routines): Remove wcpcpy variants.
9011 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
9012 * sysdeps/s390/multiarch/ifunc-impl-list.c
9013 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
9014 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
9015 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
9016 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
9017 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
9018 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
9019 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
9020 * sysdeps/s390/ifunc-wcpcpy.h: New file.
9021
804f2e5c
SL
90222018-12-18 Stefan Liebler <stli@linux.ibm.com>
9023
9024 * sysdeps/s390/multiarch/Makefile
9025 (sysdep_routines): Remove wcscpy variants.
9026 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
9027 * sysdeps/s390/multiarch/ifunc-impl-list.c
9028 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
9029 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
9030 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
9031 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
9032 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
9033 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
9034 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
9035 * sysdeps/s390/ifunc-wcscpy.h: New file.
9036
c7e7cd26
SL
90372018-12-18 Stefan Liebler <stli@linux.ibm.com>
9038
9039 * sysdeps/s390/multiarch/Makefile
9040 (sysdep_routines): Remove wcsnlen variants.
9041 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
9042 * sysdeps/s390/multiarch/ifunc-impl-list.c
9043 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
9044 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
9045 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
9046 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
9047 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
9048 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
9049 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
9050 * sysdeps/s390/ifunc-wcsnlen.h: New file.
9051
2e02d0b7
SL
90522018-12-18 Stefan Liebler <stli@linux.ibm.com>
9053
9054 * sysdeps/s390/multiarch/Makefile
9055 (sysdep_routines): Remove wcslen variants.
9056 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
9057 * sysdeps/s390/multiarch/ifunc-impl-list.c
9058 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
9059 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9060 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
9061 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
9062 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
9063 * sysdeps/s390/multiarch/wcslen.c: Move to ...
9064 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
9065 * sysdeps/s390/ifunc-wcslen.h: New file.
9066
89bfcbdf
SL
90672018-12-18 Stefan Liebler <stli@linux.ibm.com>
9068
9069 * sysdeps/s390/multiarch/Makefile
9070 (sysdep_routines): Remove memrchr variants.
9071 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
9072 * sysdeps/s390/multiarch/ifunc-impl-list.c
9073 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
9074 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
9075 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
9076 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
9077 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
9078 * sysdeps/s390/multiarch/memrchr.c: Move to ...
9079 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
9080 * sysdeps/s390/ifunc-memrchr.h: New file.
9081
196655ba
SL
90822018-12-18 Stefan Liebler <stli@linux.ibm.com>
9083
9084 * sysdeps/s390/multiarch/Makefile
9085 (sysdep_routines): Remove memccpy variants.
9086 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9087 * sysdeps/s390/multiarch/ifunc-impl-list.c
9088 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9089 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9090 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9091 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9092 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9093 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9094 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9095 * sysdeps/s390/ifunc-memccpy.h: New file.
9096
4c7b3cec
SL
90972018-12-18 Stefan Liebler <stli@linux.ibm.com>
9098
9099 * sysdeps/s390/multiarch/Makefile
9100 (sysdep_routines): Remove rawmemchr variants.
9101 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9102 * sysdeps/s390/multiarch/ifunc-impl-list.c
9103 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9104 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9105 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9106 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9107 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9108 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9109 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9110 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9111
581a051c
SL
91122018-12-18 Stefan Liebler <stli@linux.ibm.com>
9113
9114 * sysdeps/s390/multiarch/Makefile
9115 (sysdep_routines): Remove memchr variants.
9116 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9117 * sysdeps/s390/multiarch/ifunc-impl-list.c
9118 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9119 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9120 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9121 * sysdeps/s390/multiarch/memchr.c: Move to ...
9122 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9123 * sysdeps/s390/ifunc-memchr.h: New file.
9124 * sysdeps/s390/s390-64/memchr.S: Move to ...
9125 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9126 for 31/64bit and ifunc handling.
9127 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9128 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9129 * sysdeps/s390/s390-32/memchr.S: Likewise.
9130
5d2ec20a
SL
91312018-12-18 Stefan Liebler <stli@linux.ibm.com>
9132
9133 * sysdeps/s390/multiarch/Makefile
9134 (sysdep_routines): Remove strcspn variants.
9135 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9136 * sysdeps/s390/multiarch/ifunc-impl-list.c
9137 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9138 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9139 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9140 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9141 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9142 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9143 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9144 * sysdeps/s390/ifunc-strcspn.h: New file.
9145
572cca93
SL
91462018-12-18 Stefan Liebler <stli@linux.ibm.com>
9147
9148 * sysdeps/s390/multiarch/Makefile
9149 (sysdep_routines): Remove strpbrk variants.
9150 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9151 * sysdeps/s390/multiarch/ifunc-impl-list.c
9152 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9153 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9154 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9155 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9156 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9157 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9158 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9159 * sysdeps/s390/ifunc-strpbrk.h: New file.
9160
483fc569
SL
91612018-12-18 Stefan Liebler <stli@linux.ibm.com>
9162
9163 * sysdeps/s390/multiarch/Makefile
9164 (sysdep_routines): Remove strspn variants.
9165 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9166 * sysdeps/s390/multiarch/ifunc-impl-list.c
9167 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9168 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9169 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9170 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9171 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9172 * sysdeps/s390/multiarch/strspn.c: Move to ...
9173 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9174 * sysdeps/s390/ifunc-strspn.h: New file.
9175
26ea8760
SL
91762018-12-18 Stefan Liebler <stli@linux.ibm.com>
9177
9178 * sysdeps/s390/multiarch/Makefile
9179 (sysdep_routines): Remove strrchr variants.
9180 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9181 * sysdeps/s390/multiarch/ifunc-impl-list.c
9182 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9183 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9184 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9185 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9186 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9187 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9188 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9189 * sysdeps/s390/ifunc-strrchr.h: New file.
9190
a1361e65
SL
91912018-12-18 Stefan Liebler <stli@linux.ibm.com>
9192
9193 * sysdeps/s390/multiarch/Makefile
9194 (sysdep_routines): Remove strchrnul variants.
9195 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9196 * sysdeps/s390/multiarch/ifunc-impl-list.c
9197 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9198 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9199 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9200 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9201 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9202 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9203 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9204 * sysdeps/s390/ifunc-strchrnul.h: New file.
9205
32f12653
SL
92062018-12-18 Stefan Liebler <stli@linux.ibm.com>
9207
9208 * sysdeps/s390/multiarch/Makefile
9209 (sysdep_routines): Remove strchr variants.
9210 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9211 * sysdeps/s390/multiarch/ifunc-impl-list.c
9212 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9213 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9214 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9215 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9216 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9217 * sysdeps/s390/multiarch/strchr.c: Move to ...
9218 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9219 * sysdeps/s390/ifunc-strchr.h: New file.
9220
316b8842
SL
92212018-12-18 Stefan Liebler <stli@linux.ibm.com>
9222
9223 * sysdeps/s390/multiarch/Makefile
9224 (sysdep_routines): Remove strncmp variants.
9225 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9226 * sysdeps/s390/multiarch/ifunc-impl-list.c
9227 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9228 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9229 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9230 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9231 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9232 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9233 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9234 * sysdeps/s390/ifunc-strncmp.h: New file.
9235
cdab85fe
SL
92362018-12-18 Stefan Liebler <stli@linux.ibm.com>
9237
9238 * sysdeps/s390/multiarch/Makefile
9239 (sysdep_routines): Remove strcmp variants.
9240 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9241 * sysdeps/s390/multiarch/ifunc-impl-list.c
9242 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9243 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9244 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9245 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9246 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9247 * sysdeps/s390/ifunc-strcmp.h: New file.
9248 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9249 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9250 for 31/64bit and ifunc handling.
9251 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9252 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9253 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9254
b9353351
SL
92552018-12-18 Stefan Liebler <stli@linux.ibm.com>
9256
9257 * sysdeps/s390/multiarch/Makefile
9258 (sysdep_routines): Remove strncat variants.
9259 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9260 * sysdeps/s390/multiarch/ifunc-impl-list.c
9261 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9262 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9263 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9264 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9265 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9266 * sysdeps/s390/multiarch/strncat.c: Move to ...
9267 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9268 * sysdeps/s390/ifunc-strncat.h: New file.
9269
8e5a0afb
SL
92702018-12-18 Stefan Liebler <stli@linux.ibm.com>
9271
9272 * sysdeps/s390/multiarch/Makefile
9273 (sysdep_routines): Remove strcat variants.
9274 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9275 * sysdeps/s390/multiarch/ifunc-impl-list.c
9276 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9277 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9278 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9279 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9280 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9281 * sysdeps/s390/multiarch/strcat.c: Move to ...
9282 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9283 * sysdeps/s390/ifunc-strcat.h: New file.
9284
25218822
SL
92852018-12-18 Stefan Liebler <stli@linux.ibm.com>
9286
9287 * sysdeps/s390/multiarch/Makefile
9288 (sysdep_routines): Remove stpncpy variants.
9289 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9290 * sysdeps/s390/multiarch/ifunc-impl-list.c
9291 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9292 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9293 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9294 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9295 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9296 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9297 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9298 * sysdeps/s390/ifunc-stpncpy.h: New file.
9299
d1bdbf38
SL
93002018-12-18 Stefan Liebler <stli@linux.ibm.com>
9301
9302 * sysdeps/s390/multiarch/Makefile
9303 (sysdep_routines): Remove strncpy variants.
9304 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9305 * sysdeps/s390/multiarch/ifunc-impl-list.c
9306 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9307 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9308 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9309 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9310 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9311 * sysdeps/s390/ifunc-strncpy.h: New file.
9312 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9313 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9314 and adjust ifunc handling.
9315 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9316 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9317 and adjust ifunc handling.
9318 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9319 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9320
97044931
SL
93212018-12-18 Stefan Liebler <stli@linux.ibm.com>
9322
9323 * sysdeps/s390/multiarch/Makefile
9324 (sysdep_routines): Remove stpcpy variants.
9325 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9326 * sysdeps/s390/multiarch/ifunc-impl-list.c
9327 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9328 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9329 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9330 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9331 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9332 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9333 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9334 * sysdeps/s390/ifunc-stpcpy.h: New file.
9335
914a4e05
SL
93362018-12-18 Stefan Liebler <stli@linux.ibm.com>
9337
9338 * sysdeps/s390/multiarch/Makefile
9339 (sysdep_routines): Remove strcpy variants.
9340 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9341 * sysdeps/s390/multiarch/ifunc-impl-list.c
9342 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9343 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9344 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9345 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9346 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9347 * sysdeps/s390/ifunc-strcpy.h: New file.
9348 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9349 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9350 for 31/64bit and ifunc handling.
9351 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9352 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9353 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9354
de10e44d
SL
93552018-12-18 Stefan Liebler <stli@linux.ibm.com>
9356
9357 * sysdeps/s390/multiarch/Makefile
9358 (sysdep_routines): Remove strnlen variants.
9359 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9360 * sysdeps/s390/multiarch/ifunc-impl-list.c
9361 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9362 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9363 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9364 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9365 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9366 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9367 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9368 * sysdeps/s390/ifunc-strnlen.h: New file.
9369
ff3ca374
SL
93702018-12-18 Stefan Liebler <stli@linux.ibm.com>
9371
9372 * sysdeps/s390/multiarch/Makefile
9373 (sysdep_routines): Remove strlen variants.
9374 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9375 * sysdeps/s390/multiarch/ifunc-impl-list.c
9376 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9377 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9378 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9379 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9380 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9381 * sysdeps/s390/multiarch/strlen.c: Move to ...
9382 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9383 * sysdeps/s390/ifunc-strlen.h: New file.
9384
d2c4c403
SL
93852018-12-18 Stefan Liebler <stli@linux.ibm.com>
9386
9387 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9388 * sysdeps/s390/multiarch/ifunc-impl-list.c
9389 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9390 * sysdeps/s390/ifunc-memmem.h: New file.
9391 * sysdeps/s390/memmem.c: Likewise.
9392 * sysdeps/s390/memmem-c.c: Likewise.
9393 * sysdeps/s390/memmem-vx.c: Likewise.
9394
8c25dddd
SL
93952018-12-18 Stefan Liebler <stli@linux.ibm.com>
9396
9397 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9398 * sysdeps/s390/multiarch/ifunc-impl-list.c
9399 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9400 * sysdeps/s390/ifunc-strstr.h: New file.
9401 * sysdeps/s390/strstr.c: Likewise.
9402 * sysdeps/s390/strstr-c.c: Likewise.
9403 * sysdeps/s390/strstr-vx.c: Likewise.
9404
cdd927d9
SL
94052018-12-18 Stefan Liebler <stli@linux.ibm.com>
9406
9407 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9408 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9409 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9410 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9411 New defines.
9412 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9413 * sysdeps/s390/memmove-c.c: New file.
9414 * sysdeps/s390/memmove.c: Likewise.
9415 * sysdeps/s390/multiarch/ifunc-impl-list.c
9416 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9417
2ee1bc57
SL
94182018-12-18 Stefan Liebler <stli@linux.ibm.com>
9419
9420 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9421 * sysdeps/s390/configure.ac: Add check for z13 support.
9422 * sysdeps/s390/configure: Regenerated.
9423
d097d976
SL
94242018-12-18 Stefan Liebler <stli@linux.ibm.com>
9425
9426 * sysdeps/s390/memcopy.h: New file.
9427
e099aab0
SL
94282018-12-18 Stefan Liebler <stli@linux.ibm.com>
9429
9430 * sysdeps/s390/s390-32/bcopy.S: Remove.
9431 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9432
18eb862d
SL
94332018-12-18 Stefan Liebler <stli@linux.ibm.com>
9434
9435 * sysdeps/s390/ifunc-memcpy.h: New File.
9436 * sysdeps/s390/memcpy.S: Move to ...
9437 * sysdeps/s390/memcpy-z900.S ... here.
9438 Move implementations from memcpy-s390x.s to here.
9439 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9440 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9441 Remove memcpy/mempcpy variants.
9442 * sysdeps/s390/Makefile (sysdep_routines):
9443 Add memcpy/mempcpy variants.
9444 * sysdeps/s390/multiarch/ifunc-impl-list.c
9445 (__libc_ifunc_impl_list): Adjust ifunc variants for
9446 memcpy and mempcpy.
9447 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9448 to ...
9449 * sysdeps/s390/memcpy.c: ... here.
9450 Adjust ifunc variants for memcpy.
9451 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9452 * sysdeps/s390/mempcpy.c: ... here.
9453 Adjust ifunc variants for mempcpy.
9454 * sysdeps/s390/mempcpy.S: Delete file.
9455
df3eb8de
SL
94562018-12-18 Stefan Liebler <stli@linux.ibm.com>
9457
9458 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9459 * sysdeps/s390/memcpy.S: ... here.
9460 Adjust to be usable for 31/64bit.
9461 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9462 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9463 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9464 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9465 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9466 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9467 Adjust to be usable for 31/64bit.
9468 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9469 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9470 * sysdeps/s390/multiarch/memcpy.c: ... here.
9471 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9472
b7e024a8
SL
94732018-12-18 Stefan Liebler <stli@linux.ibm.com>
9474
9475 * sysdeps/s390/ifunc-memcmp.h: New File.
9476 * sysdeps/s390/memcmp.S: Move to ...
9477 * sysdeps/s390/memcmp-z900.S ... here.
9478 Move implementations from memcmp-s390x.s to here.
9479 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9480 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9481 Remove memcmp variants.
9482 * sysdeps/s390/Makefile (sysdep_routines):
9483 Add memcmp variants.
9484 * sysdeps/s390/multiarch/ifunc-impl-list.c
9485 (__libc_ifunc_impl_list): Adjust ifunc variants for
9486 memcmp.
9487 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9488 to ...
9489 * sysdeps/s390/memcmp.c: ... here.
9490 Adjust ifunc variants for memcmp.
9491
6c6b8c74
SL
94922018-12-18 Stefan Liebler <stli@linux.ibm.com>
9493
9494 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9495 * sysdeps/s390/memcmp.S: ... here.
9496 Adjust to be usable for 31/64bit.
9497 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9498 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9499 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9500 Remove memcmp.
9501 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9502 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9503 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9504 Adjust to be usable for 31/64bit.
9505 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9506 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9507 * sysdeps/s390/multiarch/memcmp.c: ... here.
9508 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9509
07be3928
SL
95102018-12-18 Stefan Liebler <stli@linux.ibm.com>
9511
9512 * sysdeps/s390/s390-32/bzero.S: Delete file.
9513 * sysdeps/s390/s390-64/bzero.S: Likewise.
9514 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9515 * sysdeps/s390/bzero.c: New file.
9516 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9517 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9518 * sysdeps/s390/multiarch/ifunc-impl-list.c
9519 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9520
712a254a
SL
95212018-12-18 Stefan Liebler <stli@linux.ibm.com>
9522
9523 * sysdeps/s390/ifunc-memset.h: New File.
9524 * sysdeps/s390/memset.S: Move to ...
9525 * sysdeps/s390/memset-z900.S ... here.
9526 Move implementations from memset-s390x.s to here.
9527 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9528 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9529 Remove memset variants.
9530 * sysdeps/s390/Makefile (sysdep_routines):
9531 Add memset variants.
9532 * sysdeps/s390/multiarch/ifunc-impl-list.c
9533 (__libc_ifunc_impl_list): Adjust ifunc variants for
9534 memset.
9535 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9536 to ...
9537 * sysdeps/s390/memset.c: ... here.
9538 Adjust ifunc variants for memset.
9539
5f1743d1
SL
95402018-12-18 Stefan Liebler <stli@linux.ibm.com>
9541
9542 * sysdeps/s390/s390-64/memset.S: Move to ...
9543 * sysdeps/s390/memset.S: ... here.
9544 Adjust to be usable for 31/64bit.
9545 * sysdeps/s390/s390-32/memset.S: Delete File.
9546 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9547 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9548 Remove memset.
9549 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9550 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9551 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9552 Adjust to be usable for 31/64bit.
9553 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9554 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9555 * sysdeps/s390/multiarch/memset.c: ... here.
9556 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9557
e8023f26
SL
95582018-12-18 Stefan Liebler <stli@linux.ibm.com>
9559
9560 * sysdeps/s390/multiarch/ifunc-resolve.h
9561 (s390_libc_ifunc_init, s390_libc_ifunc,
9562 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9563
b8686c0d
SL
95642018-12-18 Stefan Liebler <stli@linux.ibm.com>
9565
9566 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9567 * sysdeps/s390/configure.ac: Add check for z10 support.
9568 * sysdeps/s390/configure: Regenerated.
9569
cd815050
L
95702018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9571
9572 * sysdeps/i386/atomic-machine.h: Merged with ...
9573 * sysdeps/x86_64/atomic-machine.h: To ...
9574 * sysdeps/x86/atomic-machine.h: This. New file.
9575
053c52b1
FW
95762018-12-18 Florian Weimer <fweimer@redhat.com>
9577
9578 Rewrite locale/gen-translit.pl in Python.
9579 * locale/Makefile (generated): Add C-translit.h.
9580 (before-compile): Add $(objpfx)C-translit.h.
9581 (C-translit.h): Move to $(objpfx). Create target directory.
9582 Build using Python script.
9583 * locale/gen-translit.py: New file.
9584 * locale/gen-translit.pl: Remove file.
9585 * locale/C-translit.h.in: Change comment character to '#' for
9586 easier parsing without a C preprocessor.
9587 * locale/C-translit.h: Remove generated file.
9588 * manual/install.texi (Tools for Compilation): Do not mention
9589 C-translit.h.
9590 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9591 Remove locale/C-translit.h.
9592 * scripts/update-copyrights: Likewise.
9593 * INSTALL: Regenerate.
9594
40e6c1ec
FW
95952018-12-18 Florian Weimer <fweimer@redhat.com>
9596
9597 [BZ #23995]
9598 * localedata/locales/bi_VU: Remove executable bit from file.
9599
6b5c8607 96002018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
9601
9602 * include/time.h
9603 (__localtime64): Add.
9604 * manual/maint.texi: Document Y2038 symbol handling.
9605 * time/localtime.c
9606 (__localtime64): Add.
bfb79db4 9607 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 9608
df648905
JM
96092018-12-17 Joseph Myers <joseph@codesourcery.com>
9610
551e81d9
JM
9611 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9612 Do not clobber r12.
9613
df648905
JM
9614 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9615 to allow extra macros from first or second sources.
9616 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9617 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9618 (tests-special): Add $(objpfx)tst-mman-consts.out.
9619 ($(objpfx)tst-mman-consts.out): New makefile target.
9620
6bbfc5c0
MH
96212018-12-17 Mao Han <han_mao@c-sky.com>
9622
9623 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9624 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9625 without stat64 system call support.
9626 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9627 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9628 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9629 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9630 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9631 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9632 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9633 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9634 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9635 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9636 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9637
ef202e53
PE
96382018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9639
9640 regex: fix storage-exhaustion error
9641 [BZ #18040]
9642 * posix/regexec.c (get_subexp):
9643 Do not continue if storage is exhausted.
9644
077caf61
AG
96452018-12-15 Assaf Gordon <assafgordon@gmail.com>
9646
9647 regex: fix heap-use-after-free error
9648 [BZ #18040]
9649 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9650 https://debbugs.gnu.org/32592
9651 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9652 call extend_buffers which reallocates the re_string_t internal buffer.
9653 Local variable 'buf' was not updated in such case, resulting in
9654 use-after-free.
9655 * posix/regexec.c (get_subexp): Update 'buf' after call to
9656 get_subexp_sub.
9657
0c1719e6
FW
96582018-12-15 Florian Weimer <fweimer@redhat.com>
9659
9660 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9661 (minimum_stride_size): Use it.
9662 (support_blob_repeat_allocate): Likewise.
9663
033a2c0a
JM
96642018-12-14 Joseph Myers <joseph@codesourcery.com>
9665
9666 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9667 definition.
9668 (acosh): Likewise.
9669 (atanh): Likewise.
9670
e361dc04
FW
96712018-12-14 Florian Weimer <fweimer@redhat.com>
9672
9673 * manual/process.texi (Process Creation Concepts): Remove
9674 documentation of process (ID) lifetime. List more process
9675 creation functions. Reference Process Identification section.
9676 (Process Identification): Add information about process ID
9677 lifetime. Describe Linux thread/task IDs.
9678 * manual/signal.texi (Signaling Another Process): Mention that the
9679 signal is always sent to the process.
9680
bd51ff5e
GG
96812018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9682
9683 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9684 and tst-ldbl-efgcvt.
9685 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9686 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9687 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9688 (fcvt_tests, output_error, output_r_error, do_test): Use the
9689 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9690 select the type of floating-point variables and arguments; to
9691 produce extra tests for double and conversion specifiers for
9692 printf; and to set the names of called functions.
9693 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9694 in tst-efgcvt-template.c.
9695 * misc/tst-ldbl-efgcvt.c: Likewise.
9696
268bb71e
SL
96972018-12-14 Stefan Liebler <stli@linux.ibm.com>
9698
9699 * nss/Makefile (tst-nss-test3.out): New rule.
9700
db6df070
JM
97012018-12-13 Joseph Myers <joseph@codesourcery.com>
9702
9703 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9704 clobber sp.
9705
ade8b817
CD
97062018-12-13 fanjinke <fanjinke@hygon.cn>
9707
9708 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9709 "HygonGenuine".
9710
3d265911
AS
97112018-12-13 Andreas Schwab <schwab@suse.de>
9712
f21e8f8c 9713 [BZ #23861]
3d265911 9714 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
9715 (__pthread_rwlock_rdlock_full): Update expected value for
9716 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9717 * nptl/tst-rwlock-pwn.c: New file.
9718 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 9719
bf8ae8c0
JM
97202018-12-12 Joseph Myers <joseph@codesourcery.com>
9721
9722 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9723 definition.
9724
de099757
LS
97252018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9726
9727 * benchtests/scripts/compare_bench.py (do_compare): write to
9728 stderr in casestat is not present.
9729 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9730 stderr in case timings field is not present. Also string showing
9731 the output filename goes into the stderr.
9732
1990185f
LS
97332018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9734
9735 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9736 and ZeroDivisorError exceptions.
9737 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9738 argument to loop through user provided statistics.
9739 * benchtests/scripts/compare_bench.py (main): Include the --stats
9740 argument.
9741
587426d4
LS
97422018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9743
9744 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9745 instead of return.
9746
46703efa
FW
97472018-12-12 Florian Weimer <fweimer@redhat.com>
9748
9749 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9750 clause to copyright header.
9751
1d880d4a
TMQMF
97522018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9753
9754 [BZ #23614]
9755 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9756 registers saved in the stack frame.
9757 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9758 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9759
1a502f52
GG
97602018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9761
9762 * include/bits/monetary-ldbl.h: New file.
9763 * include/bits/printf-ldbl.h: Likewise.
9764 * include/bits/stdio-ldbl.h: Likewise.
9765 * include/bits/stdlib-ldbl.h: Likewise.
9766 * include/bits/syslog-ldbl.h: Likewise.
9767 * include/bits/wchar-ldbl.h: Likewise.
9768
df682d1d
GG
97692018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9770
9771 * libio/libio.h: Remove redirection for _IO_vfprintf.
9772
c2c082c1
AS
97732018-12-11 Andreas Schwab <schwab@suse.de>
9774
9775 * Makerules: Remove all references to abilist-pattern.
9776 (update-all-abi): Simplify find expression.
9777
505b5b29
SN
97782018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9779
9780 [BZ #23961]
9781 * math/auto-libm-test-in: Add new test case.
9782 * math/auto-libm-test-out-pow: Regenerated.
9783 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9784
304c61a2
DD
97852018-12-10 DJ Delorie <dj@redhat.com>
9786
9787 [BZ #23948]
9788 * support/test-container.c: Move postclean step to before we
9789 change namespaces.
9790
a8110b72
JM
97912018-12-10 Joseph Myers <joseph@codesourcery.com>
9792
cb7be159
JM
9793 * scripts/gen-as-const.py (main): Handle --python option.
9794 * scripts/gen-py-const.awk: Remove.
9795 * Makerules (py-const-script): Use gen-as-const.py.
9796 ($(py-const)): Likewise.
9797 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9798 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9799 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9800 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9801 ~PTHREAD_MUTEX_NO_ELISION_NP.
9802 * manual/README.pretty-printers: Update reference to
9803 gen-py-const.awk.
9804
a8110b72
JM
9805 * scripts/glibcextract.py: New file.
9806 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9807 or tempfile. Import glibcexctract.
9808 (compute_c_consts): Remove. Moved to glibcextract.py.
9809 (gen_test): Update reference to compute_c_consts.
9810 (main): Likewise.
9811 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9812 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9813 * sysdeps/unix/sysv/linux/Makefile
9814 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9815 Redirect stderr as well as stdout.
9816
f9ba9eb8
RÁE
98172018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9818
9819 [BZ #19767]
9820 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
9821 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9822 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 9823 ALWAYS_USE_VSYSCALL.
b39d961c 9824 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
9825 ALWAYS_USE_VSYSCALL.
9826 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9827 ALWAYS_USE_VSYSCALL.
9828
8d20a2f4
FW
98292018-12-10 Florian Weimer <fweimer@redhat.com>
9830
9831 [BZ #23972]
9832 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9833 offset instead of count for clarity. Fix typo in comment.
9834 (__old_getdents64): Keep track of previous offset. Use it to call
9835 handle_overflow.
9836 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9837 that d_off is never zero.
9838
80472e2f
AS
98392018-12-10 Andreas Schwab <schwab@suse.de>
9840
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9842 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9844 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9845 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9846
0afcb29d
JM
98472018-12-10 Joseph Myers <joseph@codesourcery.com>
9848
9849 * timezone/private.h: Update from tzcode 2018g.
9850 * timezone/tzfile.h: Likewise.
9851 * timezone/tzselect.ksh: Likewise.
9852 * timezone/zdump.c: Likewise.
9853 * timezone/zic.c: Likewise.
9854
b93f4052
PP
98552018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9856
9857 [BZ #23490]
9858 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9859 (do_test): Adjust buffer size and fix format.
9860
7c9a7c68
DD
98612018-12-07 DJ Delorie <dj@redhat.com>
9862
9863 [BZ #23907]
9864 * malloc/tst-tcfree3.c: New.
9865 * malloc/Makefile: Add it.
9866
37caec3a
L
98672018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9868
9869 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9870
10446f5d
GG
98712018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9872
9873 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9874 used as a mask for the mode argument of __vfscanf_internal and
9875 __vfwscanf_internal.
9876 * stdio-common/vfscanf-internal.c
9877 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9878 (__strtof128_internal): Define to __wcstof128_internal.
9879 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9880 __strtof128_internal or __wcstof128_internal when the format of
9881 long double is the same as _Float128.
9882
45f33aac
ST
98832018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9884
9885 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9886 * posix/confstr.c (confstr): Rename to __confstr.
9887 (__confstr): Add hidden def.
9888 (confstr): Add weak alias for __confstr.
9889 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9890 confstr.
9891
a092ca94
L
98922018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 * NEWS: Mention getcpu.
9895 * include/sched.h (__getcpu): New libc_hidden_proto.
9896 * manual/resource.texi: Document getcpu.
9897 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9898 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9899 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9900 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9901 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9902 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9903 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9904 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9905 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9906 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9907 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9908 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9909 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9910 Likewise.
9911 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9912 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9913 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9915 Likewise.
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9917 Likewise.
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9919 Likewise.
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9921 Likewise.
9922 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9923 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9924 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9925 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9926 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9928 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9929 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9930 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9931 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9932 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9933 Also check getcpu.
9934
7c857b6f
ST
99352018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9936
9937 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9938 functions.
9939 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9940
3a3fb755
FW
99412018-12-07 Florian Weimer <fweimer@redhat.com>
9942
9943 [BZ #17405]
9944 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9945 * posix/Versions (GLIBC_2.29): Export
9946 posix_spawn_file_actions_addfchdir_np.
9947 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9948 * posix/spawn_faction_destroy.c
9949 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9950 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9951 and the field action.fchdir_action.
9952 * posix/tst-spawn-chdir.c (add_chdir): New function.
9953 (do_test): Add do_fchdir loop. Call add_chdir.
9954 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9955 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9956 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9957 posix_spawn_file_actions_addfchdir_np.
9958 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9959 Likewise.
9960 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9961 Likewise.
9962 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9963 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9964 Likewise.
9965 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9966 Likewise.
9967 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9968 Likewise.
9969 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9970 Likewise.
9971 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9972 Likewise.
9973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9974 Likewise.
9975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9976 (GLIBC_2.29): Likewise.
9977 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9978 (GLIBC_2.29): Likewise.
9979 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9980 (GLIBC_2.29): Likewise.
9981 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9982 (GLIBC_2.29): Likewise.
9983 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9984 Likewise.
9985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9986 (GLIBC_2.29): Likewise.
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9988 (GLIBC_2.29): Likewise.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9990 (GLIBC_2.29): Likewise.
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9992 (GLIBC_2.29): Likewise.
9993 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9994 Likewise.
9995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9996 Likewise.
9997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9998 Likewise.
9999 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10000 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10001 Likewise.
10002 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10003 Likewise.
10004 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10005 Likewise.
10006 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10007 Likewise.
10008
c37cd439
JM
100092018-12-06 Joseph Myers <joseph@codesourcery.com>
10010
10011 * manual/texinfo.tex: Update to version 2018-09-21.20 with
10012 trailing whitespace removed.
10013 * scripts/config.guess: Update to version 2018-11-28.
10014 * scripts/config.sub: Update to version 2018-11-28.
10015 * scripts/install-sh: Update to version 2018-03-11.20.
10016 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
10017 * scripts/move-if-change: Update to version 2018-03-07 03:47.
10018
899478c2
FW
100192018-12-07 Florian Weimer <fweimer@redhat.com>
10020
10021 [BZ #23927]
10022 CVE-2018-19591
10023 * inet/tst-if_index-long.c: New file.
10024 * inet/Makefile (tests): Add tst-if_index-long.
10025
f255336a
FW
100262018-12-07 Florian Weimer <fweimer@redhat.com>
10027
10028 * support/check.h (support_record_failure_is_failed): Declare.
10029 * support/descriptors.h: New file.
10030 * support/support_descriptors.c: Likewise.
10031 * support/tst-support_descriptors.c: Likewise.
10032 * support/support_record_failure.c
10033 (support_record_failure_is_failed): New function.
10034 * support/Makefile (libsupport-routines): Add support_descriptors.
10035 (tests): Add tst-support_descriptors.
10036
35caceb1
ZW
100372018-12-05 Zack Weinberg <zackw@panix.com>
10038 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10039
10040 * stdio-common/vfprintf-internal.c
10041 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
10042 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
10043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
10044 and __no_long_double.
10045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
10046 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
10047 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
10048 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
10049 and __nldbl_*syslog* functions.
10050 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
10051 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
10052 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
10053 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
10054 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
10055 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
10056 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
10057 (__nldbl_vwprintf, __nldbl_wprintf):
10058 Directly call the appropriate __v*printf_internal routine, passing
10059 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
10060 variable names.
10061 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
10062 (__nldbl___printf_chk, __nldbl___snprintf_chk)
10063 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
10064 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
10065 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
10066 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10067 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
10068 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
10069 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
10070 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
10071 Likewise, and also pass PRINTF_FORTIFY when appropriate.
10072 (__nldbl_syslog, __nldbl_vsyslog):
10073 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
10074 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10075 appropriate.
10076 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10077 appropriate.
10078
4e2f43f8
ZW
100792018-12-05 Zack Weinberg <zackw@panix.com>
10080 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10081
10082 [BZ #11319]
10083 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10084 Moved here from debug/vsprintf_chk.c.
10085 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10086 and completion logic for the strfile to match exactly what
10087 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10088 _IO_str_init_static_internal instead of maxlen-1.
10089 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10090 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10091 __vsprintf_internal.
10092
10093 * debug/vsprintf_chk.c (__vsprintf_chk)
10094 * debug/sprintf_chk.c (__sprintf_chk):
10095 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10096 'flags' argument is positive, and slen as maxlen. No need to lock
10097 the FILE and/or construct a temporary FILE. Minimize and normalize
10098 header inclusions and variable names. Do not libc_hidden_def anything.
10099
10100 * debug/asprintf_chk.c (__asprintf_chk)
10101 * debug/dprintf_chk.c (__dprintf_chk)
10102 * debug/fprintf_chk.c (__fprintf_chk)
10103 * debug/fwprintf_chk.c (__fwprintf_chk)
10104 * debug/printf_chk.c (__printf_chk)
10105 * debug/snprintf_chk.c (__snprintf_chk)
10106 * debug/swprintf_chk.c (__swprintf_chk)
10107 * debug/vasprintf_chk.c (__vasprintf_chk)
10108 * debug/vdprintf_chk.c (__vdprintf_chk)
10109 * debug/vfprintf_chk.c (__vfprintf_chk)
10110 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10111 * debug/vprintf_chk.c (__vprintf_chk)
10112 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10113 * debug/vswprintf_chk.c (__vswprintf_chk)
10114 * debug/vwprintf_chk.c (__vwprintf_chk)
10115 * debug/wprintf_chk.c (__wprintf_chk):
10116 Directly call the corresponding vxxprintf_internal function, passing
10117 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10118 the FILE and/or construct a temporary FILE. Minimize and normalize
10119 header inclusions and variable names. Do not libc_hidden_def anything.
10120
10121 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10122 __obstack_vprintf_internal.
10123 (__obstack_vprintf_chk): Convert into a wrapper that calls
10124 __obstack_vprintf_internal (these two functions already had the
10125 same code) and move to new file...
10126 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10127 file.
10128 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10129 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10130 * debug/Makefile (routines): Add vobprintf_chk.
10131
10132 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10133 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10134 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10135 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10136 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10137 (__nldbl___obstack_vfprintf_chk):
10138 Directly call the corresponding vxxprintf_internal function,
10139 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10140 duplicate comparison of slen with 0 or maxlen from the corresponding
10141 non-__nldbl function.
10142
10143 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10144 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10145 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10146 Remove libc_hidden_proto.
10147
10148 * stdio-common/vfprintf-internal.c
10149 (__vfprintf_internal, __vfwprintf_internal):
10150 Do not check _IO_FLAGS2_FORTIFY.
10151 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10152 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10153 a comment explaining why it has the maxlen argument.
10154 (_IO_acquire_lock_clear_flags2_fct): Remove.
10155 (_IO_acquire_lock_clear_flags2): Remove.
10156 (_IO_release_lock): Remove conditional statement which will
10157 now never execute.
10158 (_IO_acquire_lock): Remove variable which is now unused.
10159 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10160 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10161
10162 * stdio-common/Makefile (tests): Add tst-bz11319 and
10163 tst-bz11319-fortify2.
10164 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10165 * stdio-common/tst-bz11319-fortify2.c: New file.
10166 * stdio-common/tst-bz11319.c: Likewise.
10167
124fc732
ZW
101682018-12-05 Zack Weinberg <zackw@panix.com>
10169 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10170
10171 * misc/syslog.c: Include libioP.h, not iolibio.h.
10172 (__vsyslog_internal): New function with the former body of
10173 __vsyslog_chk; takes mode_flags argument same as
10174 __v*printf_internal. Call __vfprintf_internal directly.
10175
10176 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10177 Remove libc_hidden_def.
10178 (__syslog, __syslog_chk): Use __vsyslog_internal.
10179 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10180
10181 * include/sys/syslog.h: Add multiple inclusion guard.
10182 Add prototype for __vsyslog_internal.
10183 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10184
10185 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10186 Use __vsyslog_internal.
10187
698fb75b
ZW
101882018-12-05 Zack Weinberg <zackw@panix.com>
10189 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10190
10191 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10192 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10193 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10194 New functions.
10195 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10196 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10197
10198 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10199 Include wctype.h here if COMPILE_WPRINTF is defined.
10200 Define __vfprintf_internal or __vfwprintf_internal, depending
10201 on COMPILE_WPRINTF.
10202 Temporarily, on entry to this function, update mode_flags
10203 according to the environmental settings corresponding to
10204 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10205 Throughout, check mode_flags instead of __ldbl_is_dbl and
10206 _IO_FLAGS2_FORTIFY on the destination FILE.
10207 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10208 Include vfprintf-internal.c. Don't include wctype.h.
10209 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10210 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10211 and vfprintf.
10212 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10213 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10214 and vfwprintf.
10215 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10216
10217 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10218 and add mode_flags argument; use __vfprintf_internal.
10219 (__vdprintf): New function. Alias vdprintf to this.
10220 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10221 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10222 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10223 (__obstack_printf): Use __obstack_printf_internal.
10224 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10225 public aliases __vsnprintf and vsnprintf.
10226 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10227 called internally.
10228 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10229 public aliases _IO_vsprintf and vsprintf.
10230 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10231 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10232 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10233 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10234 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10235
10236 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10237 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10238 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10239 * stdio-common/printf.c: Use __vfprintf_internal.
10240
10241 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10242 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10243 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10244
10245 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10246 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10247 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10248 __vfwprintf_internal.
10249
10250 * libio/libio.h: Remove libc_hidden_proto and declaration for
10251 _IO_vfprintf.
10252 Remove declaration of _IO_vfwprintf.
10253 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10254 _IO_vsprintf.
10255 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10256 _IO_obstack_printf.
10257 * include/stdio.h: Add prototype for __vasprintf.
10258 (__vsnprintf): Remove declaration, because there are no more
10259 internal calls.
10260 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10261 declaration, because there are no more internal calls.
10262
10263 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10264 __vsnprintf_internal, instead of _IO_vsnprintf.
10265 * argp/argp-help.c (__argp_error, __argp_failure): Use
10266 __vasprintf_internal, instead of _IO_vasprintf.
10267 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10268 redefine, because there are no more internal calls.
10269
d91798b3
ZW
102702018-12-05 Zack Weinberg <zackw@panix.com>
10271 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10272
10273 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10274 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10275 Include libio/strfile.h instead of libioP.h.
10276 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10277 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10278 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10279 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10280 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10281 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10282 necessary. Do not set __no_long_double. Normalize variable names.
10283 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10284 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10285 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10286 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10287 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10288 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10289 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10290 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10291 Do not set __no_long_double. Normalize variable names.
10292
b87eb3f8
ZW
102932018-12-05 Zack Weinberg <zackw@panix.com>
10294 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10295
10296 * stdio-common/isoc99_scanf.c
10297 * stdio-common/isoc99_fscanf.c
10298 * stdio-common/isoc99_sscanf.c
10299 * stdio-common/isoc99_vscanf.c
10300 * stdio-common/isoc99_vfscanf.c
10301 * stdio-common/isoc99_vsscanf.c
10302 * wcsmbs/isoc99_wscanf.c
10303 * wcsmbs/isoc99_fwscanf.c
10304 * wcsmbs/isoc99_swscanf.c
10305 * wcsmbs/isoc99_vwscanf.c
10306 * wcsmbs/isoc99_vfwscanf.c
10307 * wcsmbs/isoc99_vswscanf.c:
10308 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10309 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10310 No need to lock and unlock the FILE passed to that function.
10311
10312 * stdio-common/vfscanf-internal.c
10313 (__vfscanf_internal, __vfwscanf_internal):
10314 Don't look at _IO_FLAGS2_SCANF_STD.
10315 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10316 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10317 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10318
349718d4
ZW
103192018-12-05 Zack Weinberg <zackw@panix.com>
10320 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10321
10322 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10323 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10324 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10325 * libio/strfile.h: Add multiple inclusion guard.
10326 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10327
10328 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10329 consistency with the other version of this file.
10330 (ldbl_compat_symbol): New macro.
10331 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10332 New macro.
10333
10334 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10335 Define __vfscanf_internal or __vfwscanf_internal, depending on
10336 COMPILE_WSCANF; don't define any other public symbols.
10337 Remove errval and code to set errp.
10338 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10339 as the mode_flags argument.
10340 (encode_error, conv_error, input_error): Don't set errval.
10341 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10342 Include vfscanf-internal.c.
10343 * stdio-common/vfscanf.c: New file defining the public entry
10344 point vfscanf, which calls __vfscanf_internal.
10345 * stdio-common/vfwscanf.c: New file defining the public entry
10346 point vfwscanf, which calls __vfwscanf_internal.
10347
10348 * stdio-common/iovfscanf.c: New file.
10349 * stdio-common/iovfwscanf.c: Likewise.
10350
10351 * stdio-common/Makefile (routines): Add vfscanf-internal,
10352 vfwscanf-internal, iovfscanf, iovfwscanf.
10353 * stdio-common/Versions: Mention GLIBC_2.29, so that
10354 it can be used in SHLIB_COMPAT expressions.
10355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10356 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10357 Call __vfscanf_internal, instead of _IO_vfscanf.
10358 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10359 _IO_vfscanf.
10360 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10361 _IO_vfwscanf.
10362
10363 * libio/iovsscanf.c: Clean up includes, when possible. Use
10364 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10365 __vfscanf_internal or __vfwscanf_internal directly.
10366 * libio/iovswscanf.c: Likewise.
10367 * libio/swscanf.c: Likewise.
10368 * libio/vscanf.c: Likewise.
10369 * libio/vwscanf.c: Likewise.
10370 * libio/wscanf.c: Likewise.
10371 * stdio-common/isoc99_fscanf.c: Likewise.
10372 * stdio-common/isoc99_scanf.c: Likewise.
10373 * stdio-common/isoc99_sscanf.c: Likewise.
10374 * stdio-common/isoc99_vfscanf.c: Likewise.
10375 * stdio-common/isoc99_vscanf.c: Likewise.
10376 * stdio-common/isoc99_vsscanf.c: Likewise.
10377 * stdio-common/scanf.c: Likewise.
10378 * stdio-common/sscanf.c: Likewise.
10379 * wcsmbs/isoc99_fwscanf.c: Likewise.
10380 * wcsmbs/isoc99_swscanf.c: Likewise.
10381 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10382 * wcsmbs/isoc99_vswscanf.c: Likewise.
10383 * wcsmbs/isoc99_vwscanf.c: Likewise.
10384 * wcsmbs/isoc99_wscanf.c: Likewise.
10385
6b5c8607 103862018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
10387
10388 * include/time.h
10389 (__tz_compute): Replace time_t with __time64_t.
10390 (__tz_convert): Replace time_t* with __time64_t.
10391 (__offtime): Replace time_t* with __time64_t.
10392 * time/gmtime.c
10393 (__gmtime_r): Adjust call to __tz_convert.
10394 (gmtime): Likewise.
10395 * time/localtime.c
10396 (__localtime_r): Likewise.
10397 (localtime): Likewise.
10398 * time/offtime.c: Replace time_t with __time64_t.
10399 * time/tzset.c: Likewise.
10400
bd598da9
JM
104012018-12-04 Joseph Myers <joseph@codesourcery.com>
10402
10403 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10404 dynamic linker unless [$(run-built-tests) = yes].
10405
b2e93de0
DD
104062018-12-03 DJ Delorie <dj@delorie.com>
10407
10408 * support/test-container.c (check_for_unshare_hints): New.
10409 (main): Call it if unshare fails. Add support for "su" scriptlet
10410 command.
10411
477a02f6
JM
104122018-12-03 Joseph Myers <joseph@codesourcery.com>
10413
10414 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10415 'START' to indicate that start text should be output.
10416 (gen_test): Likewise.
10417 (main): Generate 'START' for first symbol or '--' line, or at end
10418 of input if not previously generated.
10419
6af956e5
RÁE
104202018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10421
10422 [BZ #19767]
10423 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10424 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10425 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10426 ALWAYS_USE_VSYSCALL.
10427
f5ec0ea9
AZ
104282018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10429
10430 [BZ #23913]
10431 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10432 new_argv by one.
10433
8cebd4ff
CD
104342018-12-03 Carlos O'Donell <carlos@redhat.com>
10435
10436 [BZ #23923]
10437 * locale/programs/localedef.c: Declare boolean hard_links default true.
10438 (options): Add --no-hard-links option.
10439 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10440 * locale/programs/localedef.h: Declare prototype for hard_links.
10441 * locale/programs/locfile.c (write_locale_data): Don't use hard
10442 links if hard_links is false.
10443
c22e4c2a
L
104442018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10445
10446 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10447 cpu_features_basic.
10448 (__cache_sysconf): Likewise.
10449 (init_cacheinfo): Likewise.
10450 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10451 populate COMMON_CPUID_INDEX_80000007 and
10452 COMMON_CPUID_INDEX_80000008.
10453 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10454 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10455 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10456 (init_cpu_features): Use _Static_assert on
10457 index_arch_Fast_Unaligned_Load.
10458 __get_cpuid_registers and __get_arch_feature. Updated for
10459 cpu_features_basic. Set stepping in cpu_features.
10460 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10461 (FEATURE_INDEX_2): New.
10462 (FEATURE_INDEX_MAX): Changed to enum.
10463 (COMMON_CPUID_INDEX_D_ECX_1): New.
10464 (COMMON_CPUID_INDEX_80000007): Likewise.
10465 (COMMON_CPUID_INDEX_80000008): Likewise.
10466 (cpuid_registers): Likewise.
10467 (cpu_features_basic): Likewise.
10468 (CPU_FEATURE_USABLE): Likewise.
10469 (bit_arch_XXX_Usable): Likewise.
10470 (cpu_features): Use cpuid_registers and cpu_features_basic.
10471 (bit_arch_XXX): Reweritten.
10472 (bit_cpu_XXX): Likewise.
10473 (index_cpu_XXX): Likewise.
10474 (reg_XXX): Likewise.
10475 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10476 <support/check.h>.
10477 (CHECK_CPU_FEATURE): New.
10478 (CHECK_CPU_FEATURE_USABLE): Likewise.
10479 (cpu_kinds): Likewise.
10480 (do_test): Print vendor, family, model and stepping. Check
10481 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10482 (TEST_FUNCTION): Removed.
10483 Include <support/test-driver.c> instead of
10484 "../../test-skeleton.c".
10485 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10486 Check POPCNT instead of POPCOUNT.
10487 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10488
7b36d26b
ST
104892018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10490
10491 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10492 there is no element in `consts'.
10493
02cd5c1a
FW
104942018-12-01 Florian Weimer <fweimer@redhat.com>
10495
10496 * support/support_capture_subprocess.c
10497 (support_capture_subprocess): Check that pipe descriptors have
10498 expected values. Close original pipe descriptors in subprocess.
10499
fc493bc9
ST
105002018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10501
10502 [BZ #23032]
10503 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10504 attr with __pthread_default_barrierattr.
10505 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10506 attr with __pthread_default_condattr.
10507 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10508 attr with __pthread_default_mutexattr.
10509 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10510 attr with __pthread_default_rwlockattr.
10511
6310e6be
KW
105122018-12-01 Kemi Wang <kemi.wang@intel.com>
10513
10514 * manual/tunables.texi (POSIX Thread Tunables): New node.
10515 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10516 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10517 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10518 __pthread_tunables_init.
10519 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10520 (max_adaptive_count): Define.
10521 * nptl/pthread_mutex_conf.c: New file.
10522 * nptl/pthread_mutex_conf.h: New file.
10523 * sysdeps/generic/adaptive_spin_count.h: New file.
10524 * sysdeps/nptl/dl-tunables.list: New file.
10525 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10526 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10527 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10528 Likewise.
10529
8e67b39e
PP
105302018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10531
10532 [BZ #20544]
10533 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10534 * stdlib/on_exit.c (__on_exit): Likewise.
10535 * stdlib/Makefile (tests): Add tst-bz20544.
10536 * stdlib/tst-bz20544.c: New test.
10537
15b8d67e
RÁE
105382018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10539
10540 [BZ #19767]
10541 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10542 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10543 New.
10544
5e63c240
FW
105452018-11-30 Florian Weimer <fweimer@redhat.com>
10546
10547 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10548 Extend error logging.
10549 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10550 symbol.
10551
71058602 105522018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 10553
5fb7fc96
AZ
10554 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10555 __sigismember instead of sigismember.
10556 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10557 cancel_handler): New definitions.
10558 (do_system): Use posix_spawn instead of fork and execl and remove
10559 reentracy code.
10560 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10561 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10562 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10563 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10565 * sysdeps/unix/sysv/linux/system.c: Likewise.
10566
14d0e87d
AZ
10567 [BZ #22834]
10568 [BZ #17490]
10569 * NEWS: Add new semantic for atfork with popen and system.
10570 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10571 fork and execl.
10572
e5d262ef
TMQMF
105732018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10574
10575 [BZ #23690]
10576 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10577 modification order when accessing reloc_result->addr.
10578 * include/link.h (reloc_result): Add field init.
10579 * nptl/Makefile (tests): Add tst-audit-threads.
10580 (modules-names): Add tst-audit-threads-mod1 and
10581 tst-audit-threads-mod2.
10582 Add rules to build tst-audit-threads.
10583 * nptl/tst-audit-threads-mod1.c: New file.
10584 * nptl/tst-audit-threads-mod2.c: Likewise.
10585 * nptl/tst-audit-threads.c: Likewise.
10586 * nptl/tst-audit-threads.h: Likewise.
10587
7e1d4240
JM
105882018-11-30 Joseph Myers <joseph@codesourcery.com>
10589
10590 * scripts/gen-as-const.py: New file.
10591 * scripts/gen-as-const.awk: Remove.
10592 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10593 gen-as-const.py.
10594 ($(objpfx)test-as-const-%.c): Likewise.
10595
ce7387cc
L
105962018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10597
10598 * elf/dl-exception.c: Include <_itoa.h>.
10599
c6a5bdc1
ST
106002018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10601
10602 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10603 returned by __f_setlk.
10604
a5275ba5
L
106052018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10606 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10607
10608 * elf/Makefile (tests-internal): Add tst-create_format1.
10609 * elf/dl-exception.c (_dl_exception_create_format): Support
10610 %x, %lx and %zx.
10611 * elf/tst-create_format1.c: New file.
10612
3a67e81d
CAC
106132018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10614
10615 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10616 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10617 gnulib.)
10618 * argp/argp-help.c (__argp_failure): Likewise.
10619
4975f0c3
MH
106202018-11-29 Mao Han <han_mao@c-sky.com>
10621
10622 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10623 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10624 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10625 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10626 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10627 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10628 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10629 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10630 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10631 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10632 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10633 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10634 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10635 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10636 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10637 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10638 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10639 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10640 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10641 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10642 (R_CKCORE_TLS_TPOFF32): New defines.
10643
250102c8
FW
106442018-11-29 Florian Weimer <fweimer@redhat.com>
10645
10646 * posix/Makefile (before-compile): Remove testcases.h and
10647 ptestcases.h.
10648 (generated): Add testcases.h and ptestcases.h.
10649 (testcases.h, ptestcases.h): Move to $(objpfx).
10650 (runtests.o): Add dependency on testcases.h.
10651 (runptests.o): Add dependency on ptestcases.h.
10652 * posix/testcases.h, posix/ptestcases.h: Remove files.
10653 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10654 not touch posix/testcases.h and posix/ptestcases.h.
10655
96cd0558
FW
106562018-11-28 Florian Weimer <fweimer@redhat.com>
10657
10658 support: Add signal support to support_capture_subprocess_check.
10659 * support/capture_subprocess.h (support_capture_subprocess_check):
10660 Adjust comment and rename parameter.
10661 * support/support_capture_subprocess_check.c
10662 (print_actual_status): New function.
10663 (support_capture_subprocess_check): Support negative
10664 status_or_signal. Call print_actual_status.
10665 * support/tst-support_capture_subprocess.c (do_test): Call
10666 support_capture_subprocess_check.
10667 * libio/tst-vtables-common.c (termination_status)
10668 (init_termination_status): Remove.
10669 (check_for_termination): Adjust support_capture_subprocess_check
10670 call.
10671 (do_test): Remove call to init_termination_status.
10672
530504e3
JM
106732018-11-28 Joseph Myers <joseph@codesourcery.com>
10674
10675 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10676 source directory instead of a copy.
10677 (CommandList.create_copy_dir): Remove.
10678
9a0b6970
SL
106792018-11-28 Stefan Liebler <stli@linux.ibm.com>
10680
10681 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10682
47d8d9a2
FW
106832018-11-28 Florian Weimer <fweimer@redhat.com>
10684
10685 * support/support.h (support_quote_string): Do not use str
10686 parameter name.
10687
b473b7d8
JM
106882018-11-27 Joseph Myers <joseph@codesourcery.com>
10689
10690 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10691 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10692
c74a91de
FW
106932018-11-27 Florian Weimer <fweimer@redhat.com>
10694
10695 * support/support.h (support_quote_string): Declare.
10696 * support/support_quote_string.c: New file.
10697 * support/tst-support_quote_string.c: Likewise.
10698 * support/Makefile (libsupport-routines): Add
10699 support_quote_string.
10700 (tests): Add tst-support_quote_string.
10701
d527c860
FW
107022018-11-27 Florian Weimer <fweimer@redhat.com>
10703
10704 [BZ #23927]
10705 CVE-2018-19591
10706 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10707 descriptor leak in case of ENODEV error.
10708
979cfed0
RÁE
107092018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10710
10711 [BZ #19767]
10712 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10713 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10715
ce035c6e
CD
107162018-11-26 Carlos O'Donell <carlos@redhat.com>
10717
10718 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10719 Error for unknown lines.
10720
2bd0bfcc
JM
107212018-11-26 Joseph Myers <joseph@codesourcery.com>
10722
10723 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10724 Touch additional files.
10725
affec03b
FW
107262018-11-26 Florian Weimer <fweimer@redhat.com>
10727
10728 [BZ #23907]
10729 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10730 double-frees.
10731
8ae74ead
RÁE
107322018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10733
10734 [BZ #19767]
10735 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10736 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10737 SHARED. Include sysdep.h.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10739 ALWAYS_USE_VSYSCALL.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10741 ALWAYS_USE_VSYSCALL.
10742
1e8bdc3a
RÁE
107432018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10744
10745 [BZ #19767]
10746 * nptl/Makefile (tests-static): Add tst-cond11-static.
10747 (tests): Likewise.
10748 * nptl/tst-cond11-static.c: New File.
10749 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10750 tst-affinity-static.
10751 (tests): Likewise.
10752 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10753 instead of SHARED.
10754 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10755 (USE_VSYSCALL): Likewise.
10756 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10757 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10758 instead of SHARED.
10759 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10760 SHARED.
10761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10762 New.
10763
1283c478
JM
107642018-11-23 Joseph Myers <joseph@codesourcery.com>
10765
10766 [BZ #23915]
10767 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10768 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10769 Undefine.
10770
c089fd80
L
107712018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10772
10773 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10774 (tst-cet-legacy-1a-ARGS): New.
10775 ($(objpfx)tst-cet-legacy-1a): New target.
10776 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10777
cc6c89fa
JM
107782018-11-22 Joseph Myers <joseph@codesourcery.com>
10779
95edd05c
JM
10780 * conform/conformtest.py (CompileSubTest.__init__): Set
10781 self.run_early to False.
10782 (ExecuteSubTest.__init__): Likewise.
10783 (HeaderTests.run): Try running all non-optional, non-XFAILed
10784 compilation tests in a single execution of the compiler.
10785
cc6c89fa
JM
10786 * conform/conformtest.py (CompileSubTest): New class.
10787 (ExecuteSubTest): Likewise.
10788 (ElementTest.run): Rename to gen_subtests. Append tests to
10789 self.subtests instead of running them.
10790 (ConstantTest.run): Likewise.
10791 (SymbolTest.run): Likewise.
10792 (TypeTest.run): Likewise.
10793 (TagTest.run): Likewise.
10794 (FunctionTest.run): Likewise.
10795 (VariableTest.run): Likewise.
10796 (MacroFunctionTest.run): Likewise.
10797 (MacroStrTest.run): Likewise.
10798 (HeaderTests.handle_test_line): Generate subtests for tests.
10799 (HeaderTests.run): Run subtests for tests.
10800
a502c529
SN
108012018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10802
10803 * math/Versions (GLIBC_2.29): Add pow.
10804 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10805 symbol.
10806 * math/w_pow.c: New file.
10807 * sysdeps/i386/fpu/w_pow.c: New file.
10808 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10810 and add necessary aliases.
10811 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10812 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10813 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10814 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10815 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10816 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10817 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10818 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10819 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10820 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10821 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10822 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10823 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10824 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10825 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10830 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10831 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10832 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10833 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10834 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10835 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10836 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10837 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10838 __pow.
10839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10840 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10841 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10842
718d6542
SN
108432018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10844
10845 * math/Versions (GLIBC_2.29): Add log2.
10846 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10847 symbol.
10848 * math/w_log2.c: New file.
10849 * sysdeps/i386/fpu/w_log2.c: New file.
10850 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10851 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10852 and add necessary aliases.
10853 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10854 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10855 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10856 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10857 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10858 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10859 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10860 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10861 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10862 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10863 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10864 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10865 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10866 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10867 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10877 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10878 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10879
f29b7c49
SN
108802018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10881
10882 * math/Versions (GLIBC_2.29): Add log.
10883 * math/w_log_compat.c (__log_compat): Change to versioned compat
10884 symbol.
10885 * math/w_log.c: New file.
10886 * sysdeps/i386/fpu/w_log.c: New file.
10887 * sysdeps/ia64/fpu/e_log.S: Update.
10888 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10889 and add necessary aliases.
10890 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10891 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10892 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10893 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10894 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10895 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10896 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10897 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10898 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10899 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10900 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10901 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10902 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10903 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10904 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10911 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10914 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10915 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10916 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10917 __log.
10918 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10919 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10920 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10921 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10922
c20a1056
SN
109232018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10924
10925 * math/Versions (GLIBC_2.29): Add exp and exp2.
10926 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10927 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10928 * math/w_exp_compat.c (__exp_compat): Likewise.
10929 * math/w_exp.c: New file.
10930 * math/w_exp2.c: New file.
10931 * sysdeps/i386/fpu/w_exp.c: New file.
10932 * sysdeps/i386/fpu/w_exp2.c: New file.
10933 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10934 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10935 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10936 and add necessary aliases.
10937 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10938 and add necessary aliases.
10939 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10940 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10941 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10942 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10943 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10944 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10945 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10946 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10947 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10948 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10949 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10950 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10951 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10952 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10953 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10954 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10955 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10960 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10961 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10962 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10963 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10964 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10965 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10966 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10967 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10968 (__ieee754_exp): Rename to __exp.
10969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10970 (__ieee754_exp): Rename to __exp.
10971 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10972 (__ieee754_exp): Rename to __exp.
10973 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10974 __exp.
10975 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10976
bcdaad21
DD
109772018-11-20 DJ Delorie <dj@redhat.com>
10978
10979 * malloc/malloc.c (tcache_entry): Add key field.
10980 (tcache_put): Set it.
10981 (tcache_get): Likewise.
10982 (_int_free): Check for double free in tcache.
10983 * malloc/tst-tcfree1.c: New.
10984 * malloc/tst-tcfree2.c: New.
10985 * malloc/Makefile: Run the new tests.
10986 * manual/probes.texi: Document memory_tcache_double_free probe.
10987
10988 * dlfcn/dlerror.c (check_free): Prevent double frees.
10989
5770c0ad
WD
109902018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10991
10992 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10993
9a62a939
JM
109942018-11-20 Joseph Myers <joseph@codesourcery.com>
10995
10996 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10997 in tests. Use names for format arguments.
10998 (ConstantTest.run): Likewise.
10999 (SymbolTest.run): Likewise.
11000 (TypeTest.run): Likewise.
11001 (TagTest.run): Likewise.
11002 (FunctionTest.run): Likewise.
11003 (VariableTest.run): Likewise.
11004 (MacroFunctionTest.run): Likewise.
11005 (MacroStrTest.run): Likewise.
11006 (HeaderTests.__init__): Set self.num_tests.
11007 (HeaderTests.handle_test_line): Set test.num. Increment
11008 self.num_tests.
11009
b15b1a95
ST
110102018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11011
11012 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
11013 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
11014 SEEK_SET.
11015
0c7f97ae
MH
110162018-11-19 Mao Han <han_mao@c-sky.com>
11017
11018 * scripts/config.guess: Update to version 2018-08-29.
11019 * scripts/config.sub: Update to version 2018-08-29.
11020
35e3fbc4
FW
110212018-11-19 Florian Weimer <fweimer@redhat.com>
11022
11023 support: Print timestamps in timeout handler.
11024 * support/support_test_main.c (print_timestamp): New function.
11025 (signal_handler): Use it to print the termination time and the
11026 time of the last write to standard output.
11027
c75772e3
ZW
110282018-11-16 Zack Weinberg <zackw@panix.com>
11029 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11030
11031 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
11032 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
11033 argument.
11034 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
11035 and add flags argument. Check flags instead of __ldbl_is_dbl when
11036 deciding whether to set is_long_double.
11037 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
11038 passing zero for flags argument.
11039 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
11040
11041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
11042 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
11043 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
11044 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
11045 variable names. Remove libc_hidden_def/libc_hidden_proto from
11046 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
11047 longer called from within the library.
11048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
11049 for __nldbl___vstrfmon_l, declare it explicitly.
11050
11051 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
11052
346ef23f
ST
110532018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11054
11055 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
11056 macros
11057 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
11058 F_SETLK64, F_SETLKW64, respectively.
11059 * sysdeps/mach/hurd/f_setlk.c: New file.
11060 * sysdeps/mach/hurd/f_setlk.h: New file.
11061 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
11062 f_setlk.
11063 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
11064 (__libc_fcntl): Move non-flock operations to...
11065 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
11066 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
11067
de20b81a
PE
110682018-11-15 Paul Eggert <eggert@cs.ucla.edu>
11069
5d8af156
PE
11070 mktime: DEBUG_MKTIME cleanup
11071 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
11072 And it’s no longer needed now that glibc and Gnulib both have
11073 their own testing mechanisms for mktime.
11074 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
11075
86aece3b
PE
11076 mktime: fix non-EOVERFLOW errno handling
11077 [BZ#23789]
11078 mktime was not properly reporting failures when the underlying
11079 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
11080 them like EOVERFLOW failures, and set errno to EOVERFLOW.
11081 The problem could happen on non-glibc platforms, with Gnulib.
11082 * time/mktime.c (guess_time_tm): Remove, replacing with ...
11083 (tm_diff): ... this simpler function, which does not change errno.
11084 All callers changed to deal with errno themselves.
11085 (ranged_convert, __mktime_internal): Return failure immediately if
11086 the underlying function reports any failure other than EOVERFLOW.
11087 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11088 gap code fails.
11089
f6b3331b
PE
11090 mktime: fix bug with Y2038 DST transition
11091 [BZ#23789]
11092 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
11093 mishandle a DST transition that jumps over the Y2038 boundary.
11094 No such DST transitions are known so this is only a theoretical
11095 bug, but we might as well do things right.
11096
efbdddc3
PE
11097 mktime: make more room for overflow
11098 [BZ#23789]
11099 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
11100 This is so that we can add tm_diff results to a previous guess,
11101 which will be useful in a later patch.
11102
6c90d759
PE
11103 mktime: simplify offset guess
11104 [BZ#23789]
11105 * time/mktime.c (__mktime_internal): Omit excess precision.
11106
32c12f3f
PE
11107 mktime: new test for mktime failure
11108 [BZ#23789]
11109 Based on a test suggested by Albert Aribaud in:
11110 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11111 * time/Makefile (tests): Add bug-mktime4.
11112 * time/bug-mktime4.c: New file.
11113
de20b81a
PE
11114 mktime: fix EOVERFLOW bug
11115 [BZ#23789]
11116 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11117 Include libc-config.h, not config.h, for __set_errno.
11118 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11119
8c6c3fb0
ST
111202018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11121
11122 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11123 __attribute_copy__ to copy attributes from name. Drop static qualifier
11124 to avoid warnings about leaf attribute not having effect on static
11125 functions.
11126
6923f6db
FW
111272018-11-13 Florian Weimer <fweimer@redhat.com>
11128
11129 * malloc/malloc.c (fastbin_push_entry): New function.
11130 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11131 (REMOVE_FB): Remove macro.
11132 (_int_malloc): Use fastbin_pop_entry and reindent.
11133 (_int_free): Use fastbin_push_entry.
11134 (malloc_consolidate): Use atomic_exchange_acquire.
11135
53f5c659
JM
111362018-11-13 Joseph Myers <joseph@codesourcery.com>
11137
0c096dcf
JM
11138 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11139 alias attribute, not with strong_alias.
11140
9c4b457e
JM
11141 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11142 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11143 with additional parameter thread.
11144 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11145 in terms of __hidden_ver2.
11146 (hidden_tls_def): New macro.
11147 (libc_hidden_tls_def): Likewise.
11148 (rtld_hidden_tls_def): Likewise.
11149 (libm_hidden_tls_def): Likewise.
11150 (libmvec_hidden_tls_def): Likewise.
11151 (libresolv_hidden_tls_def): Likewise.
11152 (librt_hidden_tls_def): Likewise.
11153 (libdl_hidden_tls_def): Likewise.
11154 (libnss_files_hidden_tls_def): Likewise.
11155 (libnsl_hidden_tls_def): Likewise.
11156 (libnss_nisplus_hidden_tls_def): Likewise.
11157 (libutil_hidden_tls_def): Likewise.
11158 (libutil_hidden_tls_def): Likweise.
11159 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11160 libc_hidden_tls_def.
11161 (__sim_disabled_exceptions_thread): Likewise.
11162 (__sim_round_mode_thread): Likewise.
11163
53f5c659
JM
11164 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11165 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11166 copy attributes from name.
11167
092dfde6
JM
111682018-11-12 Joseph Myers <joseph@codesourcery.com>
11169
f578f97b
JM
11170 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11171 Use __attribute_copy__ to copy attributes from name.
11172
9a7c643a
JM
11173 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11174 with __hidden_ver1 call.
11175 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11176 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11177 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11178 (__cosf): Do not declare here.
11179 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11180 (__sincosf): Do not declare here.
11181 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11182 (__sinf): Do not declare here.
11183
092dfde6
JM
11184 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11185 (__BIG_ENDIAN): Likewise.
11186 (__BYTE_ORDER): Likewise.
11187 (strong_alias): Likewise.
11188 (_strong_alias): Likewise.
11189
1ecba1fa
FW
111902018-11-12 Florian Weimer <fweimer@redhat.com>
11191
11192 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11193 function. Move after the definition of in_smallbin_range. Do not
11194 use __builtin_expect for paths that lead to a noreturn function.
11195 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11196 because it is unclear whether this is in fact an unlikely
11197 condition.
11198 (_int_malloc, _int_free): Adjust.
11199 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11200 variables.
11201 * malloc/arena.c (heap_trim): Likewise.
11202
434c34bd
ST
112032018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11204
11205 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11206 it, free it if needed.
11207 (reauthenticate): Test and use ccwdir.
11208 (child_init_port): In non-resetids case, test and use ccwdir.
11209 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
11210 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11211 * hurd/hurd/port.h (_hurd_port_move): New function.
11212 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11213 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
11214 * hurd/Versions (_hurd_port_move): Export function.
11215 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11216 symbol.
58bb655a
ST
11217 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11218 of dtablesize for allocating dtable_cloexec.
434c34bd 11219
1626a1cf
MS
112202018-11-09 Martin Sebor <msebor@redhat.com>
11221
11222 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11223 it's already defined.
11224 (_strong_alias): Use __attribute_copy__.
11225 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11226 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11227 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11228 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11229 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11230 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11231 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11232 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11233 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11234 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11235 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11236 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11237 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11238 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11239 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11240 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11241 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11242 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11243 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11244
968ed530
GG
112452018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11246
11247 * misc/tst-efgcvt.c: Include support/check.h and
11248 support/test-driver.c. Do not include test-skeleton.c.
11249 (error_count): Remove.
11250 (output_error): Replace increments to error_count with calls to
11251 support_record_failure.
11252 (output_r_error): Likewise.
11253 (special): Likewise.
11254 (do_test): Unconditionally return zero.
11255 (TEST_FUNCTION): Remove.
11256
c3ec0972
JM
112572018-11-09 Joseph Myers <joseph@codesourcery.com>
11258
91faaa93
JM
11259 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11260 not $(@D)/scratch.
11261 ($(linknamespace-header-tests)): Likewise.
11262
c3ec0972
JM
11263 * conform/conformtest.py: New file.
11264 * conform/conformtest.pl: Remove.
11265 * conform/GlibcConform.pm: Likewise.
11266 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11267 (KEYWORDS_C99): Likewise.
11268 (KEYWORDS): Likewise.
11269 * conform/Makefile ($(conformtest-header-tests)): Use
11270 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11271 option. Use --header instead of --headers.
11272 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11273 function entries.
11274 * conform/data/spawn.h-data: Likewise.
11275 * conform/data/fcntl.h-data (openat): Add space after function
11276 name.
11277 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11278 (wcscasecmp_l): Likewise.
11279 * conform/data/termios.h-data (c_cc): Add space after element
11280 name.
11281
43257c33
GG
112822018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11283
11284 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11285 instead of manually comparing and reporting mismatching strings.
11286 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11287 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11288
e5de3b5b
JM
112892018-11-08 Joseph Myers <joseph@codesourcery.com>
11290
11291 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11292 __ASSUME_SOCKETCALL.
11293 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11294 (__ASSUME_SOCKETCALL): Remove.
11295 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11296 (__ASSUME_SOCKETCALL): Likewise.
11297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11298 (__ASSUME_SOCKETCALL): Likewise.
11299 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11300 (__ASSUME_SOCKETCALL): Likewise.
11301 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11302 (__ASSUME_SOCKETCALL): Likewise.
11303 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11304 (__ASSUME_SOCKETCALL): Likewise.
11305 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11306 (__ASSUME_SOCKETCALL): Likewise.
11307
d524fa6c
L
113082018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11309
11310 [BZ #23509]
11311 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11312 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11313 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11314 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11315 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11316 lc_unknown.
11317
ac806026
AH
113182018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11319
11320 [BZ #17630]
11321 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11322
596cc360
JM
113232018-11-07 Joseph Myers <joseph@codesourcery.com>
11324
11325 [BZ #23867]
11326 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11327 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11328 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11329 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11330
00c86a37
AZ
113312018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11332
11333 * support/support_test_compare_string.c
11334 (support_test_compare_string): Fix printf format.
11335
1df872fd
FW
113362018-11-07 Florian Weimer <fweimer@redhat.com>
11337
11338 Implement TEST_COMPARE_STRING.
11339 * support/check.h (TEST_COMPARE_STRING): Define.
11340 (support_test_compare_string): Declare.
11341 * support/Makefile (libsupport-routines): Add
11342 support_test_compare_string.
11343 (tests): Add tst-test_compare_string.
11344 * support/support_test_compare_string.c: New file.
11345 * support/tst-test_compare_string.c: Likewise.
11346
295132ff
AS
113472018-11-07 Andreas Schwab <schwab@suse.de>
11348
11349 [BZ #23864]
11350 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11351 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11352 Undef.
11353
e143ceba
JM
113542018-11-06 Joseph Myers <joseph@codesourcery.com>
11355
11356 [BZ #23862]
11357 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11358 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11359 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11360 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11361 Likewise.
11362
4a938cb2
FW
113632018-11-06 Florian Weimer <fweimer@redhat.com>
11364
11365 [BZ #17405]
11366 * posix/Makefile (routines): Add spawn_faction_addchdir.
11367 (tests): Add tst-spawn-chdir.
11368 * posix/Versions (GLIBC_2.29): Add
11369 posix_spawn_file_actions_addchdir_np.
11370 * posix/spawn_faction_addchdir.c: New file.
11371 * posix/spawn_faction_destroy.c
11372 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11373 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11374 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11375 chdir_action.
11376 * posix/tst-spawn-chdir.c: New file.
11377 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11378 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11379 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11380 posix_spawn_file_actions_addchdir_np.
11381 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11382 Likewise.
11383 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11384 Likewise.
11385 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11386 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11387 Likewise.
11388 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11389 Likewise.
11390 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11391 Likewise.
11392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11393 Likewise.
11394 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11395 Likewise.
11396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11397 Likewise.
11398 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11399 (GLIBC_2.29): Likewise.
11400 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11401 (GLIBC_2.29): Likewise.
11402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11403 (GLIBC_2.29): Likewise.
11404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11405 (GLIBC_2.29): Likewise.
11406 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11407 Likewise.
11408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11409 (GLIBC_2.29): Likewise.
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11411 (GLIBC_2.29): Likewise.
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11413 (GLIBC_2.29): Likewise.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11415 (GLIBC_2.29): Likewise.
11416 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11417 Likewise.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11419 Likewise.
11420 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11421 Likewise.
11422 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11424 Likewise.
11425 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11426 Likewise.
11427 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11428 Likewise.
11429 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11430 Likewise.
11431
7597b0c7
GG
114322018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11433
11434 * misc/Makefile (tests): Add tst-ldbl-error.
11435 * misc/tst-ldbl-error.c: New file.
11436
9771e6cb
GG
114372018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11438
11439 * misc/Makefile (tests): Add tst-ldbl-warn.
11440 * misc/tst-ldbl-warn.c: New file.
11441
2c03961f
GG
114422018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11443
11444 * argp/Makefile (tests): Add tst-ldbl-argp.
11445 * argp/tst-ldbl-argp.c: New file.
11446
6d6ee046
AS
114472018-11-05 Arjun Shankar <arjun@redhat.com>
11448
11449 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11450 __gconv_path_elem and call __gconv_get_path unconditionally.
11451
bd3b0fba
AS
114522018-11-05 Andreas Schwab <schwab@suse.de>
11453
11454 [BZ #22927]
11455 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11456 creating the first helper thread failed.
11457
2e96e980
ST
114582018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11459
11460 * sysdeps/mach/hurd/msync.c: New file.
11461
6e36266c
FW
114622018-11-02 Florian Weimer <fweimer@redhat.com>
11463
11464 * support/shell-container.c (copy_func): Call
11465 support_copy_file_range instead of copy_file_range to support
11466 cross-device copies.
11467
599f7bee
FW
114682018-11-02 Florian Weimer <fweimer@redhat.com>
11469
11470 * support/test-container.c: Include <libc-pointer-arith.h> for
11471 ALIGN_UP.
11472
ff48ea67
ZL
114732018-11-01 Zong Li <zong@andestech.com>
11474
af1d5782
ZL
11475 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11476 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11477 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11478 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11479
ff48ea67
ZL
11480 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11481 variable to avoid overlap arguments.
11482
daea71c2
JM
114832018-11-01 Joseph Myers <joseph@codesourcery.com>
11484
eac4405a
JM
11485 * posix/bug-regex22.c (main): Use puts with distinct error
11486 messages for unexpected success of re_compile_pattern, not printf
11487 with NULL argument to %s.
11488
6f30e59f
JM
11489 * stdio-common/bug22.c: Include <libc-diag.h>.
11490 (do_test): Disable -Wformat-overflow= warnings around fprintf
11491 calls outputting more than INT_MAX characters.
11492 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11493 around printf call with NULL %s argument.
11494
daea71c2
JM
11495 [BZ #23848]
11496 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11497 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11498 Undefine.
11499 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11500 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11501 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11502 (__ASSUME_SENDTO_SYSCALL): Likewise.
11503 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11504 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11505 [!__arch64__].
11506 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11507 (__ASSUME_CONNECT_SYSCALL): Likewise.
11508 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11509 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11510 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11511 Define.
11512 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11513 Likewise.
11514 [__LINUX_KERNEL_VERSION >= 0x040400]
11515 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11516 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11517 Remove.
11518 (listen): Likewise.
11519 (setsockopt): Likewise.
11520
8e3c00db
FN
115212018-11-01 Fredrik Noring <noring@nocrew.org>
11522
11523 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11524 with the ISA override.
11525
ab74d59f 115262018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
9c3dbdbe
RAE
11527
11528 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11529 #endif.
11530
e3a88b3e
ST
115312018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11532
a67377e7 11533 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 11534 translate the error message.
a67377e7
ST
11535 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11536 printing trailing whitespaces refused by git.
11537 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11538 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 11539 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 11540
3ca235ed
JM
115412018-10-30 Joseph Myers <joseph@codesourcery.com>
11542
11543 * conform/linknamespace.py: New file.
11544 * conform/linknamespace.pl: Remove file.
11545 * conform/Makefile ($(linknamespace-header-tests)): Use
11546 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11547 option.
11548
60708030
FW
115492018-10-30 Florian Weimer <fweimer@redhat.com>
11550
11551 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11552 memory leaks.
11553
a91e9301
FW
115542018-10-30 Florian Weimer <fweimer@redhat.com>
11555
11556 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11557
07da99aa
FW
115582018-10-30 Florian Weimer <fweimer@redhat.com>
11559
11560 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11561 support_blob_repeat.
11562
f5e7e959
FW
115632018-10-30 Florian Weimer <fweimer@redhat.com>
11564
11565 Avoid spurious test failures in stdlib/test-bz22786.
11566 * support/Makefile (libsupport-routines): Add blob_repeat.
11567 (tests): Add tst-support_blob_repeat.
11568 * support/blob_repeat.h: New file.
11569 * support/blob_repeat.c: Likewise.
11570 * support/tst-support_blob_repeat.c: Likewise.
11571 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11572 support_blob_repeat_allocate.
11573
2dd12baa
AS
115742018-10-30 Andreas Schwab <schwab@suse.de>
11575
11576 [BZ #23125]
11577 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11578 Don't use tail call.
11579 * elf/tst-unwind-main.c: New file.
11580 * elf/Makefile (tests): Add tst-unwind-main.
11581 (CFLAGS-tst-unwind-main.c): Define.
11582
6b5c8607 115832018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
11584
11585 [BZ #23791]
11586 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11587 n_cs_precedes to 0.
11588 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11589
c6982f7e
JM
115902018-10-29 Joseph Myers <joseph@codesourcery.com>
11591
954cf3c2
JM
11592 * conform/glibcconform.py: Do not import shutil.
11593 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11594 of mkdtemp.
11595
c6982f7e
JM
11596 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11597 critic_missing for versions before 3.4.
11598 * configure: Regenerated.
11599 * manual/install.texi (Tools for Compilation): Document
11600 requirement for Python to build glibc.
11601 * INSTALL: Regenerated.
11602 * Rules [PYTHON]: Make code unconditional.
11603 * benchtests/Makefile [PYTHON]: Likewise.
11604 * conform/Makefile [PYTHON]: Likewise.
11605 * manual/Makefile [PYTHON]: Likewise.
11606 * math/Makefile [PYTHON]: Likewise.
11607
46a7f24c
ST
116082018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11609
11610 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 11611 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 11612 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
11613 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11614 _hurd_intr_rpc_msg_about_to global point to start of controlled
11615 assembly snippet. Make it check canceled flag.
11616 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11617 the _hurd_intr_rpc_msg_about_to point.
11618 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11619 issue, remove cancel flag check.
46a7f24c 11620
e5b8756d
JM
116212018-10-26 Joseph Myers <joseph@codesourcery.com>
11622
11623 * scripts/build-many-glibcs.py: Remove compatibility for missing
11624 os.cpu_count and re.fullmatch.
11625
ba5b14c7
SN
116262018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11627
11628 [BZ #23822]
11629 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11630 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11631 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11632
fe61f17c
JM
116332018-10-25 Joseph Myers <joseph@codesourcery.com>
11634
11635 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11636 macro.
11637
7c5e34d7
FW
116382018-10-25 Florian Weimer <fweimer@redhat.com>
11639
11640 [BZ #23562]
11641 [BZ #23821]
11642 XFAIL siginfo_t si_band conform test on sparc64.
11643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11644 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11646 (conformtest-xfail-conds): Add sparc64-linux.
11647 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11648 sparc64.
11649 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11650
5b784e88
JM
116512018-10-25 Joseph Myers <joseph@codesourcery.com>
11652
11653 * elf/elf.h (NT_MIPS_DSP): New macro.
11654 (NT_MIPS_FP_MODE): Likewise.
11655
41432ebe
ZL
116562018-10-25 Zong Li <zong@andestech.com>
11657
11658 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11659 name by adding the file extension (.so).
11660
d026efea
ST
116612018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11662
11663 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11664 (test-xfail-ISO11/threads.h/linknamespace,
11665 test-xfail-ISO11/threads.h/conform): Add.
11666
b71ac2b9
JM
116672018-10-24 Joseph Myers <joseph@codesourcery.com>
11668
11669 * math/gen-libm-test.py: Import os.
11670 (ALL_FLOATS_MANUAL): New constant.
11671 (ALL_FLOATS_SUFFIX): Likewise.
11672 (Ulps.all_functions): New function.
11673 (real_all_ulps): Likewise.
11674 (generate_err_table_sub): Likewise.
11675 (generate_err_table): Likewise.
11676 (main): Handle -s and -m options.
11677 * manual/libm-err-tab.pl: Remove.
11678 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11679 instead of libm-err-tab.pl.
11680 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11681 != no].
11682 * manual/install.texi (Tools for Compilation): Document
11683 requirement for Python to build manual.
11684 * INSTALL: Regenerated.
11685
6b5c8607 116862018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
11687
11688 * bits/time64.h: New file.
11689 * include/time.h: Replace internal_time_t with __time64_t.
11690 * posix/bits/types (__time64_t): Add.
11691 * stdlib/Makefile: Add bits/time64.h to includes.
11692 * time/tzfile.c: Replace internal_time_t with __time64_t.
11693
97d91fcc 116942018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
11695
11696 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11697 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11698 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11699 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11700 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11701 prototype.
11702 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11703 * posix/spawn_faction_addclose.c
11704 (__posix_spawn_file_actions_addclose): Add hidden definition.
11705 * posix/spawn_faction_adddup2.c
11706 (__posix_spawn_file_actions_adddup2): Likewise.
11707 * posix/spawn_faction_destroy.c
11708 (__posix_spawn_file_actions_destroy): Likewise.
11709 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11710 Likewise.
11711 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11712 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11713 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11714 Likewise.
11715 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11716 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11717 Likewise.
11718
2954daf0
AS
117192018-10-24 Andreas Schwab <schwab@suse.de>
11720
11721 [BZ #18093]
11722 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11723 format cache.
11724 * elf/cache.c (print_cache): Likewise.
11725
6b5c8607 117262018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
11727
11728 * bits/timesize.h: New file.
11729 * stdlib/Makefile (headers): Add bits/timesize.h.
11730 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11731 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11732 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11733 (__SEM_PAD_AFTER_TIME): Likewise.
11734 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11735 (__SHM_PAD_AFTER_TIME): Likewise.
11736 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11737 (__MSQ_PAD_BEFORE_TIME): Likewise.
11738 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11739 (__SEM_PAD_BEFORE_TIME): Likewise.
11740 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11741 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11742 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
11743 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11744 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11745 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
11746 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11747 (__SEM_PAD_BEFORE_TIME): Likewise.
11748 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11749 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11750 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11751 (__MSQ_PAD_BEFORE_TIME): Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11753 (__SEM_PAD_BEFORE_TIME): Likewise.
11754 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11755 (__SHM_PAD_BEFORE_TIME): Likewise.
11756 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11757 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11758 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11759
7cc65773
L
117602018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11761
11762 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11763 USE_RDTSCP is defined.
11764 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11765 USE_RDTSCP is defined.
11766
c3d8dc45
AZ
117672018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11768
18ad0de6
AZ
11769 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11770 defined.
11771
c3d8dc45
AZ
11772 [BZ #23709]
11773 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11774 independently of other flags.
11775
f1034472
FW
117762018-10-23 Florian Weimer <fweimer@redhat.com>
11777
11778 * time/tst-mktime2.c (N_STRINGS): Remove.
11779 (set_timezone): New function.
11780 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11781 (mktime_test1): Report localtime failure and check errno value.
11782 Use TEST_COMPARE.
11783 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11784 (do_test): Remove alarm call. Use set_timezone and array_length.
11785
367d7cc2
AS
117862018-10-23 Andreas Schwab <schwab@suse.de>
11787
11788 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11789 (__start_context): Use END instead of PSEUDO_END.
11790
be8ff03f
JM
117912018-10-22 Joseph Myers <joseph@codesourcery.com>
11792
029ad711
JM
11793 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11794 version to 4.19.
11795
8190520f
JM
11796 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11797 version to 4.19.
11798
be8ff03f
JM
11799 [BZ #23793]
11800 * wcsmbs/c32rtomb.c: New file.
11801 * wcsmbs/mbrtoc32.c: Likewise.
11802 * wcsmbs/tst-c32-state.c: Likewise.
11803 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11804 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11805 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11806 (tests): Add tst-c32-state.
11807 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11808 $(gen-locales).
11809
2dd8e58c
L
118102018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11811
11812 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11813 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11814
d0a74159
JM
118152018-10-19 Joseph Myers <joseph@codesourcery.com>
11816
11817 [BZ #23794]
11818 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11819 pair and return 0 in that case, and use saved character to
11820 interpret following character.
11821 * wcsmbs/tst-c16-surrogate.c: New file.
11822 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11823 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11824 Depend on $(gen-locales)
11825
f997b4be
IYM
118262018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11827
11828 [BZ #23562]
11829 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11830 (struct siginfo_t): Use correct type for si_band.
11831
53b2bb87
FW
118322018-10-19 Florian Weimer <fweimer@redhat.com>
11833
11834 [BZ #23689]
11835 * resource/bits/types/struct_rusage.h (struct rusage): Update
11836 comment on struct. Remove extraneous field comment.
11837
0a271c8f
DM
118382018-10-18 David S. Miller <davem@davemloft.net>
11839
94a3a27f
DM
11840 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11841 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11842 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11843 sysdep_routines in subdir elf.
11844 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11845 version for __vdso_clock_gettime.
11846 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11847 Define.
11848 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11849 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11850
0a271c8f
DM
11851 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11852
72771e53
L
118532018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11854
11855 * sysdeps/i386/init-arch.h: Removed.
11856 * sysdeps/i386/i586/init-arch.h: Likewise.
11857 * sysdeps/i386/i686/init-arch.h: Likewise.
11858 * sysdeps/i386/i686/hp-timing.h: Likewise.
11859 * sysdeps/x86_64/hp-timing.h: Likewise.
11860 * sysdeps/i386/isa.h: New file.
11861 * sysdeps/i386/i586/isa.h: Likewise.
11862 * sysdeps/i386/i686/isa.h: Likewise.
11863 * sysdeps/x86_64/isa.h: Likewise.
11864 * sysdeps/x86/hp-timing.h: New file.
11865 * sysdeps/x86/init-arch.h: Include <isa.h>.
11866
c2b7ccad
JM
118672018-10-17 Joseph Myers <joseph@codesourcery.com>
11868
11869 * math/libm-test-pow.inc (pow_test_data): Do not allow
11870 divide-by-zero exception for pow(+/- 0, -Inf).
11871
26756e57
ZW
118722018-10-17 Zack Weinberg <zackw@panix.com>
11873
11874 * manual/job.texi (Job Control is Optional): Remove node, as
11875 job control has not been optional in quite some time.
11876 (Job Control): Mention briefly that systems older than
11877 POSIX.1-2001 might not support job control.
11878 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11879 defined on systems conforming to POSIX.1-2001.
11880
c5288d37
AS
118812018-10-17 Arjun Shankar <arjun@redhat.com>
11882
11883 [BZ #22062]
11884 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11885 indentation.
11886 * (__gconv_read_conf): Mark function static.
11887 * (once): New static variable.
11888 * (__gconv_load_conf): New function.
11889 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11890 * iconv/gconv_db.c (once): Remove static variable.
11891 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11892 __gconv_read_conf.
11893 * (__gconv_find_transform): Likewise.
11894 * iconv/tst-iconv-mt.c: New test.
11895 * iconv/Makefile: Add tst-iconv_mt.
11896
8c8d2a8a
JM
118972018-10-17 Joseph Myers <joseph@codesourcery.com>
11898
11899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
11900 bits/shm-pad.h.
11901 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11902 (shmatt_t): Define as __syscall_ulong_t.
11903 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11904 and [__SHM_PAD_AFTER_TIME].
11905 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11906 Define shm_segsz and associated padding based on
11907 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11908 Use __syscall_ulong_t instead of unsigned long int.
11909 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11910 unsigned long int.
11911 [__USE_MISC] (struct shm_info): Likewise.
11912 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11913 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11914 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11916 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11917 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11918 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11919 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11920 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11921 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11922 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11923
11924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
11925 bits/shmlba.h.
11926 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11927 (SHMLBA): Remove macro.
11928 (__getpagesize): Remove function declaration.
11929 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11930 <bits/shmlba.h>.
11931 (SHMLBA): Remove macro.
11932 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11933 <bits/shmlba.h>.
11934 (SHMLBA): Remove macro.
11935 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11936 <bits/shmlba.h>.
11937 (SHMLBA): Remove macro.
11938 (__getpagesize): Remove function declaration.
11939 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11940 <bits/shmlba.h>.
11941 (SHMLBA): Remove macro.
11942 (__getshmlba): Remove function declaration.
11943 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11944 (SHMLBA): Remove macro.
11945 (__getpagesize): Remove function declaration.
11946 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11947 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11948 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11949 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11950 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11951 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11952 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11953 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11954 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11955 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11956
403b4feb
SL
119572018-10-17 Stefan Liebler <stli@linux.ibm.com>
11958
11959 [BZ #23275]
11960 * nptl/tst-mutex10.c: New File.
11961 * nptl/Makefile (tests): Add tst-mutex10.
11962 (tst-mutex10-ENV): New variable.
11963 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11964 Ensure that elision path is used if elision is available.
11965 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11966 Likewise.
11967 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11968 Likewise.
11969 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11970 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11971 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11972 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11973 Likewise.
11974 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11975 (__pthread_mutex_cond_lock_adjust): Likewise.
11976 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11977 Likewise.
11978 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11979 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11980 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11981 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11982 Add comments.
11983 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11984 Use atomic_load_relaxed and atomic_store_relaxed.
11985 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11986 Use atomic_store_relaxed.
11987
ce5a7de6
AS
119882018-10-17 Andreas Schwab <schwab@suse.de>
11989
11990 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11991 * crypt/badsalttest.c (TIMEOUT): Likewise.
11992 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11993 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11994 * io/test-lfs.c (TIMEOUT): Likewise.
11995 * libio/tst-atime.c (TIMEOUT): Likewise.
11996 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11997 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11998 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11999 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
12000 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
12001 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
12002 * nptl/tst-cond11.c (TIMEOUT): Likewise.
12003 * nptl/tst-cond14.c (TIMEOUT): Likewise.
12004 * nptl/tst-cond15.c (TIMEOUT): Likewise.
12005 * nptl/tst-cond24.c (TIMEOUT): Likewise.
12006 * nptl/tst-cond25.c (TIMEOUT): Likewise.
12007 * nptl/tst-kill2.c (TIMEOUT): Likewise.
12008 * nptl/tst-kill3.c (TIMEOUT): Likewise.
12009 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
12010 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
12011 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
12012 * nptl/tst-once2.c (TIMEOUT): Likewise.
12013 * nptl/tst-once3.c (TIMEOUT): Likewise.
12014 * nptl/tst-once4.c (TIMEOUT): Likewise.
12015 * nptl/tst-robust8.c (TIMEOUT): Likewise.
12016 * nptl/tst-robust9.c (TIMEOUT): Likewise.
12017 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
12018 * nptl/tst-sem14.c (TIMEOUT): Likewise.
12019 * nptl/tst-sem6.c (TIMEOUT): Likewise.
12020 * nptl/tst-signal3.c (TIMEOUT): Likewise.
12021 * nptl/tst-spin4.c (TIMEOUT): Likewise.
12022 * nptl/tst-tls3.c (TIMEOUT): Likewise.
12023 * nptl/tst-tls4.c (TIMEOUT): Likewise.
12024 * posix/tst-chmod.c (TIMEOUT): Likewise.
12025 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
12026 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
12027 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
12028 * posix/tst-regex2.c (TIMEOUT): Likewise.
12029 * posix/tst-waitid.c (TIMEOUT): Likewise.
12030 * rt/tst-aio.c (TIMEOUT): Likewise.
12031 * rt/tst-aio10.c (TIMEOUT): Likewise.
12032 * rt/tst-aio4.c (TIMEOUT): Likewise.
12033 * rt/tst-aio5.c (TIMEOUT): Likewise.
12034 * rt/tst-aio6.c (TIMEOUT): Likewise.
12035 * rt/tst-aio64.c (TIMEOUT): Likewise.
12036 * rt/tst-aio7.c (TIMEOUT): Likewise.
12037 * rt/tst-aio9.c (TIMEOUT): Likewise.
12038 * rt/tst-clock.c (TIMEOUT): Likewise.
12039 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
12040 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
12041 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
12042 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
12043 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
12044 * rt/tst-timer4.c (TIMEOUT): Likewise.
12045 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
12046 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
12047 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
12048 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
12049 * time/tst-ftime.c (TIMEOUT): Likewise.
12050 * timezone/tst-tzset.c (TIMEOUT): Likewise.
12051
6b5c8607 120522018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
12053
12054 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
12055 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
12056 for thunderX2.
12057
bcdb1bfa
JM
120582018-10-15 Joseph Myers <joseph@codesourcery.com>
12059
12060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12061 bits/sem-pad.h.
12062 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
12063 instead of <bits/wordsize.h>.
12064 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
12065 and [__SEM_PAD_AFTER_TIME].
12066 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
12067 __syscall_ulong_t instead of unsigned long int.
12068 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
12069 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
12070 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
12071 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
12072 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
12073 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
12074 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
12075 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
12076 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12077 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12078 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12079
f4efbdfb
PE
120802018-10-14 Paul Eggert <eggert@cs.ucla.edu>
12081
620a5d4c
PE
12082 regex: simplify by using intprops.h
12083 [BZ#23744]
12084 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12085 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12086 intprops.h defines them.
12087
f4efbdfb
PE
12088 regex: __builtin_expect → __glibc_unlikely
12089 [BZ#23744]
12090 This refactoring was prompted by a problem when the regex code is
12091 used as part of Gnulib and when the builder’s compiler does not grok
12092 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12093 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12094 Although this refactoring does not fix the problem directly,
12095 we might as well have Gawk use the now-preferred glibc style for when
12096 __builtin_expect is unavailable.
12097 * posix/regex_internal.h (BE): Remove.
12098 All uses replaced by __glibc_unlikely or __glibc_likely.
12099
9f9feb6d
JM
121002018-10-11 Joseph Myers <joseph@codesourcery.com>
12101
12102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12103 bits/msq-pad.h.
12104 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12105 instead of <bits/wordsize.h>.
12106 (msgqnum_t): Define as __syscall_ulong_t.
12107 (msglen_t): Likewise.
12108 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12109 and [__MSQ_PAD_AFTER_TIME].
12110 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12111 __syscall_ulong_t instead of unsigned long int.
12112 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12113 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12114 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12115 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12116 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12117 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12118 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12119 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12120 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12121 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12122 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12123
b9c0f6c1
JM
121242018-10-10 Joseph Myers <joseph@codesourcery.com>
12125
2a4b25fa
JM
12126 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12127 (struct shmid_ds): Condition padding after time fields on
12128 [__WORDSIZE == 32].
12129 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12130 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12131 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12132
19e62f26
JM
12133 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12134 (struct semid_ds): Condition padding after time fields on
12135 [__WORDSIZE == 32].
12136 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12137 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12138 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12139 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12140
b9c0f6c1
JM
12141 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12142 (struct msqid_ds): Condition padding after time fields on
12143 [__WORDSIZE == 32].
12144 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12145 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12146 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12147 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12148
97785a61
SN
121492018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12150
12151 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12152
ed643089
SN
121532018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12154
12155 * libio/tst-readline.c (TIMEOUT): Define.
12156
5a580643
PE
121572018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12158
12159 mktime fix for Gnulib + coreutils
12160 [BZ#23745]
12161 This fix affects only Gnulib. Problem discovered when
12162 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12163 * time/mktime.c:
12164 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12165 Do not define since it is not used. Defining an unused static
12166 function prompts a warning from GCC when Coreutils is configured
12167 with --enable-gcc-warnings.
12168
c892ae04
LS
121692018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12170
12171 * benchtests/scripts/compare_bench.py (main): set float type on
12172 threshold argument.
12173
ab74d59f 121742018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
a68ec8ea
RL
12175
12176 [BZ #23740]
12177 * localedata/locales/kl_GL (mon): Update, the relative case.
12178 (alt_mon): Add, fill with month names in the nominative case.
12179 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12180 (d_fmt): Set to "%b %d %Y".
12181
a1987621
JM
121822018-10-04 Joseph Myers <joseph@codesourcery.com>
12183
47c49251
JM
12184 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12185 <bits/mman-linux.h>.
12186 (PROT_READ): Don't define here.
12187 (PROT_WRITE): Likewise.
12188 (PROT_EXEC): Likewise.
12189 (PROT_NONE): Likewise.
12190 (PROT_GROWSDOWN): Likewise.
12191 (PROT_GROWSUP): Likewise.
12192 (MAP_SHARED): Likewise.
12193 (MAP_PRIVATE): Likewise.
12194 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12195 [__USE_MISC] (MAP_FILE): Likewise.
12196 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12197 [__USE_MISC] (MAP_ANON): Likewise.
12198 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12199 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12200 (MCL_CURRENT): Likewise.
12201 (MCL_FUTURE): Likewise.
12202 (MCL_ONFAULT): Likewise.
12203 [__USE_MISC] (MADV_NORMAL): Likewise.
12204 [__USE_MISC] (MADV_RANDOM): Likewise.
12205 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12206 [__USE_MISC] (MADV_WILLNEED): Likewise.
12207 [__USE_MISC] (MADV_DONTNEED): Likewise.
12208 [__USE_MISC] (MADV_FREE): Likewise.
12209 [__USE_MISC] (MADV_REMOVE): Likewise.
12210 [__USE_MISC] (MADV_DONTFORK): Likewise.
12211 [__USE_MISC] (MADV_DOFORK): Likewise.
12212 [__USE_MISC] (MADV_HWPOISON): Likewise.
12213 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12214 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12215 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12216 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12217 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12218 (__MAP_ANONYMOUS): New macro.
12219 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12220 <bits/mman-linux.h> inclusion.
12221 (MAP_FIXED): Likewise.
12222 (MS_SYNC): Likewise.
12223 (MS_ASYNC): Likewise.
12224 (MS_INVALIDATE): Likewise.
12225 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12226 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12227 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12228 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12229 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12230 [__USE_MISC] (MADV_DODUMP): Likewise.
12231 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12232 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12233
a1987621
JM
12234 [BZ #23735]
12235 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12236 Define.
12237 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12238 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12239 Add test-nldbl-redirect.
12240 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12241 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12242 $(objpfx)libnldbl_nonshared.a.
12243
e7624d70
SL
122442018-10-04 Stefan Liebler <stli@linux.ibm.com>
12245
12246 * support/support.h (support_objdir_elf_ldso): New variable.
12247 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12248 * support/Makefile (CFLAGS-support_paths.c): Add definition
12249 for OBJDIR_ELF_LDSO_PATH.
12250 * support/test-container.c (main): Search for the ld.so
12251 which is also used by the testsuite.
12252
ab74d59f 122532018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
dae3ed95
RL
12254
12255 [BZ #20209]
12256 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12257 should be "sap" rather than "sab".
12258 (day): Fix spelling of Sunday, should be "sapaat" rather than
12259 "sabaat".
12260
f346b5b3
JM
122612018-10-02 Joseph Myers <joseph@codesourcery.com>
12262
12263 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12264
4a06ceea
MJ
122652018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12266
12267 [BZ #19444]
12268 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12269 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12270 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12271
a06fc4a5
AZ
122722018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12273
12274 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12275
a1ccc065
L
122762018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12279 Add -mrtm.
12280 (CFLAGS-elision-unlock.c): Likewise.
12281 (CFLAGS-elision-timed.c): Likewise.
12282 (CFLAGS-elision-trylock.c): Likewise.
12283 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12284
0b727ed4
AZ
122852018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12286
12287 [BZ #21037]
12288 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12289 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12290 new fd_to_filename interface.
12291 * libio/freopen64.c (freopen64): Likewise.
12292 * libio/tst-memstream.h: New file.
12293 * libio/tst-memstream4.c: Likewise.
12294 * libio/tst-wmemstream4.c: Likewise.
12295 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12296 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12297 and remove internal dynamic allocation.
12298
d0e91e8c
JM
122992018-10-01 Joseph Myers <joseph@codesourcery.com>
12300
12301 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12302 (MREMAP_MAYMOVE): Do not define here.
12303 [__USE_GNU] (MREMAP_FIXED): Likewise.
12304 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12305 (MREMAP_MAYMOVE): Define here instead.
12306 [__USE_GNU] (MREMAP_FIXED): Likewise.
12307 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12308 (MREMAP_MAYMOVE): Remove.
12309 [__USE_GNU] (MREMAP_FIXED): Likewise.
12310
c52944e8
JM
123112018-09-28 Joseph Myers <joseph@codesourcery.com>
12312
12313 * math/fromfp.h: Do not include <math_private.h>.
12314 * math/s_cacosh_template.c: Likewise.
12315 * math/s_casin_template.c: Likewise.
12316 * math/s_casinh_template.c: Likewise.
12317 * math/s_ccos_template.c: Likewise.
12318 * math/s_cproj_template.c: Likewise.
12319 * math/s_fdim_template.c: Likewise.
12320 * math/s_fmaxmag_template.c: Likewise.
12321 * math/s_fminmag_template.c: Likewise.
12322 * math/s_iseqsig_template.c: Likewise.
12323 * math/s_ldexp_template.c: Likewise.
12324 * math/s_nextdown_template.c: Likewise.
12325 * math/w_log1p_template.c: Likewise.
12326 * math/w_scalbln_template.c: Likewise.
12327 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12328 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12329 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12330 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12331 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12332 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12333 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12334 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12335 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12336 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12337 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12338 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12339 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12340 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12341 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12342 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12343 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12348 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12349 * sysdeps/ieee754/k_standardf.c: Likewise.
12350 * sysdeps/ieee754/k_standardl.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12352 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12353 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12359 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12360 * sysdeps/ieee754/s_signgam.c: Likewise.
12361 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12362 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12363 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12364 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12365 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12366 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12367 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12368 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12369 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12370 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12371 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12372 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12373 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12374 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12375 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12376 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12377 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12378 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12379 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12380 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12381 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12382 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12383 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12384 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12385 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12386 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12387 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12388 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12389 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12390 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12391 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12392 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12393 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12394 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12395 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12396 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12397 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12398 <math_private.h>.
12399 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12400
7b1f9406
L
124012018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12402
12403 [BZ #23716]
12404 * sysdeps/i386/dl-cet.c: Removed.
12405 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12406 prototype.
12407 (_dl_runtime_profile_shstk): Likewise.
12408 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12409 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12410
7a16bdbb
AZ
124112018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12412
12413 [BZ #23579]
12414 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12415 do_test_with_invalid_iov): New tests.
12416 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12417 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12418 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12419 errno is ENOSYS.
12420 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12421 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12422 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12423
9755bc46
JM
124242018-09-27 Joseph Myers <joseph@codesourcery.com>
12425
81dca813
JM
12426 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12427 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12428 (MATH_REDIRECT_BINARY_ARGS): New macro.
12429 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12430 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12431 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12432 header inclusion.
12433 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12435 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12441 Likewise.
12442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12443 Likewise.
12444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12446 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12447 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12449 Likewise.
12450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12451 Likewise.
12452 * sysdeps/generic/math_private_calls.h
12453 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12454 Do not declare and define as an inline function.
12455 * math/divtc3.c (__divtc3): Use copysign functions instead of
12456 __copysign variants.
12457 * math/multc3.c (__multc3): Likewise.
12458 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12459 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12460 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12461 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12462 Likewise.
12463 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12464 (__ieee754_yn): Likewise.
12465 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12466 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12467 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12468 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12469 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12470 (__sin): Likewise.
12471 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12473 Likewise.
12474 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12475 Likewise.
12476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12477 Likewise.
12478 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12479 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12480 Likewise.
12481 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12482 (__ieee754_ynf): Likewise.
12483 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12484 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12485 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12486 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12487 Likewise.
12488 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12489 (__ieee754_ynl): Likewise.
12490 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12491 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12492 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12493 Likewise.
12494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12495 (__ieee754_ynl): Likewise.
12496 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12500 Likewise.
12501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12502 (__ieee754_ynl)
12503 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12504 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12505 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12506 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12507 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12508
9755bc46
JM
12509 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12510 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12511 using MATH_REDIRECT.
12512 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12513 header inclusion.
12514 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12517 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12518 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12525 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12526 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12527 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12528 (round): Redirect to __round.
12529 (__roundl): Call round instead of __round.
12530 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12531 Remove macro.
12532 [_ARCH_PWR5X] (__roundf): Likewise.
12533 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12534 functions instead of __round variants.
12535 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12536 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12537 Likewise.
12538 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12539 Likewise.
12540 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12541 Likewise.
12542 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12544 __lroundl.
12545 (__ieee754_expl): Call roundl instead of __roundl.
12546
f841c97e
AS
125472018-09-27 Andreas Schwab <schwab@suse.de>
12548
12549 [BZ #23717]
12550 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12551 (do_test): Make st1 static.
12552
6ca8284e
AS
125532018-09-26 Andreas Schwab <schwab@suse.de>
12554
12555 [BZ #23707]
12556 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12557 * elf/Makefile (tests): Add tst-unwind-ctor.
12558 (modules-names): Add tst-unwind-ctor-lib.
12559 ($(objpfx)tst-unwind-ctor): Depend on
12560 $(objpfx)tst-unwind-ctor-lib.so.
12561
61d8b5fe
JM
125622018-09-26 Joseph Myers <joseph@codesourcery.com>
12563
12564 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12565 file. Most contents moved from ....
12566 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12567 and include <bits/mman-map-flags-generic.h>.
12568 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12569 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12570 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12571 <bits/mman-map-flags-generic.h>.
12572 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12573 macros defined in <bits/mman-map-flags-generic.h>.
12574 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12575 <bits/mman-map-flags-generic.h>.
12576 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12577 defined in <bits/mman-map-flags-generic.h>.
12578
46341286
AS
125792018-09-26 Andreas Schwab <schwab@suse.de>
12580
12581 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12582 output.
12583
b5c45e83
AZ
125842018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12585 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12586 Fangrui Song <maskray@google.com>
12587
12588 [BZ #20480]
12589 * config.make.in (have-textrel_ifunc): New define.
12590 * configure.ac: Add check if linker supports textrel relocation with
12591 ifunc.
12592 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12593 tst-ifunc-textrel.
12594 (CFLAGS-tst-ifunc-textrel.c): New rule.
12595 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12596 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12597 * elf/tst-ifunc-textrel.c: New file.
12598
8ea4d2b7
JM
125992018-09-25 Joseph Myers <joseph@codesourcery.com>
12600
d62f9ec0
JM
12601 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12602 <bits/procfs-prregset.h>.
12603 (prgregset_t): Define using __prgregset_t.
12604 (prfpregset_t): Define using __prfpregset_t.
12605 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12606 (sysdep_headers): Add bits/procfs-prregset.h.
12607 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12608 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12609 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12610 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12611
d0d8eb43
JM
12612 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12613 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12614 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12615 pr_uid and pr_gid.
12616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12617 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12618 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12619 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12620 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12621 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12622 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12623 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12627 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12628 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12629 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12630 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12632 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12633 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12634 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12635 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12636 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12637 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12638 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12640
8ea4d2b7
JM
12641 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12642 AArch64 version. Include <bits/procfs.h>.
12643 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12644 (sysdep_headers): Add bits/procfs.h.
12645 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12646 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12647 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12648 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12649 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12650 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12651 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12653 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12654 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12655 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12656 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12657 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12658 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12659 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12660 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12661 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12662
c7027166
AZ
126632018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12664
12665 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12666 Use libsupport.
12667
335a3b0a
AS
126682018-09-25 Arjun Shankar <arjun@redhat.com>
12669
12670 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12671 (__gconv_max_path_elem_len): Likewise.
12672 (__gconv_nmodules): Likewise.
12673 (__gconv_get_path): Likewise.
12674 (path_elem): Move to ...
12675 * iconv/gconv_conf.c: ... here.
12676 (__gconv_get_path): Mark function static.
12677 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12678 * iconv/gconv_open.c: ... here.
12679
462d348c
AS
126802018-09-24 Andreas Schwab <schwab@suse.de>
12681
12682 * scripts/haveversions.awk: New file.
12683 * Makerules ($(common-objpfx)Versions.def)
12684 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12685 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12686 Move rules ...
12687 * Makeconfig ($(common-objpfx)Versions.def)
12688 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12689 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12690 ... here.
12691 ($(common-objpfx)Versions.mk): New rule. Include it.
12692 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12693 Emit error if build-obsolete-nsl = yes.
12694 * manual/install.texi (Configuring and compiling): Describe
12695 --enable-obsolete-nsl as unavaiable after version 2.28.
12696 * INSTALL: Regenerate.
12697
f0458cf4
AZ
126982018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12699
12700 * NEWS: Add note about new TLE support on powerpc64le.
12701 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12702 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12703 __ununsed1.
12704 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12705 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12706 * sysdeps/powerpc/powerpc32/sysdep.h,
12707 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12708 ABORT_TRANSACTION): Remove macros.
12709 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12711 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12713 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12714 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12715 usage.
12716 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12717
ab74d59f 127182018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
434d45fd
RL
12719
12720 [BZ #10425]
12721 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12722 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12723 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12724 which is the same as in it_IT.
12725 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12726 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12727
d90c9b1a
JM
127282018-09-20 Joseph Myers <joseph@codesourcery.com>
12729
7abf97be
JM
12730 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12731 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12732 using MATH_REDIRECT.
12733 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12734 header inclusion.
12735 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12737 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12745 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12746 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12747 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12748 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12749 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12750 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12751 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12753 (ceil): Redirect to __ceil.
12754 (floor): Redirect to __floor.
12755 (trunc): Redirect to __trunc.
12756 (__truncl): Call trunc instead of __trunc.
12757 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12758 Remove macro.
12759 [_ARCH_PWR5X] (__truncf): Likewise.
12760 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12761 trunc functions instead of __trunc variants.
12762 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12763 Likewise.
12764 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12765 Likewise.
12766 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12767 Likewise.
12768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12769 Likewise.
12770
d90c9b1a
JM
12771 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12772 [__i586__ || __pentium__].
12773 [__i486__]: Handle explicitly.
12774 (HAS_CPUID): Define to 1 if above macros are undefined.
12775 (HAS_I586): Likewise.
12776 (HAS_I686): Likewise.
12777
db9a8ad4
FW
127782018-09-20 Florian Weimer <fweimer@redhat.com>
12779
12780 * misc/tst-gethostid.c: New file.
12781 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12782 (tst-gethostid): Link with -ldl.
12783
1214ba06
MY
127842018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12785
12786 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12787 value from gethostbyname_r.
12788
791b350d
CD
127892018-09-19 Carlos O'Donell <carlos@redhat.com>
12790
12791 * stdlib/tst-setcontext9.c (f1): Rename to...
12792 (f1a): ... this.
12793 (f1b): New function implementing lower half of f1 in alternate stack.
12794
8e6fd2bd
PE
127952018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12796
e1080e7e
PE
12797 Fix mktime localtime offset confusion
12798 [BZ #23603]
12799 * include/time.h (__mktime_internal): The localtime offset is now
12800 of type long int instead of time_t. This is the longstanding type
12801 in glibc, and it is more than enough to represent difference
12802 between localtime and gmtime even if it is 32 bits and time_t is
12803 64. Changing it now will let us avoid an unnecessary change when
12804 time_t is widened to 64 bits on 32-bit platforms.
12805 * time/mktime-internal.h (mktime_offset_t): Now long int.
12806
8e6fd2bd
PE
12807 Merge mktime, timegm from upstream Gnulib
12808 [BZ #23603][BZ #16346]
12809 This fixes some obscure problems with integer overflow.
12810 Although it looks scary, it is almost all a byte-for-byte copy
12811 from Gnulib, and the Gnulib code has been tested reasonably well.
12812 * include/intprops.h: New file, copied from Gnulib.
12813 * include/verify.h, time/mktime-internal.h:
12814 New tiny files, simplified from Gnulib.
12815 * time/mktime.c: Copy from Gnulib. This has the following changes:
12816 Do not include config.h if DEBUG_MKTIME is nonzero.
12817 Include stdbool.h, intprops.h, verify.h.
12818 Include string.h only if needed.
12819 Include stdlib.h on MS-Windows.
12820 Include mktime-internal.h.
12821 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12822 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12823 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12824 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12825 simplify later conditionals; default the others to zero. Use
12826 these conditionals to express only the code needed on the current
12827 platform. In uses of these conditionals, explicitly spell out how
12828 _LIBC affects things, so it’s easier to review from a glibc
12829 viewpoint.
12830 (WRAPV): Remove; no longer needed now that we have
12831 systematic overflow checking.
12832 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12833 compartmentalize tzset issues. Move system-dependent tzsettish
12834 code here from mktime.
12835 (verify): Remove; now done by verify.h. All uses changed.
12836 (long_int): Use a more-conservative definition, to avoid
12837 integer overflow.
12838 (SHR): Remove, replacing with ...
12839 (shr): New function, which means we needn’t worry about side
12840 effects in args, and conversion analysis is simpler.
12841 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12842 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12843 (time_t_avg, time_t_add_ok): Remove.
12844 (mktime_min, mktime_max): New constants.
12845 (leapyear, isdst_differ): Use bool for booleans.
12846 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12847 Use long_int, not time_t, for mktime differences.
12848 (long_int_avg): New function, replacing time_t_avg.
12849 INT_ADD_WRAPV replaces time_t_add_ok.
12850 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12851 All uses changed.
12852 (convert_time): New function.
12853 (ranged_convert): Use it.
12854 (__mktime_internal): Last arg now points to mktime_offset_t, not
12855 time_t. All uses changed. This is a no-op on glibc, where
12856 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12857 offset guess. Directly check for integer overflow instead of
12858 using a heuristic that works only 99.9...% of the time.
12859 Access *OFFSET only once, to avoid an unlikely race if the
12860 compiler delays a load and if this cascades into a signed integer
12861 overflow.
12862 (mktime): Move tzsettish code to my_tzset, and move
12863 localtime_offset to within mktime so that it doesn’t
12864 need a separate ifdef.
12865 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12866 instead of localtime.
12867 * time/timegm.c: Copy from Gnulib. This has the following changes:
12868 Include mktime-internal.h.
12869 [!_LIBC]: Include config.h and time.h. Do not include
12870 timegm.h or time_r.h. Make __mktime_internal a macro,
12871 and include mktime-internal.h to get its declaration.
12872 (timegm): Temporary is now mktime_offset_t, not time_t.
12873 This affects only Gnulib.
12874
83a552b0
WD
128752018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12876
12877 [BZ #23637]
12878 * string/test-strstr.c (pr23637): New function.
12879 (test_main): Add tests with longer needles.
12880 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12881 * string/strstr.c (AVAILABLE): Likewise.
12882
d7347278
SN
128832018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12884
12885 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12886
424c4f60
SN
128872018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12888
12889 * NEWS: Mention pow improvements.
12890 * math/Makefile (type-double-routines): Add e_pow_log_data.
12891 * sysdeps/generic/math_private.h (__exp1): Remove.
12892 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12893 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12894 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12895 contraction.
12896 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12897 (exp_inline): Remove.
12898 (__ieee754_exp): Only single double input is handled.
12899 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12900 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12901 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12902 (__pow_log_data): Define.
12903 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12904 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12905 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12906 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12907 contraction.
12908 (CFLAGS-e_pow-fma4.c): Likewise.
12909
e4e4fde5
PE
129102018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12911
dab9c348
PE
12912 Simplify tzfile fstat failure code
12913 [BZ #21716]
12914 * time/tzfile.c (__tzfile_read): Simplify slightly.
12915
e4e4fde5
PE
12916 Fix tzfile low-memory assertion failure
12917 [BZ #21716]
12918 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12919 when registering time zone abbreviations.
12920
50bc59ca
JM
129212018-09-18 Joseph Myers <joseph@codesourcery.com>
12922
d3a43e49
JM
12923 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12924 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12925 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12926 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12927 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12928 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12929 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12931 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12932
50bc59ca
JM
12933 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12934 __ceil.
12935 (__ceill): Call ceil instead of __ceil.
12936 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12937 __floor.
12938 (__floorl): Call floor instead of __floor.
12939
89983cb3
JM
129402018-09-17 Joseph Myers <joseph@codesourcery.com>
12941
71223ef9
JM
12942 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12943 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12944 using MATH_REDIRECT.
12945 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12946 header inclusion.
12947 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12950 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12951 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12954 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12959 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12960 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12963 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12964 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12965 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12966 Remove macro.
12967 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12968 functions instead of __ceil variants.
12969 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12970 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12971 Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12973 Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12976 Likewise.
12977 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12978 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12979
89983cb3
JM
12980 [BZ #21286]
12981 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12982 constant.
12983 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12984 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12985 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12986 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12987 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12988 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12989 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12990 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12991 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12992 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12993 (ILL_BADIADDR): Remove constant.
12994 (TRAP_BRANCH): Likewise.
12995 (TRAP_HWBKPT): Likewise.
12996
e44acb20
JM
129972018-09-14 Joseph Myers <joseph@codesourcery.com>
12998
3f7f1d18
JM
12999 [BZ #23656]
13000 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
13001 Remove [_MIPS_SIM = _ABIN32] conditional case.
13002 (struct elf_prpsinfo): Likewise.
13003
d59f3e5e
JM
13004 [BZ #23649]
13005 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
13006 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
13007 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
13008 Likewise.
13009 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
13010 elf_prpsinfo): Likewise.
13011 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
13012 elf_prpsinfo): Likewise.
13013 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
13014 Likewise.
13015
f29b6f17
JM
13016 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13017 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
13018 using MATH_REDIRECT.
13019 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
13020 header inclusion.
13021 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
13022 * sysdeps/alpha/fpu/s_rint.c: Likewise.
13023 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
13024 * sysdeps/i386/fpu/s_rintl.c: Likewise.
13025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13026 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13027 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
13028 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13031 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
13032 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
13033 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
13034 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13035 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13036 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13037 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13038 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13039 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
13041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
13042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13044 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13045 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13046 * sysdeps/x86_64/fpu/math_private.h: Remove file.
13047 * math/e_scalb.c (invalid_fn): Use rint functions instead of
13048 __rint variants.
13049 * math/e_scalbf.c (invalid_fn): Likewise.
13050 * math/e_scalbl.c (invalid_fn): Likewise.
13051 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13052 Likewise.
13053 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13054 Likewise.
13055 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
13056 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
13057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13058 Likewise.
13059 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13060 Likewise.
13061 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13062 Likewise.
13063 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
13064 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
13065
e44acb20
JM
13066 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13067 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
13068 New macro.
13069 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13070 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
13071 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13072 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
13073 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13074 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
13075 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13076 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
13077 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13078 && !NO_MATH_REDIRECT] (floor): Likewise.
13079 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
13080 header inclusion.
13081 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13084 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13085 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13088 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13093 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13094 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13097 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13098 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13099 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13100 Remove macro.
13101 [_ARCH_PWR5X] (__floorf): Likewise.
13102 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13103 inline function.
13104 [__SSE4_1__] (__floorf): Likewise.
13105 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13106 instead of __floor variants.
13107 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13108 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13109 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13110 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13111 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13112 * math/w_tgamma_compat.c (__tgamma): Likewise.
13113 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13114 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13115 * math/w_tgammal_compat.c (__tgammal): Likewise.
13116 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13117 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13118 Likewise.
13119 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13120 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13121 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13122 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13123 Likewise.
13124 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13125 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13126 Likewise.
13127 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13129 Likewise.
13130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13131 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13132 Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13135 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13136 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13137 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13138 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13139
221e4bab
JM
131402018-09-12 Joseph Myers <joseph@codesourcery.com>
13141
13142 * elf/Makefile (modules-names-tests): New variable.
13143
3e08ff54
SN
131442018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13145
13146 * NEWS: Mention log2 improvements.
13147 * math/Makefile (type-double-routines): Add e_log2_data.
13148 * sysdeps/i386/fpu/e_log2_data.c: New file.
13149 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13150 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13151 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13152 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13154 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13155
f41b0a43
SN
131562018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13157
13158 * NEWS: Mention log improvement.
13159 * math/Makefile (type-double-routines): Add e_log_data.
13160 * sysdeps/i386/fpu/e_log_data.c: New file.
13161 * sysdeps/ia64/fpu/e_log_data.c: New file.
13162 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13163 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13164 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13165 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13166 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13167 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13168
5a274db4
L
131692018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13170 Xuepeng Guo <xuepeng.guo@intel.com>
13171
13172 [BZ #23606]
13173 * sysdeps/i386/start.S: Include <sysdep.h>
13174 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13175 enabled. Add cfi_undefined (eip).
13176
b1176270
JM
131772018-09-11 Joseph Myers <joseph@codesourcery.com>
13178
4e7fbdd7
JM
13179 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13180 (MOVQ): Likewise.
13181 (EXTRACT_WORDS64): Likewise.
13182 (INSERT_WORDS64): Likewise.
13183 (GET_FLOAT_WORD): Likewise.
13184 (SET_FLOAT_WORD): Likewise.
13185
b1176270
JM
13186 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13187 argument.
13188 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13189 build, but not for second build if --full-gcc. Use
13190 --enable-languages=all for second build if --full-gcc.
13191 (get_parser): Add --full-gcc option.
13192 (main): Update call to Context.
13193
ab74d59f 131942018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
527f355e
RL
13195
13196 [BZ #10797]
13197 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13198 Single Quotation Mark).
13199 (thousands_sep): Likewise.
13200 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13201 * localedata/locales/it_IT (thousands_sep): Use ".".
13202 (grouping): Use "3;3".
13203
7244f13d
JM
132042018-09-10 Joseph Myers <joseph@codesourcery.com>
13205
13206 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13207 x86_64 and i686 configs using --enable-obsolete-rpc
13208 --enable-obsolete-nsl.
13209
38245425
SL
132102018-09-06 Stefan Liebler <stli@linux.ibm.com>
13211
13212 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13213
28669f86
SL
132142018-09-06 Stefan Liebler <stli@linux.ibm.com>
13215
13216 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13217 Increment size of new_argv by one.
13218
ab74d59f 132192018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
a33650d1
RL
13220
13221 [BZ #17426]
13222 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13223 * localedata/locales/ar_IN (d_fmt): Likewise.
13224 * localedata/locales/bhb_IN (d_fmt): Likewise.
13225 * localedata/locales/bho_IN (d_fmt): Likewise.
13226 * localedata/locales/bn_BD (d_fmt): Likewise.
13227 * localedata/locales/bn_IN (d_fmt): Likewise.
13228 * localedata/locales/doi_IN (d_fmt): Likewise.
13229 * localedata/locales/gu_IN (d_fmt): Likewise.
13230 * localedata/locales/hi_IN (d_fmt): Likewise.
13231 * localedata/locales/hne_IN (d_fmt): Likewise.
13232 * localedata/locales/kn_IN (d_fmt): Likewise.
13233 * localedata/locales/mag_IN (d_fmt): Likewise.
13234 * localedata/locales/mai_IN (d_fmt): Likewise.
13235 * localedata/locales/mjw_IN (d_fmt): Likewise.
13236 * localedata/locales/ml_IN (d_fmt): Likewise.
13237 * localedata/locales/mni_IN (d_fmt): Likewise.
13238 * localedata/locales/mr_IN (d_fmt): Likewise.
13239 * localedata/locales/pa_IN (d_fmt): Likewise.
13240 * localedata/locales/raj_IN (d_fmt): Likewise.
13241 * localedata/locales/sat_IN (d_fmt): Likewise.
13242 * localedata/locales/sd_IN (d_fmt): Likewise.
13243 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13244 * localedata/locales/ta_IN (d_fmt): Likewise.
13245 * localedata/locales/ta_LK (d_fmt): Likewise.
13246 * localedata/locales/tcy_IN (d_fmt): Likewise.
13247 * localedata/locales/ur_IN (d_fmt): Likewise.
13248
13249 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13250 * localedata/locales/ks_IN (d_fmt): Likewise.
13251 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13252
13253 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13254 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13255 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13256 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13257
d114e6a7
SN
132582018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13259
13260 * NEWS: Mention exp and exp2 improvements.
13261 * math/Makefile (libm-support): Remove t_exp.
13262 (type-double-routines): Add math_err and e_exp_data.
13263 * sysdeps/aarch64/libm-test-ulps: Update.
13264 * sysdeps/arm/libm-test-ulps: Update.
13265 * sysdeps/i386/fpu/e_exp_data.c: New file.
13266 * sysdeps/i386/fpu/math_err.c: New file.
13267 * sysdeps/i386/fpu/t_exp.c: Remove.
13268 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13269 * sysdeps/ia64/fpu/math_err.c: New file.
13270 * sysdeps/ia64/fpu/t_exp.c: Remove.
13271 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13272 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13273 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13275 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13276 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13277 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13278 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13279 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13280 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13281 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13282 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13283 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13284 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13287
b9d8c474
JM
132882018-09-05 Joseph Myers <joseph@codesourcery.com>
13289
b7cdc2ae
JM
13290 * sysdeps/alpha/fpu/math_private.h: Remove.
13291
b9d8c474
JM
13292 * sysdeps/generic/math_private.h
13293 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13294 Move this inline function ....
13295 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13296 * include/math.h [!_ISOMAC]: To here....
13297
418d99e6
JM
132982018-09-04 Joseph Myers <joseph@codesourcery.com>
13299
13300 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13301 code ....
13302 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13303 * include/fenv.h [!_ISOMAC]: ... to here.
13304 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13305 (feraiseexcept): Likewise.
13306 * math/fromfp.h: Do not include <fenv_private.h>.
13307 * math/s_cexp_template.c: Likewise.
13308 * math/s_csin_template.c: Likewise.
13309 * math/s_csinh_template.c: Likewise.
13310 * math/s_ctan_template.c: Likewise.
13311 * math/s_ctanh_template.c: Likewise.
13312 * math/s_iseqsig_template.c: Likewise.
13313 * math/w_acos_compat.c: Likewise.
13314 * math/w_acosf_compat.c: Likewise.
13315 * math/w_acosl_compat.c: Likewise.
13316 * math/w_asin_compat.c: Likewise.
13317 * math/w_asinf_compat.c: Likewise.
13318 * math/w_asinl_compat.c: Likewise.
13319 * math/w_j0_compat.c: Likewise.
13320 * math/w_j0f_compat.c: Likewise.
13321 * math/w_j0l_compat.c: Likewise.
13322 * math/w_j1_compat.c: Likewise.
13323 * math/w_j1f_compat.c: Likewise.
13324 * math/w_j1l_compat.c: Likewise.
13325 * math/w_jn_compat.c: Likewise.
13326 * math/w_jnf_compat.c: Likewise.
13327 * math/w_log10_compat.c: Likewise.
13328 * math/w_log10f_compat.c: Likewise.
13329 * math/w_log10l_compat.c: Likewise.
13330 * math/w_log2_compat.c: Likewise.
13331 * math/w_log2f_compat.c: Likewise.
13332 * math/w_log2l_compat.c: Likewise.
13333 * math/w_log_compat.c: Likewise.
13334 * math/w_logf_compat.c: Likewise.
13335 * math/w_logl_compat.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13341 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13342 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13343 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13344 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13345 * sysdeps/ieee754/k_standardl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13358 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13359 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13363 * math/w_ilogb_template.c: Include <fenv.h> instead of
13364 <fenv_private.h>.
13365 * math/w_llogb_template.c: Likewise.
13366 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13368
70e2ba33
JM
133692018-09-03 Joseph Myers <joseph@codesourcery.com>
13370
13371 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13372 * math/fromfp.h: Include <fenv_private.h>.
13373 * math/math-narrow.h: Likewise.
13374 * math/s_cexp_template.c: Likewise.
13375 * math/s_csin_template.c: Likewise.
13376 * math/s_csinh_template.c: Likewise.
13377 * math/s_ctan_template.c: Likewise.
13378 * math/s_ctanh_template.c: Likewise.
13379 * math/s_iseqsig_template.c: Likewise.
13380 * math/w_acos_compat.c: Likewise.
13381 * math/w_acosf_compat.c: Likewise.
13382 * math/w_acosl_compat.c: Likewise.
13383 * math/w_asin_compat.c: Likewise.
13384 * math/w_asinf_compat.c: Likewise.
13385 * math/w_asinl_compat.c: Likewise.
13386 * math/w_ilogb_template.c: Likewise.
13387 * math/w_j0_compat.c: Likewise.
13388 * math/w_j0f_compat.c: Likewise.
13389 * math/w_j0l_compat.c: Likewise.
13390 * math/w_j1_compat.c: Likewise.
13391 * math/w_j1f_compat.c: Likewise.
13392 * math/w_j1l_compat.c: Likewise.
13393 * math/w_jn_compat.c: Likewise.
13394 * math/w_jnf_compat.c: Likewise.
13395 * math/w_llogb_template.c: Likewise.
13396 * math/w_log10_compat.c: Likewise.
13397 * math/w_log10f_compat.c: Likewise.
13398 * math/w_log10l_compat.c: Likewise.
13399 * math/w_log2_compat.c: Likewise.
13400 * math/w_log2f_compat.c: Likewise.
13401 * math/w_log2l_compat.c: Likewise.
13402 * math/w_log_compat.c: Likewise.
13403 * math/w_logf_compat.c: Likewise.
13404 * math/w_logl_compat.c: Likewise.
13405 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13406 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13407 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13408 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13411 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13412 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13417 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13418 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13426 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13433 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13434 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13435 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13436 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13437 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13438 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13439 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13440 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13441 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13442 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13443 * sysdeps/ieee754/k_standardl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13469 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13470 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13475 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13480 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13481 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13482 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13483 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13484 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13485 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13486 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13487 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13488 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13489 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13490 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13491 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13492 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13493 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13494 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13495 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13496 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13497 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13498 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13499 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13500 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13501 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13502 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13503 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13504 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13505 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13506 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13507 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13508 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13509 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13510 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13511 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13512 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13513 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13514 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13515
a6e8926f
PP
135162018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13517
13518 [BZ #20271]
13519 * include/stdio.h (__libc_fatal): Mention newline in comment.
13520 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13521 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13523 * nss/nsswitch.c (__nss_next2): Likewise.
13524 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13525 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13526 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13527 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13528 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13529 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13530 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13531 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13532 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13533 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13534 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13535 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13536 (__netlink_assert_response): Likewise.
13537
2bbd06bc
JM
135382018-08-31 Joseph Myers <joseph@codesourcery.com>
13539
13540 * conform/glibcconform.py: New file.
13541 * conform/list-header-symbols.py: Likewise.
13542 * conform/list-header-symbols.pl: Remove.
13543 * conform/Makefile (tests-special): Only add linknamespace tests
13544 if [PYTHON].
13545 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13546
81b9d87b
L
135472018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13548
13549 [BZ #23597]
13550 * support/Makefile (libsupport-routines): Add
13551 support_copy_file_range and xcopy_file_range.
13552 * support/support.h: Include <sys/types.h>.
13553 (support_copy_file_range): New prototype.
13554 * support/support_copy_file_range.c: New file. Copied and
13555 modified from io/copy_file_range-compat.c.
13556 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13557 instead of copy_file_range.
13558 * support/xcopy_file_range.c: New file.
13559 * support/xunistd.h (xcopy_file_range): New prototype.
13560
d330f31a
CD
135612018-08-30 Carlos O'Donell <carlos@redhat.com>
13562
13563 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13564 xpthread_create and xpthread_join.
13565
2bda273a
FW
135662018-08-30 Florian Weimer <fweimer@redhat.com>
13567
13568 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13569
3bad2358
SL
135702018-08-30 Stefan Liebler <stli@linux.ibm.com>
13571
13572 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13573 if malloc fails.
13574
09c12efc
JM
135752018-08-29 Joseph Myers <joseph@codesourcery.com>
13576
13577 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13578 and minus_oflow as non-finite.
13579
ff6b2450
JM
135802018-08-28 Joseph Myers <joseph@codesourcery.com>
13581
13582 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13583 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13584 moved to fenv_private.h except for ...
13585 (TOINT_INTRINSICS): Kept in math_private.h.
13586 (roundtoint): Likewise.
13587 (converttoint): Likewise.
13588 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13589 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13590 * sysdeps/arm/math_private.h: Remove.
13591 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13592 ....
13593 * sysdeps/generic/math_private.h: ... this file. Include
13594 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13595 Include <fenv_private.h>. Remove functions and macros moved to
13596 fenv_private.h.
13597 * sysdeps/i386/fpu/math_private.h: Remove.
13598 * sysdeps/mips/math_private.h: Move to ....
13599 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13600 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13601 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13602 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13603 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13604 * sysdeps/powerpc/fpu/math_private.h: Do not include
13605 <fenv_private.h>.
13606 * sysdeps/riscv/rvf/math_private.h: Move to ....
13607 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13608 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13609 <fenv_private.h>.
13610 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13611 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13612 * sysdeps/sparc/fpu/math_private.h: Remove.
13613 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13614 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13615 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13616 <fenv_private.h>.
13617 * sysdeps/x86_64/fpu/math_private.h: Do not include
13618 <sysdeps/i386/fpu/fenv_private.h>.
13619
761404b7
FW
136202018-08-28 Florian Weimer <fweimer@redhat.com>
13621
13622 [BZ #23578]
13623 * posix/tst-regcomp-truncated.c: New file.
13624 * posix/Makefile (tests): Add it.
13625 (tst-regcomp-truncated.out): Depend on generated locales.
13626
d6c44c3d
FW
136272018-08-28 Florian Weimer <fweimer@redhat.com>
13628
13629 * support/test-container.c (main): Treat unshare failure with
13630 EPERM as an unsupported test.
13631
745664bd
FW
136322018-08-28 Florian Weimer <fweimer@redhat.com>
13633
13634 [BZ #23520]
13635 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13636 * nscd/netgroupcache.c
13637 (addgetnetgrentX): Add tofreep parameter. Do not free
13638 heap-allocated buffer.
13639 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13640 (addgetnetgrentX_ignore): New function.
13641 (addgetnetgrent): Call it.
13642 (readdgetnetgrent): Likewise.
13643
c8dd67e7
RS
136442018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13645
13646 * string/memmem.c: Use memcmp for first match.
13647
ab74d59f 136482018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
5abedf97
RL
13649
13650 [BZ #17426]
13651 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13652
86de0499
DD
136532018-08-27 DJ Delorie <dj@redhat.com>
13654
13655 * support/Makefile (others): Don't list programs explicitly as a
13656 dependency of "others".
13657
c3ab2110
JM
136582018-08-27 Joseph Myers <joseph@codesourcery.com>
13659
13660 * sysdeps/generic/math-tests-trap-force.h: New file.
13661 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13662 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13663 * sysdeps/powerpc/math-tests.h: Remove file.
13664 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13665
6b5c8607
TS
136662018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13667 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
13668
13669 [BZ #23538]
13670 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13671 Update r to include the set wake-request flag if waiters are
13672 remaining after spinning.
13673
4061791f
JM
136742018-08-27 Joseph Myers <joseph@codesourcery.com>
13675
13676 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13677
bc680b33
PE
136782018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13679
761404b7 13680 [BZ #23578]
bc680b33
PE
13681 regex: fix uninitialized memory access
13682 I introduced this bug into gnulib in commit
13683 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13684 eventually it was merged into glibc. The bug was found by
13685 project-repo <bugs@feusi.co> and reported here:
13686 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13687 Diagnosis and draft fix reported by Assaf Gordon here:
13688 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13689 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13690 * posix/regex_internal.c (build_wcs_upper_buffer):
13691 Fix bug when mbrtowc returns 0.
13692
02458a52
CD
136932018-08-24 Carlos O'Donell <carlos@redhat.com>
13694
13695 * po/be.po: Update translation.
13696
acc2842a
DD
136972018-08-24 DJ Delorie <dj@delorie.com>
13698
13699 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13700 $(libunwind).
13701
6c3a8a9d
PP
137022018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13703
b39d961c
TS
13704 [BZ #23400]
13705 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13706 create temporary files in source tree.
6c3a8a9d 13707
895ef79e
JM
137082018-08-24 Joseph Myers <joseph@codesourcery.com>
13709
13710 * sysdeps/generic/math-tests-trap.h: New file.
13711 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13712 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13713 * sysdeps/aarch64/math-tests.h: Remove file.
13714 * sysdeps/arm/math-tests.h: Likewise.
13715 * sysdeps/riscv/math-tests.h: Likewise.
13716 * sysdeps/aarch64/math-tests-trap.h: New file.
13717 * sysdeps/arm/math-tests-trap.h: Likewise.
13718 * sysdeps/riscv/math-tests-trap.h: Likewise.
13719
ca3aac57
WD
137202018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13721
13722 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13723 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13724 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13725 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13726 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13727 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13732 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13735 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13736 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13737 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13738 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13739 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13740
60bcac09
JM
137412018-08-23 Joseph Myers <joseph@codesourcery.com>
13742
13743 * sysdeps/generic/math-tests-exceptions.h: New file.
13744 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13745 (EXCEPTION_TESTS_float): Do not define here.
13746 (EXCEPTION_TESTS_double): Likewise.
13747 (EXCEPTION_TESTS_long_double): Likewise.
13748 (EXCEPTION_TESTS_float128): Likewise.
13749 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13750 Likewise.
13751 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13752 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13753 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13754 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13755 * sysdeps/mips/math-tests.h: Likewise.
13756 * sysdeps/nios2/math-tests.h: Likewise.
13757 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13758 (EXCEPTION_TESTS_float): Do not define here.
13759 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13760 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13761 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13762
3bded567
WD
137632018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13764
13765 * NEWS: Move optimized sinf entry to 2.29.
13766
900fb446
WD
137672018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13768
13769 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13770
561b0bec
DD
137712018-08-22 DJ Delorie <dj@redhat.com>
13772
13773 * Makefile (testroot.pristine): New rules to initialize the
13774 test-in-container "testroot".
13775 * Makerules (all-testsuite): Add tests-container.
13776 * Rules (tests-expected): Add tests-container.
13777 (binaries-all-tests): Likewise.
13778 (tests-container): New, run these tests in the testroot container.
13779 * support/Makefile (others): Add *-container, support_paths.c,
13780 xmkdirp, and links-dso-program.
13781 * support/links-dso-program-c.c: New.
13782 * support/links-dso-program.cc: New.
13783 * support/test-container.c: New.
13784 * support/shell-container.c: New.
13785 * support/echo-container.c: New.
13786 * support/true-container.c: New.
13787 * support/xmkdirp.c: New.
13788 * support/xsymlink.c: New.
13789 * support/support_paths.c: New.
13790 * support/support.h: Add support paths prototypes.
13791 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13792
13793 * nss/tst-nss-test3.c: Convert to test-in-container.
13794 * nss/tst-nss-test3.root/: New.
13795
b35d3509
PE
137962018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13797
13798 regex: port Gnulib code to z/OS POSIX environment
13799 Problem reported by Arnold Robbins in:
13800 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13801 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13802 Undef.
13803
16a25138
JM
138042018-08-22 Joseph Myers <joseph@codesourcery.com>
13805
debc4c98
JM
13806 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13807 (ROUNDING_TESTS_double): Remove.
13808 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13809 (ROUNDING_TESTS_double): Remove.
13810 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13811 (ROUNDING_TESTS_double): Remove.
13812 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13813 (ROUNDING_TESTS_float): Remove.
13814 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13815 (ROUNDING_TESTS_float): Remove.
13816 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13817 (ROUNDING_TESTS_float): Remove.
13818 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13819 !TEST_MATHVEC here.
13820 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13821 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13822
16a25138
JM
13823 * sysdeps/generic/math-tests-rounding.h: New file.
13824 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13825 (ROUNDING_TESTS_float): Do not define here.
13826 (ROUNDING_TESTS_double): Likewise.
13827 (ROUNDING_TESTS_long_double): Likewise.
13828 (ROUNDING_TESTS_float128): Likewise.
13829 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13830 (ROUNDING_TESTS_double): Undefine before defining.
13831 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13832 (ROUNDING_TESTS_double): Undefine before defining.
13833 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13834 (ROUNDING_TESTS_double): Undefine before defining.
13835 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13836 (ROUNDING_TESTS_float): Undefine before defining.
13837 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13838 (ROUNDING_TESTS_float): Undefine before defining.
13839 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13840 (ROUNDING_TESTS_float): Undefine before defining.
13841 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13842 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13843 not define here.
13844 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13845 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13846 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13847 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13848 (ROUNDING_TESTS_float): Do not define here.
13849 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13850 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13851 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13852 (ROUNDING_TESTS_float): Likewise.
13853 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13854 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13855 * sysdeps/mips/math-tests.h [__mips_soft_float]
13856 (ROUNDING_TESTS_float): Likewise.
13857 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13858 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13859 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13860 (ROUNDING_TESTS_double): Likewise.
13861 (ROUNDING_TESTS_long_double): Likewise.
13862
38b0593e
TK
138632018-08-21 Tobias Klauser <tklauser@distanz.ch>
13864
13865 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13866 (PF_XDP): New macro.
13867 (AF_XDP): New macro.
13868 (SOL_XDP): New macro.
13869
5cd7dbde
JM
138702018-08-21 Joseph Myers <joseph@codesourcery.com>
13871
13872 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13873 (TCP_INQ): Likewise.
13874 (TCP_CM_INQ): Likewise.
13875 (TCP_REPAIR_ON): Likewise.
13876 (TCP_REPAIR_OFF): Likewise.
13877 (TCP_REPAIR_OFF_NO_WP): Likewise.
13878 (struct tcp_zerocopy_receive): New type.
13879
aa42b3db
FW
138802018-08-21 Florian Weimer <fweimer@redhat.com>
13881
13882 * support/support.h (support_descriptor_supports_holes): Declare.
13883 * support/Makefile (libsupport-routines): Add
13884 support_descriptor_supports_holes.
13885 * support/support_descriptor_supports_holes.c: New file.
13886 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13887 and stop testing if holes are not supported.
13888 * io/test-lfs.c (do_prepare): Likewise.
13889 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13890 Likewise.
13891 * timezone/tst-tzset.c (create_tz_file): Likewise.
13892 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13893 variable.
13894 (do_prepare): Set it.
13895 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13896
c7627f41
FW
138972018-08-21 Florian Weimer <fweimer@redhat.com>
13898
13899 [BZ #17248]
13900 * Makeconfig (+cflags): Do not sort (and deduplicate).
13901
ef939d92
FW
139022018-08-21 Florian Weimer <fweimer@redhat.com>
13903
13904 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13905 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13906
88ffb39d
FW
139072018-08-20 Florian Weimer <fweimer@redhat.com>
13908
13909 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13910 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13911
17419540
JM
139122018-08-20 Joseph Myers <joseph@codesourcery.com>
13913
e6edd40d
JM
13914 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13915 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13916 and ssi_arch members.
13917
17419540
JM
13918 * elf/elf.c (NT_VMCOREDD): New macro.
13919 (AT_MINSIGSTKSZ): Likewise.
13920
fa78896b
RS
139212018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13922
13923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13924 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13925 s_cosf-ppc64 and s_cosf-power8.
13926 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13927 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13928 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13929 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13936 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13937 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13938
86a6c75a
FW
139392018-08-17 Florian Weimer <fweimer@redhat.com>
13940
13941 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13942
35cfefd9
FW
139432018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13944
13945 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13946
6413fcde
FW
139472018-08-16 Florian Weimer <fweimer@redhat.com>
13948
13949 * configure.ac: Add --with-nonshared-cflags option.
13950 * config.make.in (extra-nonshared-cflags): Set variable.
13951 * Makeconfig (CFLAGS-.oS): Use it.
13952 * manual/install.texi (Configuring and compiling): Document
13953 --with-nonshared-cflags.
13954 * configure: Regenerate.
13955 * INSTALL: Likewise.
13956
93a2584c
FW
139572018-08-16 Florian Weimer <fweimer@redhat.com>
13958
13959 * Makeconfig (ASFLAGS): Always append required assembler flags.
13960
f6f275d2 139612018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
13962
13963 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13964 (malloc_consolidate): Likewise.
13965
30a17d8c
PC
139662018-08-16 Pochang Chen <johnchen902@gmail.com>
13967
13968 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13969
953a5a4a
SP
139702018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13971
34f86d61
SP
13972 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13973 every strlen call.
13974
953a5a4a
SP
13975 * benchtests/bench-strlen.c: Print performance numbers in json.
13976
7793ad7a
RS
139772018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13978
13979 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13980 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13981 only for little endian.
13982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13983 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13984 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13985 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13986 Add check for little endian.
13987 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13988 (__strcmp_power9): Add check for little endian.
13989 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13990 Add check for little endian.
13991 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13992 (__strncmp_power9): Add check for little endian.
13993 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13994 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13995 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13996 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13997 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13998
436e4d5b
SP
139992018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14000
14001 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
14002 [!STRLEN](STRLEN): Set to __strlen.
14003 * sysdeps/aarch64/multiarch/strlen.c: New file.
14004 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
14005 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
14006 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14007 (__libc_ifunc_impl_list): Add strlen.
14008 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14009 strlen_generic and strlen_asimd.
14010
126c4e3f
WD
140112018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14012
14013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
14014 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
14015 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14016
49acec17
WD
140172018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14018
14019 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
14020
fdb16de3
FW
140212018-08-14 Florian Weimer <fweimer@redhat.com>
14022
14023 [BZ #23519]
14024 * include/stdio.h (__vfxprintf): Declare.
14025 * stdio-common/fxprintf.c (__vfxprintf): New function.
14026 (__fxprintf): Call it.
14027 * misc/err.c (convert_and_print): Remove function.
14028 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
14029 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
14030 * misc/Makefile (tests): Add tst-warn-wide.
14031 * misc/tst-warn-wide.c: New file.
14032
599cf397
WD
140332018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
14034 Szabolcs Nagy <szabolcs.nagy@arm.com>
14035
14036 * NEWS: Mention sinf, cosf, sincosf.
14037 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
14038 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
14039 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
14040 constants rather than including generic sincosf.h.
14041 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
14042 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
14043 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
14044 (reduced_cos): Remove.
14045 (sinf_poly): New function.
14046 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
14047
e95c6f61
FW
140482018-08-14 Florian Weimer <fweimer@redhat.com>
14049
14050 [BZ #23521]
14051 [BZ #23522]
14052 * nss/nss_files/files-alias.c (get_next_alias): During :include:
14053 processing, bail out if no room, and close the stream before
14054 returning ERANGE.
14055 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
14056 (tst-nss-files-alias-leak): Link with libdl.
14057 (tst-nss-files-alias-leak.out): Depend on nss_files.
14058
14059 * nss/tst-nss-files-alias-leak.c: New file.
14060
2d7acfac
FW
140612018-08-14 Florian Weimer <fweimer@redhat.com>
14062
14063 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
14064 server_user, stat_user.
14065
f3cd0904
JM
140662018-08-13 Joseph Myers <joseph@codesourcery.com>
14067
17b26500
JM
14068 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14069 version to 4.18.
14070 (io_pgetevents): New syscall.
14071 (rseq): Likewise.
14072
3c1622eb
JM
14073 * manual/install.texi (Configuring and compiling): Do not list
14074 tools used for testing pretty printers here.
14075 (Tools for Compilation): List Python, PExpect and GDB here.
14076 Update descriptions of uses of Perl and Python.
14077 * INSTALL: Regenerate.
14078
f3cd0904
JM
14079 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14080 version to 4.18.
14081
b7b52b9d
FW
140822018-08-13 Florian Weimer <fweimer@redhat.com>
14083
14084 * misc/error.c (error): Add missing va_end call.
14085 (error_at_line): Likewise.
14086
01780188
FW
140872018-08-13 Florian Weimer <fweimer@redhat.com>
14088
14089 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14090
44727aec
SP
140912018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14092
8cac1f26
SP
14093 * benchtests/scripts/benchout.schema.json (properties): Add
14094 new properties.
14095
44727aec
SP
14096 * benchtests/bench-skeleton.c (main): Add duration and
14097 iterations attributes.
14098
c77bf91b
PE
140992018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14100
14101 regex: Gnulib unibyte RRI uses bytes not chars
14102 Adjust the non-glibc code to agree with what Gawk needs for
14103 rational range interpretation (RRI) for regular expression ranges.
14104 In unibyte locales, Gawk wants ranges to use the underlying byte
14105 rather than the character code point. This change does not affect
14106 glibc proper.
14107 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14108 In unibyte locales, use the byte value rather than
14109 running it through btowc.
14110
2ce7ba7d
JM
141112018-08-10 Joseph Myers <joseph@codesourcery.com>
14112
14113 * sysdeps/generic/math-tests-snan.h: New file.
14114 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14115 (SNAN_TESTS_float): Do not define here.
14116 (SNAN_TESTS_double): Likewise.
14117 (SNAN_TESTS_long_double): Likewise.
14118 (SNAN_TESTS_float128): Likewise.
14119 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14120 * sysdeps/i386/fpu/math-tests.h: Remove file.
14121 * sysdeps/ia64/math-tests-snan.h: New file.
14122 * sysdeps/ia64/math-tests.h: Remove file.
14123 * sysdeps/x86/math-tests.h: Likewise.
14124 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14125
ea5c662c
WD
141262018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14127 Szabolcs Nagy <szabolcs.nagy@arm.com>
14128
14129 * math/Makefile: Add s_sincosf_data.c.
14130 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14131 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14132 (sincosf_poly): Likewise.
14133 (reduce_small): Likewise.
14134 (reduce_large): Likewise.
14135 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14136 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14137 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14138 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14139
43cfdf8f
SN
141402018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14141 Szabolcs Nagy <szabolcs.nagy@arm.com>
14142
14143 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14144 (converttoint): Use lround.
14145 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14146 document the semantics when TOINT_INTRINSICS is set.
14147 (converttoint): Likewise.
14148 (TOINT_RINT): Remove.
14149 (TOINT_SHIFT): Remove.
14150 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14151 path.
14152
69065288
FW
141532018-08-10 Florian Weimer <fweimer@redhat.com>
14154
14155 [BZ #23497]
14156 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14157 function.
14158 (__old_getdents64): Use getdents64. Convert entries without
14159 moving them.
14160 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14161 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14162 tst-readdir64-compat.
14163
8f135efc
IL
141642018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14165
14166 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14167 Fix unwind.
14168
71c01af5
IL
141692018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14170
14171 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14172 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14173 code to s390x-mcount.h and #include it.
14174 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14175 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14176 (__fentry__): Add.
14177
8d997d22
IL
141782018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14179
14180 * stdlib/Versions: Remove __fentry__.
14181 * sysdeps/i386/Versions: Add __fentry__.
14182 * sysdeps/x86_64/Versions: Add __fentry__.
14183
69e2444a
IL
141842018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14185
14186 * sysdeps/s390/Makefile: Register the new tests.
14187 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14188 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14189 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14190 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14191 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14192 * sysdeps/s390/tst-dl-runtime.c: New file.
14193
bde6320f
IL
141942018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14195
14196 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14197 Do not clobber R0.
14198
5755f5e4
IL
141992018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14200
14201 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14202 Do not clobber R0.
14203
c8ad8522
IL
142042018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14205
14206 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14207 Do not clobber R0.
14208
b215eee1
IL
142092018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14210
14211 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14212 Do not clobber R0.
14213
329c6fec
IL
142142018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14215
14216 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14217 Use symbolic offsets for stack variables.
14218
0fb7afa2
IL
142192018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14220
14221 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14222 Use symbolic offsets for stack variables.
14223
6954059a
IL
142242018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14225
14226 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14227 Use symbolic offsets for stack variables.
14228
c7099673
IL
142292018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14230
14231 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14232 Use symbolic offsets for stack variables.
14233
2813e41e
JM
142342018-08-09 Joseph Myers <joseph@codesourcery.com>
14235
14236 * math/gen-libm-test.py: New file.
14237 * math/gen-libm-test.pl: Remove.
14238 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14239 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14240 gen-libm-test.pl.
14241 ($(libm-test-c-noauto-obj)): Likewise.
14242 ($(libm-test-c-auto-obj)): Likewise.
14243 ($(libm-test-c-narrow-obj)): Likewise.
14244 (regen-ulps): Likewise.
14245 * math/README.libm-test: Update references to gen-libm-test.pl.
14246 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14247 referencing gen-libm-test.pl.
14248 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14249 * math/libm-test-support.c: Likewise.
14250 * math/libm-test-support.h: Likewise.
14251 * sysdeps/generic/libm-test-ulps: Likewise.
14252
be64b194
SP
142532018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14254
14255 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14256 Fix value.
14257
140137fb
JM
142582018-08-08 Joseph Myers <joseph@codesourcery.com>
14259
14260 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14261 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14262
b5403eca
ST
142632018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14264
14265 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14266 symbols.
8ac0f9e6
ST
14267 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14268 __pthread_setspecific): Add hidden proto.
14269 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14270 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 14271
014efdd7
SP
142722018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14273
14274 * benchtests/bench-string.h (buf1_size, buf2_size): New
14275 variables.
14276 (init_sizes): New function.
14277 (test_init): Use it.
14278 (alloc_buf, exit_error): New functions.
14279 (alloc_bufs): Use ALLOC_BUF.
14280 (realloc_bufs): Remove.
14281 * benchtests/bench-memcmp.c (do_test): Adjust.
14282 * benchtests/bench-memset-large.c (do_test): Likewise.
14283 * benchtests/bench-memset-walk.c (do_test): Likewise.
14284 * benchtests/bench-memset.c (do_test): Likewise.
14285 * benchtests/bench-strncmp.c (do_test): Likewise.
14286
92a4cba7
AS
142872018-08-06 Andreas Schwab <schwab@suse.de>
14288
14289 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14290 of CONST_THREAD_AREA.
14291
fb4c32ae
L
142922018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14293
14294 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14295 (STATE_SAVE_MASK): Likewise.
14296 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14297 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14298 (STATE_SAVE_MASK): Likewise.
14299 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14300 instead of <cpu-features.h>.
14301
bf418187
DD
143022018-08-03 DJ Delorie <dj@redhat.com>
14303
14304 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 14305 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 14306
bb17621a
DD
14307 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14308
ea705eb5
JM
143092018-08-03 Joseph Myers <joseph@codesourcery.com>
14310
14311 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14312 after TEST_* calls.
14313 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14314 * math/libm-test-logb.inc (logb_test_data): Likewise.
14315
284f42bc
WD
143162018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14317
14318 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14319 * string/strstr.c (AVAILABLE): Likewise.
14320
430388d5
L
143212018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14322
14323 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14324 <init-arch.h>.
14325 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14326 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14327 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14328
c5760aa9
CD
143292018-08-03 Carlos O'Donell <carlos@redhat.com>
14330
14331 * po/be.po: Update translation.
14332
6b535b84
CD
14333 * po/be.po: Update translation.
14334
ae67f2e5
L
143352018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 * sysdeps/x86/cpu-features-offsets.sym
14338 (rtld_global_ro_offsetof): Removed.
14339 (CPU_FEATURES_SIZE): Likewise.
14340 (CPUID_OFFSET): Likewise.
14341 (CPUID_SIZE): Likewise.
14342 (CPUID_EAX_OFFSET): Likewise.
14343 (CPUID_EBX_OFFSET): Likewise.
14344 (CPUID_ECX_OFFSET): Likewise.
14345 (CPUID_EDX_OFFSET): Likewise.
14346 (FAMILY_OFFSET): Likewise.
14347 (MODEL_OFFSET): Likewise.
14348 (FEATURE_OFFSET): Likewise.
14349 (FEATURE_SIZ): Likewise.
14350 (COMMON_CPUID_INDEX_1): Likewise.
14351 (COMMON_CPUID_INDEX_7): Likewise.
14352 (FEATURE_INDEX_1): Likewise.
14353 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14354
6b5c8607 143552018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
14356
14357 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14358 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14359 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14360 (install-locales): Depend on install-locale-archive.
14361 (install-locale-archive): Define.
7b7adbd8 14362 (install-locale-files): Define.
08a5ee14
CD
14363 (build-one-locale): Define macro.
14364 * manual/install.texi (Running make install): Document.
14365 * manual/INSTALL: Regenerate.
14366
525691bd
SP
143672018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14368
d67d634b
SP
14369 * benchtests/scripts/compare_strings.py: Import traceback.
14370 (parse_file): Pretty-print error.
14371
525691bd
SP
14372 * NEWS: Mention the change.
14373 * elf/dl-tunables.list: Rename tune namespace to cpu.
14374 * sysdeps/powerpc/dl-tunables.list: Likewise.
14375 * sysdeps/x86/dl-tunables.list: Likewise.
14376 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14377 cpu.name.
14378 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14379 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14380 * manual/README.tunables: Likewise.
14381 * manual/tunables.texi: Likewise.
14382 * sysdeps/powerpc/cpu-features.c: Likewise.
14383 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14384 (init_cpu_features): Likewise.
14385 * sysdeps/x86/cpu-features.c: Likewise.
14386 * sysdeps/x86/cpu-features.h: Likewise.
14387 * sysdeps/x86/cpu-tunables.c: Likewise.
14388 * sysdeps/x86_64/Makefile: Likewise.
14389 * sysdeps/x86/dl-cet.c: Likewise.
14390
506d7fb1
JM
143912018-08-02 Joseph Myers <joseph@codesourcery.com>
14392
14393 [BZ #23479]
14394 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14395 [__mips_hard_float].
14396 (FE_UNDERFLOW): Likewise.
14397 (FE_OVERFLOW): Likewise.
14398 (FE_DIVBYZERO): Likewise.
14399 (FE_INVALID): Likewise.
14400 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14401 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14402 (FE_UPWARD): Likewise.
14403 (FE_DOWNWARD): Likewise.
14404 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14405 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14406 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14407 [__mips_hard_float].
14408 (FP_ROUNDMODE): Likewise.
14409 (FP_RND_NEAREST): Likewise.
14410 (FP_RND_ZERO): Likewise.
14411 (FP_RND_PINF): Likewise.
14412 (FP_RND_MINF): Likewise.
14413 (FP_EX_INVALID): Likewise.
14414 (FP_EX_OVERFLOW): Likewise.
14415 (FP_EX_UNDERFLOW): Likewise.
14416 (FP_EX_DIVZERO): Likewise.
14417 (FP_EX_INEXACT): Likewise.
14418 (FP_INIT_ROUNDMODE): Likewise.
14419 * sysdeps/mips/nofpu/fesetenv.c: New file.
14420 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14421
f6dcefbe
JM
144222018-08-01 Joseph Myers <joseph@codesourcery.com>
14423
14424 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14425 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14426 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14427 conditional on [FE_UPWARD].
14428
fa67ba06
PE
144292018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14430
14431 regex: fix memory leak in Gnulib
14432 Problem and fix reported by Assaf Gordon in:
14433 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14434 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14435 range_ends members too, as they are defined in 'struct
14436 re_charset_t' even if not _LIBC. This affects only Gnulib.
14437
82c80ac2
L
144382018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14439
14440 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14441 ...
14442 (get_common_indices): This.
14443 (init_cpu_features): Updated.
14444
c0e7e2c1
JM
144452018-08-01 Joseph Myers <joseph@codesourcery.com>
14446
46f8cf57
JM
14447 * sysdeps/generic/math-tests-snan-payload.h: New file.
14448 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14449 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14450 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14451 * sysdeps/generic/math-tests.h: Include
14452 <math-tests-snan-payload.h>.
14453 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14454 * sysdeps/hppa/math-tests.h: Remove file.
14455 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14456 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14457 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14458 Likewise.
14459
c0e7e2c1
JM
14460 * sysdeps/generic/math-tests-snan-cast.h: New file.
14461 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14462 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14463 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14464 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14465
e6855a3b 144662018-08-01 Carlos O'Donell <carlos@redhat.com>
74939c83 14467
b029723b
CD
14468 * version.h (RELEASE): Set to "development".
14469 (VERSION): Set to "2.28.9000".
14470 * NEWS (2.29): New section.
14471
3c03baca
CD
14472 * version.h (RELEASE): Set to "stable".
14473 (VERSION): Set to "2.28".
14474 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14475 * NEWS: Add the list of bugs fixed in 2.28.
14476
74939c83
CD
14477 * po/ca.po: Update to latest version.
14478 * po/cs.po: Likewise
14479 * po/da.po: Likewise
14480 * po/el.po: Likewise
14481 * po/eo.po: Likewise
14482 * po/es.po: Likewise
14483 * po/fi.po: Likewise
14484 * po/fr.po: Likewise
14485 * po/gl.po: Likewise
14486 * po/hu.po: Likewise
14487 * po/ia.po: Likewise
14488 * po/id.po: Likewise
14489 * po/it.po: Likewise
14490 * po/ja.po: Likewise
14491 * po/ko.po: Likewise
14492 * po/lt.po: Likewise
14493 * po/nb.po: Likewise
14494 * po/nl.po: Likewise
14495 * po/pt_BR.po: Likewise
14496 * po/ru.po: Likewise
14497 * po/rw.po: Likewise
14498 * po/sk.po: Likewise
14499 * po/sl.po: Likewise
14500 * po/tr.po: Likewise
14501 * po/zh_CN.po: Likewise
14502 * po/zh_TW.po: Likewise
14503
d4b54bdf
ST
145042018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14505
14506 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14507 initialization...
14508 (init): ... before initializing libpthread.
14509
42fc12ef
ST
14510 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14511 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14512 (__mach_setup_tls): ... new function.
14513 (mach_setup_tls): New alias.
14514 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14515 __mach_setup_thread.
14516 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14517 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14518 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14519 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14520
6cca855e
CD
145212018-07-31 Carlos O'Donell <carlos@redhat.com>
14522
f650932b
CD
14523 * manual/install.texi: Update versions.
14524 * INSTALL: Regenerate.
14525
6cca855e
CD
14526 * manual/contrib.texi (Contributors): Update contributions.
14527
07fdea47
CD
145282018-07-31 Carlos O'Donell <carlos@redhat.com>
14529
14530 * po/be.po: Update translations.
14531
63d5fad4
AZ
145322018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14533
14534 * sysdeps/sh/libm-test-ulps: Update.
14535
1ff712a6
CD
145362018-07-30 Carlos O'Donell <carlos@redhat.com>
14537
14538 * po/bg.po: Update translations.
14539 * po/de.po: Likewise.
14540 * po/hr.po: Likewise.
14541 * po/pt_BR.po: Likewise.
14542 * po/sv.po: Likewise.
14543 * po/vi.po: Likewise.
14544
98864ed0
L
145452018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14546
14547 [BZ #23467]
14548 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14549 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14550 (CFLAGS-tst-cet-property-1.o): New.
14551 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14552 ($(objpfx)tst-cet-property-2): Likewise.
14553 ($(objpfx)tst-cet-property-2.out): Likewise.
14554 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14555 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14556 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14557 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14558 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14559
c92a00d8
L
145602018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14561
14562 [BZ #23458]
14563 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14564
99bc6241
ST
145652018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14566
14567 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14568 __sbrk): Do not set attribute_hidden.
af86087f 14569 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
14570 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14571 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14572
bcb1c4af
CD
145732018-07-27 Carlos O'Donell <carlos@redhat.com>
14574
14575 * po/uk.po: Update translations.
14576 * po/cs.po: Likewise.
14577 * po/pl.po: Likewise.
14578
4591b7db
L
145792018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14580
14581 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14582 parse beyond the note end.
14583
2c6da2f4
AZ
145842018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14585
14586 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14587 kernel does not support OFD locks.
14588 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14589
20365a31
ST
145902018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14591
14592 * sysdeps/mach/hurd/Versions (libc): Make __access and
14593 __access_noerrno external so they can override the ld symbols.
14594 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14595 __writev, __open64, __access_noerrno extern so they can be overrided.
14596 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14597 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14598
cb1a43db
CD
145992018-07-26 Carlos O'Donell <carlos@redhat.com>
14600
14601 * po/libc.pot: Regenerate.
14602
74759ae5
JM
146032018-07-26 Joseph Myers <joseph@codesourcery.com>
14604
14605 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14606
da80612d
L
146072018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14608
14609 [BZ #23459]
14610 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14611 function.
14612 (init_cpu_features): Call get_extended_indices for both Intel
14613 and AMD CPUs.
14614 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14615 Remove "for AMD" comment.
14616
65d87ade
L
146172018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14618
14619 [BZ # 23456]
14620 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14621 COMMON_CPUID_INDEX_80000001.
14622
c9dc4d51
SL
146232018-07-26 Stefan Liebler <stli@linux.ibm.com>
14624
14625 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14626 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14627
cfba5dbb
FW
146282018-07-26 Florian Weimer <fweimer@redhat.com>
14629
14630 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14631 aliases for symbols not in the implementation namespace.
14632
6b5c8607 146332018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
14634
14635 [BZ #23393]
14636 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14637 lowercase in LATIN script.
14638 * localedata/Makefile (test-input): Add en_US.UTF-8.
14639 * localedata/en_US.UTF-8.in: New file.
14640 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14641 and restore old tests.
14642 * posix/tst-regexloc.c (do_test): Add back range expression test.
14643
3fb455b3
L
146442018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14645
14646 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14647
d6499b70
AZ
146482018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14649
14650 * nptl/threads.h: Move to ...
14651 * sysdeps/nptl/threads.h: ... here.
14652 * sysdeps/hurd/stdc-predef.h: New file.
14653
08ac6bed
L
146542018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14655
14656 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14657 tst-cet-setcontext-1 if CET is enabled.
14658 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14659 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14660
9faaf938
AZ
146612018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14662
14663 * include/threads.h: Move to ...
14664 * sysdeps/nptl/threads.h: ... here.
14665 * sysdeps/htl/threads.h: New file.
14666 * conform/Makefile (linknamespace-libs-ISO11): Use
14667 static-thread-library instead of linking libpthread.
14668 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14669
d6b8f847
FW
146702018-07-25 Florian Weimer <fweimer@redhat.com>
14671
14672 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14673 nanoseconds into seconds.
14674 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14675 (do_test): Likewise.
14676 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14677 (do_test): Likewise. Avoid nanosecond overflow and spurious
14678 timeouts due to system load.
14679 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14680 (child_wait): Increment it.
14681 (do_test): Wait as long as necessary until all expected threads
14682 have arrived.
14683
25123a1c
L
146842018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14685 H.J. Lu <hongjiu.lu@intel.com>
14686
14687 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14688 __ssp.
14689 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14690 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14691 (__push___start_context): New.
14692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14693 <asm/prctl.h>.
14694 (__getcontext): Record the current shadow stack base. Save the
14695 caller's shadow stack pointer and base.
14696 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14697 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14698 (__push___start_context): New prototype.
14699 (__makecontext): Call __push___start_context to allocate a new
14700 shadow stack, push __start_context onto the new stack as well
14701 as the new shadow stack.
14702 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14703 <asm/prctl.h>.
14704 (__setcontext): Restore the target shadow stack.
14705 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14706 <asm/prctl.h>.
14707 (__swapcontext): Record the current shadow stack base. Save
14708 the caller's shadow stack pointer and base. Restore the target
14709 shadow stack.
14710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14711 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14712 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14713
375a4844
L
147142018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14715
14716 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14717 tst-setcontext8 and tst-setcontext9.
14718 * stdlib/tst-setcontext6.c: New file.
14719 * stdlib/tst-setcontext7.c: Likewise.
14720 * stdlib/tst-setcontext8.c: Likewise.
14721 * stdlib/tst-setcontext9.c: Likewise.
14722
bd4f7903
L
147232018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14724
14725 * stdlib/Makefile ((tests): Add tst-setcontext5.
14726 * stdlib/tst-setcontext5.c: New file.
14727
7e28f203
L
147282018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14729
14730 * stdlib/Makefile (tests): Add tst-setcontext4.
14731 * stdlib/tst-setcontext4.c: New file.
14732
8516ad2d
L
147332018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14734
14735 * stdlib/Makefile (tests): Add tst-swapcontext1.
14736 * stdlib/tst-swapcontext1.c: New test.
14737
fddcd003
L
147382018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14739
14740 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14741 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14742 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14743 and tst-cet-legacy-4c.
14744 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14745 and tst-cet-legacy-mod-4.
14746 (CFLAGS-tst-cet-legacy-2.c): New.
14747 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14748 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14749 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14750 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14751 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14752 ($(objpfx)tst-cet-legacy-1): Likewise.
14753 ($(objpfx)tst-cet-legacy-2): Likewise.
14754 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14755 ($(objpfx)tst-cet-legacy-2a): Likewise.
14756 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14757 ($(objpfx)tst-cet-legacy-4): Likewise.
14758 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14759 ($(objpfx)tst-cet-legacy-4a): Likewise.
14760 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14761 (tst-cet-legacy-4a-ENV): Likewise.
14762 ($(objpfx)tst-cet-legacy-4b): Likewise.
14763 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14764 (tst-cet-legacy-4b-ENV): Likewise.
14765 ($(objpfx)tst-cet-legacy-4c): Likewise.
14766 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14767 (tst-cet-legacy-4c-ENV): Likewise.
14768 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14769 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14770 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14771 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14772 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14773 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14774 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14775 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14776 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14777 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14778 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14779
9aa3113a
L
147802018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14781
14782 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14783 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14784 with ssp_base.
14785 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14786 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14787 with ssp_base.
14788
9c79cec8
AS
147892018-07-25 Andreas Schwab <schwab@suse.de>
14790
14791 [BZ #23442]
14792 * locale/weightwc.h (findidx): Handle the case where usrc is a
14793 prefix of cp but one character too short.
14794
969c3355
AZ
147952018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14796
14797 * NEWS: Add ISO C threads addition.
14798
e0f9c462
FW
147992018-07-24 Florian Weimer <fweimer@redhat.com>
14800
14801 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14802 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14803 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14804 4.13.
14805
394df381
L
148062018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14807
14808 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14809 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14810 <sys/prctl.h> and <asm/prctl.h>.
14811 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14812 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14813 and <asm/prctl.h>.
14814 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14815 ARCH_CET_LEGACY_BITMAP.
14816 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14817 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14818 * sysdeps/x86/libc-start.c: Include <startup.h>.
14819
46545530
FW
148202018-07-24 Florian Weimer <fweimer@redhat.com>
14821
14822 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14823 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14824
6b5c8607 148252018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 14826 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
14827 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14828
14829 [BZ #14092]
9d0a979e
RJ
14830 * manual/debug.texi: Update adjacent chapter name.
14831 * manual/probes.texi: Likewise.
14832 * manual/threads.texi (ISO C Threads): New section.
14833 (POSIX Threads): Convert to a section.
14834
148352018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14836 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14837
14838 [BZ# 14092]
0a07288b
AZ
14839 * nptl/Makefile (tests): Add new test files.
14840 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14841 * nptl/tst-cnd-basic.c: Likewise.
14842 * nptl/tst-cnd-broadcast.c: Likewise.
14843 * nptl/tst-cnd-timedwait.c: Likewise.
14844 * nptl/tst-mtx-basic.c: Likewise.
14845 * nptl/tst-mtx-recursive.c: Likewise.
14846 * nptl/tst-mtx-timedlock.c: Likewise.
14847 * nptl/tst-mtx-trylock.c: Likewise.
14848 * nptl/tst-thrd-basic.c: Likewise.
14849 * nptl/tst-thrd-detach.c: Likewise.
14850 * nptl/tst-thrd-sleep.c: Likewise.
14851 * nptl/tst-tss-basic.c: Likewise.
14852
ce7528f6
AZ
148532018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14854
c6dd669b
AZ
14855 [BZ #14092]
14856 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14857 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14858 symbols.
14859 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14872 Likewise.
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14874 Likewise.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14876 Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14887 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14888 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14889 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14890 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14891 Likewise.
14892 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14904 ikewise.
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14907 Likewise.
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14909 Likewise.
14910 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14918
78d40132
AZ
14919 [BZ #14092]
14920 * conform/data/threads.h-data (thread_local): New macro.
14921 (TSS_DTOR_ITERATIONS): Likewise.
14922 (tss_t): New type.
14923 (tss_dtor_t): Likewise.
14924 (tss_create): New function.
14925 (tss_get): Likewise.
14926 (tss_set): Likewise.
14927 (tss_delete): Likewise.
14928 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14929 tss_get, and tss_set objects.
14930 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14931 * nptl/tss_create.c: New file.
14932 * nptl/tss_delete.c: Likewise.
14933 * nptl/tss_get.c: Likewise.
14934 * nptl/tss_set.c: Likewise.
14935 * sysdeps/nptl/threads.h (thread_local): New define.
14936 (TSS_DTOR_ITERATIONS): Likewise.
14937 (tss_t): New typedef.
14938 (tss_dtor_t): Likewise.
14939 (tss_create): New prototype.
14940 (tss_get): Likewise.
14941 (tss_set): Likewise.
14942 (tss_delete): Likewise.
14943
918311a3
AZ
14944 [BZ #14092]
14945 * conform/data/threads.h-data (cnd_t): New type.
14946 (cnd_init): New function.
14947 (cnd_signal): Likewise.
14948 (cnd_broadcast): Likewise.
14949 (cnd_wait): Likewise.
14950 (cnd_timedwait): Likewise.
14951 (cnd_destroy): Likewise.
14952 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14953 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14954 object.
14955 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14956 * nptl/cnd_broadcast.c: New file.
14957 * nptl/cnd_destroy.c: Likewise.
14958 * nptl/cnd_init.c: Likewise.
14959 * nptl/cnd_signal.c: Likewise.
14960 * nptl/cnd_timedwait.c: Likewise.
14961 * nptl/cnd_wait.c: Likewise.
14962 * sysdeps/nptl/threads.h (cnd_t): New type.
14963 (cnd_init): New prototype.
14964 (cnd_signa): Likewise.
14965 (cnd_broadcast): Likewise.
14966 (cnd_wait): Likewise.
14967 (cnd_timedwait): Likewise.
14968 (cnd_destroy): Likewise.
14969
3c20a679
AZ
14970 [BZ #14092]
14971 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14972 (once_flag): New type.
14973 (call_once): New function.
14974 * nptl/Makefile (libpthread-routines): Add call_once object.
14975 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14976 * nptl/call_once.c: New file.
14977 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14978 (once_flag): New type.
14979 (call_once): New prototype.
14980
18d59c1b
AZ
14981 [BZ #14092]
14982 * conform/data/threads.h-data (mtx_plain): New constant.
14983 (mtx_recursive): Likewise.
14984 (mtx_timed): Likewise.
14985 (mtx_t): New type.
14986 (mtx_init): New function.
14987 (mtx_lock): Likewise.
14988 (mtx_timedlock): Likewise.
14989 (mtx_trylock): Likewise.
14990 (mtx_unlock): Likewise.
14991 (mtx_destroy): Likewise.
14992 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14993 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14994 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14995 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14996 * nptl/mtx_destroy.c: New file.
14997 * nptl/mtx_init.c: Likewise.
14998 * nptl/mtx_lock.c: Likewise.
14999 * nptl/mtx_timedlock.c: Likewise.
15000 * nptl/mtx_trylock.c: Likewise.
15001 * nptl/mtx_unlock.c: Likewise.
15002 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
15003 (mtx_recursive): Likewise.
15004 (mtx_timed): Likewise.
15005 (mtx_t): New type.
15006 (mtx_init): New prototype.
15007 (mtx_lock): Likewise.
15008 (mtx_timedlock): Likewise.
15009 (mtx_trylock): Likewise.
15010 (mtx_unlock): Likewise.
15011 (mtx_destroy): Likewise.
15012
ce7528f6
AZ
15013 [BZ #14092]
15014 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
15015 (linknamespace-libs-ISO11): Add libpthread.a.
15016 * conform/data/threads.h-data: New file: add C11 thrd_* types and
15017 functions.
15018 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
15019 * nptl/Makefile (headers): Add threads.h.
15020 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
15021 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
15022 thrd_yield.
15023 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
15024 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
15025 thrd_join, thrd_sleep, and thrd_yield symbols.
15026 * nptl/descr.h (struct pthread): Add c11 field.
15027 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
15028 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
15029 routine with expected function prototype.
15030 (__pthread_create_2_1): Add C11 threads check based on attribute
15031 value.
15032 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
15033 * nptl/thrd_create.c: New file.
15034 * nptl/thrd_current.c: Likewise.
15035 * nptl/thrd_detach.c: Likewise.
15036 * nptl/thrd_equal.c: Likewise.
15037 * nptl/thrd_exit.c: Likewise.
15038 * nptl/thrd_join.c: Likewise.
15039 * nptl/thrd_priv.h: Likewise.
15040 * nptl/thrd_sleep.c: Likewise.
15041 * nptl/thrd_yield.c: Likewise.
15042 * include/threads.h: Likewise.
15043
e27f41ba
L
150442018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15045
15046 * bits/indirect-return.h: New file.
15047 * misc/sys/cdefs.h (__glibc_has_attribute): New.
15048 * sysdeps/x86/bits/indirect-return.h: Likewise.
15049 * stdlib/Makefile (headers): Add bits/indirect-return.h.
15050 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
15051 (swapcontext): Add __INDIRECT_RETURN.
15052 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
15053 (prepare_test_buffer): Use it.
15054
21526a50
AS
150552018-07-24 Andreas Schwab <schwab@suse.de>
15056
15057 [BZ #23448]
15058 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
15059 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
15060
3650e1d9
L
150612018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15062
15063 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
15064 Redefine if shadow stack is enabled.
15065 (SYSCALL_ERROR_LABEL): Likewise.
15066 (__vfork): Pop shadow stack and jump back to to caller directly
15067 when shadow stack is in use.
15068 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
15069 Redefine if shadow stack is enabled.
15070 (SYSCALL_ERROR_LABEL): Likewise.
15071 (__vfork): Pop shadow stack and jump back to to caller directly
15072 when shadow stack is in use.
15073
ca027e0f
L
150742018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15075
15076 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
15077 enabled.
15078 (foo): Likewise.
15079 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
15080 (foo): Likewise.
15081
b99f1c95
JM
150822018-07-20 Joseph Myers <joseph@codesourcery.com>
15083
15084 * scripts/build-many-glibcs.py (Context.checkout): Default
15085 binutils version to 2.31 branch.
15086
c8fabb84
ZL
150872018-07-20 Zong Li <zong@andestech.com>
15088
15089 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15090 URL of gcc's tarball.
15091
786658a0
FW
150922018-07-20 Florian Weimer <fweimer@redhat.com>
15093
15094 [BZ #23396]
15095 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15096 not compare an extra byte after the end of the weights.
15097
46f2474e
ST
150982018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15099
15100 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15101 to 1.
8ba1520e
ST
15102 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15103 hidden prototypes.
15104 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15105 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
15106 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15107 list of libraries whose stack executability is expected.
15108 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15109 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15110 variable.
15111 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15112 libc.so libpthread.so.
46f2474e 15113
60088242
TS
151142018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15115
15116 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15117 SOCK_NONBLOCK.
75d5e4a0
TS
15118 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15119 and SOCK_NONBLOCK.
de195be0
TS
15120 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15121 implement __pipe2.
15122 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 15123
1cf4ae7f
LS
151242018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15125
15126 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15127 library to improve command line parsing.
15128 (__main__): make schema file as optional parameter (--schema),
15129 defaulting to benchtests/scripts/benchout.schema.json.
15130 (main): move out of the parsing stuff to __main_  and leave it
15131 only as caller of main comparison functions.
15132
e84bd851
L
151332018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15134
15135 * NEWS: Add a note for Intel CET status.
15136 * manual/install.texi: Likewise.
15137 * INSTALL: Regenerated.
15138
df467d22
QP
151392018-07-18 Quentin PAGÈS <provaires@quentino.fr>
15140
15141 [BZ #23140]
15142 * localedata/locales/oc_FR (mon): Rename to...
15143 (alt_mon): This, then update October (typo fix).
15144 (mon): New content (genitive case, month names preceded by
15145 "de" or "d’").
15146
15147 [BZ #23422]
15148 * localedata/locales/oc_FR (abday): Update all items.
15149 (day): Update Wednesday and Saturday (typo fixes).
15150 (abmon): Update all items, except May.
15151 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15152 (LC_IDENTIFICATION): Bump the revision number and date.
15153 Keep the "category" entries in alphabetic order.
15154 (LC_ADDRESS): Remove no longer needed comment.
15155 (LC_COLLATE): Use “copy "ca_ES"”.
15156 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15157 "name_mrs".
15158
5c112f1b
JM
151592018-07-18 Joseph Myers <joseph@codesourcery.com>
15160
15161 * grp/tst_fgetgrent.c: Include <unistd.h>.
15162 (main): Use mkstemp instead of tmpnam.
15163 * io/test-utime.c (main): Likewise.
15164 * posix/annexc.c (macrofile): Change to modifiable array.
15165 (main): Remove macrofile here.
15166 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15167 macrofile here.
15168 (check_header): Do not remove macrofile here.
15169 * posix/bug-getopt1.c: Include <stdlib.h>.
15170 (do_test): Use mkstemp instead of tmpnam.
15171 * posix/bug-getopt2.c: Include <stdlib.h>.
15172 (do_test): Use mkstemp instead of tmpnam.
15173 * posix/bug-getopt3.c: Include <stdlib.h>.
15174 (do_test): Use mkstemp instead of tmpnam.
15175 * posix/bug-getopt4.c: Include <stdlib.h>.
15176 (do_test): Use mkstemp instead of tmpnam.
15177 * posix/bug-getopt5.c: Include <stdlib.h>.
15178 (do_test): Use mkstemp instead of tmpnam.
15179 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15180 (main): Use mkstemp instead of tmpnam.
15181 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15182 (main): Use mkstemp instead of tmpnam.
15183 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15184 (main): use mkstemp instead of tmpnam.
15185 * stdlib/isomac.c (macrofile): Change to modifiable array.
15186 (main): Remove macrofile here.
15187 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15188 macrofile here.
15189 (check_header): Do not remove macrofile here.
15190
6d90776d
L
151912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15192
15193 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15194 glibc.tune.x86_shstk.
15195
e6c69509
L
151962018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15197
15198 * NEWS: Mention --enable-cet.
15199 * manual/install.texi: Document --enable-cet.
15200 * INSTALL: Regenerated.
15201
e2d40a88
L
152022018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15203
15204 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15205 Add _CET_NOTRACK before indirect jump to jump table.
15206
77a8ae09
L
152072018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15208
15209 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15210 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15211 to jump table.
15212
90d15dc5
L
152132018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15214
15215 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15216 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15217 to jump table.
15218
f1574581
L
152192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15220
15221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15222 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15223 to jump table.
15224
7fb61336
L
152252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15226
15227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15228 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15229 to jump table.
15230
0a899af0
L
152312018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15232
15233 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15234 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15235 to jump table.
15236 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15237
177824e2
L
152382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15239
15240 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15241 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15242 to jump table.
15243
00e7b76a
L
152442018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15245
15246 * sysdeps/i386/i686/multiarch/memset-sse2.S
15247 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15248 to jump table.
15249
7e119cd5
L
152502018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15251
15252 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15253 indirect jump to jump table.
15254
03aaf49b
L
152552018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15256
15257 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15258 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15259 to jump table.
15260 (MEMCPY): Likewise.
15261
811e9e52
L
152622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15263
15264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15265 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15266 to jump table.
15267 (MEMCPY): Likewise.
15268
8817df42
L
152692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15270
15271 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15272 _CET_NOTRACK before indirect jump to jump table.
15273
921595d1
L
152742018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15277 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15278 to jump table.
15279
4ef60d95
L
152802018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15281
15282 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15283 indirect jump to jump table.
15284
61c4aad7
VT
152852018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15286
15287 [BZ #22241]
15288 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15289 (LOCALES): Likewise.
15290 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15291 * localedata/locales/sah_RU: New file.
15292 * localedata/sah_RU.UTF-8.in: New file.
15293
be9ccd27
L
152942018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15295
15296 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15297 "sysdep.h".
15298 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15299 _CET_ENDBR to indirect jump targets and adjust jump destination
15300 for _CET_ENDBR.
15301 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15302 "sysdep.h".
15303 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15304 _CET_ENDBR to indirect jump targets and adjust jump destination
15305 for _CET_ENDBR.
15306 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15307 "sysdep.h".
15308 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15309 _CET_ENDBR to indirect jump targets and adjust jump destination
15310 for _CET_ENDBR.
15311
5efc6777
L
153122018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15313
15314 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15315 _CET_ENDBR.
15316
562837c0
L
153172018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15320 _CET_ENDBR.
15321 (_dl_tlsdesc_undefweak): Likewise.
15322 (_dl_tlsdesc_dynamic): Likewise.
15323 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15324 (_dl_tlsdesc_resolve_rel): Likewise.
15325 (_dl_tlsdesc_resolve_rela): Likewise.
15326 (_dl_tlsdesc_resolve_hold): Likewise.
15327 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15328 (_dl_tlsdesc_undefweak): Likewise.
15329 (_dl_tlsdesc_dynamic): Likewise.
15330 (_dl_tlsdesc_resolve_rela): Likewise.
15331 (_dl_tlsdesc_resolve_hold): Likewise.
15332
124bcde6
L
153332018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15334
15335 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15336 (_fini): Likewise.
15337 * sysdeps/x86_64/crti.S (_init): Likewise.
15338 (_fini): Likewise.
15339
ab74d59f 153402018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9145f033
RL
15341
15342 [BZ #23140]
15343 * localedata/locales/os_RU (mon): Rename to...
15344 (alt_mon): This.
15345 (mon): Import from CLDR (genitive case).
15346
ba2ea23d
L
153472018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15348
15349 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15350 cet-tunables.h> when CET is enabled.
15351
f753fa7d
L
153522018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15353
6b5c8607 15354 [BZ #21598]
f753fa7d
L
15355 * configure.ac: Add --enable-cet.
15356 * configure: Regenerated.
15357 * elf/Makefille (all-built-dso): Add a comment.
15358 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15359 Include <dl-prop.h>.
15360 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15361 segment.
15362 * elf/dl-open.c: Include <dl-prop.h>.
15363 (dl_open_worker): Call _dl_open_check.
15364 * elf/rtld.c: Include <dl-prop.h>.
15365 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15366 _rtld_main_check.
15367 * sysdeps/generic/dl-prop.h: New file.
15368 * sysdeps/i386/dl-cet.c: Likewise.
15369 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15370 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15371 * sysdeps/x86/cet-tunables.h: Likewise.
15372 * sysdeps/x86/check-cet.awk: Likewise.
15373 * sysdeps/x86/configure: Likewise.
15374 * sysdeps/x86/configure.ac: Likewise.
15375 * sysdeps/x86/dl-cet.c: Likewise.
15376 * sysdeps/x86/dl-procruntime.c: Likewise.
15377 * sysdeps/x86/dl-prop.h: Likewise.
15378 * sysdeps/x86/libc-start.h: Likewise.
15379 * sysdeps/x86/link_map.h: Likewise.
15380 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15381 _CET_ENDBR.
15382 (_dl_runtime_profile): Likewise.
15383 (_dl_runtime_resolve_shstk): New.
15384 (_dl_runtime_profile_shstk): Likewise.
15385 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15386 if CET is enabled.
15387 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15388 (CFLAGS-.os): Likewise.
15389 (CFLAGS-.op): Likewise.
15390 (CFLAGS-.oS): Likewise.
15391 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15392 is enabled.
15393 (tests-special): Add $(objpfx)check-cet.out.
15394 (cet-built-dso): New.
15395 (+$(cet-built-dso:=.note)): Likewise.
15396 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15397 ($(objpfx)check-cet.out): New.
15398 (generated): Add check-cet.out.
15399 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15400 <cet-tunables.h>.
15401 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15402 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15403 (init_cpu_features): Call get_cet_status to check CET status
15404 and update dl_x86_feature_1 with CET status. Call
15405 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15406 (set_x86_shstk). Disable and lock CET in libc.a.
15407 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15408 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15409 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15410 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15411 (_CET_ENDBR): Define if not defined.
15412 (ENTRY): Add _CET_ENDBR.
15413 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15414 x86_shstk.
15415 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15416 _CET_ENDBR.
15417 (_dl_runtime_profile): Likewise.
15418
52b2a80f
RA
154192018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15420
15421 [BZ #21895]
15422 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15423 restore r2 on longjmp.
15424 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15425 test list.
15426 Added rules to build test tst-setjmp-bug21895-static.
15427 Added module setjmp-bug21895 and rules to build a shared object from it.
15428 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15429 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15430
3ae725df
WD
154312018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15432
15433 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15434 * benchtests/bench-strstr.c: Likewise.
15435 * string/memmem.c (FASTSEARCH): Define.
15436 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15437 Add support for FASTSEARCH.
15438 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15439 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15440 (FASTSEARCH): Define.
15441 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15442 * string/test-strstr.c: Likewise.
15443
31e422ca
L
154442018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15445
15446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15447 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15448
faaee1f0
L
154492018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15450 H.J. Lu <hongjiu.lu@intel.com>
15451
15452 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15453 (__longjmp): Restore shadow stack pointer if shadow stack is
15454 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15455 isn't defined for __longjmp_cancel.
15456 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15457 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15458 and SHADOW_STACK_POINTER_OFFSET is defined.
15459 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15460 (setjmp): Save shadow stack pointer if shadow stack is enabled
15461 and SHADOW_STACK_POINTER_OFFSET is defined.
15462 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15463 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15464 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15465 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15466 <jmp_buf-ssp.h>.
15467 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15468 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15469 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15470 Remove jmp_buf-ssp.sym.
15471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15472 <jmp_buf-ssp.h>.
15473 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15474 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15475 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15476 jmp_buf-ssp.sym.
15477 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15478 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15479 (__longjmp): Restore shadow stack pointer if shadow stack is
15480 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15481 isn't defined for __longjmp_cancel.
15482 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15483 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15484 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15485
ebff9c5c
L
154862018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15487
15488 [BZ #22563]
15489 * nptl/pthread_create.c: Include <tls-setup.h>.
15490 (__pthread_create_2_1): Call tls_setup_tcbhead.
15491 * sysdeps/generic/tls-setup.h: New file.
15492 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15493 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15494 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15495 Likewise.
15496 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15497 to feature_1.
15498 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15499 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15500 (X86_FEATURE_1_SHSTK): Likewise.
15501 (CET_ENABLED): Likewise.
15502 (IBT_ENABLED): Likewise.
15503 (SHSTK_ENABLED): Likewise.
15504
ab74d59f 155052018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
0a83bad2
RL
15506
15507 [BZ #23208]
15508 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15509 (LOCALES): Likewise.
15510 * localedata/dsb_DE.UTF-8.in: New file.
15511 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15512
046bfed9
FW
155132018-07-12 Florian Weimer <fweimer@redhat.com>
15514
15515 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15516 __mprotect, not mprotect.
15517
93304f5f
FW
155182018-07-11 Florian Weimer <fweimer@redhat.com>
15519
15520 * io/Makefile (headers): Add bits/statx.h.
15521
4beefeeb
MF
155222018-07-10 Mike FABIAN <mfabian@redhat.com>
15523
15524 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15525 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15526 and headers.
15527 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15528 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15529 for utf8_gen.py
15530
fd70af45
FW
155312018-07-10 Florian Weimer <fweimer@redhat.com>
15532
15533 * io/Makefile (routines): Add statx.
15534 (tests-internal): Add tst-statx.
15535 * io/Versions (GLIBC_2.28): Export statx.
15536 * io/bits/statx.h: New file.
15537 * io/sys/stat.h [__USE_GNU]: Include it.
15538 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15539 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15540 Define.
15541 * io/statx.c: New file.
15542 * io/statx_generic.: Likewise.
15543 * io/tst-statx.: Likewise.
15544 * include/bits/statx.h: Likewise.
15545 * sysdeps/unix/sysv/linux/kernel-features.h
15546 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15547 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15548 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15549 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15550 Undefine.
15551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15552 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15553 * sysdeps/unix/sysv/linux/statx.c: New file.
15554 * manual/filesys.texi: Note that statx is undocumented.
15555 * sysdeps/**/libc*.abilist: Update.
15556
b444e8f7
AZ
155572018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15558
15559 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15560 a kernel issue which lead to test failure in some cases.
15561
7b2f4ced
FW
155622018-07-10 Florian Weimer <fweimer@redhat.com>
15563
15564 [BZ #23036]
15565 * posix/regexec.c (check_node_accept_bytes): When comparing
15566 weights, do not compare an extra byte after the end of the
15567 weights.
15568
4fa34da6
FW
155692018-07-10 Florian Weimer <fweimer@redhat.com>
15570
15571 * libio/readline.c: Fix copyright year.
15572 * libio/tst-readline.c Likewise.
15573 * nss/tst-nss-files-hosts-getent.c: Likewise.
15574
916124ed
FW
155752018-07-06 Florian Weimer <fweimer@redhat.com>
15576
15577 [BZ #18991]
15578 * nss/nss_files/files-XXX.c (internal_getent): Use
15579 __libc_readline_unlocked. Seek back to the start of the line if
15580 parsing failes with ERANGE.
15581 (get_contents_ret, get_contents): Remove.
15582 * nss/tst-nss-files-hosts-getent.c: New file.
15583 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15584 (tst-nss-files-hosts-getent): Link with -ldl.
15585
3f5e3f5d
FW
155862018-07-06 Florian Weimer <fweimer@redhat.com>
15587
15588 * include/stdio.h (__libc_readline_unlocked): Declare.
15589 (__ftello64, __fseeko64): Declare aliases.
15590 * libio/readline.c: New file.
15591 * libio/tst-readline.c: Likewise.
15592 (routines): Add readline.
15593 (tests-internal): Add tst-readlime.
15594 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15595 __libc_readline_unlocked.
15596 * libio/fseeko.c (__fseeko): Rename from fseeko.
15597 (fseeko): Add alias.
15598 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15599 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15600 (fseeko64): Add alias.
15601 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15602 * libio/ftello64.c (__ftello64): Rename from ftello64.
15603 (ftello64): Add alias.
15604
397c54c1
SN
156052018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15606
15607 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15608 HWCAP_ATOMICS.
15609
d0cd7980
SN
156102018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15611
15612 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15613 Use dl_hwcap without masking.
15614 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15615 Remove HWCAP_CPUID.
15616
ddb3c626
FW
156172018-07-06 Florian Weimer <fweimer@redhat.com>
15618
15619 * conform/conformtest.pl (checknamespace): Escape literal braces
15620 in regular expressions.
15621
bce5911b
AP
156222018-07-06 Amit Pawar <amit.pawar@amd.com>
15623
15624 * sysdeps/x86/cpu-features.c (get_common_indeces):
15625 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15626 * sysdeps/x86/cpu-features.c (init_cpu_features):
15627 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15628
3a885c1f
FW
156292018-07-05 Florian Weimer <fweimer@redhat.com>
15630
15631 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15632 protector.
15633 (CFLAGS-elf-init.oS): Likewise.
15634
38cade0c
FW
156352018-07-05 Florian Weimer <fweimer@redhat.com>
15636 Carlos O'Donell <carlos@redhat.com>
15637
15638 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15639 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15640 with stack protector enabled because there is no risk of infinite
15641 recursion.
15642
9449a295
MR
156432018-07-05 Maciej W. Rozycki <macro@mips.com>
15644
15645 [BZ #19818]
15646 [BZ #23307]
15647 * libc-abis (ABSOLUTE): New ABI.
15648 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15649 * NEWS: Mention the new ABI.
15650
d6da5cb6
FW
156512018-07-05 Florian Weimer <fweimer@redhat.com>
15652
15653 [BZ # 17662]
15654 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15655 (RENAME_WHITEOUT): Define.
15656 [__USE_GNU] (renameat2): Declare.
15657 * stdio-common/Makefile (routines): Add renameat2.
15658 (tests): Add tst-renameat2.
15659 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15660 * stdio-common/renameat2.c: New file.
15661 * stdio-common/tst-renameat2.c: Likewise.
15662 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15663 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15664 undocumented.
15665 * sysdeps/unix/sysv/linux/kernel-features.h
15666 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15667 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15668 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15670 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15671 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15672 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15673 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15674 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15675 * include/stdio.h (__renameat): Add alias for renameat.
15676 * stdio-common/renameat.c (__renameat): Rename from renameat.
15677 Add hidden definition and alias.
15678 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15679 * sysdeps/mach/hurd/renameat.c: Likewise.
15680 * sysdeps/**/libc*.abilist: Add renameat2.
15681
1002d708
AZ
156822018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15683
15684 * posix/bug-regex33.c: Fix build after regex sync.
15685
34fdb893
CD
156862018-07-04 Carlos O'Donell <carlos@redhat.com>
15687
15688 [BZ #23164]
15689 * localedata/tst-langinfo-setlocale.c: New file.
15690 * localedata/tst-langinfo-setlocale-static.c: New file.
15691 * localedata/tst-langinfo-newlocale.c: New file.
15692 * localedata/tst-langinfo-newlocale-static.c: New file.
15693 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15694 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15695 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15696 (tests-static): Remove tst-langinfo-static. Add
15697 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15698 (tests-special): Remove $(objpfx)tst-langinfo.out,
15699 $(objpfx)tst-langinfo-static.out. Add
15700 $(objpfx)tst-langinfo-setlocale.out,
15701 $(objpfx)tst-langinfo-newlocale.out,
15702 $(objpfx)tst-langinfo-setlocale-static.out,
15703 $(objpfx)tst-langinfo-newlocale-static.out.
15704 ($(objpfx)tst-langinfo.out): Remove.
15705 ($(objpfx)tst-langinfo-static.out): Remove.
15706 ($(objpfx)tst-langinfo-newlocale.out): New target.
15707 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15708 (test-xfail-tst-langinfo-newlocale-static): Add.
15709 ($(objpfx)tst-langinfo-setlocale.out): New target.
15710 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15711 * localedata/tst-langinfo.c: Call test_locale.
15712 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15713 data.
15714
f2873d2d
FW
157152018-07-04 Florian Weimer <fweimer@redhat.com>
15716
15717 testrun.sh: Implement --tool=strace, --tool=valgrind
15718 * Makefile (testrun-script): Define variable.
15719 (testrun.sh): Use variable.
15720 * manual/install.texi (Tools for Compilation): make 4.0 or later
15721 is required.
15722 * configure.ac: Check for make 4.0 or later.
15723 * INSTALL: Regenerate.
15724 * configure: Likewise.
15725
eb04c213
AZ
157262018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15727
15728 [BZ #23233]
15729 [BZ #21163]
15730 [BZ #18986]
15731 [BZ #13762]
15732 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15733 * posix/PCRE.tests: Remove invalid test.
15734 * posix/bug-regex28.c: Fix expected values for used syntax.
15735 * posix/bug-regex37.c: New file.
15736 * posix/bug-regex38.c: Likewise.
15737 * posix/regcomp.c: Sync with gnulib.
15738 * posix/regex.c: Likewise.
15739 * posix/regex.h: Likewise.
15740 * posix/regex_internal.c: Likewise.
15741 * posix/regex_internal.h: Likewise.
15742 * posix/regexec.c: Likewise.
15743
b11643c2
MF
157442018-06-26 Mike FABIAN <mfabian@redhat.com>
15745
15746 [BZ #23308]
15747 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15748 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15749 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15750 * localedata/unicode-gen/PropList.txt: likewise.
15751 * localedata/unicode-gen/UnicodeData.txt: likewise.
15752 * localedata/charmaps/UTF-8: Regenerate.
15753 * localedata/locales/i18n_ctype: likewise.
15754 * localedata/locales/tr_TR: likewise.
15755 * localedata/locales/translit_circle: likewise.
15756 * localedata/locales/translit_cjk_compat: likewise.
15757 * localedata/locales/translit_combining: likewise.
15758 * localedata/locales/translit_compat: likewise.
15759 * localedata/locales/translit_font: likewise.
15760 * localedata/locales/translit_fraction: likewise.
15761
5a357506
FW
157622018-07-03 Florian Weimer <fweimer@redhat.com>
15763
15764 [BZ #23363]
15765 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15766 * stdio-common/tst-printf.sh: Adjust expected output.
15767 * LICENSES: Update.
15768
7279af00
AZ
157692018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15770
15771 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15772 symbol.
15773
b7b88cea
GG
157742018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15775
15776 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15777 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15778 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15779 * stdio-common/tst-printfsz-islongdouble.c: New file.
15780 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15781 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15782 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15783 [subdir == stdio-common] (tests-internal): Add
15784 test-printf-size-ieee128, and test-printf-size-ibm128.
15785 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15786 (CFLAGS-test-printf-size-ibm128.c): New variables.
15787 [subdir == stdio-common] (tests-special): Add
15788 $(objpfx)test-printf-size-ieee128.out and
15789 $(objpfx)test-printf-size-ibm128.out.
15790 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15791 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15792 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15793 __printf_sizeieee128.
15794 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15795 New file.
15796 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15797 Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15799 Likewise.
15800
2b445206
SN
158012018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15802
15803 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15804 (exp2f_inline): Likewise.
15805 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15806 (__math_uflowf): Likewise.
15807 (__math_may_uflowf): Likewise.
15808 (__math_divzerof): Likewise.
15809 (__math_invalidf): Likewise.
15810 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15811 (__math_oflowf): Likewise.
15812 (__math_uflowf): Likewise.
15813 (__math_may_uflowf): Likewise.
15814 (__math_divzerof): Likewise.
15815 (__math_invalidf): Likewise.
15816
2827ab99
CD
158172018-06-29 DJ Delorie <dj@redhat.com>
15818 Carlos O'Donell <carlos@redhat.com>
15819
15820 [BZ #23329]
15821 * include/libc-symbols.h: Comment the freeres framework.
15822 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15823 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15824 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15825 * dlfcn/dlerror.c: Include libc-symbols.h
15826 (__dlerror_main_freeres): New function.
15827 * dlfcn/dlfreeres.c: New file.
15828 * dlfcn/sdlfreeres.c: New file.
15829 * include/dlfcn.h: Declare __dlerror_main_freeres.
15830 * malloc/set-freeres.c: Declare __libdl_freeres, and
15831 __libpthread_freeres.
15832 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15833 the releavant libraries are loaded.
15834 * malloc/thread-freeres.c: Add comments.
15835 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15836 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15837 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15838 (__free_stacks): Rename to...
15839 (free_stacks): ...this. Mark static.
15840 (queue_stack): Call free_stacks.
15841 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15842 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15843 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15844 ptr_freeres element from struct.
15845 (pthread_functions): Remove .ptr_freeres from struct initializer.
15846 [SHARED] (nptl_freeres): Remove.
15847 * nptl/nptlfreeres.c: New file.
15848 * nptl/pthreadP.h
15849 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15850 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15851 attribute_hidden.
15852 (__free_stacks): Rename to...
15853 (__nptl_stacks_freeres): ...this.
15854 (__shm_directory_freeres): Declare.
15855 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15856 (__nptl_unwind_freeres): ...this.
15857 * resolv/res-close.c: Add comment.
15858 * resolv/resolv_conf.c: Include libc-symbols.h.
15859 * string/strerror_l.c: Include libc-symbols.h.
15860 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15861 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15862 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15863 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15864
37d3d244
RS
158652018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15866
15867 * stdlib/tst-strfmon_l.c: Add tests for long double.
15868
a1e0c5fa
MW
158692018-06-29 Michael Wolf <milupo@sorbzilla.de>
15870
15871 [BZ #23208]
15872 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15873 * localedata/locales/dsb_DE: New file.
15874
ab74d59f 158752018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
2e0c5de6
RL
15876
15877 [BZ #23140]
15878 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15879 genitive case).
15880 (alt_mon): New entry, import from CLDR (nominative case).
15881
cdb52c71
SL
158822018-06-29 Sylvain Lesage <severo@rednegra.net>
15883
15884 [BZ #22996]
15885 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15886
ce76a5cb
SP
158872018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15888
0aec4c1d
SP
15889 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15890 Use vector registers.
15891
ce76a5cb
SP
15892 * sysdeps/aarch64/multiarch/memmove_falkor.S
15893 (__memcpy_falkor): Use vector registers.
15894
7e8989d0
MS
158952018-06-29 Martin Sebor <msebor@redhat.com>
15896
15897 * manual/stdio.texi (Customizing Printf): Mention interaction
15898 with GCC built-ins.
15899
bac15a72
MR
159002018-06-29 Maciej W. Rozycki <macro@mips.com>
15901
15902 [BZ #23307]
15903 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15904 `st_value' is 0 if `st_shndx' is SHN_ABS.
15905 * elf/tst-absolute-zero.c: New file.
15906 * elf/tst-absolute-zero-lib.c: New file.
15907 * elf/tst-absolute-zero-lib.lds: New file.
15908 * elf/Makefile (tests): Add `tst-absolute-zero'.
15909 (modules-names): Add `tst-absolute-zero-lib'.
15910 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15911 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15912 ($(objpfx)tst-absolute-zero: New dependency.
15913
e69d994a
ZW
159142018-06-29 Zack Weinberg <zackw@panix.com>
15915
15916 * configure.ac: New command-line option --disable-crypt.
15917 Force --disable-nss-crypt when --disable-crypt is given, with a
15918 warning if it was explicitly enabled.
15919 * configure: Regenerate.
15920 * config.make.in: New boolean substitution variable $(build-crypt).
15921 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15922 when $(build-crypt).
15923 * manual/install.texi: Document --disable-crypt.
15924 * INSTALL: Regenerate.
15925
15926 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15927 which is never set.
15928 * conform/Makefile: Only include libcrypt.a in
15929 linknamespace-libs-xsi and linknamespace-libs-XPG4
15930 when $(build-crypt).
15931 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15932 USE_CRYPT to 1 when $(build-crypt).
15933 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15934 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15935 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15936
841785ba
ZW
159372018-06-29 Zack Weinberg <zackw@panix.com>
15938
15939 * crypt/crypt.h, posix/unistd.h: Update comments and
15940 prototypes for crypt and crypt_r.
15941
15942 * manual/crypt.texi (Cryptographic Functions): New initial
15943 exposition.
15944 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15945 (Unpredictable Bytes): Improve initial exposition. Clarify error
15946 behavior of getentropy and getrandom.
15947 * manual/examples/genpass.c: Generate a salt using getentropy
15948 instead of the current time. Use hash $5$ (SHA-2-256).
15949 * manual/examples/testpass.c: Demonstrate validation against
15950 hashes generated with three different one-way functions.
15951
15952 * manual/intro.texi: crypt.texi does not need an overview
15953 anymore.
15954
15955 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15956 * manual/terminal.texi: Consistently refer to "passphrases"
15957 * instead of "passwords", and to the "user database" instead
15958 * of the "password database".
15959 * manual/users.texi: Similarly. Add notes about how actual
15960 passphrase hashes are now stored in the shadow database.
15961 Remove 20-year-old junk todo note.
15962
6ab902e4
ZW
159632018-06-29 Zack Weinberg <zackw@panix.com>
15964
15965 * manual/crypt.texi: Use a normal top-level @node declaration.
15966 Move most of the introductory text to the 'crypt' section.
15967 Move the example programs below the @deftypefun for 'crypt_r'.
15968 Move the 'getpass' section...
15969 * manual/terminal.texi: ...here.
15970
b10a0acc
ZW
159712018-06-29 Zack Weinberg <zackw@panix.com>
15972 Florian Weimer <fweimer@redhat.com>
15973
15974 * posix/unistd.h: Do not declare encrypt.
15975 (_XOPEN_CRYPT): Remove macro definition.
15976 (crypt): Declare only for _USE_MISC.
15977 * stdlib/stdlib.h: Do not declare setkey.
15978 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15979 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15980
15981 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15982 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15983 into compat symbols. Don't define initial_perm if it's not
15984 going to be used.
15985 * crypt/cert.c: Link explicitly with the expected versions for
15986 setkey and encrypt. If they are not available at all, mark
15987 the test as unsupported.
15988
15989 * sunrpc/des_crypt.c: Unconditionally block linkage with
15990 cbc_crypt and ecb_crypt for new binaries.
15991 * sunrpc/des_soft.c: Unconditionally block linkage with
15992 des_setparity for new binaries.
15993
15994 * manual/crypt.texi: Remove the entire "DES Encryption"
15995 section. Also remove the paragraph talking about FIPS 140-2
15996 from the introduction.
15997 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15998 of libgcrypt for "real" encryption, not DES.
15999 * manual/conf.texi (Constants for Sysconf): Mention that
16000 _XOPEN_CRYPT is no longer impelemented.
16001
16002 * conform/data/unistd.h-data: Remove crypt function declaration.
16003
524d796d
FW
160042018-06-29 Florian Weimer <fweimer@redhat.com>
16005
16006 [BZ #23351]
16007 * malloc/hooks.c: Update comments on restoring of dumped heaps.
16008 (disallow_malloc_check): Remove variable.
16009 (__malloc_check_init): Adjust.
16010 (malloc_set_state): Update comment.
16011 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
16012 declarations.
16013
ab74d59f 160142018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
339124ab
RL
16015
16016 [BZ #23140]
16017 * localedata/locales/ast_ES (mon): Rename to...
16018 (alt_mon): This.
16019 (mon): Import from CLDR (genitive case).
16020
c1f86a33
DA
160212018-06-29 Daniel Alvarez <dalvarez@redhat.com>
16022 Jakub Sitnicki <jkbs@redhat.com>
16023
16024 [BZ #21812]
16025 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
16026 on NLM_F_DUMP_INTR.
16027
0b11b649
SN
160282018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
16029
16030 * manual/llio.texi: Remove spurious space.
16031
c1c2848b
FW
160322018-06-28 Florian Weimer <fweimer@redhat.com>
16033
16034 [BZ #23349]
16035 * time/bits/types/struct_timespec.h: Change header inclusion guard to
16036 _STRUCT_TIMESPEC.
16037
86a0f561
RS
160382018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16039
16040 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 16041 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
16042 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
16043 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
16044 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
16045 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
16046 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
16047
780684eb
MR
160482018-06-27 Maciej W. Rozycki <macro@mips.com>
16049
16050 [BZ #23266]
16051 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
16052 Copy and null-terminate entries that are not terminated, in
16053 addition to empty ones.
16054
c49e1822
FW
160552018-06-27 Florian Weimer <fweimer@redhat.com>
16056
16057 [BZ #18023]
b39d961c
TS
16058 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
16059 (extend_alloca_account): Remove.
c49e1822
FW
16060 * manual/stdio.texi (Variable Arguments Output): Update comment.
16061
a833e627
JM
160622018-06-27 Joseph Myers <joseph@codesourcery.com>
16063
16064 * nptl/sockperf.c: Remove file.
16065
92d6aa85
FW
160662018-06-27 Florian Weimer <fweimer@redhat.com>
16067
16068 [BZ #18023]
16069 * elf/dl-deps.c (_dl_map_object_deps): Use struct
16070 scratch_buffer instead of extend_alloca.
16071
890c2ced
FW
160722018-06-27 Florian Weimer <fweimer@redhat.com>
16073
16074 [BZ #18023]
16075 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
16076 scratch_buffer instead of extend_alloca. Update comments.
16077
4272059d
FW
160782018-06-27 Florian Weimer <fweimer@redhat.com>
16079
16080 [BZ #18023]
16081 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
16082 instead of extend_alloca.
16083
27f10a09
JM
160842018-06-26 Joseph Myers <joseph@codesourcery.com>
16085
16086 [BZ #13888]
16087 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16088 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16089 /tmp.
16090 * scripts/test-installation.pl: Put temporary files in build
16091 directory, not /tmp.
16092 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16093 (CFLAGS-bug4.c): Likewise.
16094 (CFLAGS-bug5.c): Likewise.
16095 (CFLAGS-test-fseek.c): Likewise.
16096 (CFLAGS-test-popen.c): Likewise.
16097 (CFLAGS-test_rdwr.c): Likewise.
16098 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16099 /tmp.
16100 * stdio-common/bug4.c (main): Likewise.
16101 * stdio-common/bug5.c (main): Likewise.
16102 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16103 * stdio-common/test-popen.c (do_test): Likewise.
16104 * stdio-common/test_rdwr.c (main): Likewise.
16105
05598a09
PF
161062018-06-26 Patsy Franklin <pfrankli@redhat.com>
16107
16108 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16109 (sem_open): Set sem.newsem.pad to zero for valgrind.
16110
06ab719d
AZ
161112018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16112
16113 [BZ #20251]
16114 * NEWS: Mention fcntl64 addition.
16115 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16116 * login/utmp_file.c: Likewise.
16117 * sysdeps/posix/fdopendir.c: Likewise.
16118 * sysdeps/posix/opendir.c: Likewise.
16119 * sysdeps/unix/pt-fcntl.c: Likewise.
16120 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16121 __fcntl64_nocancel_adjusted): New prototype.
16122 (__fcntl_nocancel_adjusted): Remove prototype.
16123 * io/Makefile (routines): Add fcntl64.
16124 (CFLAGS-fcntl64.c): New rule.
16125 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16126 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16127 * io/fcntl.h (fcntl64): Add prototype and redirect if
16128 __USE_FILE_OFFSET64 is defined.
16129 * io/fcntl64.c: New file.
16130 * manual/llio.text: Add a note for which commands fcntl acts a
16131 cancellation point.
16132 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16133 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16134 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16135 New symbols.
16136 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16137 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16138 non-LFS case.
16139 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16140 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16141 to __fcntl64_nocancel.
16142 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16143 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16144 to __fcntl64_nocancel.
16145 * sysdeps/generic/not-cancel.h: Likewise.
16146 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16147 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16148 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16149 (fcntl64): New symbol.
16150 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16161 fcntl64): Likewise.
16162 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16164 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16168 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16172 Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16174 Likewise.
16175 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16178
124e0258
FW
161792018-06-26 Florian Weimer <fweimer@redhat.com>
16180
16181 Run thread shutdown functions in an explicit order.
16182 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16183 definition.
16184 (__libc_thread_freeres): Call thread shutdown functions
16185 explicitly.
16186 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16187 * include/string.h (__strerror_thread_freeres): Declare.
16188 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16189 arena_thread_freeres. No longer static. Remove thread shutdown
16190 hook registration.
16191 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16192 Declare.
16193 * resolv/res-close.c (__res_thread_freeres): Renamed from
16194 res_thread_freeres. No longer static. Remove thread shutdown
16195 hook registration.
16196 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16197 * resolv/resolv_conf.c (freeres): Remove incorrect section
16198 attribute and use libc_freeres_fn.
16199 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16200 strerror_thread_freeres. No longer static. Remove thread
16201 shutdown hook registration.
16202 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16203 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16204 shutdown hook registration.
16205 * Makerules (shlib.lds): Do not provide section boundary symbols
16206 for __libc_thread_subfreeres.
16207 * manual/memory.texi (Basic Allocation): Update comment.
16208
935d920e
FW
162092018-06-26 Florian Weimer <fweimer@redhat.com>
16210
16211 Remove always-defined _RPC_THREAD_SAFE_ macro.
16212 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16213 Do not define _RPC_THREAD_SAFE_.
16214 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16215 conditional.
16216 * sunrpc/clnt_perr.c: Likewise.
16217 * sunrpc/clnt_raw.c: Likewise.
16218 * sunrpc/clnt_simp.c: Likewise.
16219 * sunrpc/key_call.c: Likewise.
16220 * sunrpc/rpc_common.c: Likewise.
16221 * sunrpc/rpc_main.c: Likewise.
16222 * sunrpc/rpc_thread.c: Likewise.
16223 * sunrpc/svc.c: Likewise.
16224 * sunrpc/svc_raw.c: Likewise.
16225 * sunrpc/svc_simple.c: Likewise.
16226 * sumrpc/svcauth_des.c: Likewise.
16227
29055464
FW
162282018-06-26 Florian Weimer <fweimer@redhat.com>
16229
16230 * libio/Makefile (tests-internal): Add tst-vtables,
16231 tst-vtables-interposed.
16232 * libio/tst-vtables.c: New file.
16233 * libio/tst-vtables-common.c: Likewise.
16234 * libio/tst-vtables-interposed.c: Likewise.
16235
5c0202af
FW
162362018-06-26 Florian Weimer <fweimer@redhat.com>
16237
16238 * support/support_test_main.c (support_test_main): Only call
16239 setvbuf if not disables.
16240 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16241 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16242
c402355d
FW
162432018-06-26 Florian Weimer <fweimer@redhat.com>
16244
16245 [BZ #23313]
16246 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16247
43b1048a
FW
162482018-06-25 Florian Weimer <fweimer@redhat.com>
16249
16250 [BZ #18023]
16251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16252 Use struct scratch_buffer instead of extend_alloca.
16253
1599ed4e
FW
162542018-06-25 Florian Weimer <fweimer@redhat.com>
16255
16256 [BZ #18023]
16257 * nss/getent.c (initgroups_keys): Use dynarray instead of
16258 extend_alloca.
16259
a26fe163
FW
162602018-06-25 Florian Weimer <fweimer@redhat.com>
16261
16262 [BZ #18023]
16263 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16264 Use struct scratch_buffer instead of extend_alloca.
16265
90d9d9ce
FW
162662018-06-25 Florian Weimer <fweimer@redhat.com>
16267
16268 [BZ #18023]
16269 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16270 back to malloc directly, without stack allocations.
16271
6b7b2aba
FW
162722018-06-25 Florian Weimer <fweimer@redhat.com>
16273
16274 [BZ #18023]
16275 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16276 of extend_alloca.
16277
2f9f0d18
FW
162782018-06-25 Florian Weimer <fweimer@redhat.com>
16279
16280 [BZ #18023]
16281 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16282 of extend_alloca.
16283 * nscd/hstcache.c (addhstbyX): Likewise.
16284 * nscd/pwdcache.c (addpwbyX): Likewise.
16285 * nscd/servicescache.c (addservbyX): Likewise.
16286
318bad78
FW
162872018-06-25 Florian Weimer <fweimer@redhat.com>
16288
16289 [BZ #18023]
16290 * nscd/connections.c (read_cmdline): New function.
16291 (restart): Use it. Update comment.
16292
ab74d59f 162932018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
189699ab
RL
16294
16295 [BZ #23140]
16296 * localedata/locales/csb_PL (mon): Rename to...
16297 (alt_mon): This.
16298 (abmon): Rename to...
16299 (ab_alt_mon): This.
16300 (mon): Add with proper genitive forms, copy from Wikipedia.
16301 (abmon): Likewise.
16302
ab74d59f 163032018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
0ea3f13c
RL
16304
16305 [BZ #19485]
16306 * localedata/locales/csb_PL (mon): Fix typos:
16307 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16308 (yesstr): Add, value is "jo".
16309 (nostr): Add, value is "nié".
16310
d93f4ff1
TMQMF
163112018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16312
16313 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16314 all log1p and significand functions on m680x0.
16315 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16316 of s_significand.c..
16317 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16318 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16319 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16320 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16321 s_log1p.c and include it..
16322
f6299d2a
VC
163232018-06-21 Vincent Chen <vincentc@andestech.com>
16324
16325 * elf/elf.h (R_NDS32_NONE): New define.
16326 (R_NDS32_32_RELA): Likewise.
16327 (R_NDS32_COPY): Likewise.
16328 (R_NDS32_GLOB_DAT): Likewise.
16329 (R_NDS32_JUMP_SLOT): Likewise.
16330 (R_NDS32_RELATIVE): Likewise.
16331 (R_NDS32_TLS_TPOFF): Likewise.
16332 (R_NDS32_TLS_DESC): Likewise.
16333
61ab61c2
MW
163342018-06-21 Mark Wielaard <mark@klomp.org>
16335
16336 * elf/elf.h (R_BPF_MAP_FD): Removed.
16337 (R_BPF_64_64, R_BPF_64_32): New.
16338
f496b28e
FW
163392018-06-21 Florian Weimer <fweimer@redhat.com>
16340
16341 [BZ #23253]
16342 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16343 Renamed from libc_feholdsetround_ctx.
16344 (default_libc_feresetround_ctx): Renamed from
16345 libc_feresetround_ctx.
16346 (default_libc_feholdsetround_noex_ctx): Renamed from
16347 libc_feholdsetround_noex_ctx.
16348 (default_libc_feresetround_noex_ctx): Renamed from
16349 libc_feresetround_noex_ctx.
16350 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16351 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16352 forwardning to the old implementations under the new names.
16353 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16354 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16355 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16356 (libc_feresetround_ctx): Forward to default implements for i386
16357 and MATH_SET_BOTH_ROUNDING_MODES.
16358 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16359 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16360
1760daad
JM
163612018-06-20 Joseph Myers <joseph@codesourcery.com>
16362
99c7adf9
JM
16363 * string/tst-cmp.c: Include <libc-diag.h>.
16364 (strncmp_max): Disable -Wstringop-overflow= around call to
16365 strncmp.
16366 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16367 strncasecmp.
16368
1760daad
JM
16369 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16370 (main): Disable -Wunused-value around call to strpbrk.
16371 * string/bug-strspn1.c: Include <libc-diag.h>.
16372 (main): Disable -Wunused-value around call to strspn.
16373
209ae17c
TMQMF
163742018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16375 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16376
16377 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16378 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16379
badba23c
TMQMF
163802018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16381
5e79e029
TMQMF
16382 * math/Makefile (libm-calls): Move s_significandF to...
16383 (gen-libm-calls): ... here.
16384 * math/s_significand_template.c: New file.
16385 * math/s_significand.c: Removed.
16386 * math/s_significandf.c: Removed.
16387 * math/s_significandl.c: Removed.
16388 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16389 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16390
badba23c
TMQMF
16391 * math/e_exp2_template.c (declare_mgen_finite_alias,
16392 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16393 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16394 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16395
2d1c89a5
FW
163962018-06-20 Florian Weimer <fweimer@redhat.com>
16397
16398 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16399
646c2833
JM
164002018-06-19 Joseph Myers <joseph@codesourcery.com>
16401
16402 [BZ #23280]
16403 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16404 floating-point number to strtod functions rather than possibly
16405 negating result of those functions.
16406 * stdio-common/tst-scanf-round.c: New file.
16407 * stdio-common/Makefile (tests): Add tst-scanf-round.
16408 ($(objpfx)tst-scanf-round): Depend on $(libm).
16409
c77e4dc0
ST
164102018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16411
16412 * sysdeps/mach/hurd/localplt.data: Move to...
16413 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16414 R_386_GLOB_DAT like on Linux i386.
16415
91b2f3e5
JM
164162018-06-18 Joseph Myers <joseph@codesourcery.com>
16417
f2857da7
JM
16418 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16419 (SHM_STAT_ANY): New macro.
16420 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16421 (SHM_STAT_ANY): Likewise.
16422 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16423 (SHM_STAT_ANY): Likewise.
16424 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16425 (SHM_STAT_ANY): Likewise.
16426 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16427 (SHM_STAT_ANY): Likewise.
16428 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16429 (SHM_STAT_ANY): Likewise.
16430 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16431 (SHM_STAT_ANY): Likewise.
16432 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16433 (SHM_STAT_ANY): Likewise.
16434 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16435 (SHM_STAT_ANY): Likewise.
16436 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16437 (SHM_STAT_ANY): Likewise.
16438 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16439 (SHM_STAT_ANY): Likewise.
16440 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16441 (SHM_STAT_ANY): Likewise.
16442
176c7fee
JM
16443 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16444 (SEM_STAT_ANY): New macro.
16445 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16446 (SEM_STAT_ANY): Likewise.
16447 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16448 (SEM_STAT_ANY): Likewise.
16449 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16450 (SEM_STAT_ANY): Likewise.
16451 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16452 (SEM_STAT_ANY): Likewise.
16453 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16454 (SEM_STAT_ANY): Likewise.
16455 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16456 (SEM_STAT_ANY): Likewise.
16457 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16458 (SEM_STAT_ANY): Likewise.
16459 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16460 (SEM_STAT_ANY): Likewise.
16461 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16462 (SEM_STAT_ANY): Likewise.
16463
86bf0019
JM
16464 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16465 (MSG_STAT_ANY): New macro.
16466 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16467 (MSG_STAT_ANY): Likewise.
16468 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16469 (MSG_STAT_ANY): Likewise.
16470 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16471 (MSG_STAT_ANY): Likewise.
16472 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16473 (MSG_STAT_ANY): Likewise.
16474 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16475 (MSG_STAT_ANY): Likewise.
16476 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16477 (MSG_STAT_ANY): Likewise.
16478 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16479 (MSG_STAT_ANY): Likewise.
16480 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16481 (MSG_STAT_ANY): Likewise.
16482 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16483 (MSG_STAT_ANY): Likewise.
16484
91b2f3e5
JM
16485 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16486 (MAP_TYPE): Change value to 0x2b.
16487
3fe8fc79
FW
164882018-06-18 Florian Weimer <fweimer@redhat.com>
16489
16490 [BZ #15722]
16491 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16492 socket with SOCK_CLOEXEC.
16493
809dc95d
JM
164942018-06-18 Joseph Myers <joseph@codesourcery.com>
16495
16496 [BZ #23303]
16497 * sysdeps/powerpc/powerpc64/le/Makefile
16498 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16499 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16500 (gnulib-tests): Also add $(f128-loader-link) for
16501 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16502
298a8b59
ST
165032018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16504
16505 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16506 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16507 of sendfile.
16508 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16509 (sendfile64): New strong alias.
faf7bbc2
ST
16510 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16511 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16512 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
16513 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16514 attribute.
16515 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16516 ___pthread_get_cleanup_stack.
932d05f0 16517 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
16518 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16519 * mach/shortcut.awk: Make syscall stubs include
16520 <mach-shortcuts-hidden.h> and add hidden definition.
16521 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
16522 (__mach_msg): Add hidden prototype.
16523 * mach/msg.c: Include <mach.h>.
16524 (__mach_msg): Add hidden definition.
b0344cf5
ST
16525 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16526 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16527 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16528 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
16529 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16530 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
16531 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16532 prototype and definition.
16533 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16534 hidden target for _hurd_self_sigstate.
298a8b59 16535
b12c1e79
JM
165362018-06-15 Joseph Myers <joseph@codesourcery.com>
16537
16538 [BZ #23007]
16539 * stdlib/tst-strtod-nan-sign-main.c: New file.
16540 * stdlib/tst-strtod-nan-sign.c: Likewise.
16541 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16542 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16543 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16544 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16545 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16546
b0debe14
HB
165472018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16548
16549 [BZ #23007]
16550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16551 appropriate sign.
16552
14beef75
FW
165532018-06-14 Florian Weimer <fweimer@redhat.com>
16554
16555 [BZ #23290]
16556 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16557 that the result stays within the ISO-8859-1 range.
16558 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16559 characters are defined in IBM273.
16560
c596630b
ST
165612018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16562
16563 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16564 __mach_task_self): Remove attribute_hidden.
16565
35ebb6b0
JM
165662018-06-14 Joseph Myers <joseph@codesourcery.com>
16567
16568 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16569 ignore -Wrestrict for one test.
16570
3c7b9f1f
SE
165712018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16572 Szabolcs Nagy <szabolcs.nagy@arm.com>
16573
16574 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16575
c59ee916
FW
165762018-06-14 Florian Weimer <fweimer@redhat.com>
16577
16578 * scripts/update-abilist.sh: Accept empty list of files to patch.
16579
43b5ff50
ST
165802018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16581
16582 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16583 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
16584 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16585 __libc_read and __libc_write to __read and __write.
c8c6e6d6 16586 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
16587 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16588 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16589 __thread_switch, __evc_wait): Move declarations to...
16590 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16591 attribute_hidden.
06d1a826
ST
16592 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16593 use PLT to call _hurd_self_sigstate.
43b5ff50 16594
fcd6b5ac
JM
165952018-06-13 Joseph Myers <joseph@codesourcery.com>
16596
16597 [BZ #23279]
16598 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16599 MAX_EXP as overflowing.
16600 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16601 overflow flag.
16602 (round_str): Output also whether result overflows in each rounding
16603 mode.
16604 * stdlib/tst-strtod-round-data: Add more tests.
16605 * stdlib/tst-strtod-round-data.h: Regenerated.
16606 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16607 (TEST): Handle extra arguments for overflow flags.
16608 (struct test_overflow): New type.
16609 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16610 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16611 (test_in_one_mode): Take argument with overflow information.
16612 (do_test): Update calls to test_in_one_mode.
16613
35df5a77
CD
166142018-06-12 Carlos O'Donell <carlos@redhat.com>
16615
a745c837
CD
16616 * elf/dl-load (_dl_dst_substitute): Correct comment.
16617 (_dl_dst_count): Likewise.
16618
35df5a77
CD
16619 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16620 lll_futex_timed_wait.
16621
48b12ed5
JM
166222018-06-12 Joseph Myers <joseph@codesourcery.com>
16623
16624 [BZ #23277]
16625 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16626 attribute.
16627 * math/test-nan-const.c: New file.
16628 * math/Makefile (tests): Add test-nan-const.
16629 (CFLAGS-test-nan-const.c): New variable.
16630
cb8f6aff
L
166312018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16632
16633 * benchtests/scripts/compare_strings.py (process_results): Add
16634 funcs argument. Compare only functions which are selected.
16635 (main): Check if base function is among selected functions.
16636 Pass selected functions to process_results.
16637 (__main__): Add -f/--functions argument.
16638
fc2ba803
HZ
166392018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16640 Hongbo Zhang <hongbo.zhang@linaro.org>
16641
16642 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16643 __memcpy_falkor for phecda core.
16644 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16645 __memmove_falkor for phecda core.
16646 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16647 __memset_falkor for phecda core.
16648 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16649 for phecda core.
16650 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16651 macro to identify phecda core.
16652
5aad5f61
CD
166532018-06-12 Carlos O'Donell <carlos@redhat.com>
16654 Andreas Schwab <schwab@suse.de>
16655 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 16656 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
16657
16658 [BZ #23102]
16659 [BZ #21942]
16660 [BZ #18018]
16661 [BZ #23259]
16662 CVE-2011-0536
16663 * elf/dl-dst.h: Remove DL_DST_COUNT.
16664 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16665 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16666 (is_dst): Comment. Support ELF gABI.
16667 (_dl_dst_count): Comment. Simplify and count DSTs.
16668 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16669 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16670 locals.
16671
329ea513
ZW
166722018-06-12 Zack Weinberg <zackw@panix.com>
16673
16674 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16675 * sysdeps/unix/sysv/linux/dl-sysdep.c
16676 Include not-cancel.h. Use __close_nocancel instead of __close,
16677 __open64_nocancel instead of __open, __read_nocancel instead of
16678 __libc_read, and __write_nocancel instead of __libc_write.
16679
16680 * csu/check_fds.c (check_one_fd)
16681 * sysdeps/posix/fdopendir.c (__fdopendir)
16682 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 16683 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
16684
16685 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16686 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 16687 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
16688 Use __open64_nocancel instead of __open_nocancel.
16689
16690 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16691 hidden_proto declarations to the end and issue them if either
16692 IS_IN(libc) or IS_IN(rtld).
16693 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16694 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16695 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16696 read_nocancel, waitpid_nocancel, write_nocancel.
16697
b39d961c
TS
16698 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16699 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16700 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 16701
b39d961c
TS
16702 * nptl/pt-fcntl.c: New file.
16703 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16704 (libpthread-routines): Add pt-fcntl.
16705 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16706 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
16707 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16708 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 16709 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
16710 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16711 to fcntl_nocancel.c.
16712 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16715 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16716
16717 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16718 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16719 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16720 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16721 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16722 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16723 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16724 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16725 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16726 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16727 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16728 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16729 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16730 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16731 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16732 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16733 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16734 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16735 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16736 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16737
b39d961c
TS
16738 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16739 libpthread-routines.
16740 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16741 defines nothing.
329ea513 16742
b39d961c
TS
16743 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16744 __libc_read, and __write instead of __libc_write. Define
16745 __open64 in addition to __open.
329ea513 16746
0221ce2a
L
167472018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16748
16749 [BZ #23250]
16750 [BZ #10686]
16751 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16752 to _private_tm[3] and add __glibc_reserved2.
16753 Add _Static_assert of offset of __private_ss == 0x30.
16754 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16755 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16756
e826574c
FW
167572018-06-12 Florian Weimer <fweimer@redhat.com>
16758
16759 x86: Make strncmp usable from rtld.
16760 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16761 __strncmp_ia32 if in libc (and not in rtld).
16762 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16763 strncmp if not in libc (and not to __strncmp_sse2).
16764
ab74d59f 167652018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
c4ad5782
RL
16766
16767 [BZ #23140]
16768 * localedata/locales/gd_GB (mon): Rename to...
16769 (alt_mon): This.
16770 (mon): Import from CLDR (genitive case).
16771 * localedata/locales/hsb_DE (mon): Rename to...
16772 (alt_mon): This.
16773 (mon): Import from CLDR (genitive case).
16774 * localedata/locales/wa_BE (mon): Rename to...
16775 (alt_mon): This.
16776 (mon): Add, fill with the proper genitive forms, but CLDR data
16777 is incomplete; completed according to the comments in this file.
16778 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16779
16780 * localedata/locales/wa_BE (country_name): Reword
16781 "Beljike" -> "Beldjike".
16782
ca121b11
JM
167832018-06-11 Joseph Myers <joseph@codesourcery.com>
16784
16785 [BZ #23272]
16786 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16787 cases of non-finite arguments.
16788 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16789
2b69fecb
JDA
167902018-06-10 John David Anglin <danglin@gcc.gnu.org>
16791
16792 [BZ #23174]
16793 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16794
283d9851
AZ
167952018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16796
16797 [BZ #23264]
16798 * include/unistd.h (__execvpex): New prototype.
16799 * posix/Makefile (tests): Add tst-spawn4.
16800 (tests-internal): Add tst-spawn4-compat.
16801 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16802 * posix/tst-spawn4-compat.c: New file.
16803 * posix/tst-spawn4.c: Likewise.
16804 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16805 binaries as shell scripts.
16806 * sysdeps/posix/spawni.c (__spawni): Likewise.
16807
67c05796
L
168082018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16809
16810 [BZ #23145]
16811 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16812 ($(all-built-dso:=.dynsym): New target.
16813 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16814 ($(objpfx)check-initfini.out): New target.
16815 (generated): Add check-initfini.out.
16816 * scripts/check-initfini.awk: New file.
16817 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16818 (_fini): Likewise.
16819 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16820 (_fini): Likewise.
16821 * sysdeps/arm/crti.S (_init): Mark as hidden.
16822 (_fini): Likewise.
16823 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16824 (_fini): Likewise.
16825 * sysdeps/i386/crti.S (_init): Mark as hidden.
16826 (_fini): Likewise.
16827 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16828 (_fini): Likewise.
16829 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16830 (_fini): Likewise.
16831 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16832 (_fini): Likewise.
16833 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16834 (_fini): Likewise.
16835 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16836 (_fini): Likewise.
16837 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16838 (_fini): Likewise.
16839 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16840 (_fini): Likewise.
16841 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16842 (_fini): Likewise.
16843 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16844 (_fini): Likewise.
16845 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16846 (_fini): Likewise.
16847 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16848 (_fini): Likewise.
16849 * sysdeps/sh/crti.S (_init): Mark as hidden.
16850 (_fini): Likewise.
16851 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16852 (_fini): Likewise.
16853 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16854 (_fini): Likewise.
16855
1c09524e
TMQMF
168562018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16857
16858 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16859 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16860 and TF redirection to KFtype and KF only when the default
16861 long double type is not the IEEE 128-bit floating point type.
16862
0e0577c9
JM
168632018-06-05 Joseph Myers <joseph@codesourcery.com>
16864
0c1c33b2
JM
16865 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16866 macro.
16867 (HWCAP_USCAT): Likewise.
16868 (HWCAP_ILRCPC): Likewise.
16869 (HWCAP_FLAGM): Likewise.
16870 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16871 Increase to 28.
16872 (_dl_aarch64_cap_flags): Add new flag names.
16873
bef1cbf4
JM
16874 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16875 (MAP_FIXED_NOREPLACE): New macro.
16876 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16877 (MAP_FIXED_NOREPLACE): Likewise.
16878 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16879 (MAP_FIXED_NOREPLACE): Likewise.
16880 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16881 (MAP_FIXED_NOREPLACE): Likewise.
16882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16883 (MAP_FIXED_NOREPLACE): Likewise.
16884 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16885 (MAP_FIXED_NOREPLACE): Likewise.
16886 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16887 (MAP_FIXED_NOREPLACE): Likewise.
16888 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16889 (MAP_FIXED_NOREPLACE): Likewise.
16890 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16891 (MAP_FIXED_NOREPLACE): Likewise.
16892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16893 (MAP_FIXED_NOREPLACE): Likewise.
16894 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16895 (MAP_FIXED_NOREPLACE): Likewise.
16896 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16897 (MAP_FIXED_NOREPLACE): Likewise.
16898 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16899 (MAP_FIXED_NOREPLACE): Likewise.
16900 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16901 (MAP_FIXED_NOREPLACE): Likewise.
16902 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16903 (MAP_FIXED_NOREPLACE): Likewise.
16904
0e0577c9
JM
16905 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16906 version to 4.17.
16907
ab3a0da0
JM
169082018-06-04 Joseph Myers <joseph@codesourcery.com>
16909
16910 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16911 version to 4.17
16912
d2d9dfb6
ST
169132018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16914
16915 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16916 int.
16917 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16918
a650b05e
LS
169192018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16920
16921 * benchtests/scripts/compare_string.py: (process_results) Catch
16922 exception in non-existent base_func and catch exception in
16923 non-existent attribute.
16924 (parse_file) Catch exception if input file does not exist.
16925
195abbf4
LS
169262018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16927
16928 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16929 options to avoid diff calculation and omit header, respectively.
16930 (main): process --no-diff and --no-header
16931
14570163
LS
169322018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16933 H.J. Lu <hongjiu.lu@intel.com>
16934
16935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16936 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16937 wcsncmp-sse2.
16938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16939 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16940 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16941 and __wcsncmp_sse2.
16942 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16943 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16944 AVX unaligned load is fast and vzeroupper is preferred.
16945 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16946 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16947 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16948 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16949 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16950 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16951 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16952 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16953 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16954 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16955 is undefined.
16956
e02c026f
FW
169572018-06-01 Florian Weimer <fweimer@redhat.com>
16958
16959 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16960 configuring with --disable-multi-arch, building with
16961 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16962 Haswell-era CPU.
16963
d8c19275
FW
169642018-06-01 Florian Weimer <fweimer@redhat.com>
16965
16966 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16967 results from building with “-march=x86-64 -mtune=generic
16968 -mfpmath=sse” and running on a Haswell-era CPU.
16969
0d2163eb
JM
169702018-06-01 Joseph Myers <joseph@codesourcery.com>
16971
16972 [BZ #18473]
16973 * soft-fp/sqrttf2.c: Remove file.
16974 * soft-fp/sqrtdf2.c: Move to ....
16975 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16976 <shlib-compat.h>.
16977 (__sqrtdf2): Make conditional on
16978 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16979 symbol.
16980 * soft-fp/sqrtsf2.c: Move to ....
16981 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16982 <shlib-compat.h>.
16983 (__sqrtsf2): Make conditional on
16984 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16985 symbol.
16986 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16987 (gcc-double-routines): Remove sqrtdf2.
16988 (gcc-quad-routines): Remove sqrttf2.
16989 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16990 Do not filter out sqrtsf2 and sqrtdf2.
16991 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16992 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16993
10450210
FW
169942018-06-01 Florian Weimer <fweimer@redhat.com>
16995
16996 * sysdeps/generic/libcidn.abilist: Remove file.
16997
4e8a6346
FW
169982018-06-01 Florian Weimer <fweimer@redhat.com>
16999
17000 [BZ #23236]
17001 * libio/strfile.h (struct _IO_str_fields): Rename members to
17002 discourage their use and add comment.
17003 (_IO_STR_DYNAMIC): Remove unused macro.
17004 * libio/strops.c (_IO_str_init_static_internal): Do not use
17005 callback pointers. Call malloc and free.
17006 (_IO_str_overflow): Do not use callback pointers. Call malloc
17007 and free.
17008 (enlarge_userbuf): Likewise.
17009 (_IO_str_finish): Call free.
17010 * libio/wstrops.c (_IO_wstr_init_static): Initialize
17011 _allocate_buffer_unused.
17012 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
17013 and free.
17014 (enlarge_userbuf): Likewise.
17015 (_IO_wstr_finish): Call free.
17016 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
17017 _allocate_buffer_unused, _free_buffer_unused.
17018 * libio/memstream.c (__open_memstream): Likewise.
17019 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17020 * libio/wmemstream.c (open_wmemstream): Likewise.
17021
50d004c9
PP
170222018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17023
17024 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
17025 AMD Ryzen 7 1800X.
17026
2c93fce7
RS
170272018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17028
17029 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
17030 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
17031 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
17032 New file.
17033 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
17034 Likewise.
17035 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
17036
0ce2fa69
FW
170372018-05-29 Florian Weimer <fweimer@redhat.com>
17038
17039 * support/Makefile (libsupport-routines): Add
17040 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
17041 xpthread_barrierattr_setpshared.
17042 * support/xpthread_barrierattr_destroy.c: New file.
17043 * support/xpthread_barrierattr_init.c: Likewise.
17044 * support/xpthread_barrierattr_setpshared.c: Likewise.
17045
7f7b5d8d
L
170462018-05-29 H.J. Lu <hongjiu.lu@intel.com>
17047
17048 [BZ #23206]
17049 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
17050 _r_debug and update DT_DEBUG for debugger.
17051
e4890300
FW
170522018-05-29 Florian Weimer <fweimer@redhat.com>
17053
17054 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
17055 (tst-strtod5i.out): Likewise.
17056
2c753f3e
JM
170572018-05-25 Joseph Myers <joseph@codesourcery.com>
17058
b5453d9f
JM
17059 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
17060 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
17061 (sparc64-quad-routines): New variable. Moved from ....
17062 [$(subdir) = soft-fp] (sysdep_routines): Add
17063 $(sparc64-quad-routines). Moved from ....
17064 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
17065 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
17066 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
17067 moved from ....
17068 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
17069 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
17070 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
17071 * sysdeps/sparc/sparc64/qp_add.c: ... here.
17072 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
17073 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
17074 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
17075 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
17076 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
17077 * sysdeps/sparc/sparc64/qp_div.c: ... here.
17078 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
17079 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
17080 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
17081 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
17082 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
17083 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17084 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17085 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17086 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17087 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17088 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17089 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17090 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17091 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17092 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17093 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17094 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17095 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17096 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17097 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17098 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17099 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17100 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17101 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17102 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17103 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17104 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17105 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17106 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17107 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17108 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17109 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17110 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17111 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17112 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17113 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17114 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17115 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17116 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17117 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17118 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17119 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17120 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17121 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17122 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17123 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17125 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17126
2c753f3e
JM
17127 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17128 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17129 (sparc32-quad-routines): New variable. Moved from ....
17130 [$(subdir) = soft-fp] (sysdep_routines): Add
17131 $(sparc32-quad-routines). Moved from ....
17132 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17133 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17134 moved from ....
17135 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17136 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17137 * sysdeps/sparc/sparc32/q_add.c: ... here.
17138 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17139 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17140 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17141 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17142 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17143 * sysdeps/sparc/sparc32/q_div.c: ... here.
17144 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17145 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17146 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17147 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17148 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17149 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17150 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17151 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17152 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17153 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17154 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17155 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17156 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17157 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17158 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17159 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17160 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17161 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17162 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17163 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17164 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17165 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17166 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17167 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17168 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17169 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17170 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17171 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17172 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17173 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17174 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17175 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17176 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17177 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17178 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17179 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17180 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17181 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17182 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17183 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17184 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17185 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17186 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17187 * sysdeps/sparc/sparc32/q_util.c: ... here.
17188 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17189 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17191 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17192
c1dc1e1b
TMQMF
171932018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17194 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17195
17196 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17197 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17198 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17199 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17200
14186e8d
JM
172012018-05-24 Joseph Myers <joseph@codesourcery.com>
17202
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17204 powerpc/soft-fp.
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17206 Likewise.
17207 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17208 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17209
fb0e10b8
GG
172102018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17211
17212 [BZ #23171]
17213 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17214 double version.
17215
1dfeb17e
JM
172162018-05-23 Joseph Myers <joseph@codesourcery.com>
17217
17218 * sysdeps/sh/Implies: Remove sh/soft-fp.
17219 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17220 * sysdeps/sh/sfp-machine.h: ... here.
17221
727b38df
L
172222018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17223
17224 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17225 (__mempcpy_erms): Skip zero length.
17226 (__memmove_erms): Likewise.
17227 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17228 (__memset_erms): Likewise.
17229
2834fb46
JM
172302018-05-23 Joseph Myers <joseph@codesourcery.com>
17231
17232 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17233 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17234 Add functions moved from ....
17235 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17236 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17237 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17238 from ....
17239 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17240 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17241 * sysdeps/alpha/e_sqrtl.c: ... here.
17242 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17243 * sysdeps/alpha/local-soft-fp.h: ... here.
17244 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17245 * sysdeps/alpha/ots_add.c: ... here.
17246 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17247 * sysdeps/alpha/ots_cmp.c: ... here.
17248 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17249 * sysdeps/alpha/ots_cmpe.c: ... here.
17250 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17251 * sysdeps/alpha/ots_cvtqux.c: ... here.
17252 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17253 * sysdeps/alpha/ots_cvtqx.c: ... here.
17254 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17255 * sysdeps/alpha/ots_cvttx.c: ... here.
17256 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17257 * sysdeps/alpha/ots_cvtxq.c: ... here.
17258 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17259 * sysdeps/alpha/ots_cvtxt.c: ... here.
17260 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17261 * sysdeps/alpha/ots_div.c: ... here.
17262 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17263 * sysdeps/alpha/ots_mul.c: ... here.
17264 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17265 * sysdeps/alpha/ots_nintxq.c: ... here.
17266 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17267 * sysdeps/alpha/ots_sub.c: ... here.
17268 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17269 * sysdeps/alpha/sfp-machine.h: ... here.
17270
7f9f1ecb
FW
172712018-05-23 Florian Weimer <fweimer@redhat.com>
17272
17273 [BZ #19728]
17274 [BZ #19729]
17275 [BZ #22247]
17276 CVE-2016-6261
17277 CVE-2016-6263
17278 CVE-2017-14062
17279 Switch to extern IDNA implementation (libidn2).
17280 * libidn: Remove subdirectory.
17281 * LICENSES: Do not mention licensing conditions for the removed
17282 libidn code.
17283 * config.h.in (HAVE_LIBIDN): Remove.
17284 * include/dlfcn.h (__libc_dlopen): Update comment.
17285 * include/idna.h: Remove file.
17286 * inet/Makefile (routines): Add idna.
17287 (tests-static, tests-internal): Add tst-idna_name_classify.
17288 (LOCALES): Generate locales for tests.
17289 (tst-idna_name_classify.out): Depend on generated locales.
17290 * inet/idna_name_classify.c: New file.
17291 * inet/tst-idna_name_classify.c: Likewise.
17292 * inet/net-internal.h (__idna_to_dns_encoding)
17293 (__idna_from_dns_encoding): Declare.
17294 * inet/net-internal.h (enum idna_name_classification): Define.
17295 (__idna_name_classify): Declare.
17296 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17297 __idna_from_dns_encoding.
17298 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17299 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17300 name as a fallback in case of encoding errors.
17301 (getnameinfo): Use DEPRECATED_NI_IDN.
17302 * inet/idna.c: New file.
17303 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17304 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17305 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17306 (modules-names): Add tst-no-libidn2.
17307 (extra-test-objs): Add tst-no-libidn2.os.
17308 (LDFLAGS-tst-no-libidn2.so): Set soname.
17309 (LOCALES): Set, and generate locales.
17310 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17311 (tst-resolv-ai_idn-latin1): Likewise.
17312 (tst-resolv-ai_idn-nolibidn2): Likewise.
17313 (tst-resolv-ai_idn.out): Depend on locales.
17314 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17315 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17316 tst-no-libidn2.so.
17317 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17318 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17319 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17320 * resolv/tst-resolv-ai_idn.c: New file.
17321 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17322 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17323 * resolv/tst-no-libidn2.c: Likewise.
17324 * support/support_format_addrinfo.c (format_ai_flags): Do not
17325 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17326 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17327 (gaih_inet): Call __idna_to_dns_encoding and
17328 __idna_from_dns_encoding, and use the original (punycode) name if
17329 __idna_from_dns_encoding fails due to an encoding error.
17330 (getaddrinfo): Use DEPRECATED_AI_IDN.
17331 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17332 * sysdeps/unix/inet/configure: Remove file.
17333 * sysdeps/unix/inet/configure.ac: Likewise.
17334
5f7b841d
FW
173352018-05-23 Florian Weimer <fweimer@redhat.com>
17336
17337 Implement allocate_once.
17338 * include/allocate_once.h: New file.
17339 * misc/allocate_once.c: Likewise.
17340 * misc/tst-allocate_once.c: Likewise.
17341 * misc/Makefile (routines): Add allocate_once.
17342 (tests-internal): Add tst-allocate_once.
17343 (generated): Add tst-allocate_once.mtrace,
17344 tst-allocate_once-mem.out.
17345 (tests-special): Add tst-allocate_once-mem.out.
17346 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17347 (tst-allocate_once-mem.out): Call mtrace.
17348 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17349
ed983107
L
173502018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 [BZ #23196]
17353 * string/test-memcpy.c (do_test1): New function.
17354 (test_main): Call it.
17355
9aaaab7c
AS
173562018-05-23 Andreas Schwab <schwab@suse.de>
17357
17358 [BZ #23196]
17359 CVE-2018-11237
17360 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17361 (L(preloop_large)): Save initial destination pointer in %r11 and
17362 use it instead of %rax after the loop.
17363 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17364
5c5c0dd7
JM
173652018-05-22 Joseph Myers <joseph@codesourcery.com>
17366
8f145c77
JM
17367 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17368 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17369 -I../soft-fp. Moved from ....
17370 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17371 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17372 * sysdeps/aarch64/e_sqrtl.c: ... here.
17373 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17374 * sysdeps/aarch64/sfp-machine.h: ... here.
17375
3d6302a5
JM
17376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17377 -Wmaybe-uninitialized around access to fq[0].
17378 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17379 Likewise.
17380
5c5c0dd7
JM
17381 [BZ #18471]
17382 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17383 aliases for non-libc case of versioned symbols.
17384 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17385 (llseek): Define as compat symbol if
17386 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17387 with link warning.
17388 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17389 Make into a compat symbol, disabled for minimum symbol version
17390 GLIBC_2.28 and later.
17391 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17392
ed0d6988
FW
173932018-05-22 Florian Weimer <fweimer@redhat.com>
17394
17395 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17396 not add -mpreferred-stack-boundary=4.
17397 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17398 (stack-align-test-flags): Likewise.
17399 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17400 Likewise.
17401 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17402 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17403 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17404 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17405 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17406 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17407 (CFLAGS-tst-align2.c): Likewise.
17408
e28e9b1e
L
174092018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17410
17411 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17412 (index_arch_Prefer_FSRM): Likewise.
17413 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17414 Also check Prefer_FSRM.
17415 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17416 Also return OPTIMIZE (erms) for Prefer_FSRM.
17417
1af30adc
L
174182018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17419
17420 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17421 (index_cpu_FSRM): Likewise.
17422 (reg_FSRM): Likewise.
17423
78274dc8
JM
174242018-05-18 Joseph Myers <joseph@codesourcery.com>
17425
7c67e6e8
JM
17426 * math/gen-tgmath-tests.py: Import sys.
17427 (Tests.__init__): Initialize macros_seen.
17428 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17429 if requested to do so for this macro.
17430 (Tests.add_all_tests): Take argument for macro for which to
17431 generate tests.
17432 (Tests.check_macro_list): New function.
17433 (main): Handle check-list argument and argument specifying macro
17434 for which to generate tests.
17435 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17436 [PYTHON] (tgmath3-macro-tests): Likewise.
17437 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17438 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17439 not test-tgmath3.c.
17440 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17441 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17442 to CFLAGS.
17443 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17444 [PYTHON] ($(foreach
17445 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17446 rule.
17447 [PYTHON] (tests-special): Add
17448 $(objpfx)test-tgmath3-macro-list.out.
17449 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17450
ebc129fd
JM
17451 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17452 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17453 later.
17454
78274dc8
JM
17455 [BZ #22639]
17456 * time/tzset.c (SECSPERDAY): Cast to time_t.
17457 * time/tst-y2039.c: New file.
17458 * time/Makefile (tests): Add tst-y2039.
17459
6f7fdeeb
LS
174602018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17461
17462 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17463 (PREFETCH_ONE_SET): Remove duplicate line.
17464
e363a91c
FW
174652018-05-17 Florian Weimer <fweimer@redhat.com>
17466
17467 * sysdeps/generic/math-type-macros-double.h: Include
17468 <math-nan-payload-double.h> after <libm-alias-double.h>.
17469 * sysdeps/generic/math-type-macros-float.h: Include
17470 <math-nan-payload-float.h> after <libm-alias-float.h>.
17471 * sysdeps/generic/math-type-macros-float128.h: Include
17472 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17473 * sysdeps/generic/math-type-macros-ldouble.h: Include
17474 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17475
dae6c43c
AS
174762018-05-17 Andreas Schwab <schwab@suse.de>
17477
17478 * resolv/res_send.c (__res_context_send): Don't set errno when
17479 returing error after malloc failure.
17480
0068c085
L
174812018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17482
17483 * nptl/allocatestack.c (allocate_stack): Remove the
17484 !__ASSUME_PRIVATE_FUTEX paths.
17485 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17486 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17487 Likewise.
17488 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17489 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17490 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17491 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17492 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17493 !__ASSUME_PRIVATE_FUTEX path.
17494 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17495 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17496 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17497 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17498 !__ASSUME_PRIVATE_FUTEX macros.
17499 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17500 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17501 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17502 * sysdeps/unix/sysv/linux/kernel-features.h
17503 (__ASSUME_PRIVATE_FUTEX): Removed.
17504
632a6cbe
JM
175052018-05-17 Joseph Myers <joseph@codesourcery.com>
17506
17507 * math/Makefile (libm-narrow-fns): Add div.
17508 (libm-test-funcs-narrow): Likewise.
17509 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17510 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17511 * math/gen-auto-libm-tests.c (test_functions): Add div.
17512 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17513 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17514 (NARROW_DIV_TRIVIAL): Likewise.
17515 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17516 macro.
17517 (__ddivl): Likewise.
17518 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17519 ddiv.
17520 (CFLAGS-nldbl-ddiv.c): New variable.
17521 (CFLAGS-nldbl-fdiv.c): Likewise.
17522 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17523 __nldbl_ddivl.
17524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17525 prototype.
17526 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17527 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17528 * math/auto-libm-test-in: Add tests of div.
17529 * math/auto-libm-test-out-narrow-div: New generated file.
17530 * math/libm-test-narrow-div.inc: New file.
17531 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17534 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17535 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17536 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17542 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17545 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17546 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17547 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17548 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17550 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17575
8c78faa9
AZ
175762018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17577
17578 [BZ #23178]
17579 * nscd/nscd-client.h (sendfileall): Remove prototype.
17580 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17581 (handle_request): Use writeall instead of sendfileall.
17582 * nscd/aicache.c (addhstaiX): Likewise.
17583 * nscd/grpcache.c (cache_addgr): Likewise.
17584 * nscd/hstcache.c (cache_addhst): Likewise.
17585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17586 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17587 * nscd/pwdcache.c (cache_addpw): Likewise.
17588 * nscd/servicescache.c (cache_addserv): Likewise.
17589 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17590 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17592 Remove define.
17593
04958880
L
175942018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17595
17596 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17597 Include <string/strncat.c>.
17598 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17599 alias.
17600 (__GI___strncat): New hidden alias.
17601
c9992d13
JM
176022018-05-16 Joseph Myers <joseph@codesourcery.com>
17603
17604 * sysdeps/mips/mips32/libm-test-ulps: Update.
17605 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17606
2afece36
FW
176072018-05-16 Florian Weimer <fweimer@redhat.com>
17608
17609 * support/Makefile (libsupport-routines): Add support_quote_blob,
17610 support_test_compare_blob.
17611 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17612 * support/check.h (TEST_COMPARE_BLOB): Define.
17613 (support_test_compare_blob): Declare.
17614 * support/support.h (support_quote_blob): Declare.
17615 * support/support_quote_blob.c: New file.
17616 * support/support_test_compare_blob.c: Likewise.
17617 * support/tst-support_quote_blob.c: Likewise.
17618 * support/tst-test_compare_blob.c: Likewise.
17619
9761bf4d
FW
176202018-05-16 Florian Weimer <fweimer@redhat.com>
17621
17622 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17623 of <strtod_nan_double.h>.
17624 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17625 instead of SET_MANTISSA.
17626 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17627 of include <strtod_nan_float.h>.
17628 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17629 instead of <strtod_nan_ldouble.h>.
17630 * stdlib/strtod_nan_double.h: Move to ...
17631 * sysdeps/generic/math-nan-payload-double.h: ... here.
17632 (FLOAT): Remove definition.
17633 (SET_MANTISSA): Rename to ...
17634 (SET_NAN_PAYLOAD): ... this.
17635 * stdlib/strtod_nan_float.h: Move to ...
17636 * sysdeps/generic/math-nan-payload-float.h: ... here.
17637 (FLOAT): Remove definition.
17638 (SET_MANTISSA): Rename to ...
17639 (SET_NAN_PAYLOAD): ... this.
17640 * sysdeps/generic/math-type-macros-double.h: Include
17641 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17642 instead of <math-svid-compat.h>.
17643 * sysdeps/generic/math-type-macros-float.h: Include
17644 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17645 instead of <math-svid-compat.h>.
17646 * sysdeps/generic/math-type-macros-float128.h: Include
17647 <math-nan-payload-float128.h>.
17648 * sysdeps/generic/math-type-macros-ldouble.h: Include
17649 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17650 instead of <math-svid-compat.h>.
17651 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17652 check for definition.
17653 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17654 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17655 Include <ieee754_float128.h>.
17656 (FLOAT): Remove definition.
17657 (SET_MANTISSA): Rename to ...
17658 (SET_NAN_PAYLOAD): ... this.
17659 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17660 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17661 Do not include <float128_private.h>.
17662 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17664 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17665 (FLOAT): Remove definition.
17666 (SET_MANTISSA): Rename to ...
17667 (SET_NAN_PAYLOAD): ... this.
17668 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17669 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17670 (FLOAT): Remove definition.
17671 (SET_MANTISSA): Rename to ...
17672 (SET_NAN_PAYLOAD): ... this.
17673 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17674 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17675 (FLOAT): Remove definition.
17676 (SET_MANTISSA): Rename to ...
17677 (SET_NAN_PAYLOAD): ... this.
17678 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17679 of "../stdlib/strtod_nan_double.h".
17680 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17681 of "../stdlib/strtod_nan_float.h".
17682 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17683 instead of "../stdlib/strtod_nan_ldouble.h".
17684 * manual/arith.texi (Parsing of Floats): Adjust comment.
17685
69a01461
JM
176862018-05-16 Joseph Myers <joseph@codesourcery.com>
17687
17688 * math/Makefile (libm-narrow-fns): Add mul.
17689 (libm-test-funcs-narrow): Likewise.
17690 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17691 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17692 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17693 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17694 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17695 (NARROW_MUL_TRIVIAL): Likewise.
17696 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17697 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17698 macro.
17699 (__dmull): Likewise.
17700 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17701 dmul.
17702 (CFLAGS-nldbl-dmul.c): New variable.
17703 (CFLAGS-nldbl-fmul.c): Likewise.
17704 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17705 __nldbl_dmull.
17706 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17707 prototype.
17708 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17709 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17710 * math/auto-libm-test-in: Add tests of mul.
17711 * math/auto-libm-test-out-narrow-mul: New generated file.
17712 * math/libm-test-narrow-mul.inc: New file.
17713 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17716 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17717 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17718 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17724 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17725 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17726 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17727 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17728 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17729 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17730 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17732 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17737 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17738 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17739 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17740 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17741 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17742 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17743 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17744 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17757
a15529fd
L
177582018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17759
17760 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17761 with *%eax in call.
17762
98ee36c7
L
177632018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/i386/ldsodefs.h: Removed.
17766 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17767 * sysdeps/x86/ldsodefs.h: This.
17768 (La_i86_regs): New.
17769 (La_i86_retval): Likewise.
17770 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17771 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17772
e322ec32
L
177732018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17774
17775 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17776 unnecessary testl.
17777
0937e209
AM
177782018-05-13 Alan Modra <amodra@gmail.com>
17779
17780 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17781 R_PARISC_TLS_DTPOFF32 reloc addend.
17782
5db7d705
TMQMF
177832018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17784
17785 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17786 * math/math.h: Restrict the prototype definition for the functions
17787 issignaling(_Float128) and iszero(_Float128); and template
17788 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17789 __HAVE_FLOAT128_UNLIKE_LDBL.
17790 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17791 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17792 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17793 __f128() constants; define the type _Float128 as long double;
17794 and reuse long double in __CFLOAT128.
17795
b4d5b8b0
JM
177962018-05-11 Joseph Myers <joseph@codesourcery.com>
17797
17798 * sysdeps/generic/math_private.h: Do not include
17799 <math-barriers.h>.
17800 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17801 <math_private.h>.
17802 * math/fromfp.h: Include <math-barriers.h>.
17803 * math/math-narrow.h: Likewise.
17804 * math/s_nextafter.c: Likewise.
17805 * math/s_nexttowardf.c: Likewise.
17806 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17807 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17808 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17809 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17810 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17811 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17812 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17820 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17825 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17826 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17827 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17828 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17829 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17830 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17831 * sysdeps/ieee754/k_standardl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17848 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17849 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17853 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17854
fc79706a
FW
178552018-05-11 Florian Weimer <fweimer@redhat.com>
17856
17857 Use 64-bit epoch values in the time zone file parser.
17858 * include/time.h (internal_time_t): Define.
17859 (__tzfile_compute): Use it.
17860 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17861 member.
17862 (transitions): Switch to internal_time_t.
17863 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17864 types.
17865 (__tzfile_compute): Use internal_time_t for timer argument. Check
17866 for truncation before calling __offtime.
17867
89aacb51
FW
178682018-05-11 Florian Weimer <fweimer@redhat.com>
17869
17870 [BZ #23166]
17871 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17872 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17873 Likewise.
17874 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17875 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17876 export without --enable-obsolete-rpc.
17877 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17878 symbol. This should not have been exported, ever.
17879
ab74d59f 178802018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
bb066cb8
RL
17881
17882 [BZ #23152]
17883 * localedata/locales/gd_GB (abmon): Fix typo in May:
17884 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17885
70c97f84
SP
178862018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17887
db725a45
SP
17888 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17889 Use multiple registers to copy data in loop tail.
17890
70c97f84
SP
17891 * sysdeps/aarch64/multiarch/memmove_falkor.S
17892 (__memmove_falkor): Use multiple registers to move data in
17893 loop tail.
17894
8f5b00d3
JM
178952018-05-10 Joseph Myers <joseph@codesourcery.com>
17896
17897 * math/math-underflow.h: New file.
17898 * sysdeps/generic/math_private.h: Do not include <float.h>.
17899 (fabs_tg): Remove macro. Moved to math-underflow.h.
17900 (min_of_type_f): Likewise.
17901 (min_of_type_): Likewise.
17902 (min_of_type_l): Likewise.
17903 (min_of_type_f128): Likewise.
17904 (min_of_type): Likewise.
17905 (math_check_force_underflow): Likewise.
17906 (math_check_force_underflow_nonneg): Likewise.
17907 (math_check_force_underflow_complex): Likewise.
17908 * math/e_exp2_template.c: Include <math-underflow.h>.
17909 * math/k_casinh_template.c: Likewise.
17910 * math/s_catan_template.c: Likewise.
17911 * math/s_catanh_template.c: Likewise.
17912 * math/s_ccosh_template.c: Likewise.
17913 * math/s_cexp_template.c: Likewise.
17914 * math/s_clog10_template.c: Likewise.
17915 * math/s_clog_template.c: Likewise.
17916 * math/s_csin_template.c: Likewise.
17917 * math/s_csinh_template.c: Likewise.
17918 * math/s_csqrt_template.c: Likewise.
17919 * math/s_ctan_template.c: Likewise.
17920 * math/s_ctanh_template.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17922 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17923 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17926 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17931 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17939 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17941 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17942 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17944 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17947 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17948 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17949 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17950 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17951 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17952 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17954 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17955 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17960 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17962 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17968 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17989 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17999 * sysdeps/x86/fpu/powl_helper.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
18001 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18005
9ed2e15f
JM
180062018-05-09 Joseph Myers <joseph@codesourcery.com>
18007
18008 * sysdeps/generic/math-barriers.h: New file.
18009 * sysdeps/generic/math_private.h [!math_opt_barrier]
18010 (math_opt_barrier): Move to math-barriers.h.
18011 [!math_opt_barrier] (math_force_eval): Likewise.
18012 * sysdeps/aarch64/fpu/math-barriers.h: New file.
18013 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
18014 math-barriers.h.
18015 (math_force_eval): Likewise.
18016 * sysdeps/alpha/fpu/math-barriers.h: New file.
18017 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
18018 math-barriers.h.
18019 (math_force_eval): Likewise.
18020 * sysdeps/x86/fpu/math-barriers.h: New file.
18021 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
18022 math-barriers.h.
18023 (math_force_eval): Likewise.
18024 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
18025 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
18026 multiple-include guard for rename.
18027 * sysdeps/powerpc/fpu/math-barriers.h: New file.
18028 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
18029 math-barriers.h.
18030 (math_force_eval): Likewise.
18031
5460617d
PP
180322018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18033
18034 [BZ #22786]
43d4f3d5 18035 CVE-2018-11236
5460617d
PP
18036 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
18037 computation.
18038 * stdlib/Makefile (test-bz22786): New test.
18039 * stdlib/test-bz22786.c: New test.
18040
aaee3cd8
JM
180412018-05-09 Joseph Myers <joseph@codesourcery.com>
18042
18043 * include/math-narrow-eval.h: New file. Contents moved from ....
18044 * sysdeps/generic/math_private.h: ... here.
18045 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
18046 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18047 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
18048 * stdlib/strtod_l.c: Likewise.
18049 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18050 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18051 * sysdeps/i386/fpu/s_fdim.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18064 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18066 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18067 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18068 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18069 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18073 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18075 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18077 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18078
0555c477
AS
180792018-05-08 Andreas Schwab <schwab@suse.de>
18080
18081 * sysdeps/nptl/internaltypes.h: Fix comment.
18082
50d7d351
L
180832018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18086 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18087 hidden.
18088
543477f7
SP
180892018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18090
18091 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18092 of I into loop header.
18093 * benchtests/bench-memmove-walk.c
18094 (test_main): Likewise.
18095
180962018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
18097
18098 Revert:
18099 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18100 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18101
0065aaaa
PP
181022018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18103
18104 [BZ #20419]
18105 * elf/dl-load.c (open_verify): Fix stack overflow.
18106 * elf/Makefile (tst-big-note): New test.
18107 * elf/tst-big-note-lib.S: New.
18108 * elf/tst-big-note.c: New.
18109
b289cd9d
JM
181102018-05-04 Joseph Myers <joseph@codesourcery.com>
18111
18112 * scripts/abilist.awk: Ignore absolute symbols.
18113 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18114 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18115 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18116 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18117 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18118 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18119 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18120 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18121 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18122 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18123 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18124 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18205 Likewise.
18206 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18219 Likewise.
18220 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18233 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18239 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18240 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18247 Likewise.
18248 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18268 Likewise.
18269 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18282 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18290 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18301 Likewise.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18307 Likewise.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18309 Likewise.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18312 Likewise.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18315 Likewise.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18317 Likewise.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18321 Likewise.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18323 Likewise.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18325 Likewise.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18330 Likewise.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18337 Likewise.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18340 Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18342 Likewise.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18350 Likewise.
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18352 Likewise.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18354 Likewise.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18356 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18357 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18358 Likewise.
18359 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18360 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18361 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18373 Likewise.
18374 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18383 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18385 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18386 Likewise.
18387 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18388 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18389 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18393 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18396 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18397 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18399 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18400 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18402 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18404 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18412 Likewise.
18413 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18421 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18422 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18423 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18424 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18426 Likewise.
18427 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18465
16609018
SL
184662018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18467
18468 [BZ #23137]
18469 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18470 Use atomic_load_acquire to load __tid.
18471
556f5c46
L
184722018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18473
18474 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18475 Restore the pointer into %rdx, after syscall and use %rdx,
18476 instead of %rsi, to restore context.
18477
8b8f32b2
L
184782018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18479
18480 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18481 Pop the pointer into %rdx after syscall and use %rdx, instead
18482 of %rsi, to restore context.
18483
d6cc1829
L
184842018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18485
18486 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18487 handlers after setjmp.
18488 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18489 defined.
18490 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18491 <libc-pointer-arith.h>.
18492 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18493 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18494 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18495 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18496 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18497 * sysdeps/x86/__longjmp_cancel.S: New file.
18498 * sysdeps/x86/longjmp.c: Likewise.
18499 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18500
cf2478d5
AZ
185012018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18502
18503 * NEWS: Add ustat.h deprecation entry.
18504 * bits/ustat.h: Remove file.
18505 * misc/sys/ustat.h: Likewise.
18506 * misc/ustat.h: Likewise.
18507 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18508 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18509 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18510 compatibility mode.
18511 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18512 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18513 generic Linux implementation.
18514
dc115e1c
TMQMF
185152018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18516
18517 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18518 * math/w_expl_compat.c: Likewise.
18519 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18520
6b5c8607 185212018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
18522
18523 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18524
c57bf7c1
AZ
185252018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18526
18527 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18528 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18529 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18530 Remove.
18531 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18534 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18535 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18536 and SYSCALL_LL64.
18537
06135c33
TMQMF
185382018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18539
33927914
TMQMF
18540 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18541
06135c33
TMQMF
18542 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18543 * math/w_asin_template.c: Likewise.
18544 * math/w_atanh_template.c: Likewise.
18545
3a33b069
GG
185462018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18547
18548 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18549 to powerpc/powerpc64/be for big-endian.
18550 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18551 little-endian.
18552
18553 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18554 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18555 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18556 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18557 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18558 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18559 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18560 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18561 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18562 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18563 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18564 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18565 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18566 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18567 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18568 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18569 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18570 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18571 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18572 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18573 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18574 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18575 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18576 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18577 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18578 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18579 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18580 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18581 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18582 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18583 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18584 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18585
18586 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18587 adjusted to imply powerpc64 and older processors on powerpc64/be.
18588 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18589 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18590 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18591 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18592 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18593 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18594 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18595 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18596 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18597 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18598 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18599 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18600 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18601 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18602 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18603 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18604 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18605 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18606 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18607 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18608 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18609 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18610 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18611 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18612 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18613 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18614 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18615 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18616 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18617 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18618 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18619
18620 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18621 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18622 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18623 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18624
18625 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18626 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18628 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18629
18630 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18631 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18632 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18633 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18634 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18635 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18636 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18637 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18638 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18639 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18640 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18641
18642 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18643 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18644 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18645 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18646 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18647 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18648 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18649 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18650 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18651 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18652 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18653
18654 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18655 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18656 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18657 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18658 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18659 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18660 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18661 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18662 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18663 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18664 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18665 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18666
18667 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18668 and adjusted to imply olders processors.
18669 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18670 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18671 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18672 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18673 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18674 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18675 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18676 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18677 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18678 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18679 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18680
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18682 powerpc64/le.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18685
18686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18687 powerpc64le.
18688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18690
18691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18692 powerpc64/be.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18696
18697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18698 powerpc64 and adjusted.
18699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18702 Likewise.
18703
a3fb6b6b
JM
187042018-04-27 Joseph Myers <joseph@codesourcery.com>
18705
18706 * sysdeps/tile: Remove.
18707 * sysdeps/unix/sysv/linux/tile: Likewise.
18708 * README (tilegx-*-linux-gnu): Remove from list of supported
18709 configurations.
18710 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18711 contribution of support for generic Linux kernel syscall
18712 interface.
18713 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18714 tilegx configurations.
18715 (Config.install_linux_headers): Do not handle tile.
18716 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18717 in comment.
18718 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18719 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18720 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18721 conditional undefine and redefine.
18722 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18723 in comment.
18724 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18725 conditional undefine and redefine.
18726
7a6f7478
AJ
187272018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18728
18729 * signal/tst-sigaction.c: New file to test BZ #23069.
18730 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18731
81b49e96
TMQMF
187322018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18733
18734 [BZ #22766]
18735 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18736 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18737 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18738 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18739
7d80f48e
AZ
187402018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18741
18742 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18743 _DIRENT_MATCHES_DIRENT64 is not defined.
18744 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18745 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18746 is defined.
18747 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18748 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18749
42a2bf58
JM
187502018-04-25 Joseph Myers <joseph@codesourcery.com>
18751
18752 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18753 version to GCC 8 branch.
18754
9320ca88
JM
187552018-04-24 Joseph Myers <joseph@codesourcery.com>
18756
5e14bb97
JM
18757 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18758 (check_no_hidden): Use type of original function when declaring
18759 alias.
18760
9320ca88
JM
18761 * sysdeps/unix/sysv/linux/sys/ptrace.h
18762 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18763 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18764 (struct __ptrace_seccomp_metadata): New type.
18765 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18766 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18767 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18768 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18769 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18770 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18771 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18772 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18774 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18776 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18777 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18778 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18779 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18780 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18781
af7e376b
AZ
187822018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18783
18784 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18785 defined.
18786 * dirent/versionsort.c (versionsort): Likewise.
18787 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18788 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18789 * dirent/versionsort64.c (versionsort64): Likewise.
18790 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18791 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18792 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18793 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18794 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18795 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18796 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18797 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18798 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18799 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18802 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18803 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18804
da5e0361
JM
188052018-04-23 Joseph Myers <joseph@codesourcery.com>
18806
18807 * elf/elf.h (NT_PPC_PKEY): New macro.
18808
6b5c8607 188092018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
18810
18811 [BZ #23094]
18812 * localedata/locales/hr_HR: fix thousands_sep and
18813 mon_thousands_sep
18814
573963e3
JM
188152018-04-20 Joseph Myers <joseph@codesourcery.com>
18816
18817 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18818 (XTABS): Define to TAB3.
18819
c0123b3b
AZ
188202018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18821
0900a849
AZ
18822 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18823
c0123b3b
AZ
18824 * dirent/scandir-tail-common.c: New file.
18825 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18826 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18827 * dirent/scandir.c: Use scandir-tail-common.c.
18828 * dirent/scandirat.c: Likewise.
18829 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18830 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18831 if _DIRENT_MATCHES_DIRENT64 is defined.
18832 * dirent/scandirat64.c (scandirat64): Likewise.
18833 * include/dirent.h (__scandir_tail): Only define iff
18834 _DIRENT_MATCHES_DIRENT64 is not defined.
18835 (__scandir64_tail): Define regardless.
18836 (__scandirat, scandirat64): Remove libc_hidden_proto.
18837 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18838 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18840 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18841 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18842 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18843 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18844
458b94f6
JM
188452018-04-20 Joseph Myers <joseph@codesourcery.com>
18846
18847 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18848 New macro.
18849 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18850 Increase to 24.
18851 (_dl_aarch64_cap_flags): Add asimdfhm.
18852
9f0437e8
CLT
188532018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18854
18855 * sysdeps/nios2/libm-test-ulps: Update.
18856
298d0e31
AZ
188572018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18858
50511ca4
AZ
18859 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18860 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18861
298d0e31
AZ
18862 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18863 requirements.
6b5c8607 18864 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
18865 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18866 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18867 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18868 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18869 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18870 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18871 use getdents64 syscalls as base.
18872 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18873 symbol if required.
18874 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18875 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18876 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18877 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18879 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18880 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18881 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18883 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18884 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18885
0085be14
SL
188862018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18887
18888 * scripts/test_printers_common.py (init_test): Disable lock elision.
18889
da796524
SL
188902018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18891
18892 * math/test-tgmath.c (count_double, count_float,
18893 count_ldouble, count_cdouble, count_cfloat,
18894 count_cldouble): Use volatile int.
18895
0dd25301
ST
188962018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18897
18898 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18899 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 18900 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
18901 i386-gnu.
18902 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18903 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18904 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18905 msqid_ds.msg_lrpid): Likewise.
18906 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18907 Likewise.
18908 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18909 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
18910 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18911 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18912 unsigned int.
18913 (struct statvfs64): Likewise.
f55a4fde
ST
18914 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18915 Likewise.
77b93390
ST
18916 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18917 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18918 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18919 instead of wait_queue.
18920 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18921 instead of vm_area_struct.
5cd2931a
ST
18922 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18923 struct sched_param definition to it.
e60c3f2b
ST
18924 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18925 * bits/types/struct_sched_param.h: New file.
18926 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18927 <bits/types/struct_sched_param.h> instead of <sched.h>.
18928 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
18929 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18930 generic version but include <bits/pthreadtypes.h> to make struct
18931 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
18932 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18933 non-compliant.
a564872d
ST
18934 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18935 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18936 [__USE_XOPEN] (OFDEL): New macro.
18937 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 18938 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
18939 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18940 prototypes.
18941 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18942 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
18943 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18944 non-compliant.
18945 * sysdeps/i386/sys/ucontext.h: Likewise.
18946 * sysdeps/m68k/sys/ucontext.h: Likewise.
18947 * sysdeps/mips/sys/ucontext.h: Likewise.
18948 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
18949 * sysdeps/mach/hurd/i386/Makefile
18950 (test-xfail-POSIX/fcntl.h/conform): Add.
18951 (test-xfail-POSIX/signal.h/conform): Add.
18952 (test-xfail-POSIX/semaphore.h/conform): Add.
18953 (test-xfail-POSIX/regex.h/conform): Add.
18954 (test-xfail-POSIX/aio.h/conform): Add.
18955 (test-xfail-POSIX/mqueue.h/conform): Add.
18956 (test-xfail-POSIX/sys/types.h/conform): Add.
18957 (test-xfail-UNIX98/fcntl.h/conform): Add.
18958 (test-xfail-UNIX98/netdb.h/conform): Add.
18959 (test-xfail-UNIX98/signal.h/conform): Add.
18960 (test-xfail-UNIX98/semaphore.h/conform): Add.
18961 (test-xfail-UNIX98/regex.h/conform): Add.
18962 (test-xfail-UNIX98/aio.h/conform): Add.
18963 (test-xfail-UNIX98/ftw.h/conform): Add.
18964 (test-xfail-UNIX98/mqueue.h/conform): Add.
18965 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18966 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18967 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18968 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18969 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18970 (test-xfail-UNIX98/sys/types.h/conform): Add.
18971 (test-xfail-UNIX98/stdlib.h/conform): Add.
18972 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18973 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18974 (test-xfail-POSIX2008/netdb.h/conform): Add.
18975 (test-xfail-POSIX2008/signal.h/conform): Add.
18976 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18977 (test-xfail-POSIX2008/regex.h/conform): Add.
18978 (test-xfail-POSIX2008/aio.h/conform): Add.
18979 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18980 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18981 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18982 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18983 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18984 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18985 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18986 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18987 (test-xfail-XOPEN2K/signal.h/conform): Add.
18988 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18989 (test-xfail-XOPEN2K/regex.h/conform): Add.
18990 (test-xfail-XOPEN2K/aio.h/conform): Add.
18991 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18992 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18993 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18994 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18995 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18996 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18997 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18998 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18999 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
19000 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
19001 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
19002 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
19003 (test-xfail-XOPEN2K8/signal.h/conform): Add.
19004 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
19005 (test-xfail-XOPEN2K8/regex.h/conform): Add.
19006 (test-xfail-XOPEN2K8/aio.h/conform): Add.
19007 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
19008 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
19009 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
19010 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
19011 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
19012 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
19013 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
19014 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
19015 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
19016 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
19017 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
19018 i386-gnu.
19019 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
19020 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 19021
d6397de3
JM
190222018-04-18 Joseph Myers <joseph@codesourcery.com>
19023
19024 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19025 --enable-obsolete for powerpc-linux-gnuspe.
19026
8323a902
ST
190272018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19028
3dc0814c 19029 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 19030 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 19031 prototypes.
c5896a45
ST
19032 * sysdeps/mach/include/mach.h: Likewise.
19033 * sysdeps/mach/include/mach/mig_support.h: Likewise.
19034 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 19035
743b9c2a
AZ
190362018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19037
19038 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
19039 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
19040 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19041 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
19042
326e74e7
AS
190432018-04-16 Andreas Schwab <schwab@suse.de>
19044
19045 [BZ #19527]
19046 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
19047
6b5c8607 190482018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
19049
19050 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
19051 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
19052
a700e7cb
DD
190532018-04-12 DJ Delorie <dj@redhat.com>
19054
19055 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19056 version to 4.16.
19057
d8abfab7
SL
190582018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19059
19060 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
19061 (struct kernel_sigaction): Use the same definition on 31bit as is used
19062 on 64bit.
19063
583a27d5
FW
190642018-04-09 Florian Weimer <fweimer@redhat.com>
19065
19066 [BZ #23037]
19067 * resolv/res_send.c (send_dg): Use designated initializers instead
19068 of assignment to zero-initialize other fields of struct mmsghdr.
19069
243f59e5
AZ
190702018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19071
942de61a
AZ
19072 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
19073 __READDIR_ALIAS): Undefine after usage.
19074 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
19075 __READDIR_R_ALIAS): Likewise.
19076 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
19077 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
19078 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
19079 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
19080 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
19081 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
19082 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19083 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19084 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19085 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19086 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19087 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19088 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19089 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19090 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19091 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19092 * sysdeps/unix/sysv/linux/readdir.c: New file.
19093 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19094 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19095 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19096
243f59e5
AZ
19097 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19098
690c3475
AS
190992018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19100
19101 * manual/charset.texi (Converting a Character): Fix typo.
19102
6b5c8607 191032018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 19104
bbc2062a
AZ
19105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19106
fa7c6199
AZ
19107 * sysdeps/arm/libm-test-ulps: Update.
19108
b4a5d26d
AZ
19109 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19110 as base implementation.
19111 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19112 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19114 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19116 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19117 remove unrequired definitions and update comments.
19118 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19119 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19120 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19121 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19122 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19123 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19124 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19125 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19126 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19127 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19128 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19129 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19130 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19131 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19132 and RESET_SA_RESTORER hooks.
19133
db9e55ff
SL
191342018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19135
19136 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19137
cf138b0c
FW
191382018-04-05 Florian Weimer <fweimer@redhat.com>
19139
19140 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19141 integer overflow, memory leak on error, and indeterminate errno
19142 value. Add a null wide character to terminate the result string.
19143 * manual/charset.texi (Converting a Character): Mention embedded
19144 null bytes in the mbrtowc input string. Explain what happens in
19145 the -2 result case. Do not claim that mbrtowc is simple or
19146 obvious to use. Adjust the description of the code example. Use
19147 @code, not @var, for concrete variables.
19148
0f339252
FW
191492018-04-05 Florian Weimer <fweimer@redhat.com>
19150
19151 * manual/examples/mbstouwcs.c: New file.
19152 * manual/charset.texi (Converting a Character): Include it.
19153
e5f9508a
ST
191542018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19155
c120981d
ST
19156 * include/dirent.h (dirfd): Add hidden proto.
19157 * dirent/dirfd.c (dirfd): Add hidden def.
19158 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19159 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 19160
b2fd61ca
TMQMF
191612018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19162
19163 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19164 sin, cos and sincos to 1 ULP.
19165
10a446dd
MR
191662018-04-04 Maciej W. Rozycki <macro@mips.com>
19167
e7feec37
MR
19168 [BZ #19818]
19169 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19170 symbols.
19171 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19172 * elf/tst-absolute-sym.c: New file.
19173 * elf/tst-absolute-sym-lib.c: New file.
19174 * elf/tst-absolute-sym-lib.lds: New file.
19175 * elf/Makefile (tests): Add `tst-absolute-sym'.
19176 (modules-names): Add `tst-absolute-sym-lib'.
19177 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19178 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19179 ($(objpfx)tst-absolute-sym): New dependency.
19180
10a446dd
MR
19181 [BZ #19818]
19182 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19183 parameter.
19184 (SYMBOL_ADDRESS): New macro.
19185 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19186 SYMBOL_ADDRESS for symbol address calculation.
19187 * elf/dl-runtime.c (_dl_fixup): Likewise.
19188 (_dl_profile_fixup): Likewise.
19189 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19190 * elf/rtld.c (dl_main): Likewise.
19191 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19192 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19193 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19194 (elf_machine_rela): Likewise.
19195 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19196 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19198 (elf_machine_rela): Likewise.
19199 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19200 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19201 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19202 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19203 Likewise.
19204 (elf_machine_reloc): Likewise.
19205 (elf_machine_got_rel): Likewise.
19206 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19207 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19209 Likewise.
19210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19211 Likewise.
19212 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19213 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19214 Likewise.
19215 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19216 Likewise.
19217 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19219 Likewise.
19220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19221 Likewise.
19222 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19224
9185f86d
ZW
192252018-04-04 Zack Weinberg <zackw@panix.com>
19226
19227 * sysdeps/generic/internal-signals.h: Include signal.h,
19228 sigsetops.h, and stdbool.h.
19229 (__libc_signal_block_all): Actually block all signals.
19230 (__libc_signal_block_app): Likewise.
19231 (__libc_signal_restore_set): Actually restore the signal mask.
19232
b07367bc
FW
192332018-04-04 Florian Weimer <fweimer@redhat.com>
19234
19235 inet: Actually build and run tst-deadline.
19236 * inet/Makefile (tests-internal): Add tst-deadline and do not
19237 overwrite the variable.
19238 (tests-static-internal): Remove variable.
19239
f2652643
L
192402018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19241
19242 [BZ #22947]
19243 * bits/uio-ext.h (RWF_APPEND): New.
19244 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19245 * manual/llio.texi: Document RWF_APPEND.
19246 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19247 (RWF_SUPPORTED): Add RWF_APPEND.
19248
6b5c8607 192492018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
19250
19251 [BZ #22391]
19252 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19253 check for internal nptl signals.
19254 * nptl/sigaction.c (__sigaction): Likewise.
19255 * signal/sigaddset.c (sigaddset): Likewise.
19256 * signal/sigdelset.c (sigdelset): Likewise.
19257 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19258 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19259 value.
19260 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19261 to filter out internal nptl signals.
19262 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19263 also check realtime signals using standard macros.
19264 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19265 __is_internal_signal, __libc_signal_block_all,
19266 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19267 * sysdeps/nptl/sigfillset.c: Remove file.
19268 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19269 Change return to bool.
19270 (__clear_internal_signals): Remove SIGTIMER clean since it is
19271 equal to SIGCANEL on Linux.
19272 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19273 signal set was constructed using standard functions.
19274
511ed56f
ST
192752018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19276
92846492
ST
19277 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19278 ifname is too long.
e8ef51b1
ST
19279 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19280 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
19281 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19282 hidden def.
19283 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
19284 * signal/sigaddset.c: Include <sigsetopts.h>.
19285 * signal/sigdelset.c: Likewise.
511ed56f 19286
e88ecbbf
WD
192872018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19288
19289 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19290 (__cos): Likewise.
19291 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19292 logic as sin and cos.
19293
aef3e255
WD
192942018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19295
19296 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19297 inputs. Return correct sign.
19298 (do_sincos): Remove small input check before do_sin, let do_sin set
19299 the sign.
19300 (__sin): Likewise.
19301 (__cos): Likewise.
19302
72f6e9a3
WD
193032018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19304
19305 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19306 (do_cos_slow): Likewise.
19307 (do_sin_slow): Likewise.
19308 (reduce_and_compute): Likewise.
19309 (slow): Likewise.
19310 (slow1): Likewise.
19311 (slow2): Likewise.
19312 (sloww): Likewise.
19313 (sloww1): Likewise.
19314 (sloww2): Likewise.
19315 (bslow): Likewise.
19316 (bslow1): Likewise.
19317 (bslow2): Likewise.
19318 (cslow2): Likewise.
19319
64909583
WD
193202018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19321
19322 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19323 (do_cos): Remove corp parameter and calculations.
19324 (do_sin): Likewise.
19325 (do_sincos): Remove cor variable.
19326 (__sin): Use do_sincos for huge inputs.
19327 (__cos): Likewise.
19328 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19329 (reduce_and_compute_sincos): Remove unused function.
19330
d9469deb
WD
193312018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19332
19333 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19334 reduce_sincos, improve accuracy to 136 bits.
19335 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19336 (__sin): Use improved reduction and simplified do_sincos calculation.
19337 (__cos): Likewise.
19338 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19339
7a5640f2
WD
193402018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19341
19342 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19343 (do_sincos_2): Likewise.
19344 (__sin): Remove middle range reduction case.
19345 (__cos): Likewise.
19346 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19347 reduction case.
19348
19a8b9a3
WD
193492018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19350
19351 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19353 inputs.
19354 (__cos): Likewise.
19355 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19356
f72aa11d
JM
193572018-04-03 Joseph Myers <joseph@codesourcery.com>
19358
19359 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 19360 version to 4.16
f72aa11d 19361
8e4754ed
AZ
193622018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19363
19364 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19365 Remove definitions.
19366 (opendir_oflags): Use O_DIRECTORY regardless.
19367 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19368 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19369
8e2666ea
ST
193702018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19371
19372 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19373 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19374 macros.
19375 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19376 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19377 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19378 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
19379 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19380 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 19381
ad2b41bf
ST
19382 * htl/Makefile: Bump licence to LGPL 2.1+.
19383 * htl/alloca_cutoff.c: Likewise.
19384 * htl/cthreads-compat.c: Likewise.
19385 * htl/lockfile.c: Likewise.
19386 * htl/pt-alloc.c: Likewise.
19387 * htl/pt-cancel.c: Likewise.
19388 * htl/pt-cleanup.c: Likewise.
19389 * htl/pt-create.c: Likewise.
19390 * htl/pt-dealloc.c: Likewise.
19391 * htl/pt-detach.c: Likewise.
19392 * htl/pt-exit.c: Likewise.
19393 * htl/pt-getattr.c: Likewise.
19394 * htl/pt-initialize.c: Likewise.
19395 * htl/pt-internal.h: Likewise.
19396 * htl/pt-join.c: Likewise.
19397 * htl/pt-self.c: Likewise.
19398 * htl/pt-setcancelstate.c: Likewise.
19399 * htl/pt-setcanceltype.c: Likewise.
19400 * htl/pt-sigmask.c: Likewise.
19401 * htl/pt-spin-inlines.c: Likewise.
19402 * htl/pt-testcancel.c: Likewise.
19403 * htl/pt-yield.c: Likewise.
19404 * htl/tests/test-1.c: Likewise.
19405 * htl/tests/test-10.c: Likewise.
19406 * htl/tests/test-11.c: Likewise.
19407 * htl/tests/test-12.c: Likewise.
19408 * htl/tests/test-13.c: Likewise.
19409 * htl/tests/test-14.c: Likewise.
19410 * htl/tests/test-15.c: Likewise.
19411 * htl/tests/test-16.c: Likewise.
19412 * htl/tests/test-17.c: Likewise.
19413 * htl/tests/test-2.c: Likewise.
19414 * htl/tests/test-3.c: Likewise.
19415 * htl/tests/test-4.c: Likewise.
19416 * htl/tests/test-5.c: Likewise.
19417 * htl/tests/test-6.c: Likewise.
19418 * htl/tests/test-7.c: Likewise.
19419 * htl/tests/test-8.c: Likewise.
19420 * htl/tests/test-9.c: Likewise.
19421 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19422 * sysdeps/htl/bits/cancelation.h: Likewise.
19423 * sysdeps/htl/bits/pthread-np.h: Likewise.
19424 * sysdeps/htl/bits/pthread.h: Likewise.
19425 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19426 * sysdeps/htl/bits/semaphore.h: Likewise.
19427 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19428 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19429 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19430 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19431 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19432 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19433 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19434 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19435 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19436 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19437 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19438 * sysdeps/htl/old_pt-atfork.c: Likewise.
19439 * sysdeps/htl/pt-atfork.c: Likewise.
19440 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19441 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19442 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19443 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19444 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19445 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19446 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19447 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19448 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19449 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19450 * sysdeps/htl/pt-attr-init.c: Likewise.
19451 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19452 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19453 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19454 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19455 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19456 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19457 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19458 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19459 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19460 * sysdeps/htl/pt-attr.c: Likewise.
19461 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19462 * sysdeps/htl/pt-barrier-init.c: Likewise.
19463 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19464 * sysdeps/htl/pt-barrier.c: Likewise.
19465 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19466 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19467 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19468 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19469 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19470 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19471 * sysdeps/htl/pt-cond-init.c: Likewise.
19472 * sysdeps/htl/pt-cond-signal.c: Likewise.
19473 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19474 * sysdeps/htl/pt-cond-wait.c: Likewise.
19475 * sysdeps/htl/pt-cond.c: Likewise.
19476 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19477 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19478 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19479 * sysdeps/htl/pt-condattr-init.c: Likewise.
19480 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19481 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19482 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19483 * sysdeps/htl/pt-equal.c: Likewise.
19484 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19485 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19486 * sysdeps/htl/pt-getschedparam.c: Likewise.
19487 * sysdeps/htl/pt-getspecific.c: Likewise.
19488 * sysdeps/htl/pt-init-specific.c: Likewise.
19489 * sysdeps/htl/pt-key-create.c: Likewise.
19490 * sysdeps/htl/pt-key-delete.c: Likewise.
19491 * sysdeps/htl/pt-key.h: Likewise.
19492 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19493 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19494 * sysdeps/htl/pt-mutex-init.c: Likewise.
19495 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19496 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19497 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19498 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19499 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19500 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19501 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19502 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19503 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19504 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19505 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19506 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19507 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19508 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19509 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19510 * sysdeps/htl/pt-mutexattr.c: Likewise.
19511 * sysdeps/htl/pt-once.c: Likewise.
19512 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19513 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19514 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19515 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19516 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19517 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19518 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19519 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19520 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19521 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19522 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19523 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19524 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19525 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19526 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19527 * sysdeps/htl/pt-setschedparam.c: Likewise.
19528 * sysdeps/htl/pt-setschedprio.c: Likewise.
19529 * sysdeps/htl/pt-setspecific.c: Likewise.
19530 * sysdeps/htl/pt-spin.c: Likewise.
19531 * sysdeps/htl/pt-startup.c: Likewise.
19532 * sysdeps/htl/pthread.h: Likewise.
19533 * sysdeps/htl/sem-close.c: Likewise.
19534 * sysdeps/htl/sem-destroy.c: Likewise.
19535 * sysdeps/htl/sem-getvalue.c: Likewise.
19536 * sysdeps/htl/sem-init.c: Likewise.
19537 * sysdeps/htl/sem-open.c: Likewise.
19538 * sysdeps/htl/sem-post.c: Likewise.
19539 * sysdeps/htl/sem-timedwait.c: Likewise.
19540 * sysdeps/htl/sem-trywait.c: Likewise.
19541 * sysdeps/htl/sem-unlink.c: Likewise.
19542 * sysdeps/htl/sem-wait.c: Likewise.
19543 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19544 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19545 * sysdeps/mach/htl/pt-block.c: Likewise.
19546 * sysdeps/mach/htl/pt-spin.c: Likewise.
19547 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19548 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19549 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19550 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19551 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19552 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19553 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19554 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19555 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19556 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19557 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19558 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19559 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19560 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19561 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19562 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19563 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19564 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19565 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19566 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19567 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19568 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19569 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19570 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19571 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19572 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19573 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19574 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19575 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19576 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19577 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19578 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19579 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19580 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19581 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19582 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19583 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19584 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19585 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19586 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19587 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19588 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19589 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19590
fb03b04b
ST
19591 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19592 * README: Remove the mention of out-of-tree patches needed for
19593 GNU/Hurd.
19594
fa9e1555
ST
19595 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19596 (UTIME_NOW, UTIME_OMIT): Define macros.
19597
f6fb29d2
ST
19598 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19599 instead of pthread_detach.
19600 (__cthread_fork): Call __pthread_create instead of pthread_create.
19601 (__cthread_keycreate): Call __pthread_key_create instead of
19602 pthread_key_create.
19603 (__cthread_getspecific): Call __pthread_getspecific instead of
19604 pthread_getspecific.
19605 (__cthread_setspecific): Call __pthread_setspecific instead of
19606 pthread_setspecific.
19607 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19608 __pthread_mutex_unlock instead of pthread_mutex_lock and
19609 pthread_mutex_unlock.
19610 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19611 ___pthread_get_cleanup_stack.
19612 (__pthread_get_cleanup_stack): New strong alias.
19613 * htl/pt-create.c: Include <pthreadP.h>.
19614 (entry_point): Call __pthread_exit instead of pthread_exit.
19615 (pthread_create): Rename to __pthread_create.
19616 (pthread_create): New strong alias.
19617 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19618 (pthread_detach): New strong alias.
19619 (__pthread_detach): Call __pthread_cond_broadcast instead of
19620 pthread_cond_broadcast.
fe9748cc
ST
19621 * htl/pt-exit.c: Include <pthreadP.h>.
19622 (__pthread_exit): Call __pthread_setcancelstate and
19623 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19624 __pthread_get_cleanup_stack.
f6fb29d2
ST
19625 * htl/pt-testcancel.c: Include <pthreadP.h>.
19626 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19627 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19628 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19629 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19630 pthread_attr_getstacksize.
19631 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19632 Rename to __pthread_attr_getstackaddr.
19633 (pthread_attr_getstackaddr): New strong alias.
19634 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19635 Rename to __pthread_attr_getstacksize.
19636 (pthread_attr_getstacksize): New strong alias.
19637 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19638 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19639 (pthread_attr_setstack): New strong alias.
19640 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19641 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19642 pthread_attr_getstacksize, pthread_attr_setstacksize and
19643 pthread_attr_setstackaddr.
19644 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19645 Rename to __pthread_attr_setstackaddr.
19646 (pthread_attr_setstackaddr): New strong alias.
19647 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19648 Rename to __pthread_attr_setstacksize.
19649 (pthread_attr_setstacksize): New strong alias.
19650 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19651 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19652 pthread_exit.
19653 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19654 (__pthread_key_create): New hidden def.
19655 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19656 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19657 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19658 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19659 __pthread_setspecific, __pthread_setcancelstate,
19660 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19661 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19662 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19663 declarations.
19664 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19665 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19666 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19667 (pthread_attr_setstackaddr): New strong alias.
19668 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19669 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19670 (pthread_attr_setstacksize): New strong alias.
19671 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19672 (call_exit): Call __pthread_exit instead of pthread_exit.
19673 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19674 (_pthread_mutex_init): New hidden definition.
19675 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19676 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19677 instead of pthread_attr_init and pthread_attr_setstack.
19678
dba2bdbe
ST
19679 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19680 __vm_deallocate instead of vm_allocate and vm_deallocate.
19681 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19682 setenv.
19683 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19684 of geteuid.
19685 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19686 strdup.
19687 * hurd/siginfo.c: Include <libioP.h>.
19688 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19689 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19690 munmap.
dba2bdbe
ST
19691 * mach/devstream.c: Include <libioP.h>.
19692 (dealloc_ref): Call __mach_port_deallocate instead of
19693 mach_port_deallocate.
19694 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19695 Call __mach_port_deallocate instead of mach_port_deallocate.
19696 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19697 pathconf.
19698 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19699 munmap.
19700 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19701 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19702 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19703 of munmap.
19704 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19705 of close.
19706 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19707 instead of sysconf.
19708 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19709 __clock_gettime instead of clock_gettime.
19710 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19711 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19712 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19713 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19714 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19715 tcgetattr.
19716 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19717 __clock_gettime and __nanosleep instead of clock_gettime and
19718 nanosleep.
7a8f45e3
ST
19719 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19720 __hurd_catch_signal.
19721 (hurd_catch_signal): New strong alias.
19722 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19723 __hurd_catch_signal instead of hurd_catch_signal.
19724 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19725 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19726 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19727 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19728 (_hurd_thread_sigstate): Add hidden def.
19729 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19730 mutex_unlock.
19731 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19732 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19733 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19734 __hurd_file_name_path_lookup.
19735 (hurd_file_name_path_lookup): New strong alias.
19736 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19737 hurd_file_name_path_lookup.
19738 * mach/errstring.c (mach_error_type): Add hidden def.
19739 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19740 * mach/mutex-init.c (__mutex_init): Add hidden def.
19741 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19742 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19743 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19744 * sysdeps/mach/hurd/getcwd.c
19745 (_hurd_canonicalize_directory_name_internal): Rename to
19746 __hurd_canonicalize_directory_name_internal.
19747 (_hurd_canonicalize_directory_name_internal): New strong alias.
19748 (__canonicalize_directory_name_internal, __getcwd): Call
19749 __hurd_canonicalize_directory_name_internal instead of
19750 _hurd_canonicalize_directory_name_internal.
19751 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19752 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19753 hidden defs.
19754 * sysdeps/hurd/include/hurd.h: New file.
19755 * sysdeps/hurd/include/hurd/fd.h: New file.
19756 * sysdeps/hurd/include/hurd/signal.h: New file.
19757 * sysdeps/mach/include/lock-intern.h: New file.
19758 * sysdeps/mach/include/mach.h: New file.
19759 * sysdeps/mach/include/mach/mig_support.h: New file.
19760 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
19761 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19762 prototype.
19763 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19764 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19765 _HEADER_H_HIDDEN_DEF macro.
19766 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19767 _hurd_fd_error_signal): Add hidden prototype.
19768 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19769 hidden def.
82dbf555
ST
19770 * libio/iolibio.h (_IO_puts): New hidden prototype.
19771 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
19772 * sysdeps/mach/hurd/localplt.data: New file.
19773
33574c17 197742018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
19775 Amos Jeffries <squid3@treenet.co.nz>
19776 David Michael <fedora.dm0@gmail.com>
19777 Marco Gerards <marco@gnu.org>
19778 Marcus Brinkmann <marcus@gnu.org>
19779 Neal H. Walfield <neal@gnu.org>
19780 Pino Toscano <toscano.pino@tiscali.it>
19781 Richard Braun <rbraun@sceen.net>
19782 Roland McGrath <roland@gnu.org>
19783 Samuel Thibault <samuel.thibault@ens-lyon.org>
19784 Thomas DiModica <ricinwich@yahoo.com>
19785 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
19786
19787 * htl: New directory.
19788 * sysdeps/htl: New directory.
19789 * sysdeps/hurd/htl: New directory.
19790 * sysdeps/i386/htl: New directory.
19791 * sysdeps/mach/htl: New directory.
19792 * sysdeps/mach/hurd/htl: New directory.
19793 * sysdeps/mach/hurd/i386/htl: New directory.
19794 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19795 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19796 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19797
03e2aa50
ST
197982018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19799
19800 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19801 signals in thread created for runing timers.
19802
1aa52ced
FW
198032018-04-01 Florian Weimer <fweimer@redhat.com>
19804
19805 * support/support_format_addrinfo.c (support_format_addrinfo):
19806 Include unknown error number in formatted result.
19807
4d76d3e5
FW
198082018-03-29 Florian Weimer <fweimer@redhat.com>
19809
19810 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19811 capture SIGBUS.
19812
d39c0a45
AZ
198132018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19814
19815 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19816 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19817 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19818 (__ASSUME_CLONE_BACKWARDS): Define.
19819
cc8a1620
JH
198202018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19821
57408435 19822 [BZ #23024]
cc8a1620
JH
19823 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19824 early when linux sentinel value is set.
19825
8bfd94d0
ST
198262018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19827
19828 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19829
f178e59f
AS
198302018-03-27 Andreas Schwab <schwab@suse.de>
19831
19832 [BZ #23005]
19833 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19834 allocation of private copy of nsaddr_list fails.
19835
5f45f96a
JM
198362018-03-26 Joseph Myers <joseph@codesourcery.com>
19837
19838 [BZ #16552]
19839 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19840 * sysdeps/unix/sysv/linux/umount.c: ... here.
19841 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19842 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19843 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19844 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19846 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19847 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19848
3dfd23eb
AS
198492018-03-26 Andreas Schwab <schwab@suse.de>
19850
19851 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19852 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19853 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19854 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19855 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19856 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19857 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19858 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19859 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19860 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19861 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19862 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19863 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19864 (R_RISCV_NUM): Define.
19865
fa97d2ab
ST
198662018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19867
19868 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19869 TLS declaration of errno.
37be82a0
ST
19870 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19871 __libc_setup_tls.
19872 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19873 (ARCH_SETUP_TLS): Likewise.
19874 * sysdeps/mach/hurd/libc-start.h: New file copied from
19875 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
19876 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19877 instead of __libc_setup_tls.
37be82a0 19878 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
19879 __libc_setup_tls before initializing libpthread and running _hurd_init
19880 which starts the signal thread.
19881 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19882 Declare function.
2d813d7b 19883 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 19884
b8114edd
L
198852018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19886
19887 [BZ #22998]
19888 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19889 after it is defined.
19890
cd66c0e5
AS
198912018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19892 Max Horn <max@quendi.de>
19893
19894 [BZ #22644]
43d4f3d5 19895 CVE-2017-18269
cd66c0e5
AS
19896 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19897 branch conditions.
19898 * string/test-memmove.c (do_test2): New testcase.
19899
a4406139
JM
199002018-03-22 Joseph Myers <joseph@codesourcery.com>
19901
19902 * sysdeps/generic/frame.h: Remove file.
19903 * sysdeps/arm/frame.h: Likewise.
19904 * sysdeps/hppa/frame.h: Likewise.
19905 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19906 macro.
19907 (GET_FRAME): Likewise.
19908 (GET_STACK): Likewise.
19909 (CALL_SIGHANDLER): Likewise.
19910 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19911 Likewise.
19912 (GET_FRAME): Likewise.
19913 (GET_STACK): Likewise.
19914 (CALL_SIGHANDLER): Likewise.
19915 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19917 (GET_FRAME): Likewise.
19918 (GET_STACK): Likewise.
19919 (CALL_SIGHANDLER): Likewise.
19920 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19922 (GET_FRAME): Likewise.
19923 (GET_STACK): Likewise.
19924 (ADVANCE_STACK_FRAME): Likewise.
19925 (CALL_SIGHANDLER): Likewise.
19926 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19927 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19928 (GET_FRAME): Likewise.
19929 (GET_STACK): Likewise.
19930 (CALL_SIGHANDLER): Likewise.
19931 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19932 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19933 (GET_FRAME): Likewise.
19934 (GET_STACK): Likewise.
19935 (CALL_SIGHANDLER): Likewise.
19936 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19937 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19938 (GET_FRAME): Likewise.
19939 (GET_STACK): Likewise.
19940 (CALL_SIGHANDLER): Likewise.
19941 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19942 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19943 (GET_FRAME): Likewise.
19944 (GET_STACK): Likewise.
19945 (CALL_SIGHANDLER): Likewise.
19946 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19947 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19948 (GET_FRAME): Likewise.
19949 (GET_STACK): Likewise.
19950 (CALL_SIGHANDLER): Likewise.
19951 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19952 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19953 (GET_FRAME): Likewise.
19954 (GET_STACK): Likewise.
19955 (CALL_SIGHANDLER): Likewise.
19956 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19957 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19958 (GET_FRAME): Likewise.
19959 (GET_STACK): Likewise.
19960 (CALL_SIGHANDLER): Likewise.
19961 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19962 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19963 (GET_FRAME): Likewise.
19964 (GET_STACK): Likewise.
19965 (CALL_SIGHANDLER): Likewise.
19966 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19967 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19968 (GET_FRAME): Likewise.
19969 (GET_STACK): Likewise.
19970 (CALL_SIGHANDLER): Likewise.
19971 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19972 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19973 (FIRST_FRAME_POINTER): Likewise.
19974 (ADVANCE_STACK_FRAME): Likewise.
19975 (GET_STACK): Likewise.
19976 (GET_FRAME): Likewise.
19977 (CALL_SIGHANDLER): Likewise.
19978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19979 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19980 (ADVANCE_STACK_FRAME): Likewise.
19981 (GET_STACK): Likewise.
19982 (GET_FRAME): Likewise.
19983 (CALL_SIGHANDLER): Likewise.
19984 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19985 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19986 (GET_FRAME): Likewise.
19987 (GET_STACK): Likewise.
19988 (CALL_SIGHANDLER): Likewise.
19989 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19990 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19991 (GET_FRAME): Likewise.
19992 (GET_STACK): Likewise.
19993 (CALL_SIGHANDLER): Likewise.
19994
ffec7b27
JM
199952018-03-21 Joseph Myers <joseph@codesourcery.com>
19996
19997 * sysdeps/x86_64/backtrace.c: Move to ....
19998 * debug/backtrace.c: ... here.
19999 * sysdeps/aarch64/backtrace.c: Remove file.
20000 * sysdeps/alpha/backtrace.c: Likewise.
20001 * sysdeps/hppa/backtrace.c: Likewise.
20002 * sysdeps/ia64/backtrace.c: Likewise.
20003 * sysdeps/mips/backtrace.c: Likewise.
20004 * sysdeps/nios2/backtrace.c: Likewise.
20005 * sysdeps/riscv/backtrace.c: Likewise.
20006 * sysdeps/sh/backtrace.c: Likewise.
20007 * sysdeps/tile/backtrace.c: Likewise.
20008
8a07b0c4
JM
200092018-03-20 Joseph Myers <joseph@codesourcery.com>
20010
d0c5d731
JM
20011 [BZ #22987]
20012 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
20013 function.
20014 (fdimf): Likewise.
20015 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
20016
8a07b0c4
JM
20017 [BZ #17343]
20018 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
20019 possibly overflowing computations.
20020
ceb54b9b
ST
200212018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
20022
20023 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
20024 values from Linux-specific section now that it is in the GNU section.
20025 * sysdeps/gnu/errlist.c: Regenerate.
20026
8d3f9e85
JM
200272018-03-20 Joseph Myers <joseph@codesourcery.com>
20028
20029 * math/Makefile (libm-narrow-fns): Add sub.
20030 (libm-test-funcs-narrow): Likewise.
20031 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
20032 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
20033 * math/gen-auto-libm-tests.c (test_functions): Add sub.
20034 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
20035 (NARROW_SUB_ROUND_TO_ODD): Likewise.
20036 (NARROW_SUB_TRIVIAL): Likewise.
20037 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
20038 macro.
20039 (__dsubl): Likewise.
20040 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
20041 dsub.
20042 (CFLAGS-nldbl-dsub.c): New variable.
20043 (CFLAGS-nldbl-fsub.c): Likewise.
20044 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20045 __nldbl_dsubl.
20046 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
20047 prototype.
20048 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
20049 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
20050 * math/auto-libm-test-in: Add tests of sub.
20051 * math/auto-libm-test-out-narrow-sub: New generated file.
20052 * math/libm-test-narrow-sub.inc: New file.
20053 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
20054 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
20055 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
20056 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
20057 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
20058 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
20059 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
20060 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
20061 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
20064 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
20065 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
20066 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
20067 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
20068 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
20069 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
20070 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
20071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20072 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20073 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20074 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20075 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20076 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20077 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20078 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20079 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20080 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20081 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20082 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20083 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20084 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20089 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20090 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20091 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20092 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20093 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20094 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20095 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20096 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20097 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20098 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20099
d473f015
JM
201002018-03-19 Joseph Myers <joseph@codesourcery.com>
20101
20102 [BZ #20079]
20103 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20104
fbce6f72
WD
201052018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20106
20107 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20108
72e7ffc3
RB
201092018-03-18 Richard Braun <rbraun@sceen.net>
20110
20111 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20112 thread reference.
20113
542c20a1
AA
201142018-03-18 Agustina Arzille <avarzille@riseup.net>
20115
20116 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20117 (__libc_cleanup_fct): Define function.
20118 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20119 __libc_cleanup_end): Rewrite implementation using
20120 __attribute__ ((__cleanup__)).
20121 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
20122 * hurd/Makefile (routines): Add hurdlock.
20123 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20124 interface.
20125 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20126 * hurd/hurdpid.c: Include <lowlevellock.h>
20127 (_S_msg_proc_newids): Use lll_wait to synchronize.
20128 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20129 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20130 * mach/Makefile (lock-headers): Remove machine-lock.h.
20131 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20132 <machine-lock.h>.
20133 (__spin_lock_t): New type.
20134 (__SPIN_LOCK_INITIALIZER): New macro.
20135 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20136 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20137 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20138 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20139 (__mutex_init): Initialize with lll.
20140 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20141 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20142 needing lll.
20143 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20144 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20145 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20146 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20147 (__setpgid): Use lll for synchronization.
20148 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20149 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20150 instead of <cthreads.h>.
20151 (_IO_lock_inexpensive): New macro
20152 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20153 (__libc_lock_self0): New declaration.
20154 (__libc_lock_owner_self): New macro.
20155 (__libc_key_t): Remove type.
20156 (_LIBC_LOCK_INITIALIZER): New macro.
20157 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20158 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20159 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20160 __libc_lock_define_initialized_recursive,
20161 __rtld_lock_define_initialized_recursive,
20162 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20163 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20164 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20165 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20166 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20167 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20168 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20169 New macros.
20170 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20171 * hurd/hurdlock.c: New file.
20172 * hurd/hurdlock.h: New file.
20173 * mach/lowlevellock.h: New file
542c20a1 20174
9a37922e
ST
201752018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20176
20177 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
20178 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20179 when opening a symlink with O_NOFOLLOW.
72103e73
ST
20180 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20181 path when flags contains O_NOFOLLOW.
20182 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20183 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
20184 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20185 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
20186 * sysdeps/mach/hurd/mlockall.c: New file.
20187 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 20188
34e6a869
ST
201892018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20190
20191 * hurd/hurdsig.c: Include <pthread.h>.
20192 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20193 get the signal thread stack layout.
dc33bef3
ST
20194 * hurd/Makefile (headers): Remove threadvar.h.
20195 (inline-headers): Remove threadvar.h.
20196 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20197 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20198 __hurd_threadvar_max, __hurd_errno_location.
20199 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20200 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20201 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20202 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20203 unless TLS is not initialized yet, in which case we do not need a
20204 critical section yet anyway.
20205 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20206 <machine-sp.h>.
20207 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20208 declarations.
20209 (__hurd_threadvar_index): Remove enum.
20210 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20211 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20212 inlines.
20213 (__hurd_reply_port0): New variable declaration.
20214 (__hurd_local_reply_port): New macro.
20215 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20216 (interrupted_reply_port_location): Add thread_t parameter. Use it
20217 with THREAD_TCB to access thread-local variables.
20218 (_hurdsig_abort_rpcs): Pass ss->thread to
20219 interrupted_reply_port_location.
20220 (_hurd_internal_post_signal): Likewise.
20221 (_hurdsig_init): Use presence of cthread_fork instead of
20222 __hurd_threadvar_stack_mask to start signal thread by hand.
20223 Remove signal thread threadvar initialization.
20224 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20225 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20226 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20227 of threadvar.
20228 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20229 __libc_lock_self0.
20230 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20231 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20232 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20233 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20234 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20235 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20236 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20237 define variables.
20238 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20239 <hurd/threadvar.h>.
20240 [IS_IN(rtld)] (rtld_errno): New variable.
20241 [IS_IN(rtld)] (__errno_location): New weak function.
20242 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20243 * sysdeps/mach/hurd/errno.c: Remove file.
20244 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20245 (__fork): Remove THREADVAR_SPACE macro and its use.
20246 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20247 variable.
20248 (init): Do not initialize threadvar.
20249 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20250 symbol.
20251 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20252 __hurd_local_reply_port instead of threadvar.
20253 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20254 _hurd_sigstate fields.
20255 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20256 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20257 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20258 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20259 instead of threadvar.
20260 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20261 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20262 (use_threadvar, global_reply_port): Remove variables.
20263 (__hurd_reply_port0): New variable.
20264 (__mig_get_reply_port): Use __hurd_local_reply_port and
20265 __hurd_reply_port0 instead of threadvar.
20266 (__mig_dealloc_reply_port): Likewise.
20267 (__mig_init): Do not initialize threadvar.
20268 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
20269 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20270 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20271 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20272 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20273 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20274 __cthread_setspecific.
20275 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20276 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20277 __cthread_t instead of cthread_fork, cthread_detach,
20278 pthread_getattr_np, pthread_attr_getstack.
20279 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20280 __cthread_keycreate.
20281 (cthread_getspecific): Rename to __cthread_getspecific.
20282 (cthread_setspecific): Rename to __cthread_setspecific.
20283 (__libc_getspecific): Use __cthread_getspecific instead of
20284 cthread_getspecific.
20285 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20286 __cthread_keycreate instead of cthread_keycreate.
20287 (__libc_setspecific): Use __cthread_setspecific instead of
20288 cthread_setspecific.
20289 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20290 Likewise.
dd28d4ba
ST
20291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20292 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20293 testing whether it is defined.
34e6a869 20294
f8baf2a2
ST
202952018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20296
20297 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20298 Define macro.
20299 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20300 * sysdeps/mach/i386/thread_state.h
20301 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20302 i386_THREAD_STATE.
20303 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20304 i386_THREAD_STATE.
20305 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20306
20307 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20308 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20309
20310 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20311 macros.
20312 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20313 descriptor instead of creating a new one.
20314 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20315
20316 * mach/setup-thread.c: Include <ldsodefs.h>.
20317 (__mach_setup_thread): Call _dl_allocate_tls, pass
20318 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20319 MACHINE_THREAD_STATE_FLAVOR, before getting
20320 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20321 MACHINE_THREAD_STATE_FLAVOR with the result.
20322 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20323 MACHINE_THREAD_STATE_FIX_NEW.
20324 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20325 too. Add original thread parameter.
20326
34ba96b8
JM
203272018-03-16 Joseph Myers <joseph@codesourcery.com>
20328
5d75b75f
JM
20329 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20330 Remove inline function.
20331
34ba96b8
JM
20332 * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20334
22679b2c
WD
203352018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20336
20337 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20338 commit.
20339
c429a8d8
JM
203402018-03-15 Joseph Myers <joseph@codesourcery.com>
20341
20342 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20343 (__sincos_code): Remove define and undefine.
20344 [__FAST_MATH__] (__sincos): Remove inline function.
20345 [__FAST_MATH__] (__sincosf): Remove inline function.
20346 [__FAST_MATH__] (__sincosl): Remove inline function.
20347 (__atan2l): Remove inline functions.
20348 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20349 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20350 function.
20351 (floor): Remove inline function.
20352 (ceil): Likewise.
20353 [__FAST_MATH__] (__ldexp_code): Remove macro.
20354 [__FAST_MATH__] (ldexp): Remove inline function.
20355 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20356 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20357 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20358 [__USE_ISOC99] (__lrint_code): Remove macro.
20359 [__USE_ISOC99] (__llrint_code): Likewise.
20360 [__USE_ISOC99] (lrintf): Remove inline function.
20361 [__USE_ISOC99] (lrint): Likewise.
20362 [__USE_ISOC99] (lrintl): Likewise.
20363 [__USE_ISOC99] (llrint): Likewise.
20364 [__USE_ISOC99] (llrintf): Likewise.
20365 [__USE_ISOC99] (llrintl): Likewise.
20366
700593fd
WD
203672018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20368
20369 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20370 (__ieee754_sqrtf): Remove.
20371 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20372 (__ieee754_sqrtf): Remove.
20373 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20374 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20375 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20376 (__ieee754_sqrtf): Remove.
20377 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20378 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20379 (sqrtf): Remove.
20380 (sqrtl): Remove.
20381 (__ieee754_sqrt): Remove.
20382 (__ieee754_sqrtf): Remove.
20383 (__ieee754_sqrtl): Remove.
20384 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20385 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20386 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20387 (__ieee754_sqrtf): Remove.
20388 (__ieee754_sqrtl): Remove.
20389
f67a8147
WD
203902018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20391
20392 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20393 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20395 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20396 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20398 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20399 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20400 Likewise.
20401 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20402 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20403 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20404 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20405 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20406 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20407 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20408 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20409 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20410 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20411 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20412 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20413 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20414 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20415 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20416 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20417 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20418 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20419 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20424 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20425 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20426 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20427 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20430 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20431 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20432 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20433 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20434 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20435 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20436 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20438 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20439 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20440 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20441
1294b189
WD
204422018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20443
20444 * include/math.h (sqrt): Declare with asm redirect.
20445 (sqrtf): Likewise.
20446 (sqrtl): Likewise.
20447 (sqrtf128): Likewise.
20448 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20449 nonlib and libnldbl with -fmath-errno.
20450 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20451 * math/w_sqrt_template.c: Likewise.
20452 * math/w_sqrtf_compat.c: Likewise.
20453 * math/w_sqrtl_compat.c: Likewise.
20454 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20455 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20456 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20457 complex.h.
20458
f1c8185d
WD
204592018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20460
20461 * benchtests/Makefile: Define _ISOMAC.
20462 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20463 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20464 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20465 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20466 * benchtests/bench-timing.h: Define attribute_hidden.
20467
b47c3e76
SP
204682018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20469
20470 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20471 mov + lsr.
20472
ab74d59f 204732018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
807fee29
RL
20474
20475 [BZ #22963]
20476 * localedata/locales/cs_CZ (mon): Rename to...
20477 (alt_mon): This.
20478 (mon): Import from CLDR (genitive case).
20479
ab74d59f 204802018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
e7155a28
RL
20481
20482 [BZ #22937]
20483 * localedata/locales/el_CY (abmon): Rename to...
20484 (ab_alt_mon): This.
20485 (abmon): Import from CLDR (abbreviated genitive case).
20486 * localedata/locales/el_GR (abmon): Rename to...
20487 (ab_alt_mon): This.
20488 (abmon): Import from CLDR (abbreviated genitive case).
20489
ab74d59f 204902018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
71d7b121
RL
20491
20492 [BZ #22932]
20493 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20494
a00bffe8
RB
204952018-03-15 Robert Buj <robert.buj@gmail.com>
20496
20497 [BZ #22848]
20498 * localedata/locales/ca_ES (abmon): Rename to...
20499 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20500 (mon): Rename to...
20501 (alt_mon): This.
20502 (abmon): Import from CLDR (genitive case, month names preceded by
20503 "de" or "d’").
20504 (mon): Likewise.
20505 (abday): Synchronize with CLDR.
20506 (d_t_fmt): Likewise.
20507 (d_fmt): Likewise.
20508 (am_pm): Likewise.
20509
20510 (LC_TIME): Improve indentation.
20511 (LC_TELEPHONE): Likewise.
20512 (LC_NAME): Likewise.
20513 (LC_ADDRESS): Likewise.
20514
f9555d73
JM
205152018-03-14 Joseph Myers <joseph@codesourcery.com>
20516
20517 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20518 (lrintf): Remove definitions used only with old GCC.
20519 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20520 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20521 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20522 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20523 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20524 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20525 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20526 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20527 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20528 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20529 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20530 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20531 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20532 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20533 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20534 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20535 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20536 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20537 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20538 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20539 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20540 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20541 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20542 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20543 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20544 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20545 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20546 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20547
d46f84de
SP
205482018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20549
20550 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20551 instruction to unbreak builds with binutils 2.26 and older.
20552
7108f1f9
SP
205532018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20554
20555 * sysdeps/aarch64/strncmp.S (count): New macro.
20556 (strncmp): Store misaligned length in SRC1 in COUNT.
20557 (mutual_align): Adjust.
20558 (misaligned8): Load dword at a time when it is safe.
20559
2cc7bad0
ZW
205602018-03-12 Zack Weinberg <zackw@panix.com>
20561
20562 [BZ #1190]
20563 [BZ #19476]
20564 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20565 if the _IO_EOF_SEEN bit is already set; update commentary.
20566 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20567 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20568
20569 * support/support_openpty.c, support/tty.h: New files.
20570 * support/Makefile (libsupport-routines): Add support_openpty.
20571
20572 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20573 New test cases.
20574 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20575 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20576
778f1974
DL
205772018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20578
20579 * po/pt_BR.po: Update translations.
20580
6b5c8607 205812018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
20582
20583 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20584 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20585 get a port to the startup server.
20586
d3da750d
ZW
205872018-03-11 Zack Weinberg <zackw@panix.com>
20588
20589 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20590 before nldbl-compat.h.
20591
054b72cc
ZW
205922018-03-10 Zack Weinberg <zackw@panix.com>
20593
0d13dfa1
ZW
20594 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20595 math.h or math_private.h.
20596
20597 * sysdeps/alpha/fpu/s_isnan.c
20598 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20599 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20600 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20601 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20602 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20603 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20604 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20605 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20606 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20609 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20610 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20611 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20612 Include math_private.h.
20613
20614 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20615 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20616 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20617 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20618 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20619 * sysdeps/powerpc/power7/fpu/s_logb.c:
20620 Include math.h and math_private.h.
20621
054b72cc
ZW
20622 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20623 uses of $at in .set noat / .set at.
20624
6253bacd
L
206252018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20626
20627 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20628 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20629 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20630 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20631 Likewise.
20632
229855e5
FW
206332018-03-09 Florian Weimer <fweimer@redhat.com>
20634
20635 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20636 in comment.
20637
9aa5c222
AJ
206382018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20639
20640 [BZ #22919]
20641 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20642 Add nop before __startcontext, add explaining comments.
20643
3dc21497
AZ
206442018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20645
e921c89e
AZ
20646 [BZ #22926]
20647 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20648 empty for __SPE__.
20649 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20650 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20651 Do not build hardware transactional code for __SPE__.
20652 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20653 (__lll_trylock_elision): Likewise.
20654 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20655 (__lll_unlock_elision): Likewise.
20656
d9f26dab 20657 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
20658 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20659 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20660 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20661 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20662 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20663 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20664 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20665 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20666 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20667 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20668 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20669 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20670 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20671 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20672 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20673 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20674 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20675 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20676 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20677 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20678 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20679 (__ASSUME_CLONE_BACKWARDS): Define.
20680 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20681 __clone2 if __NR_clone2 is defined.
20682 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20683 (__ASSUME_CLONE_BACKWARDS): Likewise.
20684 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20685 (__ASSUME_CLONE_BACKWARDS): Likewise.
20686 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20687 (__ASSUME_CLONE2): Likewise.
20688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20689 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20690 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20691 variants and the define architecture can use.
20692 (__ASSUME_CLONE_DEFAULT): Define as default.
20693 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20694 (__ASSUME_CLONE_BACKWARDS): Likewise.
20695 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20696 (__ASSUME_CLONE_BACKWARDS): Likewise.
20697 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20698 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20699
adc95fb0
SP
207002018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20701
4e54d918
SP
20702 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20703
30a81dae
SP
20704 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20705 time.
20706
adc95fb0
SP
20707 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20708 (do_test_limit): Likewise.
20709
20710 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20711 for every implementation.
20712 (do_test): Likewise.
20713
20714 * benchtests/bench-strncmp.c: Convert output to json.
20715
4e9066bc
ST
207162018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20717
20718 * io/futimens.c: Add missing start-of-file descriptive comment.
20719 * io/utime.c: Likewise.
20720 * misc/futimesat.c: Likewise.
20721 * misc/utimes.c: Likewise.
20722 * sysdeps/mach/hurd/futimesat.c: Likewise.
20723 * sysdeps/mach/hurd/utimes.c: Likewise.
20724 * sysdeps/posix/utime.c: Likewise.
20725 * sysdeps/posix/utimes.c: Likewise.
20726 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20727 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20728 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20729 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20730
ec1300cf
ST
207312018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20732
20733 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20734 hurd_futimes.
20735 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20736 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20737 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20738 (__futimens): Move implementation to...
20739 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20740 utime_tvalue_from_tspec): ... new helper functions.
20741 (hurd_futimens): New function.
20742 * sysdeps/mach/hurd/futimesat.c: New file.
20743 * sysdeps/mach/hurd/utimensat.c: New file.
20744
bbe762d1
FC
207452018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20746
20747 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20748 UTIME_OMIT): New macros.
20749 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20750 before reverting to converting time spec to time value and calling
20751 __file_utimes.
20752 * sysdeps/mach/hurd/utime-helper.c: New file.
20753 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20754 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20755 reverting to utime_tvalue_from_tval and __file_utimes.
20756 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20757 (__lutimes): Just call hurd_futimens after lookup.
20758 * sysdeps/mach/hurd/utimes.c: Likewise.
20759
a1ede3a4
ST
207602018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20761
20762 * bits/sigaction.h: Add include guard.
20763 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20764 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20765 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20766 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20767 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20768 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20770 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20771 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20772
6900d2ca
JM
207732018-03-05 Joseph Myers <joseph@codesourcery.com>
20774
20775 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20776 -Wmaybe-uninitialized for -Os.
20777 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20778 this disabling.
20779
68448be2
AZ
207802018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20781
5226a81f
AZ
20782 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20783 __INO_T_MATCHES_INO64_T is defined.
20784 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20785 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20786 of definition.
20787 * dirent/alphasort64.c: Likewise.
20788 * dirent/scandir.c: Likewise.
20789 * dirent/scandir64-tail.c: Likewise.
20790 * dirent/scandir64.c: Likewise.
20791 * dirent/scandirat.c: Likewise.
20792 * dirent/scandirat64.c: Likewise.
20793 * dirent/versionsort.c: Likewise.
20794 * dirent/versionsort64.c: Likewise.
20795 * include/dirent.h: Likewise.
20796
fbd01e6c
AZ
20797 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20798 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20799 for socketpair endpoint.
20800 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20801 WRITE_BUFFER_SIZE as buffer size for sending socket.
20802 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20803 issue on system where send is implemented with sendto syscall.
20804 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20805 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20806 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20807 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20808
68448be2
AZ
20809 [BZ #21269]
20810 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20811 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20812 sa_restorer for vDSO case.
20813 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20814
eb1ca47e
ST
208152018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20816
20817 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
20818 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20819 * hurd/hurd/ioctl.h: Include <mach/port.h>
20820 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
20821 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20822 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
20823 (headers): Move mach/param.h to bits/mach/param.h.
20824 * sysdeps/mach/i386/mach/param.h: Move file to ...
20825 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20826 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20827 of <mach/param.h>.
3403cb7d
ST
20828 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20829 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20830 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
20831 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20832 trivial, for C++ conformity.
44c6376c 20833 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
20834 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20835 Process mig output through $(migheadersed).
20836 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
20837 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20838 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20839 headers.
ba89615d
ST
20840 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20841 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20842 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20843 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20844 <bits/types/sigset_t.h>.
20845 [!defined __USE_GNU]: Do not #error out.
20846 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20847 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20848 Include <stddef.h> and <bits/types/sigset_t.h>
20849 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20850 instead of sighandler_t.
974393ea
ST
20851 * stdlib/errno.h (error_t): Move definition to...
20852 * bits/types/error_t.h: ... new header.
20853 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20854 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20855 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20856 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20857 * hurd/hurd.h: Include <bits/types/error_t.h>
20858 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20859 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20860 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20861 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20862 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20863 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 20864 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 20865
eaf6753f
AS
208662018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20867
20868 [BZ #22918]
20869 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20870 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20871 * nscd/gai.c (__nss_hosts_database): Readd definition.
20872 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20873 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20874 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20875
4dc23804
JM
208762018-03-02 Joseph Myers <joseph@codesourcery.com>
20877
20878 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20879 (ifunc_one): Likewise.
20880
1c81d55f
DD
208812018-03-01 DJ Delorie <dj@delorie.com>
20882
20883 [BZ #22342]
20884 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20885 key value.
20886
b717c14f
MR
208872018-03-01 Maciej W. Rozycki <macro@mips.com>
20888
20889 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20890 `match_pid' parameter.
20891 (td_ta_thr_iter): Update accordingly.
20892
1efe1358
FW
208932018-03-01 Florian Weimer <fweimer@redhat.com>
20894
20895 * nptl/Makefile (install-lib-ldscripts): Remove.
20896 (install): Remove rule.
20897 ($(inst_libdir)/libpthread.so): Likewise.
20898
a527f09c
MF
208992018-03-01 Mike FABIAN <mfabian@redhat.com>
20900
20901 [BZ #22896]
20902 * localedata/locales/an_ES: update month and day names,
20903 improve d_fmt, improve postal_fmt, add country_post,
20904 add country_isbn
20905
35d660b0
MF
209062018-03-01 Mike FABIAN <mfabian@redhat.com>
20907
20908 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20909 Ukrainian instead of Bulgarian.
20910
1a2f44a8
FW
209112018-03-01 Florian Weimer <fweimer@redhat.com>
20912
20913 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20914 reference.
20915
bd60ce86
FW
209162018-03-01 Florian Weimer <fweimer@redhat.com>
20917
20918 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20919 * nptl/Makefile (routines): Add pthread_atfork.
20920 (static-only-routines): Set to pthread_atfork.
20921 (libpthread-routines): Remove pthread_atfork.
20922 (libpthread-static-only-routines): Remove.
20923 (install): Update comment.
20924 (libpthread.so): Do not install libpthread_nonshared.a.
20925 (tests): Do not link with libpthread_nonshared.a.
20926 (generated): Remove libpthread_nonshared.a.
20927 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20928 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20929 with libpthread_nonshared.a.
20930
000f290f
JM
209312018-02-28 Joseph Myers <joseph@codesourcery.com>
20932
e2bcf6a8
JM
20933 [BZ #22902]
20934 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20935 (libc_feholdexcept_setroundf128): New macro.
20936 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20937
000f290f
JM
20938 [BZ #15105]
20939 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20940 libc_hidden_def.
20941 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20942 * include/inttypes.h: New file.
20943
02f2fead
JM
209442018-02-27 Joseph Myers <joseph@codesourcery.com>
20945
20946 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20947 -Os in two more places.
20948
874c56d7
MF
209492018-02-27 Mike FABIAN <mfabian@redhat.com>
20950
20951 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20952 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20953 be sorted correctly at the moment because of a bug.
20954
15973854
MF
209552018-02-27 Mike FABIAN <mfabian@redhat.com>
20956
20957 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20958 treat ñ as a primary different character, sync the collation
20959 for Spanish with CLDR.
20960 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20961 * localedata/Makefile: Add new test files.
20962 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20963 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20964 collation order.
20965 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20966 * localedata/am_ET.UTF-8.in: New test file.
20967 * localedata/az_AZ.UTF-8.in: Likewise.
20968 * localedata/be_BY.UTF-8.in: Likewise.
20969 * localedata/ber_DZ.UTF-8.in: Likewise.
20970 * localedata/ber_MA.UTF-8.in: Likewise.
20971 * localedata/bg_BG.UTF-8.in: Likewise.
20972 * localedata/br_FR.UTF-8.in: Likewise.
20973 * localedata/cmn_TW.UTF-8.in: Likewise.
20974 * localedata/crh_UA.UTF-8.in: Likewise.
20975 * localedata/csb_PL.UTF-8.in: Likewise.
20976 * localedata/cv_RU.UTF-8.in: Likewise.
20977 * localedata/cy_GB.UTF-8.in: Likewise.
20978 * localedata/dz_BT.UTF-8.in: Likewise.
20979 * localedata/eo.UTF-8.in: Likewise.
20980 * localedata/es_ES.UTF-8.in: Likewise.
20981 * localedata/fa_IR.UTF-8.in: Likewise.
20982 * localedata/fi_FI.UTF-8.in: Likewise.
20983 * localedata/fil_PH.UTF-8.in: Likewise.
20984 * localedata/fur_IT.UTF-8.in: Likewise.
20985 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20986 * localedata/ha_NG.UTF-8.in: Likewise.
20987 * localedata/ig_NG.UTF-8.in: Likewise.
20988 * localedata/ik_CA.UTF-8.in: Likewise.
20989 * localedata/kk_KZ.UTF-8.in: Likewise.
20990 * localedata/ku_TR.UTF-8.in: Likewise.
20991 * localedata/ky_KG.UTF-8.in: Likewise.
20992 * localedata/ln_CD.UTF-8.in: Likewise.
20993 * localedata/mi_NZ.UTF-8.in: Likewise.
20994 * localedata/ml_IN.UTF-8.in: Likewise.
20995 * localedata/mn_MN.UTF-8.in: Likewise.
20996 * localedata/mr_IN.UTF-8.in: Likewise.
20997 * localedata/mt_MT.UTF-8.in: Likewise.
20998 * localedata/nb_NO.UTF-8.in: Likewise.
20999 * localedata/om_KE.UTF-8.in: Likewise.
21000 * localedata/os_RU.UTF-8.in: Likewise.
21001 * localedata/ps_AF.UTF-8.in: Likewise.
21002 * localedata/ro_RO.UTF-8.in: Likewise.
21003 * localedata/ru_RU.UTF-8.in: Likewise.
21004 * localedata/sc_IT.UTF-8.in: Likewise.
21005 * localedata/se_NO.UTF-8.in: Likewise.
21006 * localedata/sq_AL.UTF-8.in: Likewise.
21007 * localedata/sv_SE.UTF-8.in: Likewise.
21008 * localedata/szl_PL.UTF-8.in: Likewise.
21009 * localedata/tg_TJ.UTF-8.in: Likewise.
21010 * localedata/tk_TM.UTF-8.in: Likewise.
21011 * localedata/tt_RU.UTF-8.in: Likewise.
21012 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
21013 * localedata/ug_CN.UTF-8.in: Likewise.
21014 * localedata/uz_UZ.UTF-8.in: Likewise.
21015 * localedata/vi_VN.UTF-8.in: Likewise.
21016 * localedata/yi_US.UTF-8.in: Likewise.
21017 * localedata/yo_NG.UTF-8.in: Likewise.
21018 * localedata/zh_CN.UTF-8.in: Likewise.
21019 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
21020 file and fix bugs in the collation.
21021 * localedata/locales/az_AZ: Likewise.
21022 * localedata/locales/be_BY: Likewise.
21023 * localedata/locales/ber_DZ: Likewise.
21024 * localedata/locales/ber_MA: Likewise.
21025 * localedata/locales/bg_BG: Likewise.
21026 * localedata/locales/br_FR: Likewise.
21027 * localedata/locales/br_FR@euro: Likewise.
21028 * localedata/locales/ca_ES: Likewise.
21029 * localedata/locales/cns11643_stroke: Likewise.
21030 * localedata/locales/crh_UA: Likewise.
21031 * localedata/locales/cs_CZ: Likewise.
21032 * localedata/locales/csb_PL: Likewise.
21033 * localedata/locales/cv_RU: Likewise.
21034 * localedata/locales/cy_GB: Likewise.
21035 * localedata/locales/da_DK: Likewise.
21036 * localedata/locales/dz_BT: Likewise.
21037 * localedata/locales/en_CA: Likewise.
21038 * localedata/locales/eo: Likewise.
21039 * localedata/locales/es_CU: Likewise.
21040 * localedata/locales/es_EC: Likewise.
21041 * localedata/locales/es_ES: Likewise.
21042 * localedata/locales/es_US: Likewise.
21043 * localedata/locales/et_EE: Likewise.
21044 * localedata/locales/fa_IR: Likewise.
21045 * localedata/locales/fi_FI: Likewise.
21046 * localedata/locales/fil_PH: Likewise.
21047 * localedata/locales/fur_IT: Likewise.
21048 * localedata/locales/gez_ER@abegede: Likewise.
21049 * localedata/locales/ha_NG: Likewise.
21050 * localedata/locales/hr_HR: Likewise.
21051 * localedata/locales/hsb_DE: Likewise.
21052 * localedata/locales/hu_HU: Likewise.
21053 * localedata/locales/ig_NG: Likewise.
21054 * localedata/locales/ik_CA: Likewise.
21055 * localedata/locales/is_IS: Likewise.
21056 * localedata/locales/iso14651_t1_pinyin: Likewise.
21057 * localedata/locales/kk_KZ: Likewise.
21058 * localedata/locales/ku_TR: Likewise.
21059 * localedata/locales/ky_KG: Likewise.
21060 * localedata/locales/ln_CD: Likewise.
21061 * localedata/locales/lt_LT: Likewise.
21062 * localedata/locales/lv_LV: Likewise.
21063 * localedata/locales/mi_NZ: Likewise.
21064 * localedata/locales/ml_IN: Likewise.
21065 * localedata/locales/mn_MN: Likewise.
21066 * localedata/locales/mr_IN: Likewise.
21067 * localedata/locales/mt_MT: Likewise.
21068 * localedata/locales/nb_NO: Likewise.
21069 * localedata/locales/om_KE: Likewise.
21070 * localedata/locales/os_RU: Likewise.
21071 * localedata/locales/pl_PL: Likewise.
21072 * localedata/locales/ps_AF: Likewise.
21073 * localedata/locales/ro_RO: Likewise.
21074 * localedata/locales/ru_RU: Likewise.
21075 * localedata/locales/ru_UA: Likewise.
21076 * localedata/locales/sc_IT: Likewise.
21077 * localedata/locales/se_NO: Likewise.
21078 * localedata/locales/si_LK: Likewise.
21079 * localedata/locales/sq_AL: Likewise.
21080 * localedata/locales/sv_FI: Likewise.
21081 * localedata/locales/sv_FI@euro: Likewise.
21082 * localedata/locales/sv_SE: Likewise.
21083 * localedata/locales/szl_PL: Likewise.
21084 * localedata/locales/tg_TJ: Likewise.
21085 * localedata/locales/ti_ER: Likewise.
21086 * localedata/locales/tk_TM: Likewise.
21087 * localedata/locales/tl_PH: Likewise.
21088 * localedata/locales/tr_TR: Likewise.
21089 * localedata/locales/tt_RU: Likewise.
21090 * localedata/locales/tt_RU@iqtelif: Likewise.
21091 * localedata/locales/ug_CN: Likewise.
21092 * localedata/locales/uk_UA: Likewise.
21093 * localedata/locales/uz_UZ: Likewise.
21094 * localedata/locales/uz_UZ@cyrillic: Likewise.
21095 * localedata/locales/vi_VN: Likewise.
21096 * localedata/locales/yi_US: Likewise.
21097 * localedata/locales/yo_NG: Likewise.
21098
ce6636b0
MF
210992018-02-27 Mike FABIAN <mfabian@redhat.com>
21100
21101 * gen-locales.mk: Make test files which contain @ modifiers in their
21102 name work.
21103 * localedata/gen-locale.sh: Likewise.
21104
ac3a3b4b
MF
211052018-02-27 Mike FABIAN <mfabian@redhat.com>
21106
21107 * posix/tst-fnmatch.input: Fix results for range expressions
21108 for non C locales.
21109 * posix/tst-regexloc.c: Do not use a range expression for
21110 de_DE.ISO-8859-1 locale.
21111
770cbe14
MF
211122018-02-27 Mike FABIAN <mfabian@redhat.com>
21113
21114 * posix/bug-regex5.c: Fix test case because with the new
21115 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21116 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21117 file.
21118
0fc355d9
MF
211192018-02-27 Mike FABIAN <mfabian@redhat.com>
21120
21121 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21122 downloaded from ISO, the collation order of @-. and space has changed.
21123 Therefore, this test file needed to be adapted.
21124 * localedata/fr_CA.UTF-8.in: Likewise.
21125 * localedata/fr_FR.UTF-8.in: Likewise.
21126 * localedata/uk_UA.UTF-8.in: Likewise.
21127
43f3893f
MF
211282018-02-27 Mike FABIAN <mfabian@redhat.com>
21129
21130 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21131 order of ȥ in the new iso14651_t1_common file.
21132 * localedata/pl_PL.UTF-8.in: Likewise.
21133
df74ef78
MF
211342018-02-27 Mike FABIAN <mfabian@redhat.com>
21135
21136 * localedata/locales/iso14651_t1_common: Add sections for various
21137 scripts to the iso14651_t1_common file.
21138
d5adfbad
MF
211392018-02-27 Mike FABIAN <mfabian@redhat.com>
21140
21141 * localedata/locales/iso14651_t1_common: Use the code point of a
21142 character in the fourth collation level instead of IGNORE for all
21143 entries which have IGNORE on all 4 levels.
21144
5f5a9610
MF
211452018-02-27 Mike FABIAN <mfabian@redhat.com>
21146
21147 * localedata/locales/iso14651_t1_common: Add some convenient collation
21148 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21149 rules similar to those in CLDR.
21150
8a97e900
MF
211512018-02-27 Mike FABIAN <mfabian@redhat.com>
21152
21153 * localedata/locales/iso14651_t1_common: The new version of this
21154 file downloaded from ISO contained several syntax errors which
21155 are fixed by this patch.
21156
bbdd2fba
MF
211572018-02-27 Mike FABIAN <mfabian@redhat.com>
21158
21159 * localedata/locales/iso14651_t1_common: replace all <U.....>
21160 with <U000.....> because glibc understands only 4 digit or 8 digit
21161
1569e551
MF
211622018-02-27 Mike FABIAN <mfabian@redhat.com>
21163
21164 * localedata/locales/iso14651_t1_common: Necessary changes
21165 to make the file downloaded from ISO usable by glibc.
21166
9479b6d5
MF
211672018-02-27 Mike FABIAN <mfabian@redhat.com>
21168
21169 [BZ #14095]
21170 * localedata/locales/iso14651_t1_common: Update file to
21171 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21172
03b540b3
ST
211732018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21174
21175 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21176 of <nptl/pthreadP.h>
21177 (thread_attr_compare): Move function to...
eb937a52 21178 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 21179 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 21180 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 21181
20602c72
JM
211822018-02-26 Joseph Myers <joseph@codesourcery.com>
21183
f54d8f73
JM
21184 * string/strcoll_l.c: Include <libc-diag.h>.
21185 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21186 declarations of seq1 and seq2.
21187
20602c72
JM
21188 [BZ #15105]
21189 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21190 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21191
f5f473a9
DL
211922018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21193
21194 [BZ #22433]
21195 [BZ #22807]
21196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21197 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21198 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21199 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21200 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21201 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21202
398c6fdd
TMQMF
212032018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21204
21205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21206 macros used in __ptrace_request.
21207
f5d1f629
L
212082018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21209
21210 [BZ #22792]
21211 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21212 to $(CC).
21213 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21214 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21216 <tcb-offsets.h>.
21217
54412d20
JM
212182018-02-23 Joseph Myers <joseph@codesourcery.com>
21219
21220 [BZ #15105]
21221 * ctype/ctype.c (tolower): Use libc_hidden_def.
21222 (toupper): Likewise.
21223 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21224 [!_ISOMAC] (toupper): Likewise.
21225
81be4b5e
MF
212262018-02-23 Mike FABIAN <mfabian@redhat.com>
21227
21228 * localedata/Makefile: Remove --quiet argument when
21229 installing locales
21230
9d5cfd8e
MF
212312018-02-23 Mike FABIAN <mfabian@redhat.com>
21232
21233 [BZ #17438]
21234 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21235 in d_fmt.
21236 * localedata/locales/pt_PT (LC_TIME): likewise
21237
6c7269f3
MF
212382018-02-23 Mike FABIAN <mfabian@redhat.com>
21239
21240 [BZ #22646]
21241 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21242 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21243 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21244
92aabad9
AZ
212452018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21246
4cdc25a4
AZ
21247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21248
27761a10
AZ
21249 * nptl/Makefile (routines): Remove unregister-atfork.
21250 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21251 (fork_handler_alloc): Remove function.
21252 (fork_handlers, fork_handler_init): New variables.
21253 (__fork_lock): Rename to atfork_lock.
21254 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21255 to use a dynamic array to add/remove atfork handlers.
21256 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21257 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21258 Remove declaration.
21259 (fork_handler): Remove next, refcntr, and need_signal member.
21260 (__run_fork_handler_type): New enum.
21261 (__run_fork_handlers): New prototype.
21262 * nptl/register-atfork.c: Remove file.
21263 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21264
92aabad9
AZ
21265 * sysdeps/nptl/nptl-signals.h: Move to ...
21266 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21267 comments.
21268 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21269 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21270 unnecessary check for SIGTIMER.
21271 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21272 remove unnecessary removal of SIGTIMER.
21273 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21274 include-signals.h rename.
21275 * nptl/pthreadP.h: Likewise.
21276 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21277 __is_internal_signal instead of __nptl_is_internal_signal.
21278
6b5c8607 212792018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 21280
7e04eb29 21281 [BZ # 22884]
fdcc6253
AW
21282 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21283 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21284 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21285 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21286
8090720a
DD
212872018-02-22 DJ Delorie <dj@delorie.com>
21288
21289 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21290
6ca24c43
SP
212912018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21292
21293 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21294 do_misaligned, not misaligned8.
21295
e9537ddd
SE
212962018-02-22 Steve Ellcey <sellcey@cavium.com>
21297
21298 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21299 Add memcpy_thunderx2.
21300 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21301 Increment to 4.
21302 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21303 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21304 and IS_THUNDERX2PA checks.
21305 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21306 Use macro to set name appropriately.
21307 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21308 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21309 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21310 New macro.
21311 (IS_THUNDERX2): New macro.
21312
6e336476
SL
213132018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21314
21315 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21316
34957904
ZW
213172018-02-21 Zack Weinberg <zackw@panix.com>
21318
30bfee26
ZW
21319 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21320 Define here, unconditionally.
21321 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21322 * libio/libioP.h: Remove #if 0 blocks.
21323 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21324 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21325 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21326
21327 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21328 Assume weak_alias is always defined.
21329
21330 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21331 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21332 Remove #if 0 and #ifdef TODO blocks.
21333 Assume text_set_element is always defined.
21334
21335 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21336 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21337 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21338
df6c012b
ZW
21339 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21340 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21341 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21342 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21343 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21344 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21345 Reformat bit flags for _flags field to make occupancy clearer.
21346 Update commentary.
21347 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21348 Keep definitions consistent with those in libio/libio.h.
21349
21350 * libio/libio.h (_IO_file_flags): Remove macro.
21351 All uses changed to _flags.
21352
177aad3f
ZW
21353 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21354 (__HAVE_COLUMN, _IO_BE): Don't define.
21355 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21356 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21357 * libio/libioP.h (EOF): Don't define.
21358 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21359 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21360 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21361 testing _IO_UNIFIED_JUMPTABLES.
21362
9964a145
ZW
21363 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21364 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21365 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21366 (_IO_size_t): Delete; all uses changed to size_t.
21367 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21368 (_IO_off_t): Delete; all uses changed to off_t.
21369 (_IO_off64_t): Delete; all uses changed to off64_t.
21370 (_IO_pid_t): Delete; all uses changed to pid_t.
21371 (_IO_uid_t): Delete; all uses changed to uid_t.
21372 (_IO_wint_t): Delete; all uses changed to wint_t.
21373 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21374 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21375 (_IO_cookie_io_functions_t): Delete; all uses changed to
21376 cookie_io_functions_t.
21377 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21378 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21379 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21380 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21381
21382 * libio/iofopncook.c: Remove unnecessary forward declarations.
21383 * libio/iolibio.h: Correct outdated commentary.
21384 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21385 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21386 Remove unnecessary casts.
21387 * stdio-common/getline.c: Use _IO_getdelim directly.
21388 Don't redefine ssize_t.
21389 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21390 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21391 Remove outdated comments.
21392 * stdio-common/vfscanf.c: Don't redefine va_list.
21393
34957904
ZW
21394 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21395 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21396 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21397 which are always true, and __cplusplus, which is always false.
21398
30ac923d
JM
213992018-02-21 Joseph Myers <joseph@codesourcery.com>
21400
039c721a
JM
21401 [BZ #15105]
21402 [BZ #19463]
21403 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21404 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21405 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21406 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21407 libc_hidden_proto.
21408 [!_ISOMAC] (putc_unlocked): Likewise.
21409 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21410 define inline if [__USE_EXTERN_INLINES].
21411 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21412 putc_unlocked.
21413
30ac923d
JM
21414 [BZ #15105]
21415 [BZ #19463]
21416 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21417 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21418 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21419 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21420 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21421 getc_unlocked.
21422 * time/tzfile.c (__tzfile_read): Likewise.
21423
7ec5f946
MF
214242018-02-21 Mike FABIAN <mfabian@redhat.com>
21425
21426 [BZ #22517]
21427 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21428
0d217f40
RJ
214292018-02-21 Rical Jasan <ricaljasan@pacific.net>
21430
21431 * io/fcntl.h: Fix a typo in a comment.
21432
862b4502
RJ
214332018-02-21 Rical Jasan <ricaljasan@pacific.net>
21434
21435 [BZ #22862]
21436 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21437 define _DEFAULT_SOURCE.
21438 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21439
999a6dab
FW
214402018-02-21 Florian Weimer <fweimer@redhat.com>
21441
21442 [BZ #20890]
21443 * elf/cache.c (save_cache): Call fsync on temporary file before
21444 renaming it.
21445 (save_aux_cache): Call fdatasync on temporary file before renaming
21446 it.
21447
52a01100
FW
214482018-02-21 Florian Weimer <fweimer@redhat.com>
21449
21450 [BZ #22787]
21451 * include/caller.h: Remove file.
21452 * elf/dl-caller.c: Likewise.
21453 * elf/Makefile (dl-routines): Remove dl-caller.
21454 (shared-only-routines): Do not add dl-caller.
21455 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21456 __check_caller.
21457 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21458 member.
21459 (dl_open_worker): Do not call __check_caller.
21460 (_dl_open): Do not set caller_dl_open member.
21461 * elf/rtld.c (_rtld_global_ro): Do not initialize
21462 _dl_check_caller member.
21463 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21464 _dl_check_caller member.
21465 (_dl_check_caller): Remove declaration.
21466 * sysdeps/unix/sysv/linux/dl-execstack.c
21467 (_dl_make_stack_executable): Do not call __check_caller.
21468
b5bf62e4
ST
214692018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21470
21471 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 21472 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 21473
e8d190b9
RJ
214742018-02-20 Rical Jasan <ricaljasan@pacific.net>
21475
21476 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21477 description.
21478
6a3962c4
RJ
214792018-02-20 Rical Jasan <ricaljasan@pacific.net>
21480
da81ae64 21481 [BZ #16335]
6a3962c4
RJ
21482 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21483 of 199606L, 200112L, and 200809L.
21484 (_XOPEN_SOURCE): Document special values of 600 and 700.
21485 (_ISOC11_SOURCE): Document macro.
21486 (_ATFILE_SOURCE): Likewise.
21487 (_FORTIFY_SOURCE): Likewise.
21488
ec481ad8
JM
214892018-02-19 Joseph Myers <joseph@codesourcery.com>
21490
21491 [BZ #15105]
21492 [BZ #19463]
21493 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21494 and define as weak alias of __ferror_unlocked. Use
21495 libc_hidden_weak.
21496 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21497 libc_hidden_proto.
21498 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21499 function if [__USE_EXTERN_INLINES].
21500 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21501 ferror_unlocked.
21502
7d15ef84
RJ
215032018-02-19 Rical Jasan <ricaljasan@pacific.net>
21504
21505 [BZ #6889]
21506 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21507
f8d79582
AJ
215082018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21509
21510 [BZ #22818]
21511 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21512 the GLIBC_2.1 version.
21513
56456a2a
AJ
215142018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21515
21516 [BZ #21508]
21517 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21518 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21519 intl/tst-gettext-de.po from po/de.po by removing the
21520 POT-Creation-Date line.
21521 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21522 ../po/de.po.
21523 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21524 ../po/de.po.
21525
13768813
ST
215262018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21527
21528 * mach/Makefile (headers): Add mach/param.h.
21529 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21530 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
21531 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21532 (__ptsname_r): Move implementation to...
21533 (__ptsname_internal): ... new function. Add filling the STP
21534 structure.
13768813 21535
6aca1b61
JDA
215362018-02-17 John David Anglin <danglin@gcc.gnu.org>
21537
21538 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21539 idouble to 1 ULP.
21540
16efad51
RJ
215412018-02-16 Rical Jasan <ricaljasan@pacific.net>
21542
21543 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21544 syntax.
21545
87245073
SL
215462018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21547
21548 * nptl/Makefile (tst-mutex8-ENV): Delete.
21549 * nptl/tst-mutex8.c (check_type):
21550 Add runtime check if mutex will be elided.
21551
7fc03cf3
JM
215522018-02-15 Joseph Myers <joseph@codesourcery.com>
21553
db9881ec
JM
21554 [BZ #20980]
21555 [BZ #21234]
21556 * manual/install.texi (Configuring and compiling): Describe
21557 passing CC and CFLAGS on configure command line, not as
21558 environment variables. Use @code markup on those variables.
21559 Specify what options go in CC and what go in CFLAGS. Note the
21560 requirement to compile with optimization.
21561 * INSTALL: Regenerated.
21562
3785b31c
JM
21563 [BZ #18124]
21564 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21565 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21566 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21567 __sigprocmask instead of sigprocmask.
21568 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21569 Likewise.
21570 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21571 __sigsetjmp and sigprocmask.
21572
055ac2a7
JM
21573 [BZ #15105]
21574 * include/argz.h (argz_next): Use libc_hidden_proto.
21575 (__argz_next): Likewise.
21576 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21577 (argz_next): Use libc_hidden_weak.
21578
e4452a2d
JM
21579 [BZ #15105]
21580 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21581 libc_hidden_proto.
21582 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21583 libc_hidden_def.
21584
499b3153
JM
21585 [BZ #15105]
21586 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21587 libc_hidden_proto.
21588 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21589
7fc03cf3
JM
21590 [BZ #15105]
21591 [BZ #19463]
21592 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21593 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21594 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21595 (__feof_unlocked): New declaration, and inline function if
21596 [__USE_EXTERN_INLINES].
21597 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21598 instead of feof_unlocked.
21599 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21600 * nss/nsswitch.c (nss_parse_file): Likewise.
21601 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21602 Likewise.
21603 * time/getdate.c (__getdate_r): Likewise.
21604 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21605 Define as macro to call __feof_unlocked.
21606
0c8a67a5
WD
216072018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21608
21609 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21610
610ee1fc
WD
216112018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21612
21613 * math/Makefile: Remove mpexp.c and mplog.c
21614 * sysdeps/i386/fpu/mpexp.c: Delete file.
21615 * sysdeps/i386/fpu/mplog.c: Likewise.
21616 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21617 * sysdeps/ia64/fpu/mplog.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21619 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21620 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21621 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21622 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21623 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21624 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21625 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21626 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21627 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21628 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21629 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21630 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21631 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21632 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21633 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21634
8e7196c8
SL
216352018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21636
21637 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21638
4f55ad0b
AZ
216392018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21640
21641 * sysdeps/sh/libm-test-ulps: Update.
21642
261a851c
TMQMF
216432018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21644
21645 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21646 idouble to 1 ULP.
21647
e16deca6
ZW
216482018-02-12 Zack Weinberg <zackw@panix.com>
21649
21650 [BZ #19239]
21651 * posix/sys/types.h: Don't include sys/sysmacros.h.
21652 * misc/sys/sysmacros.h: Remove the conditional deprecation
21653 warnings for the macros defined by this header.
21654
de800d83
SN
216552018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21656
21657 * manual/probes.texi: Remove slowexp probes.
21658 * math/Makefile: Remove slowexp.
21659 * sysdeps/generic/math_private.h (__slowexp): Remove.
21660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21661 document error bounds.
21662 * sysdeps/i386/fpu/slowexp.c: Remove.
21663 * sysdeps/ia64/fpu/slowexp.c: Remove.
21664 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21665 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21666 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21667 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21668 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21669 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21670 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21671 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21672 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21673 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21674 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21675
c3d466cb
WD
216762018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21677
21678 [BZ #13932]
21679 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21680 * benchtests/pow-inputs: Update comment for slow path cases.
21681 * manual/probes.texi (slowpow_p10): Delete removed probe.
21682 (slowpow_p10): Likewise.
21683 * math/Makefile: Remove halfulp.c and slowpow.c.
21684 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21685 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21686 (__halfulp): Remove.
21687 (__slowpow): Remove.
21688 * sysdeps/i386/fpu/halfulp.c: Delete file.
21689 * sysdeps/i386/fpu/slowpow.c: Likewise.
21690 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21691 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21692 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21693 improve comments and add error analysis.
21694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21695 (power1): Remove function:
21696 (log1): Remove error argument, add error analysis.
21697 (my_log2): Remove function.
21698 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21699 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21700 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21701 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21702 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21703 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21704 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21705 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21706 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21707 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21708 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21709 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21710 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21711 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21712
7bb087bd
ST
217132018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21714
21715 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21716 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21717
2fd4bbaa
DL
217182018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21719
21720 [BZ #22433]
21721 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21722 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21723 and PTRACE_SETHBPREGS.
21724
402ecba4
ZW
217252018-02-10 Zack Weinberg <zackw@panix.com>
21726
21727 [BZ #22830]
21728 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21729 correctly.
21730 * malloc/tst-malloc-stats-cancellation.c: New test case.
21731 * malloc/Makefile: Add new test case.
21732
4f5b921e
WD
217332018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21734
21735 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21736
a85b70db
JM
217372018-02-10 Joseph Myers <joseph@codesourcery.com>
21738
d8742dd8
JM
21739 * math/Makefile (libm-narrow-fns): Add add.
21740 (libm-test-funcs-narrow): Likewise.
21741 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21742 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21743 * math/gen-auto-libm-tests.c (test_functions): Add add.
21744 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21745 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21746 (NARROW_ADD_TRIVIAL): Likewise.
21747 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21748 macro.
21749 (__daddl): Likewise.
21750 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21751 dadd.
21752 (CFLAGS-nldbl-dadd.c): New variable.
21753 (CFLAGS-nldbl-fadd.c): Likewise.
21754 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21755 __nldbl_daddl.
21756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21757 prototype.
21758 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21759 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21760 * math/auto-libm-test-in: Add tests of add.
21761 * math/auto-libm-test-out-narrow-add: New generated file.
21762 * math/libm-test-narrow-add.inc: New file.
21763 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21766 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21767 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21768 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21777 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21778 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21779 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21780 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21782 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21783 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21784 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21785 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21786 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21787 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21788 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21789 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21790 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21791 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21792 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21793 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21794 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21799 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21800 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21801 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21802 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21803 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21805 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21806 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21807 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21808 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21809
a85b70db
JM
21810 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21811 (f128-pairs): New variable.
21812 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21813 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21814 to CFLAGS.
21815 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21816 Also make tests add $(f128-loader-link) to gnulib-tests.
21817
6a1ff640
DD
218182018-02-09 DJ Delorie <dj@redhat.com>
21819
21820 [BZ #22827]
21821 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21822 64-bit ELF type for 64-bit ELF objects.
21823
bfd47587
JM
218242018-02-09 Joseph Myers <joseph@codesourcery.com>
21825
31958338
JM
21826 * math/libm-test-driver.c (snan_tests_arg): New variable.
21827 * math/libm-test-support.h (snan_tests_arg): New declaration.
21828 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21829
8e554659
JM
21830 * math/Makefile (test-type-pairs): New variable.
21831 (test-type-pairs-f64xf128-yes): Likewise.
21832 (tests): Add test-narrow-macros.
21833 (libm-test-funcs-narrow): New variable.
21834 (libm-test-c-narrow): Likewise.
21835 (generated): Add $(libm-test-c-narrow).
21836 (libm-tests-base-narrow): New variable.
21837 (libm-tests-narrow): Likewise.
21838 (libm-tests): Add $(libm-tests-narrow).
21839 (libm-tests-for-type): Handle $(libm-tests-narrow).
21840 (libm-test-c-narrow-obj): New variable.
21841 ($(libm-test-c-narrow-obj)): New rule.
21842 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21843 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21844 $(o-iterator) to set dependencies and CFLAGS.
21845 * math/gen-auto-libm-tests.c: Document use for narrowing
21846 functions.
21847 (output_for_one_input_case): Take argument NARROW.
21848 (generate_output): Likewise. Update call to
21849 output_for_one_input_case.
21850 (main): Take --narrow option. Update call to generate_output.
21851 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21852 (apply_lit): Update call to _apply_lit.
21853 (apply_arglit): New function.
21854 (parse_args): Handle "a" arguments.
21855 (parse_auto_input): Handle format names using ":".
21856 * math/README.libm-test: Document "a" parameter type.
21857 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21858 (ARG_TYPE_TRUE_MIN): Likewise.
21859 (ARG_TYPE_MAX): Likwise.
21860 (ARG_MIN_EXP): Likewise.
21861 (ARG_MAX_EXP): Likewise.
21862 (ARG_MANT_DIG): Likewise.
21863 (TEST_COND_arg_ibm128): Likewise.
21864 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21865 (TEST_COND_arg_fmt): New macro.
21866 (init_max_error): Update prototype.
21867 * math/libm-test-support.c (test_ibm128): New variable.
21868 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21869 instead of using [TEST_COND_ibm128] conditional.
21870 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21871 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21872 [TEST_NARROW] (TEST_MSG): New definition.
21873 (arg_plus_zero): New macro.
21874 (arg_minus_zero): Likewise.
21875 (arg_plus_infty): Likewise.
21876 (arg_minus_infty): Likewise.
21877 (arg_qnan_value_pl): Likewise.
21878 (arg_qnan_value): Likewise.
21879 (arg_snan_value_pl): Likewise.
21880 (arg_snan_value): Likewise.
21881 (arg_max_value): Likewise.
21882 (arg_min_value): Likewise.
21883 (arg_min_subnorm_value): Likewise.
21884 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21885 (RUN_TEST_LOOP_aa_f): New macro.
21886 (TEST_SUFF): New macro.
21887 (TEST_SUFF_STR): Likewise.
21888 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21889 (TEST_COND_any_ibm128): New macro.
21890 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21891 this_func. Update call to init_max_error.
21892 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21893 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21894 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21895 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21896 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21897 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21898 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21899 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21900 * math/test-math-vector.h (TEST_NARROW): Likewise.
21901 * math/test-arg-double.h: New file.
21902 * math/test-arg-float128.h: Likewise.
21903 * math/test-arg-float32x.h: Likewise.
21904 * math/test-arg-float64.h: Likewise.
21905 * math/test-arg-float64x.h: Likewise.
21906 * math/test-arg-ldouble.h: Likewise.
21907 * math/test-math-narrow.h: Likewise.
21908 * math/test-narrow-macros.c: Likewise.
21909 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21910 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21911 test-narrow-macros-ldbl-64.
21912 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21913
63716ab2
JM
21914 * math/bits/mathcalls-narrow.h: New file.
21915 * include/bits/mathcalls-narrow.h: Likewise.
21916 * math/math-narrow.h: Likewise.
21917 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21918 (__MATHCALL_NARROW_ARGS_2): Likewise.
21919 (__MATHCALL_NARROW_ARGS_3): Likewise.
21920 (__MATHCALL_NARROW_NORMAL): Likewise.
21921 (__MATHCALL_NARROW_REDIR): Likewise.
21922 (__MATHCALL_NARROW): Likewise.
21923 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21924 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21925 defined.
21926 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21927 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21928 (libm-narrow-fns): New variable.
21929 (libm-narrow-types-basic): Likewise.
21930 (libm-narrow-types-ldouble-yes): Likewise.
21931 (libm-narrow-types-float128-yes): Likewise.
21932 (libm-narrow-types-float128-alias-yes): Likewise.
21933 (libm-narrow-types): Likewise.
21934 (libm-routines): Add narrowing functions.
21935 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21936 (libc_feholdexcept_setroundf128): New macro.
21937 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21938 * sysdeps/ieee754/float128/float128_private.h: Include
21939 <math/math-narrow.h>.
21940 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21941 Undefine and redefine.
21942 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21943 (libm_alias_float_ldouble): Undefine and redefine.
21944 (libm_alias_double_ldouble): Likewise.
21945
bfd47587
JM
21946 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21947
3f8d9d58
WD
219482018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21949
21950 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21951 FPCR/FPSR.
21952
1f6676d7
RJ
219532018-02-09 Rical Jasan <ricaljasan@pacific.net>
21954
21955 * manual/creature.texi: Convert references to gcc.info to gcc.
21956 * manual/stdio.texi: Likewise.
21957 * manual/string.texi: Likewise.
21958
d80441dd
JM
219592018-02-07 Joseph Myers <joseph@codesourcery.com>
21960
15081be9
JM
21961 [BZ #17979]
21962 * posix/bits/types.h (__int_least8_t): New typedef.
21963 (__uint_least8_t): Likewise.
21964 (__int_least16_t): Likewise.
21965 (__uint_least16_t): Likewise.
21966 (__int_least32_t): Likewise.
21967 (__uint_least32_t): Likewise.
21968 (__int_least64_t): Likewise.
21969 (__uint_least64_t): Likewise.
21970 * sysdeps/generic/stdint.h (int_least8_t): Define using
21971 __int_least8_t.
21972 (int_least16_t): Define using __int_least16_t.
21973 (int_least32_t): Define using __int_least32_t.
21974 (int_least64_t): Define using __int_least64_t.
21975 (uint_least8_t): Define using __uint_least8_t.
21976 (uint_least16_t): Define using __uint_least16_t.
21977 (uint_least32_t): Define using __uint_least32_t.
21978 (uint_least64_t): Define using __uint_least64_t.
21979 * wcsmbs/uchar.h: Include <bits/types.h>.
21980 (char16_t): Define using __uint_least16_t conditional only on
21981 [!__USE_ISOCXX11].
21982 (char32_t): Define using __uint_least32_t conditional only on
21983 [!__USE_ISOCXX11].
21984 * wcsmbs/test-char-types.c: New file.
21985 * wcsmbs/Makefile (tests): Add test-char-types.
21986
d80441dd
JM
21987 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21988 version to 4.0.1.
21989
6c6c962a
ZW
219902018-02-07 Zack Weinberg <zackw@panix.com>
21991
63fb8f9a
ZW
21992 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21993 Delete all contents except for definitions of _G_HAVE_MMAP and
21994 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21995 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21996 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21997 change as above.
21998
21999 * libio/libio.h: Don't include bits/_G_config.h here.
22000 Include stddef.h with __need_wchar_t defined. Include
22001 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
22002 Define _IO_iconv_t here, directly.
22003 Don't define _IO_HAVE_ST_BLKSIZE.
22004 * libio/libioP.h: Include _G_config.h here. Move include of
22005 shlib-compat.h up with rest of includes. Simplify conditionals
22006 controlling definition of _IO_JUMPS_OFFSET.
22007
22008 * csu/init.c: Remove always-true #if around entire file.
22009 Don't include stdio.h. Set _IO_stdin_used to hardwired
22010 constant 0x20001, and update commentary.
22011 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
22012 Replace all uses of _G_va_list with __gnuc_va_list.
22013 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
22014 instead of #if _IO_HAVE_ST_BLKSIZE.
22015 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
22016 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
22017 not #ifdef.
22018
6c6c962a
ZW
22019 * libio/bits/libio.h: Move back to libio/libio.h and adjust
22020 multiple-include guard to match.
22021 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
22022 into this file.
22023 Remove preprocessor conditionals that are always true and/or
22024 redundant to other preprocessor conditionals in the same nest.
22025 Include shlib-compat.h unconditionally.
22026 Error out if _LIBC is not defined, or if _ISOMAC is defined,
22027 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
22028 defined after including stdio.h.
22029 Use __BEGIN_DECLS/__END_DECLS.
22030
22031 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
22032 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
22033 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
22034
a4fea3f2
ZW
220352018-02-07 Zack Weinberg <zackw@panix.com>
22036
22037 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
22038 New single-type headers split from _G_config.h.
22039 * libio/bits/types/cookie_io_functions_t.h
22040 * libio/bits/types/struct_FILE.h
22041 New single-type headers split from libio.h.
22042
22043 * libio/Makefile: Install the above new headers. Don't install
22044 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
22045 bits/libio-ldbl.h.
22046 * libio/_G_config.h, libio/libio.h: Delete file.
22047
22048 * libio/bits/libio.h: Remove improper-inclusion guard.
22049 Include stdio.h and don't repeat anything that it does.
22050 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
22051 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
22052 __io_read_fn as cookie_read_function_t,
22053 __io_write_fn as cookie_write_function_t,
22054 __io_seek_fn as cookie_seek_function_t,
22055 __io_close_fn as cookie_close_function_t,
22056 and _IO_cookie_io_functions_t as cookie_io_functions_t.
22057 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
22058 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 22059 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
22060 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
22061 and _IO_ferror_unlocked.
22062 Move prototypes of __uflow and __overflow...
22063
22064 * libio/stdio.h: ...here. Don't include bits/libio.h.
22065 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 22066 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
22067 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
22068 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
22069 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
22070 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
22071 cookie_io_functions_t, not _IO_cookie_io_functions_t;
22072 __ssize_t, not _IO_ssize_t. Unconditionally define
22073 BUFSIZ as 8192 and EOF as (-1).
22074
22075 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
22076 macros from bits/types/struct_FILE.h instead of _IO_* macros
22077 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
22078 instead of _IO_ssize_t.
22079 * libio/bits/stdio2.h: Similarly.
22080
22081 * libio/iolibio.h: Add multiple-include guard.
22082 Include bits/libio.h after stdio.h.
22083 * libio/libioP.h: Add multiple-include guard.
22084 Include stdio.h and bits/libio.h before iolibio.h.
22085
6c6c962a 22086 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
22087 * include/bits/types/cookie_io_functions_t.h
22088 * include/bits/types/struct_FILE.h: New wrappers.
22089
22090 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
22091 Get definitions of _G_fpos_t and _G_fpos64_t from
22092 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22093 respectively. Remove improper-inclusion guards.
a4fea3f2 22094
6c6c962a 22095 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 22096 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 22097 libio.h and _G_config.h.
a4fea3f2 22098
ce999220
JM
220992018-02-07 Joseph Myers <joseph@codesourcery.com>
22100
8b4a1182
JM
22101 [BZ #15105]
22102 [BZ #19463]
22103 * include/sys/sysmacros.h [!_ISOMAC]
22104 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22105 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22106 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22107 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22108 libc_hidden_proto.
22109 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22110 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22111 Likewise.
22112 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22113 Undefine and redefine to add use __gnu_dev_ prefix.
22114 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22115 Likewise.
22116 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22117 and define as hidden inline function.
22118 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22119 Likewise.
22120 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22121 Likewise.
22122 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22123 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22124 (gnu_dev_minor): Likewise.
22125 (gnu_dev_makedev): Likewise.
22126 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22127 makedev.
22128 * posix/wordexp.c (exec_comm_child): Likewise.
22129 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22130 instead of minor and __gnu_dev_major instead of major.
22131 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22132 __gnu_dev_major instead of major.
22133 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22134 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22135 instead of gnu_dev_minor.
22136 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22137 (SLAVE_P): Likewise.
22138 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22139 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22140 instead of major.
22141
ce999220
JM
22142 [BZ #21313]
22143 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22144 in another place.
22145 * locale/weightwc.h (findidx): Likewise.
22146
b7c83ca3
WD
221472018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22148
22149 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22150 (slowlog_inexact): Likewise
22151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22152 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22153
388ff7bd
IG
221542018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22155
22156 [BZ #22797]
22157 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22158 missing second underscore to parameter name.
22159
663e7d78
JM
221602018-02-06 Joseph Myers <joseph@codesourcery.com>
22161
0d40d0ec
JM
22162 [BZ #14508]
22163 [BZ #15512]
22164 [BZ #17082]
22165 [BZ #20530]
22166 * bits/byteswap.h: Update file comment. Do not include
22167 <bits/byteswap-16.h>.
22168 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22169 constant.
22170 (__bswap_16): Define as inline function.
22171 (__bswap_constant_32): Reformat definition.
22172 (__bswap_32): Always define as inline function, not macro, using
22173 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22174 otherwise __bswap_constant_32.
22175 (__bswap_constant_64): Reformat definition. Do not use
22176 __extension__ here.
22177 (__bswap_64): Always define as inline function, not macro. Use
22178 __extension__ on function definition. Use __builtin_bswap64 if
22179 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22180 * string/test-endian-file-scope.c: New file.
22181 * string/test-endian-sign-conversion.c: Likewise.
22182 * string/Makefile (headers): Remove bits/byteswap-16.h.
22183 (tests): Add test-endian-file-scope and
22184 test-endian-sign-conversion.
22185 (CFLAGS-test-endian-sign-conversion.c): New variable.
22186 * bits/byteswap-16.h: Remove file.
22187 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22188 * sysdeps/ia64/bits/byteswap.h: Likewise.
22189 * sysdeps/m68k/bits/byteswap.h: Likewise.
22190 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22191 * sysdeps/s390/bits/byteswap.h: Likewise.
22192 * sysdeps/tile/bits/byteswap.h: Likewise.
22193 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22194 * sysdeps/x86/bits/byteswap.h: Likewise.
22195
383e87c9
JM
22196 [BZ #17721]
22197 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22198 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22199 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22200 199901L] (__restrict): Define to restrict.
22201
d92c2759
JM
22202 [BZ #19667]
22203 * string/testcopy.c: Include <support/support.h>. Do not include
22204 <malloc.h>. Use <support/test-driver.c>.
22205 (main): Rename to do_test. Make static. Use xmalloc instead of
22206 malloc.
22207
625fb764
JM
22208 [BZ #13575]
22209 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22210 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22211 (SSIZE_MAX): Define to INT_MAX.
22212 * posix/test-ssize-max.c: New file.
22213 * posix/Makefile (tests): Add test-ssize-max.
22214
02325d6c
JM
22215 [BZ #19668]
22216 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22217 <support/support.h>. Do not include <malloc.h>.
22218 (query_auxv): Use xmalloc instead of malloc.
22219
663e7d78
JM
22220 [BZ #14553]
22221 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22222 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22223 instead of loff_t.
22224
6b5c8607 222252018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
22226
22227 [BZ #18023]
22228 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22229 Use scratch_buffer instead of extend_alloca.
22230
de6da571
ZW
222312018-02-06 Zack Weinberg <zackw@panix.com>
22232
26c07172
ZW
22233 * libio/stdio.h: Don't define getc or putc as macros.
22234 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22235 not _IO_getc and _IO_putc.
22236
de6da571
ZW
22237 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22238 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22239
92669d6e
JM
222402018-02-06 Joseph Myers <joseph@codesourcery.com>
22241
c2b84df9
JM
22242 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22243 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22244
41376f8c
JM
22245 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22246
d28bf648
JM
22247 [BZ #14890]
22248 * elf/elf.h (NT_PRFPREG): New macro.
22249 (NT_S390_VXRS_LOW): Likewise.
22250 (NT_S390_VXRS_HIGH): Likewise.
22251 (NT_S390_GS_CB): Likewise.
22252 (NT_S390_GS_BC): Likewise.
22253 (NT_S390_RI_CB): Likewise.
22254
e76def72
JM
22255 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22256 (MAP_SYNC): New macro.
22257 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22258 Likewise.
22259 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22260 (MAP_SYNC): Likewise.
22261 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22262 (MAP_SYNC): Likewise.
22263 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22264 (MAP_SYNC): Likewise.
22265 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22266 (MAP_SYNC): Likewise.
22267 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22268 (MAP_SYNC): Likewise.
22269 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22270 (MAP_SYNC): Likewise.
22271 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22272 Likewise.
22273 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22274 Likewise.
22275
92669d6e
JM
22276 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22277 (MAP_SHARED_VALIDATE): New macro.
22278 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22279 (MAP_SHARED_VALIDATE): Likewise.
22280
6a5cac49
L
222812018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22282
22283 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22284 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22285 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22286
b44e0dfb
L
222872018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22288
22289 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22290 (DT_NUM): Updated to 35.
22291
f886c16c
L
222922018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22293
22294 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22295 __builtin_expect with __glibc_likely and __glibc_unlikely.
22296 (elf_machine_rela): Likewise.
22297 (elf_machine_lazy_rel): Likewise.
22298
06fbebff
L
222992018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22300
22301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 22302 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
22303 (elf_machine_lazy_rel): Likewise.
22304
371b220f
L
223052018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22306
22307 [BZ #22638]
22308 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22309 SHARED.
65805016 22310 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 22311
f649a1b8
AS
223122018-02-05 Andreas Schwab <schwab@suse.de>
22313
22314 [BZ #22761]
22315 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22316 string.
22317
9fdb340e
ST
223182018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22319
22320 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22321 not check against PTHREAD_STACK_MIN.
22322
09e56b9e
SM
223232018-02-02 Sean McKean <smckean83@gmail.com>
22324
22325 [BZ #22735]
22326 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22327
d4b4a00a
FW
223282018-02-02 Florian Weimer <fweimer@redhat.com>
22329
22330 [BZ #22753]
22331 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22332 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22333 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22334 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22335 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22336 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22337 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22338 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22339 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22340 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22341 * misc/tst-preadvwritev2.c (do_test): Call it.
22342 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22343
3dfcbfa1
SP
223442018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22345
84c94d2f
SP
22346 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22347
96e6a716
SP
22348 * benchtests/bench-memcmp.c: Print json instead of plain text.
22349
3dfcbfa1
SP
22350 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22351 every test run.
22352
049375e2
JM
223532018-02-01 Joseph Myers <joseph@codesourcery.com>
22354
39f898c6
JM
22355 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22356 version to 4.15.
22357 (s390_sthyi): New syscall.
22358
6f9a3dd8
JM
22359 * sysdeps/generic/ldbl-classify-compat.h: New file.
22360 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22361 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22362 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22363 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22364 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22365 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22366 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22367 <ldbl-classify-compat.h>.
22368 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22369 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22370 <ldbl-classify-compat.h>.
22371 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22372 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22373 <ldbl-classify-compat.h>.
22374 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22376 <ldbl-classify-compat.h>.
22377 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22379 <ldbl-classify-compat.h>.
22380 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22382 <ldbl-classify-compat.h>.
22383 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22384 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22385 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22386 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22387 * sysdeps/microblaze/math_private.h: Likewise.
22388 * sysdeps/nios2/math_private.h: Likewise.
22389 * sysdeps/sh/math_private.h: Likewise.
22390
eb65a3d5
JM
22391 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22392 * sysdeps/m68k/coldfire/math_private.h: ... here.
22393 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22394 * sysdeps/tile/math_private.h: Likewise.
22395 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22396 Remove macro.
22397 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22398 Likewise.
22399
8a6bb1d0
JM
22400 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22401 Remove macro.
22402 (libc_fetestexcept): Likewise.
22403 (libc_feupdateenv_test): Likewise.
22404 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22405 (libc_fetestexcept): Likewise.
22406 (libc_feupdateenv_test): Likewise.
22407 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22408 (libc_fetestexcept): Likewise.
22409 (libc_feupdateenv_test): Likewise.
22410 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22411 (libc_fetestexcept): Likewise.
22412 (libc_feupdateenv_test): Likewise.
22413
ae1fcb7b
JM
22414 * sysdeps/generic/math_private.h
22415 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22416 New inline function.
22417 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22418 Likewise.
22419
b1c347e2
JM
22420 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22421 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22422 * sysdeps/generic/math_private.h
22423 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22424 inline function.
22425 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22426 Likewise.
22427 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22428 Likewise.
22429 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22430 Likewise.
22431 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22432 Likewise.
22433 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22434 Likewise.
22435 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22436 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22437 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22438 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22439 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22440 (__fegetenv): Likewise.
22441 (fesetenv): Likewise.
22442 (__fesetenv): Likewise.
22443 (feupdateenv): Likewise.
22444 (__feupdateenv): Likewise.
22445 (fegetround): Likewise.
22446 (__fegetround): Likewise.
22447 (fesetround): Likewise.
22448 (__fesetround): Likewise.
22449
d23a4962
JM
22450 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22451 (feraiseexcept): New macro.
22452 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22453 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22454 Remove macro.
22455 (__feraiseexcept): Likewise.
22456 (feclearexcept): Likewise.
22457 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22458 (__feraiseexcept): Likewise.
22459 (feclearexcept): Likewise.
22460 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22461 (__feraiseexcept): Likewise.
22462 (feclearexcept): Likewise.
22463 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22464 (__feraiseexcept): Likewise.
22465 (feclearexcept): Likewise.
22466 (fetestexcept): Likewise.
22467
5f167950
JM
22468 * sysdeps/m68k/coldfire/math-tests.h: New file.
22469
ccc9035a
JM
22470 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22471 * sysdeps/m68k/bits/fenv.h: ... here.
22472 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22473 not define.
22474 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22475 Likewise.
22476 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22477 Likewise.
22478 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22479 Likewise.
22480 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22481 Likewise.
22482 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22483 Define to 0.
22484 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22485 (__FE_UNDEFINED): New enum constant.
22486 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22487 Do not define.
22488 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22489 Likewise.
22490 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22491 Likewise.
22492 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22493 to match generic bits/fenv.h.
22494 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22495 Do not define.
22496
049375e2
JM
22497 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22498 packed on bits.
22499 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22500 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22501 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22502 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22503
f1d73681
CD
225042018-02-01 Carlos O'Donell <carlos@redhat.com>
22505 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22506 Joseph Myers <joseph@codesourcery.com>
22507
22508 [BZ #21314]
22509 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22510 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22511 computation using c.
22512 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22513 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22514 computation using c.
22515
242cbc90
DL
225162018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22517
086ee48e
DL
22518 * version.h (RELEASE): Set to "development".
22519 (VERSION): Set to "2.27.9000".
22520 * NEWS (2.28): New section.
22521
23158b08
DL
22522 * version.h (RELEASE): Set to "stable".
22523 (VERSION): Set to "2.27".
22524 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22525
242cbc90
DL
22526 * NEWS: Add the list of bugs fixed in 2.27.
22527
673e2305
AZ
225282018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22529
22530 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22531 against PTHREAD_STACK_MIN.
22532
ced64e01
DL
225332018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22534
22535 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22536 New entries.
ab74d59f 22537 (Rafał Lużyński, Andreas Schwab): Update.
ced64e01 22538
ab74d59f 225392018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
c10c9a5e
RL
22540
22541 [BZ #10871]
22542 * NEWS: List the languages which actually use the alternative
22543 months feature in this release. Also explain that "alt_mon" and
22544 "ab_alt_mon" are optional.
22545
650ba77a
IM
225462018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22547
22548 [BZ #22765]
22549 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22550
93493119
DL
225512018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22552
22553 * manual/install.texi (Tools for Compilation): Update the newest
22554 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22555 * INSTALL: Regenerated.
22556
363e4519 225572018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
22558
22559 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22560 instead of __builtin_expect.
22561
d7536874
FW
225622018-01-30 Florian Weimer <fweimer@redhat.com>
22563
22564 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22565 data.
22566 * nss/tst-nss-getpwent.c (do_test): Likewise.
22567
ab74d59f 225682018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
9a1b267d
RL
22569
22570 [BZ #10871]
22571 * localedata/locales/hr_HR (mon): Rename to...
22572 (alt_mon): This.
22573 (mon): Import from CLDR (genitive case).
22574 (d_t_fmt): Update the comment.
22575
9a179328
AS
225762018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22577
22578 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22579 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22580 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22581
e01e0ddc
ST
225822018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22583
22584 * mach/Versions: Fix version when __mach_host_self_ was added.
22585 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22586 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22587 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22588 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22589 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22590 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22591 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22592 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22593 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22594 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22595 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22596 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
22597 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22598 || to respect codestyle.
2aadb705
ST
22599 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22600 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
22601 * malloc/malloc.c: Include <assert.h>.
22602 (assert): Do not define.
22603 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
22604 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22605 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 22606 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 22607 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 22608
521877e1
PD
226092018-01-29 Darius Rad <darius@bluespec.com>
22610
22611 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22612
532cf290
PD
226132018-01-29 Palmer Dabbelt <palmer@sifive.com>
22614
22615 * sysdeps/init_array/crti.S (.section .init_array): Add
22616 PREINIT_FUNCTION when defined.
40ca951b 22617 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 22618 * config.h.in: Regenerate.
ba9e25a6
PD
22619 * manual/platform.texi: Add RISC-V documenation for
22620 __riscv_flush_icache.
c776fa11
PD
22621 * sysdeps/riscv/__longjmp.S: New file.
22622 * sysdeps/riscv/backtrace.c: Likewise.
22623 * sysdeps/riscv/bits/endian.h: Likewise.
22624 * sysdeps/riscv/bits/setjmp.h: Likewise.
22625 * sysdeps/riscv/bits/wordsize.h: Likewise.
22626 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22627 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22628 * sysdeps/riscv/dl-trampoline.S: Likewise.
22629 * sysdeps/riscv/gccframe.h: Likewise.
22630 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22631 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22632 * sysdeps/riscv/machine-gmon.h: Likewise.
22633 * sysdeps/riscv/memusage.h: Likewise.
22634 * sysdeps/riscv/setjmp.S: Likewise.
22635 * sysdeps/riscv/sys/asm.h: Likewise.
22636 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
22637 * sysdeps/riscv/dl-tls.h: New file.
22638 * sysdeps/riscv/libc-tls.c: Likewise.
22639 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22640 * sysdeps/riscv/nptl/tls.h: Likewise.
22641 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
22642 * sysdeps/riscv/bits/fenv.h: New file.
22643 * sysdeps/riscv/e_sqrtl.c: Likewise.
22644 * sysdeps/riscv/fpu_control.h: Likewise.
22645 * sysdeps/riscv/math-tests.h: Likewise.
22646 * sysdeps/riscv/nofpu/Implies: Likewise.
22647 * sysdeps/riscv/sfp-machine.h: Likewise.
22648 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
22649 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22650 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22651 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22652 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22653 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22654 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22655 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22656 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22657 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22658 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22659 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22660 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22661 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22662 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22663 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22664 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22665 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22666 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22667 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22668 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22669 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22670 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22671 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22672 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22673 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22674 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22675 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22676 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22677 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22678 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22679 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22680 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22681 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22682 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22683 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22684 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22685 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22686 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22687 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22688 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22689 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22690 * sysdeps/riscv/rvf/math_private.h: Likewise.
22691 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22692 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22693 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22694 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22695 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22696 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22697 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22698 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22699 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22700 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22701 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22702 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22703 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22704 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22705 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22706 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
22707 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22708 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22709 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22710 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
22711 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22712 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22713 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22714 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22715 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22716 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22717 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22718 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22719 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
22720 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22721 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22722 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22723 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22724 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22725 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22726 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22727 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22728 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22729 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22730 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22731 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22732 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22733 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22734 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22735 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22736 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22737 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22738 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22739 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22740 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22741 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
22742 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22743 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22744 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
22745 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22746 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22747 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22748 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22749 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22750 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22751 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22752 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22753 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22754 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22755 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22756 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22757 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22758 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
22759 * sysdeps/riscv/Implies: New file.
22760 * sysdeps/riscv/Makefile: Likewise.
22761 * sysdeps/riscv/configure: Likewise.
22762 * sysdeps/riscv/configure.ac: Likewise.
22763 * sysdeps/riscv/nptl/Makefile: Likewise.
22764 * sysdeps/riscv/preconfigure: Likewise.
22765 * sysdeps/riscv/rv64/Implies-after: Likewise.
22766 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22767 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22768 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22769 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22770 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22771 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22772 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22773 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22774 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22775 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22776 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
22777 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22778 (Config): Likewise.
532cf290 22779
cdd14619
FW
227802018-01-29 Florian Weimer <fweimer@redhat.com>
22781
22782 [BZ #22701]
22783 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22784 libnsl_hidden_proto.
22785 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22786 libnsl_hidden_proto.
22787 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22788 * nis/Makefile (libnsl-routines): Add nss-default only for
22789 build-obsolete-nsl.
22790 * nis/nis_defaults.c (__nis_default_ttl): Add
22791 libnsl_hidden_nolink_def.
22792 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22793 declaration.
22794 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22795 * nis/ypclnt.c (yp_maplist): Likewise.
22796
b7ccb5de
RN
227972018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22798
22799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22800 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22801
522623e4
JM
228022018-01-29 Joseph Myers <joseph@codesourcery.com>
22803
e3aa6999
JM
22804 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22805 clean -dxfq for git updates when replacing sources.
22806
088de7d0
JM
22807 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22808 --disable-libcilkrts unconditionally, not just for the final GCC
22809 build for Hurd.
22810
522623e4
JM
22811 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22812 version to 4.15.
22813
ab74d59f 228142018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
8b406f87
RL
22815
22816 [BZ #10871]
22817 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22818 case).
22819
ab74d59f 228202018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
105e90bd
RL
22821
22822 [BZ #10871]
22823 * localedata/locales/be_BY (mon): Rename to...
22824 (alt_mon): This, then synchronize with CLDR (nominative case).
22825 (abmon): Rename to...
22826 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22827 (mon): Import from CLDR (genitive case).
22828 (abmon): Likewise.
22829 * localedata/locales/be_BY@latin (mon): Rename to...
22830 (alt_mon): This.
22831 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22832
22833 * localedata/locales/be_BY@latin (lang_name): Reworded to
22834 "biełaruskaja mova".
22835
ab74d59f 228362018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
561cb414
RL
22837
22838 [BZ #10871]
22839 * localedata/locales/el_CY (mon): Renamed to...
22840 (alt_mon): This.
22841 (mon): Import from CLDR (genitive case).
22842 * localedata/locales/el_GR: Likewise.
22843
ab74d59f 228442018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
f7bdf30d
RL
22845
22846 [BZ #10871]
22847 * localedata/locales/ru_RU (mon): Rename to...
22848 (alt_mon): This.
22849 (abmon): Rename to...
22850 (ab_alt_mon): This.
22851 (mon): Import from CLDR (genitive case).
22852 (abmon): Copy from the old content except the 5th month which is
22853 now in the genitive case, even when abbreviated.
22854 * localedata/locales/ru_UA: Likewise.
22855 * time/tst-strptime.c (day_tests): Add an actual example of
22856 a difference between %b and %Ob in Russian.
22857
85285a0c
ST
228582018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22859
22860 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
22861 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22862 a `c' variable.
3538a4b6 22863 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
22864 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22865 <sys/wait.h>, <time.h>, <sys/uio.h>.
22866 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 22867 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
22868 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22869 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22870 return 0.
05ebfe87
ST
22871 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22872 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
22873 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22874 instead of void *.
22875 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22876 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
22877 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22878 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
22879 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22880 and make them the default for now.
903d3633
ST
22881 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22882 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
22883 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22884 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22885 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22886 MACH_IPC_COMPAT.
06fac9f5
ST
22887 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22888 __task_terminate would ever return successfully.
f8177753
ST
22889 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22890 to global scope.
41cdb1eb
ST
22891 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22892 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
22893 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22894 critical section to make code simpler and avoid warning.
22895 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22896 critical section to make code simpler and avoid warning.
844bf921
ST
22897 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22898 const char * instead of char *.
f8bee46c
ST
22899 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22900 __hurd_file_name_split, hurd_file_name_split,
22901 __hurd_directory_name_split, hurd_directory_name_split,
22902 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22903 hurd_file_name_path_lookup): Make lookup function parameter take a
22904 const char *name instead of char *name.
22905 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22906 __hurd_directory_name_split): Likewise.
22907 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22908 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
22909 * sysdeps/mach/hurd/check_native.c: New file.
22910 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
22911 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22912 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
22913 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22914 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
22915 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22916 (do_test_bz20181): Rename accordingly.
22917 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
22918 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22919 <sys/mount.h>.
28f6186f
ST
22920 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22921 version only if __USE_EXTERN_INLINES is defined.
22922 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22923 __hurd_sockfail): Likewise.
22924 (_hurd_fd_get): Always declare functions, and provide inline versions
22925 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22926 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22927 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22928 _hurd_port_set): Always declare functions, and provide inline versions
22929 only if __USE_EXTERN_INLINES and _LIBC are defined and
22930 IS_IN(libc).
22931 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22932 _hurd_critical_section_unlock): Likewise.
22933 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22934 * __hurd_threadvar_location): Likewise.
22935 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22936 _hurd_userlink_clear): Likewise.
22937 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22938 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22939 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22940 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22941 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22942 __spin_lock_locked): Likewise.
22943 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22944 __spin_lock_locked): Likewise.
22945 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22946 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22947 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22948 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22949 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
22950 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22951 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
22952 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22953 check size against PTHREAD_STACK_MIN.
625ba81e
ST
22954 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22955 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
22956 * mach/Makefile (user-interfaces): Add mach/gnumach.
22957 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22958 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
22959 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22960 instead of invalid -1.
1f89ac71
ST
22961 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22962 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22963 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22964 <net/ppp_defs.h>.
85285a0c 22965
1fd1e27c 229662018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
22967
22968 * hurd/fcntl-internal.h: New file.
22969
3854c5a8
JC
229702018-01-27 James Clarke <jrtc27@jrtc27.com>
22971
7e23a7dd
JC
22972 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22973
3854c5a8
JC
22974 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22975
5503f413
AS
229762018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22977
22978 [BZ #22701]
22979 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22980 Build only shared objects.
22981
caaf7804
CD
229822018-01-26 Carlos O'Donell <carlos@redhat.com>
22983
22984 * README: Update for hppa.
22985
1cbf818d
PM
229862018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22987
caaf7804
CD
22988 * sysdeps/sparc/fpu/libm-test-ulps: Update
22989 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 22990
caaf7804 229912018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
22992
22993 Revert:
22994
22995 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22996
22997 [BZ #22563]
22998 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22999 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23000 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23001 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23002 to feature_1.
23003
23004 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23005
23006 [BZ #22563]
23007 * bits/types/__cancel_jmp_buf_tag.h: New file.
23008 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23009 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23010 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23011 * nptl/Makefile (headers): Add
23012 bits/types/__cancel_jmp_buf_tag.h.
23013 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23014 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23015 * sysdeps/nptl/pthread.h: Include
23016 <bits/types/__cancel_jmp_buf_tag.h>.
23017 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23018 __cancel_jmp_buf.
23019 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23020
ab74d59f 230212018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
65f6c94e
RL
23022
23023 [BZ #10871]
23024 * localedata/locales/uk_UA (mon): Renamed to...
23025 (alt_mon): This.
23026 (alt_digits): "0" removed and then renamed to...
23027 (mon): This.
23028 (date_fmt): Definition changed not to use the alternative
23029 digits hack.
23030
fb58aac5
PD
230312018-01-25 Palmer Dabbelt <palmer@sifive.com>
23032
23033 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
23034 FLAG_RISCV_FLOAT_ABI_DOUBLE.
23035 * elf/elf.h (EF_RISCV_RVC): New define.
23036 (EF_RISCV_FLOAT_ABI): Likewise.
23037 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
23038 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
23039 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23040 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
23041 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23042 define.
23043 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23044
128c43a2
AS
230452018-01-25 Andreas Schwab <schwab@suse.de>
23046
23047 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
23048 single quotes.
23049 * sysdeps/gnu/configure: Regenerate.
23050 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23051 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23053 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23054 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23055 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
23056 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23057 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23058
f9015003
ST
230592018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23060
48130690 23061 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 23062 URL, and run autoconf, make it the default for now.
f9015003 23063
91b2cffa
JM
230642018-01-24 Joseph Myers <joseph@codesourcery.com>
23065
3005b705
JM
23066 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23067 soft-float ColdFire configuration.
23068
69231fab
JM
23069 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
23070 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
23071 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
23072
d4c7e1d0
JM
23073 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
23074 MicroBlaze file.
23075
0cfe5be5
JM
23076 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
23077 ....
23078 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
23079 ... here.
23080 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
23081 New file.
23082
91b2cffa
JM
23083 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23084 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23085 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23086 file.
23087
c739e191
SN
230882018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23089
23090 [BZ #22742]
23091 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23092 Rename to __reserved and add comment.
23093 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23094 Rename to __reserved.
23095
394b5bac
JM
230962018-01-24 Joseph Myers <joseph@codesourcery.com>
23097
23098 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23099 i686-gnu configurations.
23100 (Context.run_builds): Include mig, gnumach and hurd in components
23101 considered.
23102 (Context.checkout): Add mig, gnumach and hurd to components.
23103 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23104 hurd.
23105 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23106 (Config.build): Install gnumach headers, build mig and install
23107 hurd headers for 'gnu' OS.
23108 (Config.install_gnumach_headers): New function.
23109 (Config.install_hurd_headers): Likewise.
23110 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23111 when building for 'gnu' OS.
23112
28c3f14f
TK
231132018-01-23 Tobias Klauser <tklauser@distanz.ch>
23114
23115 * manual/tunables.texi (Hardware Capability Tunables): Fix
23116 spelling.
23117
0f5e2da1
RJ
231182018-01-22 Rical Jasan <ricaljasan@pacific.net>
23119
23120 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23121 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23122 (ALTMON_11, ALTMON_12): Improve documentation.
23123 * manual/time.texi (strftime): Likewise.
23124
ab74d59f 231252018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
7817b14a
RL
23126
23127 [BZ #10871]
23128 * localedata/locales/pl_PL: Alternative month names added,
23129 primary month names are genitive now.
23130 * time/tst-strptime.c (day_tests): Actually use a genitive case
23131 of a month name in Polish language.
23132
ab74d59f 231332018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22390764
RL
23134
23135 [BZ #10871]
23136 * manual/locale.texi: Document ALTMON_1..12 constants for
23137 nl_langinfo. Specify when to use ALTMON instead of MON.
23138 * manual/time.texi (strftime, strptime): Document GNU extension
23139 permitting O modifier with %B and %b. Specify when to use
23140 %OB instead of %B.
23141
ab74d59f 231422018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
761a585c
RL
23143
23144 [BZ #10871]
23145 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23146 names, define them as the same as abbreviated month names explicitly.
23147 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23148 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23149 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23150 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23151 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23152 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23153 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23154 _NL_WABALTMON_12): New enum constants.
23155 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23156 wab_alt_mon, and ab_alt_mon_defined members.
23157 (time_output): Output ab_alt_mon and wab_alt_mon members.
23158 (time_read): Read them, initialize them as copies of abmon and wabmon
23159 respectively if they are missing, initialize ab_alt_mon_defined.
23160 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23161 * locale/programs/locfile-kw.h: Regenerate.
23162 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23163 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23164 and ru_RU.UTF-8.
23165 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23166 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23167 (__strftime_internal): Handle %Ob and %Oh formats.
23168 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23169 (__strptime_internal): Handle %Ob and %Oh formats.
23170 * time/tst-strptime.c (day_tests): Add more tests to parse different
23171 forms of month names including the new %Ob format specifier.
23172
ab74d59f 231732018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
95cb863a
RL
23174
23175 [BZ #10871]
23176 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23177 define them as the same as primary full month names explicitly.
23178 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23179 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23180 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23181 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23182 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23183 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23184 _NL_WALTMON_12): New enum constants.
23185 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23186 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23187 macros.
23188 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23189 walt_mon, and alt_mon_defined members.
23190 (time_output): Output alt_mon and walt_mon members.
23191 (time_read): Read them, initialize them as copies of mon and wmon
23192 respectively if they are missing, initialize alt_mon_defined.
23193 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23194 * locale/programs/locfile-kw.h: Regenerate.
23195 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23196 * localedata/tst-langinfo.c (map): Add tests for the new constants
23197 ALTMON_1 .. ALTMON_12.
23198 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23199 and pl_PL.UTF-8.
23200 * time/strftime_l.c (f_altmonth): New macro.
23201 (__strftime_internal): Handle %OB format.
23202 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23203 (__strptime_internal): Handle %OB format.
23204 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23205 of month names including the new %OB format specifier.
23206
4612268a
TMQMF
232072018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23208
23209 [BZ #22685]
23210 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23211 from ABORT_TRANSACTION.
23212 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23213 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23214 ABORT_TRANSACTION_IMPL): Likewise.
23215 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23216 Linux code, but remove the code that aborts transactions.
23217
64f63cb4
ST
232182018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23219
23220 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23221
ab74d59f 232222018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
32ac6e92
RL
23223
23224 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23225 in date: "2004-14-09" should be "2004-09-14".
23226 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23227 "2003-15-09" should be "2003-09-15".
23228
8e448310
AS
232292018-01-18 Arjun Shankar <arjun@redhat.com>
23230
23231 [BZ #22343]
71aa429b 23232 [BZ #22774]
4590634f 23233 CVE-2018-6485
71aa429b 23234 CVE-2018-6551
8e448310
AS
23235 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23236 after padding.
23237 (_int_memalign): check for integer overflow before calling
23238 _int_malloc.
23239 * malloc/tst-malloc-too-large.c: New test.
23240 * malloc/Makefile: Add tst-malloc-too-large.
23241
ab74d59f 232422018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
e234d7cb
RL
23243
23244 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23245 in date: "2017-24-07" should be "2017-07-24".
23246 * localedata/locales/mai_IN: Likewise.
23247 * localedata/locales/mai_NP: Likewise.
23248
48b66019
DL
232492018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23250
23251 * po/ru.po: Update translations.
23252
1eeddc58
JM
232532018-01-17 Joseph Myers <joseph@codesourcery.com>
23254
23255 [BZ #22719]
23256 * sysdeps/hppa/backtrace.c: New file.
23257
207a72e2
L
232582018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23259
23260 [BZ #22715]
23261 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23262 align La_x86_64_retval to VEC_SIZE.
23263
4942c4ea
JM
232642018-01-16 Joseph Myers <joseph@codesourcery.com>
23265
23266 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23267 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23268
10d200db
FW
232692018-01-16 Florian Weimer <fweimer@redhat.com>
23270
23271 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23272 Move tst-thread-exit-clobber ...
23273 [$(CXX)] (tests-unsupported): ... to here.
23274
953c49cc
SN
232752018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23276
23277 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23278 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23279 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23280 (_dl_aarch64_cap_flags): Update.
23281 (_DL_HWCAP_COUNT): Update.
23282
afce1991
SN
232832018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23284
23285 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23286 (_DL_HWCAP_LAST): Remove.
23287 (_DL_HWCAP_COUNT): Move to ...
23288 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23289 (_DL_HWCAP_COUNT): ... here.
23290
b725132d
FW
232912018-01-16 Florian Weimer <fweimer@redhat.com>
23292
23293 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23294 mode with GNU extensions.
23295
c9e613a7
AH
232962018-01-15 Alan Hayward <alan.hayward@arm.com>
23297
23298 * elf/elf.h (NT_ARM_SVE): Define.
23299
860b0240
FW
233002018-01-15 Florian Weimer <fweimer@redhat.com>
23301
23302 [BZ #22636]
23303 * nptl/tst-minstack-throw.cc: New file.
23304 * nptl/Makefile (tests): Add tst-minstack-throw.
23305 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23306 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23307
16d0f6ac
JM
233082018-01-15 Joseph Myers <joseph@codesourcery.com>
23309
23310 * scripts/build-many-glibcs.py (Context.checkout): Default
23311 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23312 version to 1.1.0.
23313
505d3910
CD
233142018-01-13 Carlos O'Donell <carlos@redhat.com>
23315
23316 [BZ #22707]
23317 * elf/elf.h (DF_1_STUB): Define.
23318 (DF_1_PIE): Define.
23319
af1e6be4
TMQMF
233202018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23321
23322 [BZ #22697]
23323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23324 Do not add 0.5 to integer or out-of-range arguments.
23325
98d13ce0
DL
233262018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23327
23328 * po/bg.po: Update translations.
23329 * po/cs.po: Likewise.
23330 * po/de.po: Likewise.
23331 * po/ko.po: Likewise.
23332 * po/pl.po: Likewise.
23333 * po/sv.po: Likewise.
23334 * po/uk.po: Likewise.
23335 * po/vi.po: Likewise.
23336
3d1d7928
SN
233372018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23338
23339 * aarch64/start.S (_start): Use __wrap_main.
23340 (__wrap_main): New local symbol.
23341
52a713fd
DL
233422018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23343
23344 [BZ #22679]
23345 CVE-2018-1000001
23346 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23347 generic_getcwd if the path returned by getcwd syscall is not absolute.
23348 * io/tst-getcwd-abspath.c: New test.
23349 * io/Makefile (tests): Add tst-getcwd-abspath.
23350
249a5895
IK
233512018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23352
23353 * malloc/malloc.c (malloc_consolidate): Add size check.
23354
1a51e46e
FW
233552018-01-12 Florian Weimer <fweimer@redhat.com>
23356
23357 * support/write_message.c (write_message): Preserve errno.
23358 * support/check.c (print_failure): Likewise.
23359 * support/support_test_verify_impl.c (support_test_verify_impl):
23360 Likewise.
23361 * support/support_test_compare_failure.c
23362 (support_test_compare_failure): Likewise.
23363
9a08a366
FW
233642018-01-12 Florian Weimer <fweimer@redhat.com>
23365
23366 [BZ #22701]
23367 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23368 Prevent installation of libnsl.so.
23369 (libnsl-inhibit-o): Do not build (or install) static libraries.
23370
80647883 233712018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
23372
23373 [BZ #22657]
23374 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23375 before the day number which may produce a double space.
23376 (date_fmt): Likewise.
23377
c8924f1f
JM
233782018-01-12 Joseph Myers <joseph@codesourcery.com>
23379
23380 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23381 instead of fegetenv.
23382
da09e6fa
JM
233832018-01-11 Joseph Myers <joseph@codesourcery.com>
23384
23385 [BZ #22702]
23386 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23387 comment to say exceptions are discarded.
23388 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23389 __fegetenv.
23390 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23391 be enabled.
23392
08c6e952
FW
233932018-01-11 Florian Weimer <fweimer@redhat.com>
23394
23395 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23396 and error message.
23397
d8b77890
FW
233982018-01-11 Florian Weimer <fweimer@redhat.com>
23399
23400 [BZ #22636]
23401 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23402 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23403
b303185d
JM
234042018-01-10 Joseph Myers <joseph@codesourcery.com>
23405
23406 [BZ #22693]
23407 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23408 negative arguments in test for NaN or infinity argument.
23409
ee61d028
DL
234102018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23411
23412 * po/libc.pot: Regenerate.
23413
f993b875
FW
234142018-01-10 Florian Weimer <fweimer@redhat.com>
23415
23416 [BZ #22636]
23417 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23418 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23419
09085ede
ST
234202018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23421
23422 * hurd/hurd/fd.h: Include <fcntl.h>
23423 (__hurd_at_flags): New function.
23424 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23425 with call to __hurd_at_flags.
23426 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23427 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23428 __faccessat
23429 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23430 (__access_noerrno): Use __faccessat_common instead of access_common.
23431 (__access): Likewise.
23432 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23433 with a call to __faccessat.
23434 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23435 (__faccessat_common): ... this. Move implementation of __access into it when
23436 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23437 reauthenticate_cwdir_at helper to implement AT mechanism.
23438 (__faccessat_noerrno): New function, just calls __faccessat_common.
23439 (__faccessat): New function, just calls __faccessat_common.
23440 (faccessat): Define weak alias.
23441
12727488
JM
234422018-01-10 Joseph Myers <joseph@codesourcery.com>
23443
87faac55
JM
23444 [BZ #22691]
23445 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23446 (CFLAGS-s_fmaxmagl.c): New variable.
23447 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23448
12727488
JM
23449 [BZ #22690]
23450 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23451 long int for arguments of possibly overflowing addition or
23452 subtraction.
23453 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23454
e134ca17
JM
234552018-01-09 Joseph Myers <joseph@codesourcery.com>
23456
b2584ac2
JM
23457 [BZ #22688]
23458 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23459 (CFLAGS-e_remainderl.c): New variable.
23460
e134ca17
JM
23461 [BZ #22687]
23462 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23463 variable.
23464 (CFLAGS-s_cacoshl.c): Likewise.
23465 (CFLAGS-s_casinhl.c): Likewise.
23466 (CFLAGS-s_catanl.c): Likewise.
23467 (CFLAGS-s_catanhl.c): Likewise.
23468 (CFLAGS-s_cexpl.c): Likewise.
23469 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23470 (CFLAGS-s_csinhl.c): Likewise.
23471 (CFLAGS-s_clogl.c): Likewise.
23472 (CFLAGS-s_clog10l.c): Likewise.
23473 (CFLAGS-s_csinl.c): Likewise.
23474 (CFLAGS-s_csqrtl.c): Likewise.
23475
d31a4a48
ST
234762017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
234772017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
23478
23479 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23480 (_hurd_exec_paths): New function.
23481 * hurd/hurd.h (_hurd_exec): Deprecate function.
23482 (_hurd_exec_paths): Declare function.
23483 * hurd/Versions: Export _hurd_exec_paths.
23484 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23485 (__execve): Use __getcwd to build absolute path, and use
23486 _hurd_exec_paths instead of _hurd_exec.
23487 * sysdeps/mach/hurd/spawni.c: Likewise.
23488 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23489 _hurd_exec.
23490
d7ff3f11
DL
234912018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23492
23493 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23494 test instead of failing in case of ENOENT returned by posix_openpt.
23495
401311cf
FW
234962018-01-08 Florian Weimer <fweimer@redhat.com>
23497
23498 resolv: Support binary labels in test framework.
23499 * support/resolv_test.c (struct to_be_freed): Remove.
23500 (struct compressed_name): New.
23501 (allocate_compressed_name, ascii_tolower)
23502 (compare_compressed_name): New functions.
23503 (struct resolv_response_builder): Update type of
23504 compression_offsets for use with tsearch. Rempve to_be_freed.
23505 (response_push_pointer_to_free): Remove function.
23506 (resolv_response_add_name): Rewrite using struct compressed_name
23507 and tsearch instead of hsearch_r.
23508 (response_builder_allocate): Remove initialization of
23509 compression_offsets.
23510 (response_builder_free): Update for removal of to_be_freed. Use
23511 tdestroy instead of hdestroy_r.
23512 * resolv/Makefile (tests): Add tst-resolv-binary.
23513 (tst-resolv-binary): Link with -lresolv -lpthread.
23514
2b3aa446
FW
235152018-01-08 Florian Weimer <fweimer@redhat.com>
23516
23517 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23518 time. Pass positive flag instead of negative flag to
23519 support_test_compare_failure.
23520 (support_test_compare_failure): Change negative parameter to
23521 positive.
23522 * support/support_test_compare_failure.c (report)
23523 (support_test_compare_failure): Likewise.
23524 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23525 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23526
630f4cc3
SN
235272018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23528
23529 [BZ #22637]
23530 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23531 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23532 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23533 stacksize.
23534 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23535
c70e4e9c
L
235362018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23537
23538 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23539 Add s_sincosf-sse2 and s_sincosf-fma.
23540 (CFLAGS-s_sincosf-fma.c): New.
23541 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23542 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23543 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23544 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23545 __sincosf is defined.
23546
579396ee
FW
235472018-01-08 Florian Weimer <fweimer@redhat.com>
23548
23549 * nptl/tst-thread-exit-clobber.cc: New file.
23550 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23551 C++11 mode.
23552 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23553 (tests): Add tst-thread-exit-clobber.
23554 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23555
dabd75b6
FW
235562018-01-08 Florian Weimer <fweimer@redhat.com>
23557
23558 * support/check.h (support_static_assert): Define.
23559 (TEST_COMPARE): Use it.
23560
c2e014cc
AJ
235612018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23562
23563 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23564 [!__RLIM_T_MATCHES_RLIM64_T]
23565 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23566 __getrlimit64. Add libc_hidden_weak.
23567
31a98837
PD
235682018-01-06 Palmer Dabbelt <palmer@sifive.com>
23569
23570 * elf/elf.h (R_RISCV_NONE): New define.
23571 (R_RISCV_32): Likewise.
23572 (R_RISCV_64): Likewise.
23573 (R_RISCV_RELATIVE): Likewise.
23574 (R_RISCV_COPY): Likewise.
23575 (R_RISCV_JUMP_SLOT): Likewise.
23576 (R_RISCV_TLS_DTPMOD32): Likewise.
23577 (R_RISCV_TLS_DTPMOD64): Likewise.
23578 (R_RISCV_TLS_DTPREL32): Likewise.
23579 (R_RISCV_TLS_DTPREL64): Likewise.
23580 (R_RISCV_TLS_TPREL32): Likewise.
23581 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
23582 * Makerules (make-link-multidir): Make directories before linking into
23583 them.
150bbac1
PD
23584 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23585 define.
23586 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
23587 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23588 in subdirectories of lib.
8e13c51b
PD
23589 * nptl/Makefile (/librt.so): Always depend on
23590 "$(shared-thread-library)".
31a98837 23591
fad7d57e
ST
235922018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23593
23594 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
23595 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23596 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23597 (___tls_get_addr).
23598 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
23599 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23600 "-O2 -march=i686".
01c7e549 23601 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
23602 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23603 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23604 * sysdeps/gnu/glob-lstat-compat.c: New file.
23605 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 23606 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 23607
3a32b716
TMQMF
236082018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23609
23610 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23611 Reserve 16 chars to reloc_addr before calling _itoa_word.
23612
24731685
AJ
236132018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23614
23615 [BZ #22678]
23616 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23617 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23618
19be56d8
AJ
23619 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23620 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23621
a6d0afb5
AJ
23622 * resource/tst-getrlimit.c: Add copyright header.
23623
8e900969
AJ
236242018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23625 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23626
23627 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23628 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23629 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23630 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23631 instead.
23632 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23633 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23634 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23635 RLIM64_INFINITY): Fix values to match the kernel ones.
23636 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23637 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23638 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23639 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23640 getrlimit64@@GLIBC_2_27.
23641 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23642 and setrlimit64.
23643 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23644 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23645 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23646 setrlimit, getrlimit64 and setrlimit64.
23647
0d0bc784
AJ
236482018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23649
23650 [BZ #22648]
23651 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23652 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23653
ba374b6d
JM
236542018-01-04 Joseph Myers <joseph@codesourcery.com>
23655
23656 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23657 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23658 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23659
4854ddd8
AZ
236602018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23661
b0a4eca2
AZ
23662 [BZ #15479]
23663 [BZ #22666]
23664 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23665 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23666
4854ddd8
AZ
23667 [BZ #15479]
23668 [BZ #22665]
23669 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23670 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23671 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23672 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23673
8a5df95f
FW
236742018-01-04 Florian Weimer <fweimer@redhat.com>
23675
23676 [BZ #22667]
23677 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23678 Align the stack before calling exit.
23679 * stdlib/tst-makecontext-align.c: New file.
23680 * stdlib/Makefile (tests): Add tst-makecontext-align.
23681
82eef55f
FW
236822018-01-04 Florian Weimer <fweimer@redhat.com>
23683
23684 Add support for calling dlvsym from libc.so.
23685 * include/dlfcn.h (__libc_dlvsym): Declare.
23686 * elf/Makefile (tests-static-internal): Add
23687 tst-libc_dlvsym-static.
23688 (tests-internal): Add tst-libc_dlvsym.
23689 (modules-names): Add tst-libc_dlvsym-dso.
23690 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23691 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23692 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23693 object tst-libc_dlvsym-dso.so needs to be built before running
23694 these tests.
23695 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23696 * elf/Versions: Export __libc_dlvsym.
23697 * elf/dl-libc.c (struct do_dlvsym_args): New.
23698 (do_dlvsym, __libc_dlvsym): New functions.
23699 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23700 (_dl_open_hook2): New variable.
23701 (__libc_register_dl_open_hook): Set it.
23702 * elf/tst-libc_dlvsym-dso.c: New file.
23703 * elf/tst-libc_dlvsym-static.c: Likewise.
23704 * elf/tst-libc_dlvsym.c: Likewise.
23705 * elf/tst-libc_dlvsym.h: Likewise.
23706
1714fc06
ST
237072018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23708
23709 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23710 include <sys/mount.h>.
23711
3c7d0312
WD
237122018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23713
23714 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23715 Add __NO_MATH_ERRNO__ check.
23716
7eff0954
JM
237172018-01-02 Joseph Myers <joseph@codesourcery.com>
23718
23719 * sysdeps/mips/mips32/libm-test-ulps: Update.
23720 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23721
77f49956
FW
237222018-01-02 Florian Weimer <fweimer@redhat.com>
23723
23724 * misc/tst-pselect.c: Add copyright header.
23725
363e4519 237262018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
23727
23728 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23729 comment.
23730 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23731 comment.
23732 (settrlimit): Rename into setrlimit.
23733 (__sttrlimit): Rename into __setrlimit.
23734
3e4226ff
AJ
23735 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23736 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23737 never defined in that case.
23738
b9256ab6
JM
237392018-01-02 Joseph Myers <joseph@codesourcery.com>
23740
28fd6a44
JM
23741 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23742
a4933a15
JM
23743 * sysdeps/arm/libm-test-ulps: Update.
23744
b9256ab6
JM
23745 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23746 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23747
4cf82d23
RS
237482018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23749
23750 * NEWS: Add cosf and sincosf to list of optimized functions.
23751
6a9dd7a7
AJ
237522018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23753
23754 [BZ #22660]
23755 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23756 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23757 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23758 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23759
dbba87d5
DL
237602018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23761
b05cb613
DL
23762 [BZ #22433]
23763 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23764
dbba87d5
DL
23765 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23766 making a copy of it.
23767
688903eb
JM
237682018-01-01 Joseph Myers <joseph@codesourcery.com>
23769
66ac23de
JM
23770 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23771 trailing whitespace removed.
23772 * scripts/config.guess: Update to version 2018-01-01.
23773 * scripts/config.sub: Update to version 2018-01-01.
23774 * scripts/move-if-change: Update from gnulib.
23775
09533208
JM
23776 * NEWS: Update copyright dates.
23777 * catgets/gencat.c (print_version): Likewise.
23778 * csu/version.c (banner): Likewise.
23779 * debug/catchsegv.sh: Likewise.
23780 * debug/pcprofiledump.c (print_version): Likewise.
23781 * debug/xtrace.sh (do_version): Likewise.
23782 * elf/ldconfig.c (print_version): Likewise.
23783 * elf/ldd.bash.in: Likewise.
23784 * elf/pldd.c (print_version): Likewise.
23785 * elf/sotruss.sh: Likewise.
23786 * elf/sprof.c (print_version): Likewise.
23787 * iconv/iconv_prog.c (print_version): Likewise.
23788 * iconv/iconvconfig.c (print_version): Likewise.
23789 * locale/programs/locale.c (print_version): Likewise.
23790 * locale/programs/localedef.c (print_version): Likewise.
23791 * login/programs/pt_chown.c (print_version): Likewise.
23792 * malloc/memusage.sh (do_version): Likewise.
23793 * malloc/memusagestat.c (print_version): Likewise.
23794 * malloc/mtrace.pl: Likewise.
23795 * manual/libc.texinfo: Likewise.
23796 * nptl/version.c (banner): Likewise.
23797 * nscd/nscd.c (print_version): Likewise.
23798 * nss/getent.c (print_version): Likewise.
23799 * nss/makedb.c (print_version): Likewise.
23800 * posix/getconf.c (main): Likewise.
23801 * scripts/test-installation.pl: Likewise.
23802 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23803
688903eb
JM
23804 * All files with FSF copyright notices: Update copyright dates
23805 using scripts/update-copyrights.
23806 * locale/programs/charmap-kw.h: Regenerated.
23807 * locale/programs/locfile-kw.h: Likewise.
23808
4f820792
ZW
238092017-12-31 Zack Weinberg <zackw@panix.com>
23810
23811 * libio/bits/libio-ldbl.h: Correct check for improper
23812 inclusion. Add own multiple include guard.
23813
3e3c904d
AJ
238142017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23815 Dmitry V. Levin <ldv@altlinux.org>
23816
23817 [BZ #22625]
31f96325 23818 CVE-2017-16997
3e3c904d
AJ
23819 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23820 string token expansion. Check for NULL pointer or empty string possibly
23821 returned by expand_dynamic_string_token.
23822 (decompose_rpath): Check for empty path after dynamic string
23823 token expansion.
23824
7e21972b
DL
238252017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23826
c48831d0
DL
23827 [BZ #22433]
23828 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23829
ac583f50
DL
23830 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23831 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23832 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23833 and PTRACE_SYSCALL.
23834 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23835 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23836 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23839 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23840
7e21972b
DL
23841 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23842 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23843 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23844 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23846 bits/ptrace-shared.h.
23847 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23848 <bits/ptrace-shared.h>.
23849 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23850 __ptrace_peeksiginfo_flags, ptrace): Remove.
23851 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23855 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23856
72f29e3a
AJ
238572017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23858
23859 [BZ #17804]
23860 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23861 end of the loop. Improve comments.
23862
54e4efc2
AJ
238632017-12-29 Zack Weinberg <zackw@panix.com>
23864
23865 [BZ #22615]
23866 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23867 might be set on success.
23868
f8aa69be
AJ
238692017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23870
23871 [BZ #22611]
23872 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23873 is unchanged on success.
23874
97f13188
DL
238752017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23876
2bd86632
DL
23877 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23878 updated.
23879 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23880 expand_dynamic_string_token): Likewise.
23881 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23882 is_path argument.
23883
1c36e1e6
DL
23884 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23885 contains ':'.
23886
97f13188
DL
23887 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23888 is set and name contains ':', and all code depending on these checks.
23889
48a8f832
ZW
238902017-12-24 Zack Weinberg <zackw@panix.com>
23891
23892 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23893 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23894 respectively.
23895 * libio/libio.h: Rename the original version of this file to
23896 libio/bits/libio.h. Error out if not included by stdio.h or the
23897 stub libio.h.
23898 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23899 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23900 if not included by bits/libio.h or the stub _G_config.h.
23901 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23902 sysdeps/unix/sysv/linux/bits. Error out if not included by
23903 bits/libio.h or the stub _G_config.h.
23904 * libio/stdio.h: Include bits/libio.h, not libio.h.
23905 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23906 well as libio.h and _G_config.h.
23907
23908 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23909 * libio/strfile.h, stdio-common/vfscanf.c
23910 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23911 Include stdio.h, not _G_config.h nor libio.h.
23912 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23913 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23914
23915 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23916
a47ad79a
DL
239172017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23918
23919 [BZ #22347]
23920 * stdlib/getrandom.c (getrandom): Fix comment.
23921 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23922
363e4519 239232017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 23924
f5c558f3
AJ
23925 [BZ #21161]
23926 * manual/arith.texi (strtoul): Fix a typo.
23927
e65a5644
AJ
23928 [BZ #22596]
23929 * manual/arith.texi (finite): Fix the description of the return
23930 value.
23931
ed8ae46b
EB
239322017-12-22 Eric Blake <ebb9@byu.net>
23933
23934 Avoid gcc warnings on cygwin
23935 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23936 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23937 Avoid unused variable.
23938
bad7a0c8
FW
239392017-12-22 Florian Weimer <fweimer@redhat.com>
23940
23941 * io/Makefile (routines): Add copy_file_range.
23942 (tests): Add tst-copy_file_range.
23943 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23944 * io/Versions (GLIBC_2.27): Export copy_file_range.
23945 * io/copy_file_range-compat.c: New file.
23946 * io/copy_file_range.c: Likewise.
23947 * io/tst-copy_file_range-compat.c: Likewise.
23948 * io/tst-copy_file_range.c: Likewise.
23949 * manual/llio.texi (Copying File Data): New section.
23950 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23951 * support/Makefile (libsupport-routines): Add support-xfstat,
23952 xftruncate, xlseek.
23953 * support/support-xfstat.c: New file.
23954 * support/xftruncate.c: Likewise.
23955 * support/xlseek.c: Likewise.
23956 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23957 * sysdeps/unix/sysv/linux/**.abilist: Update.
23958 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23959
6cb86fd2
SN
239602017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23961
23962 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23963 disable-multi-arch variant to aarch64-linux-gnu.
23964
41d11b15
JM
239652017-12-20 Joseph Myers <joseph@codesourcery.com>
23966
23967 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23968 trailing whitespace removed.
23969 * scripts/config.guess: Update to version 2017-12-17.
23970 * scripts/config.sub: Update to version 2017-11-23.
23971 * scripts/install-sh: Update to version 2017-09-23.17.
23972 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23973
4735850f
AZ
239742017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23975
8d2d239c
AZ
23976 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23977 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23978 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23979 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23980 * sysdeps/tile/crtn.S: Likewise.
23981 * sysdeps/tile/dl-start.S (_start): Likewise.
23982 * sysdeps/tile/dl-trampoline.S: Likewise.
23983 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23984 * sysdeps/tile/start.S (_start): Likewise.
23985 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23986 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23987 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23988 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23989 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23990 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23991 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23992
24d1d8ec
AZ
23993 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23994 comment.
23995 * sysdeps/tile/preconfigure: Remove tilegx folder.
23996 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23997 * sysdeps/tile/Implies: ... here.
23998 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23999 * sysdeps/tile/Makefile: ... here.
24000 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
24001 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
24002 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
24003 * sysdeps/tile/bits/wordsize.h: ... here.
24004 * sysdeps/tile/tilegx/*: Move to ...
24005 * sysdeps/tile/*: ... here.
24006 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
24007 * sysdeps/tile/tilegx32/Implies: ... here.
24008 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
24009 * sysdeps/tile/tilegx64/Implies: ... here.
24010 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
24011 to ...
24012 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24013 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
24014 * sysdeps/unix/sysv/linux/tile/*: ... here.
24015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
24016 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
24017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
24018 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
24019
ed95f611
AZ
24020 * README: Remove tilepro-*-linux-gnu from supported architecture.
24021 * scripts/build-many-glibcs.py: Likewise.
24022 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24023 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
24024 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
24025 elf_machine_matches_host, elf_machine_dynamic,
24026 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
24027 howto, elf_machine_rela): Likewise.
24028 * sysdeps/tile/dl-start.S (_start): Likewise.
24029 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
24030 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
24031 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
24032 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
24033 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
24034 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24035 Likewise.
24036 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
24037 * sysdeps/tile/preconfigure: Likewise.
24038 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
24039 POINTER_CHK_GUARD): Likewise.
24040 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
24041 * sysdeps/tile/start.S (_start): Likewise.
24042 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
24043 Likewise.
24044 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
24045 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
24046 CMOVNEZ): Remove.
24047 * sysdeps/unix/sysv/linux/tile/bits/environments.h
24048 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
24049 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
24050 Likewise.
24051 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
24052 * sysdeps/tile/tilepro/Implies: Remove file.
24053 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
24054 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
24055 * sysdeps/tile/tilepro/memchr.c: Likewise.
24056 * sysdeps/tile/tilepro/memcpy.S: Likewise.
24057 * sysdeps/tile/tilepro/memset.c: Likewise.
24058 * sysdeps/tile/tilepro/memusage.h: Likewise.
24059 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
24060 * sysdeps/tile/tilepro/strchr.c: Likewise.
24061 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
24062 * sysdeps/tile/tilepro/strlen.c: Likewise.
24063 * sysdeps/tile/tilepro/strrchr.c: Likewise.
24064 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
24065 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
24066 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24067 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
24068 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
24069 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24070 Likewise.
24071 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
24072 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24073 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
24074 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
24075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24076 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
24077 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
24078 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
24079 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
24080 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
24081 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
24082 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
24083 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24084 tilepro mention in comment.
24085
4735850f
AZ
24086 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24087 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24088 * nptl/pthread_join_common.c: New file: common function used on
24089 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24090 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24091 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24092 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24093 (cleanup): Move definition to pthread_join_common.c.
24094 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24095 Remove superflous checks.
24096 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24097 Likewise.
24098
8bfb461e
SN
240992017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24100
24101 * sysdeps/aarch64/libm-test-ulps: Update.
24102
4e001969
AZ
241032017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24104
24105 * sysdeps/aarch64/memset.S (MEMSET): Define.
24106
8a26ad2a
FW
241072017-12-20 Florian Weimer <fweimer@redhat.com>
24108
24109 [BZ #22635]
24110 nptl: Provide full implementation of pthread_self in libc.so.
24111 * nptl/Makefile (routines): Add pthread_self.
24112 (libpthread-routines): Replace pthread_self with
24113 compat-pthread_self.
24114 * nptl/forward.c (pthread_self): Remove.
24115 * nptl/nptl-init.c (pthread_functions): Do not initialize
24116 ptr_pthread_self.
24117 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24118 * nptl/compat-pthread_self.c: New file.
24119 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24120 Remove ptr_pthread_self.
24121
5069ff32
AR
241222017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24123
24124 * posix/regcomp.c: Fix spelling in comments.
24125 * posix/regex.h: Likewise.
24126 * posix/regex_internal.c: Likewise.
24127 * posix/regexec.c: Likewise.
24128
c85e54ac
GG
241292017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24130
24131 [BZ #22377]
24132 * math/Makefile [C++] (tests): Add test for iseqsig.
24133 * math/math.h [C++] (iseqsig): New implementation, which does
24134 not rely on __MATH_TG/__builtin_types_compatible_p.
24135 * math/test-math-iseqsig.cc: New file.
24136 * sysdeps/powerpc/powerpc64le/Makefile
24137 (CFLAGS-test-math-iseqsig.cc): New variable.
24138
10e93d96
DL
241392017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24140
24141 * elf/dl-load.c (is_trusted_path): Remove.
24142 (fillin_rpath): Remove check_trusted argument and its use,
24143 all callers changed.
24144
ce16eb52
L
241452017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24146
24147 [BZ #22630]
24148 * Makeconfig (link-pie-before-libc): Replace -pie with
24149 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24150 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24151 (tst-dlopen-aout-no-pie): New.
24152 (LDFLAGS-tst-prelink): Removed.
24153 (tst-prelink-no-pie): New.
24154 (LDFLAGS-tst-main1): Removed.
24155 (tst-main1-no-pie): New.
24156 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24157 (tst-gmon-no-pie): New.
24158
126adc89
L
241592017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 * manual/install.texi: Document that --enable-static-pie
24162 implies PIE.
24163 * INSTALL: Regenerated.
24164
648615e1
BE
241652017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24166
24167 [BZ #21309]
24168 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24169 unsigned.
24170
f1e00502
JM
241712017-12-19 Joseph Myers <joseph@codesourcery.com>
24172
24173 Revert:
24174
24175 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24176
24177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24178
24179 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24180
24181 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24182 <errno.h>. Include "eexp.tbl".
24183 (half): New constant.
24184 (one): Likewise.
24185 (__ieee754_exp): Rewrite.
24186 (__slowexp): Remove prototype.
24187 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24188 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24189 * sysdeps/i386/fpu/slowexp.c: Likewise.
24190 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24191 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24192 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24193 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24194 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24195 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24196 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24197 comment.
24198 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24199 (CPPFLAGS-slowexp.c): Remove variable.
24200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24201 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24202 (CFLAGS-slowexp-fma.c): Remove variable.
24203 (CFLAGS-slowexp-fma4.c): Likewise.
24204 (CFLAGS-slowexp-avx.c): Likewise.
24205 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24206 define as macro.
24207 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24208 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24209 * math/Makefile (type-double-routines): Remove slowexp.
24210 * manual/probes.texi (slowexp_p6): Remove.
24211 (slowexp_p32): Likewise.
24212
d711a00f
AZ
242132017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24214
e184ac3a
AZ
24215 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24216 arithmetic.
24217
d711a00f
AZ
24218 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24219
6f58c10d
JM
242202017-12-19 Joseph Myers <joseph@codesourcery.com>
24221
24222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24223
6fd0a3c6
PM
242242017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24225
24226 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24227 <errno.h>. Include "eexp.tbl".
24228 (half): New constant.
24229 (one): Likewise.
24230 (__ieee754_exp): Rewrite.
24231 (__slowexp): Remove prototype.
24232 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24233 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24234 * sysdeps/i386/fpu/slowexp.c: Likewise.
24235 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24236 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24237 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24238 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24239 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24240 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24241 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24242 comment.
24243 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24244 (CPPFLAGS-slowexp.c): Remove variable.
24245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24246 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24247 (CFLAGS-slowexp-fma.c): Remove variable.
24248 (CFLAGS-slowexp-fma4.c): Likewise.
24249 (CFLAGS-slowexp-avx.c): Likewise.
24250 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24251 define as macro.
24252 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24254 * math/Makefile (type-double-routines): Remove slowexp.
24255 * manual/probes.texi (slowexp_p6): Remove.
24256 (slowexp_p32): Likewise.
24257
3bb1ef58 242582017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 24259 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
24260
24261 [BZ #22603]
24262 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24263 addition.
24264
554e3d51
AZ
242652017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24266
24267 [BZ #22605]
24268 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24269 code.
24270
cba595c3
L
242712017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24272
24273 [BZ #22563]
24274 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24275 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24276 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24277 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24278 to feature_1.
24279
f81ddabf
L
242802017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24281
24282 [BZ #22563]
24283 * bits/types/__cancel_jmp_buf_tag.h: New file.
24284 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24285 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24286 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24287 * nptl/Makefile (headers): Add
24288 bits/types/__cancel_jmp_buf_tag.h.
24289 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24290 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24291 * sysdeps/nptl/pthread.h: Include
24292 <bits/types/__cancel_jmp_buf_tag.h>.
24293 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24294 __cancel_jmp_buf.
24295 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24296
1a49fc59
L
242972017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24298
24299 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24300 --enable-static-pie variants to x86_64, x32 and i686.
24301
8e52f573
JM
243022017-12-19 Joseph Myers <joseph@codesourcery.com>
24303
66425185
JM
24304 [BZ #22631]
24305 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24306 argument for attrubutes. All callers changed.
24307 (__inline_mathop1): Likewise. All callers changed.
24308 (__inline_mathop): Likewise. All callers changed.
24309 [__USE_MISC] (scalbn): Use __inline_forward instead of
24310 __inline_forward_c.
24311 [__USE_ISOC99] (scalbln): Likewise.
24312 [__USE_ISOC99] (nearbyint): Likewise.
24313 [__USE_ISOC99] (lrint): Likewise.
24314 [__USE_MISC] (scalbnf): Likewise.
24315 [__USE_ISOC99] (scalblnf): Likewise.
24316 [__USE_ISOC99] (nearbyintf): Likewise.
24317 [__USE_ISOC99] (lrintf): Likewise.
24318 [__USE_MISC] (scalbnl): Likewise.
24319 [__USE_ISOC99] (scalblnl): Likewise.
24320 [__USE_ISOC99] (nearbyintl): Likewise.
24321 [__USE_ISOC99] (lrintl): Likewise.
24322 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24323 __inline_mathop and __m81_defun changed.
24324
8e52f573
JM
24325 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24326 CPU or FPU for ARM hard-float configurations.
24327
1421f39b
JM
243282017-12-18 Joseph Myers <joseph@codesourcery.com>
24329
40c4162d
JM
24330 * nptl/tst-attr3.c: Include <libc-diag.h>.
24331 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24332
5983df32
JM
24333 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24334
1421f39b
JM
24335 * string/tester.c (test_strncat): Also disable -Warray-bounds
24336 warnings for two tests.
24337
00c714df
L
243382017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24339
24340 [BZ #22614]
24341 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24342 $(cc-pie-default) == yes.
24343 * config.make.in (cc-pie-default): New.
24344 * configure.ac (libc_cv_pie_default): Renamed to ...
24345 (libc_cv_cc_pie_default): This.
24346 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24347 * configure: Regenerated.
24348
8e1472d2
FW
243492017-12-18 Florian Weimer <fweimer@redhat.com>
24350
24351 [BZ #20204]
24352 ld.so: Harden dl-libc/libdl hooks.
24353 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24354 (rtld_active): New function.
24355 * dlfcn/dladdr.c (__dladdr): Call it.
24356 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24357 * dlfcn/dlclose.c (__dlcose): Likewise.
24358 * dlfcn/dlerror.c (__dlerror): Likewise.
24359 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24360 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24361 * dlfcn/dlopen.c (__dlopen): Likewise.
24362 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24363 * dlfcn/dlsym.c (__dlsym): Likewise.
24364 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24365 * libio/vtables.c (_IO_vtable_check): Likewise.
24366 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24367 (__libc_dlclose): Likewise.
24368 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24369 assignment.
24370
49b036bc
JM
243712017-12-18 Joseph Myers <joseph@codesourcery.com>
24372
24373 [BZ #22446]
24374 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24375 buffers for readlink input and output.
24376
368b6c8d
ST
243772017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24378
c85c564d
ST
24379 [BZ #22624]
24380 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24381 inhibit_stack_protector.
24382
368b6c8d
ST
24383 [BZ #22624]
24384 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24385 inhibit_stack_protector.
24386
bb195224
DL
243872017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24388
24389 [BZ #22627]
24390 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24391 code and invocation.
24392
14d886ed
SN
243932017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24394
24395 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24396
7d38eb38
AJ
243972017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24398
24399 [BZ #22505]
24400 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24401
2e77deef
RS
244022017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24403
24404 * sysdeps/s390/fpu/libm-test-ulps: Update.
24405
0b9bef6d
RS
244062017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24407
24408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24409
984ae996
RS
244102017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24411
24412 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24413 constants to s_sincosf.h file.
24414 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24415 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24416 implementation.
24417 * sysdeps/ieee754/flt-32/s_sincosf.h:
24418 New file.
24419
363e4519 244202017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
24421
24422 [BZ #14681]
24423 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24424 before mtrace.
24425
9d7a3741
L
244262017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24427
24428 [BZ #19574]
24429 * INSTALL: Regenerated.
24430 * Makeconfig (real-static-start-installed-name): New.
24431 (pic-default): Updated for --enable-static-pie.
24432 (pie-default): New for --enable-static-pie.
24433 (default-pie-ldflag): Likewise.
24434 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24435 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24436 Replace $(static-start-installed-name) with
24437 $(real-static-start-installed-name).
24438 (+prectorT): Updated for --enable-static-pie.
24439 (+postctorT): Likewise.
24440 (CFLAGS-.o): Add $(pie-default).
24441 (CFLAGS-.op): Likewise.
24442 * NEWS: Mention --enable-static-pie.
24443 * config.h.in (ENABLE_STATIC_PIE): New.
24444 * configure.ac (--enable-static-pie): New configure option.
24445 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24446 (have-static-pie): Likewise.
24447 Enable static PIE if linker supports --no-dynamic-linker.
24448 (ENABLE_STATIC_PIE): New AC_DEFINE.
24449 (enable-static-pie): New LIBC_CONFIG_VAR.
24450 * configure: Regenerated.
24451 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24452 gr$(start-installed-name) for --enable-static-pie.
24453 (extra-objs): Likewise.
24454 (install-lib): Likewise.
24455 (extra-objs): Add static-reloc.o and static-reloc.os
24456 ($(objpfx)$(start-installed-name)): Also depend on
24457 $(objpfx)static-reloc.o.
24458 ($(objpfx)r$(start-installed-name)): New.
24459 ($(objpfx)g$(start-installed-name)): Also depend on
24460 $(objpfx)static-reloc.os.
24461 ($(objpfx)gr$(start-installed-name)): New.
24462 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24463 in libc.a.
24464 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24465 initimage.
24466 * csu/static-reloc.c: New file.
24467 * elf/Makefile (routines): Add dl-reloc-static-pie.
24468 (elide-routines.os): Likewise.
24469 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24470 (tst-tls1-static-non-pie-no-pie): New.
24471 * elf/dl-reloc-static-pie.c: New file.
24472 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24473 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24474 STATIC_PIE_BOOTSTRAP.
24475 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24476 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24477 (tests-static): Likewise.
24478 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24479 (tst-gmon-static-no-pie): New.
24480 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24481 (CRT-tst-gmon-static-pie): Likewise.
24482 (tst-gmon-static-pie-ENV): Likewise.
24483 (tests-special): Likewise.
24484 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24485 (clean-tst-gmon-static-pie-data): Likewise.
24486 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24487 * gmon/tst-gmon-static-pie.c: New file.
24488 * manual/install.texi: Document --enable-static-pie.
24489 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24490 (_dl_get_dl_main_map): Likewise.
24491 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24492 * sysdeps/x86_64/configure.ac: Likewise.
24493 * sysdeps/i386/configure: Regenerated.
24494 * sysdeps/x86_64/configure: Likewise.
24495 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24496 (ASFLAGS-.op): Likewise.
24497
95511aab
JM
244982017-12-15 Joseph Myers <joseph@codesourcery.com>
24499
24500 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24501 * posix/tst-mmap-offset.c (fname): Use /tmp.
24502 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24503
a7e3edf4
SE
245042017-12-15 Steve Ellcey <sellcey@cavium.com>
24505
24506 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24507
d232f2e1
TS
245082017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24509
24510 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24511 errno.
24512
174edbde
JM
245132017-12-15 Joseph Myers <joseph@codesourcery.com>
24514
5170fa49
JM
24515 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24516 --with-float=hard for arm-linux-gnueabihf configurations.
24517
f2da2fd8
JM
24518 [BZ #14121]
24519 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24520 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24521 ($(mo-installed)): Use $(objpfx)%.mo.
24522 (realclean): Remove rule.
24523
0c4fe28d
JM
24524 * po/Makefile (linguas): Remove rule and dependencies.
24525 (linguas.mo): Likewise.
24526 (.PHONY): Do not depend on linguas and linguas.mo.
24527 (podir): Remove variable.
24528 (pofiles): Likewise.
24529 [$(pofiles)] (%.po): Remove rule.
24530
174edbde
JM
24531 * sysdeps/sparc/sparc32/Makefile
24532 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24533 start-of-line whitespace in argument of echo.
24534 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24535 with whitespace. Generate __wrap_.udiv alias.
24536 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24537 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24538 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24539 * sysdeps/sparc/sparc32/urem.S: Likewise.
24540
1e36806f
RS
245412017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24542
24543 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24544 for aligned inputs.
24545
aa6932aa
SP
245462017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24547
5f1603c3
SP
24548 * benchtests/bench-strcmp.c: Print output in JSON format.
24549
aa6932aa
SP
24550 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24551
3ff3dfa5
FW
245522017-12-14 Florian Weimer <fweimer@redhat.com>
24553
24554 [BZ #22607]
24555 CVE-2017-1000409
24556 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24557 the expanded path string.
24558
8a0b17e4
FW
245592017-12-14 Florian Weimer <fweimer@redhat.com>
24560
24561 [BZ #22606]
24562 CVE-2017-1000408
24563 * elf/dl-load.c (system_dirs): Update comment.
24564 (nsystem_dirs_len): Use array_length.
24565 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24566
f58bd7f0
FW
245672017-12-14 Florian Weimer <fweimer@redhat.com>
24568
24569 Simplify compiling most of support/ outside of glibc.
24570 * support/check_addrinfo.c: Include <string.h>.
24571 * support/check_dns_packet.c: Likewise.
24572 * support/check_hostent.c: Likewise.
24573 * support/support_can_chroot.c: Include <support/xunistd.h>.
24574 * support/support_format_addrinfo.c: Include <stdlib.h>
24575 * support/support_format_dns_packet.c: Include <stdbool.h>.
24576 * support/support_format_hostent.c: Include <stdlib.h>.
24577 * support/support_format_netent.c: Likewise.
24578 * support/support_write_string.c: Include <support/xunistd.h>.
24579 * support/xdlfcn.c: Include <stddef.h>.
24580
4ca945e9
L
245812017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24582
24583 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24584
1b6e07f8
PM
245852017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24586 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24587
e6a1c5dc
PM
24588 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24589 (sysdeps_routines): Add memset-niagara7.
24590 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24591 Likewise.
24592 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24593 file.
24594 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24595 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24596 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24597 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24598 Add niagara7 option.
24599 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24600 memset.
24601
1b6e07f8
PM
24602 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24603 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24604 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24605 Likewise.
24606 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24607 New file.
24608 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24609 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24610 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24611 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24612 and __memmove_niagara7.
24613 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24614 Add niagara7 option.
24615 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24616 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24617 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24618 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24619 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24620
bfb7bf22
JM
246212017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24622
767a26d6
JM
24623 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24624 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24625 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24626 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24627
bfb7bf22
JM
24628 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24629 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24630 _dl_sparc_cap_flags array.
24631 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24632
2bce01eb
SP
246332017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24634
24635 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24636 time whenever possible.
24637
363e4519 246382017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
24639
24640 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24641 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24642
6f7c0092
JM
246432017-12-12 Joseph Myers <joseph@codesourcery.com>
24644
24645 * soft-fp/fmadf4.c: Move to ....
24646 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24647 * soft-fp/fmasf4.c: Move to ....
24648 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24649 * soft-fp/fmatf4.c: Move to ....
24650 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24651 * sysdeps/ieee754/soft-fp/Makefile: New file.
24652 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24653 * sysdeps/arm/preconfigure: Regenerated.
24654 * sysdeps/arm/nofpu/Implies: New file.
24655 * sysdeps/arm/s_fma.c: Remove file.
24656 * sysdeps/arm/s_fmaf.c: Likewise.
24657 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24658 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24659 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24660 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24661 * sysdeps/microblaze/s_fma.c: Remove file.
24662 * sysdeps/microblaze/s_fmaf.c: Likewise.
24663 * sysdeps/mips/mips32/nofpu/Implies: New file.
24664 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24665 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24666 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24667 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24668 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24669 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24670 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24671 implementation.
24672 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24673 * sysdeps/nios2/s_fma.c: Remove file.
24674 * sysdeps/nios2/s_fmaf.c: Likewise.
24675 * sysdeps/sh/nofpu/Implies: New file.
24676 * sysdeps/sh/s_fma.c: Remove file.
24677 * sysdeps/sh/s_fmaf.c: Likewise.
24678 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24679 * sysdeps/tile/s_fma.c: Remove file.
24680 * sysdeps/tile/s_fmaf.c: Likewise.
24681
ac817e08
L
246822017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24683
24684 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24685 Add s_cosf-sse2 and s_cosf-fma.
24686 (CFLAGS-s_cosf-fma.c): New.
24687 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24688 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24689 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24690
eb428576
SE
246912017-12-12 Steve Ellcey <sellcey@cavium.com>
24692
24693 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24694
c80acdc3
AZ
246952017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24696
cc683f7e
AZ
24697 * libio/Makefile (tests): Add tst-bz22415.
24698 (tst-bz22415-ENV): New rule.
24699 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24700 (tests-special): Add tst-bz22415-mem.out.
24701 ($(objpfx)tst-bz22415-mem.out): New rule.
24702 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24703 in case of a successful seek operation.
24704 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24705 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24706 buffer is required.
24707 * libio/tst-bz22415.c: New test.
24708
c80acdc3
AZ
24709 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24710
363e4519 247112017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
24712
24713 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24714 __IPC_64 to 0 to avoid IPC_64 being set.
24715
4e0dca54
SN
247162017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24717
24718 [BZ #22593]
24719 * math/bits/mathcalls.h (nextafter): Remove const.
24720 (nexttoward): Likewise.
24721
8df5d347
JM
247222017-12-12 Joseph Myers <joseph@codesourcery.com>
24723
24724 * configure.ac (--with-fp): Remove configure option.
24725 (with_fp_cond): New variable.
24726 (libc_cv_with_fp): New configure test. Use this variable instead
24727 of with_fp.
24728 * configure: Regenerated.
24729 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24730 * manual/install.texi (Configuring and compiling): Remove
24731 --without-fp.
24732 * INSTALL: Regenerated.
24733 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24734 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24735 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24736 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24737 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24738 use --without-fp to configure glibc.
24739
0cee1257
RJ
247402017-12-12 Rical Jasan <ricaljasan@pacific.net>
24741
24742 * manual/locale.texi (nl_langinfo): Fix a typo.
24743
363e4519 247442017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
24745
24746 [BZ #22588]
24747 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24748
36975e8e
L
247492017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24750
24751 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24752 (CFLAGS-argp-parse.c): Likewise.
24753 (CFLAGS-argp-fmtstream.c): Likewise.
24754 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24755 (CPPFLAGS-sha512-crypt.c): Likewise.
24756 (CPPFLAGS-md5-crypt.c): Likewise.
24757 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24758 (CFLAGS-stack_chk_fail_local.c): Likewise.
24759 (CFLAGS-backtrace.c): Likewise.
24760 (CFLAGS-sprintf_chk.c): Likewise.
24761 (CFLAGS-snprintf_chk.c): Likewise.
24762 (CFLAGS-vsprintf_chk.c): Likewise.
24763 (CFLAGS-vsnprintf_chk.c): Likewise.
24764 (CFLAGS-asprintf_chk.c): Likewise.
24765 (CFLAGS-vasprintf_chk.c): Likewise.
24766 (CFLAGS-obprintf_chk.c): Likewise.
24767 (CFLAGS-dprintf_chk.c): Likewise.
24768 (CFLAGS-vdprintf_chk.c): Likewise.
24769 (CFLAGS-printf_chk.c): Likewise.
24770 (CFLAGS-fprintf_chk.c): Likewise.
24771 (CFLAGS-vprintf_chk.c): Likewise.
24772 (CFLAGS-vfprintf_chk.c): Likewise.
24773 (CFLAGS-gets_chk.c): Likewise.
24774 (CFLAGS-fgets_chk.c): Likewise.
24775 (CFLAGS-fgets_u_chk.c): Likewise.
24776 (CFLAGS-fread_chk.c): Likewise.
24777 (CFLAGS-fread_u_chk.c): Likewise.
24778 (CFLAGS-swprintf_chk.c): Likewise.
24779 (CFLAGS-vswprintf_chk.c): Likewise.
24780 (CFLAGS-wprintf_chk.c): Likewise.
24781 (CFLAGS-fwprintf_chk.c): Likewise.
24782 (CFLAGS-vwprintf_chk.c): Likewise.
24783 (CFLAGS-vfwprintf_chk.c): Likewise.
24784 (CFLAGS-fgetws_chk.c): Likewise.
24785 (CFLAGS-fgetws_u_chk.c): Likewise.
24786 (CFLAGS-read_chk.c): Likewise.
24787 (CFLAGS-pread_chk.c): Likewise.
24788 (CFLAGS-pread64_chk.c): Likewise.
24789 (CFLAGS-recv_chk.c): Likewise.
24790 (CFLAGS-recvfrom_chk.c): Likewise.
24791 (CFLAGS-tst-longjmp_chk.c): Likewise.
24792 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24793 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24794 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24795 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24796 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24797 (CFLAGS-tst-chk1.c): Likewise.
24798 (CFLAGS-tst-chk2.c): Likewise.
24799 (CFLAGS-tst-chk3.c): Likewise.
24800 (CFLAGS-tst-chk4.cc): Likewise.
24801 (CFLAGS-tst-chk5.cc): Likewise.
24802 (CFLAGS-tst-chk6.cc): Likewise.
24803 (CFLAGS-tst-lfschk1.c): Likewise.
24804 (CFLAGS-tst-lfschk2.c): Likewise.
24805 (CFLAGS-tst-lfschk3.c): Likewise.
24806 (CFLAGS-tst-lfschk4.cc): Likewise.
24807 (CFLAGS-tst-lfschk5.cc): Likewise.
24808 (CFLAGS-tst-lfschk6.cc): Likewise.
24809 (CFLAGS-tst-ssp-1.c): Likewise.
24810 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24811 (CFLAGS-scandir64.c): Likewise.
24812 (CFLAGS-scandir-tail.c): Likewise.
24813 (CFLAGS-scandir64-tail.c): Likewise.
24814 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24815 (CFLAGS-dl-tunables.c): Likewise.
24816 (CFLAGS-dl-runtime.c): Likewise.
24817 (CFLAGS-dl-lookup.c): Likewise.
24818 (CFLAGS-dl-iterate-phdr.c): Likewise.
24819 (CFLAGS-vismain.c): Likewise.
24820 (CFLAGS-tst-linkall-static.c): Likewise.
24821 (CFLAGS-tst-linkall-static.c): Likewise.
24822 (CPPFLAGS-dl-load.c): Likewise.
24823 (CFLAGS-ldconfig.c): Likewise.
24824 (CFLAGS-dl-cache.c): Likewise.
24825 (CFLAGS-cache.c): Likewise.
24826 (CFLAGS-rtld.c): Likewise.
24827 (CFLAGS-multiload.c): Likewise.
24828 (CFLAGS-filtmod1.c): Likewise.
24829 (CFLAGS-tst-align.c): Likewise.
24830 (CFLAGS-tst-align2.c): Likewise.
24831 (CFLAGS-tst-alignmod.c): Likewise.
24832 (CFLAGS-tst-alignmod2.c): Likewise.
24833 (CPPFLAGS-tst-execstack.c): Likewise.
24834 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24835 (CFLAGS-tst-latepthreadmod.c): Likewise.
24836 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24837 (CFLAGS-getgrnam_r.c): Likewise.
24838 (CFLAGS-getgrent_r.c): Likewise.
24839 (CFLAGS-getgrent.c): Likewise.
24840 (CFLAGS-fgetgrent.c): Likewise.
24841 (CFLAGS-fgetgrent_r.c): Likewise.
24842 (CFLAGS-putgrent.c): Likewise.
24843 (CFLAGS-initgroups.c): Likewise.
24844 (CFLAGS-getgrgid.c): Likewise.
24845 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24846 (CFLAGS-getsgent.c): Likewise.
24847 (CFLAGS-fgetsgent.c): Likewise.
24848 (CFLAGS-fgetsgent_r.c): Likewise.
24849 (CFLAGS-putsgent.c): Likewise.
24850 (CFLAGS-getsgnam.c): Likewise.
24851 (CFLAGS-getsgnam_r.c): Likewise.
24852 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24853 (CFLAGS-iconv_charmap.c): Likewise.
24854 (CFLAGS-dummy-repertoire.c): Likewise.
24855 (CFLAGS-charmap.c): Likewise.
24856 (CFLAGS-linereader.c): Likewise.
24857 (CFLAGS-simple-hash.c): Likewise.
24858 (CFLAGS-gconv_conf.c): Likewise.
24859 (CFLAGS-iconvconfig.c): Likewise.
24860 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24861 (CFLAGS-gethstbyad.c): Likewise.
24862 (CFLAGS-gethstbynm_r.c): Likewise.
24863 (CFLAGS-gethstbynm.c): Likewise.
24864 (CFLAGS-gethstbynm2_r.c): Likewise.
24865 (CFLAGS-gethstbynm2.c): Likewise.
24866 (CFLAGS-gethstent_r.c): Likewise.
24867 (CFLAGS-gethstent.c): Likewise.
24868 (CFLAGS-rcmd.c): Likewise.
24869 (CFLAGS-getnetbynm_r.c): Likewise.
24870 (CFLAGS-getnetbynm.c): Likewise.
24871 (CFLAGS-getnetbyad_r.c): Likewise.
24872 (CFLAGS-getnetbyad.c): Likewise.
24873 (CFLAGS-getnetent_r.c): Likewise.
24874 (CFLAGS-getnetent.c): Likewise.
24875 (CFLAGS-getaliasent_r.c): Likewise.
24876 (CFLAGS-getaliasent.c): Likewise.
24877 (CFLAGS-getrpcent_r.c): Likewise.
24878 (CFLAGS-getrpcent.c): Likewise.
24879 (CFLAGS-getservent_r.c): Likewise.
24880 (CFLAGS-getservent.c): Likewise.
24881 (CFLAGS-getprtent_r.c): Likewise.
24882 (CFLAGS-getprtent.c): Likewise.
24883 (CFLAGS-either_ntoh.c): Likewise.
24884 (CFLAGS-either_hton.c): Likewise.
24885 (CFLAGS-getnetgrent.c): Likewise.
24886 (CFLAGS-getnetgrent_r.c): Likewise.
24887 (CFLAGS-tst-checks-posix.c): Likewise.
24888 (CFLAGS-tst-sockaddr.c): Likewise.
24889 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24890 (CFLAGS-tst-translit.c): Likewise.
24891 (CFLAGS-tst-gettext2.c): Likewise.
24892 (CFLAGS-tst-codeset.c): Likewise.
24893 (CFLAGS-tst-gettext3.c): Likewise.
24894 (CFLAGS-tst-gettext4.c): Likewise.
24895 (CFLAGS-tst-gettext5.c): Likewise.
24896 (CFLAGS-tst-gettext6.c): Likewise.
24897 * io/Makefile (CFLAGS-open.c): Likewise.
24898 (CFLAGS-open64.c): Likewise.
24899 (CFLAGS-creat.c): Likewise.
24900 (CFLAGS-creat64.c): Likewise.
24901 (CFLAGS-fcntl.c): Likewise.
24902 (CFLAGS-poll.c): Likewise.
24903 (CFLAGS-ppoll.c): Likewise.
24904 (CFLAGS-lockf.c): Likewise.
24905 (CFLAGS-statfs.c): Likewise.
24906 (CFLAGS-fstatfs.c): Likewise.
24907 (CFLAGS-statvfs.c): Likewise.
24908 (CFLAGS-fstatvfs.c): Likewise.
24909 (CFLAGS-fts.c): Likewise.
24910 (CFLAGS-fts64.c): Likewise.
24911 (CFLAGS-ftw.c): Likewise.
24912 (CFLAGS-ftw64.c): Likewise.
24913 (CFLAGS-lockf.c): Likewise.
24914 (CFLAGS-posix_fallocate.c): Likewise.
24915 (CFLAGS-posix_fallocate64.c): Likewise.
24916 (CFLAGS-fallocate.c): Likewise.
24917 (CFLAGS-fallocate64.c): Likewise.
24918 (CFLAGS-read.c): Likewise.
24919 (CFLAGS-write.c): Likewise.
24920 (CFLAGS-test-stat.c): Likewise.
24921 (CFLAGS-test-lfs.c): Likewise.
24922 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24923 (CFLAGS-fputc.c): Likewise.
24924 (CFLAGS-fputwc.c): Likewise.
24925 (CFLAGS-freopen64.c): Likewise.
24926 (CFLAGS-freopen.c): Likewise.
24927 (CFLAGS-fseek.c): Likewise.
24928 (CFLAGS-fseeko64.c): Likewise.
24929 (CFLAGS-fseeko.c): Likewise.
24930 (CFLAGS-ftello64.c): Likewise.
24931 (CFLAGS-ftello.c): Likewise.
24932 (CFLAGS-fwide.c): Likewise.
24933 (CFLAGS-genops.c): Likewise.
24934 (CFLAGS-getc.c): Likewise.
24935 (CFLAGS-getchar.c): Likewise.
24936 (CFLAGS-getwc.c): Likewise.
24937 (CFLAGS-getwchar.c): Likewise.
24938 (CFLAGS-iofclose.c): Likewise.
24939 (CFLAGS-iofflush.c): Likewise.
24940 (CFLAGS-iofgetpos64.c): Likewise.
24941 (CFLAGS-iofgetpos.c): Likewise.
24942 (CFLAGS-iofgets.c): Likewise.
24943 (CFLAGS-iofgetws.c): Likewise.
24944 (CFLAGS-iofputs.c): Likewise.
24945 (CFLAGS-iofputws.c): Likewise.
24946 (CFLAGS-iofread.c): Likewise.
24947 (CFLAGS-iofsetpos64.c): Likewise.
24948 (CFLAGS-iofsetpos.c): Likewise.
24949 (CFLAGS-ioftell.c): Likewise.
24950 (CFLAGS-iofwrite.c): Likewise.
24951 (CFLAGS-iogetdelim.c): Likewise.
24952 (CFLAGS-iogetline.c): Likewise.
24953 (CFLAGS-iogets.c): Likewise.
24954 (CFLAGS-iogetwline.c): Likewise.
24955 (CFLAGS-ioputs.c): Likewise.
24956 (CFLAGS-ioseekoff.c): Likewise.
24957 (CFLAGS-ioseekpos.c): Likewise.
24958 (CFLAGS-iosetbuffer.c): Likewise.
24959 (CFLAGS-iosetvbuf.c): Likewise.
24960 (CFLAGS-ioungetc.c): Likewise.
24961 (CFLAGS-ioungetwc.c): Likewise.
24962 (CFLAGS-oldfileops.c): Likewise.
24963 (CFLAGS-oldiofclose.c): Likewise.
24964 (CFLAGS-oldiofgetpos64.c): Likewise.
24965 (CFLAGS-oldiofgetpos.c): Likewise.
24966 (CFLAGS-oldiofsetpos64.c): Likewise.
24967 (CFLAGS-oldiofsetpos.c): Likewise.
24968 (CFLAGS-peekc.c): Likewise.
24969 (CFLAGS-putc.c): Likewise.
24970 (CFLAGS-putchar.c): Likewise.
24971 (CFLAGS-putwc.c): Likewise.
24972 (CFLAGS-putwchar.c): Likewise.
24973 (CFLAGS-rewind.c): Likewise.
24974 (CFLAGS-wfileops.c): Likewise.
24975 (CFLAGS-wgenops.c): Likewise.
24976 (CFLAGS-oldiofopen.c): Likewise.
24977 (CFLAGS-iofopen.c): Likewise.
24978 (CFLAGS-iofopen64.c): Likewise.
24979 (CFLAGS-oldtmpfile.c): Likewise.
24980 (CFLAGS-tst_putwc.c): Likewise.
24981 * locale/Makefile (CFLAGS-md5.c): Likewise.
24982 (CFLAGS-charmap.c): Likewise.
24983 (CFLAGS-locfile.c): Likewise.
24984 (CFLAGS-charmap-dir.c): Likewise.
24985 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24986 (CFLAGS-getpt.c): Likewise.
24987 (CFLAGS-pt_chown.c): Likewise.
24988 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24989 (CFLAGS-obstack.c): Likewise.
24990 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24991 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24992 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24993 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24994 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24995 (CFLAGS-test-tgmath.c): Likewise.
24996 (CFLAGS-test-tgmath2.c): Likewise.
24997 (CFLAGS-test-tgmath-ret.c): Likewise.
24998 (CFLAGS-test-powl.c): Likewise.
24999 (CFLAGS-test-snan.c): Likewise.
25000 (CFLAGS-test-signgam-finite.c): Likewise.
25001 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25002 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25003 (CFLAGS-test-signgam-uchar.c): Likewise.
25004 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25005 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25006 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25007 (CFLAGS-test-signgam-uint.c): Likewise.
25008 (CFLAGS-test-signgam-uint-init.c): Likewise.
25009 (CFLAGS-test-signgam-uint-static.c): Likewise.
25010 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25011 (CFLAGS-test-signgam-ullong.c): Likewise.
25012 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25013 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25014 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25015 (CFLAGS-test-math-cxx11.cc): Likewise.
25016 (CFLAGS-test-math-isinff.cc): Likewise.
25017 (CFLAGS-test-math-iszero.cc): Likewise.
25018 (CFLAGS-test-math-issignaling.cc): Likewise.
25019 (CFLAGS-test-math-iscanonical.cc): Likewise.
25020 (CFLAGS-test-iszero-excess-precision.c): Likewise.
25021 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
25022 (CFLAGS-test-flt-eval-method.c): Likewise.
25023 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
25024 (CFLAGS-test-finite-macros.c): Likewise.
25025 * misc/Makefile (CFLAGS-select.c): Likewise.
25026 (CFLAGS-tsearch.c): Likewise.
25027 (CFLAGS-lsearch.c): Likewise.
25028 (CFLAGS-pselect.c): Likewise.
25029 (CFLAGS-readv.c): Likewise.
25030 (CFLAGS-writev.c): Likewise.
25031 (CFLAGS-preadv.c): Likewise.
25032 (CFLAGS-preadv64.c): Likewise.
25033 (CFLAGS-pwritev.c): Likewise.
25034 (CFLAGS-pwritev64.c): Likewise.
25035 (CFLAGS-preadv2.c): Likewise.
25036 (CFLAGS-preadv64v2.c): Likewise.
25037 (CFLAGS-pwritev2.c): Likewise.
25038 (CFLAGS-pwritev64v2.c): Likewise.
25039 (CFLAGS-usleep.c): Likewise.
25040 (CFLAGS-syslog.c): Likewise.
25041 (CFLAGS-error.c): Likewise.
25042 (CFLAGS-getpass.c): Likewise.
25043 (CFLAGS-mkstemp.c): Likewise.
25044 (CFLAGS-mkstemp64.c): Likewise.
25045 (CFLAGS-getsysstats.c): Likewise.
25046 (CFLAGS-getusershell.c): Likewise.
25047 (CFLAGS-err.c): Likewise.
25048 (CFLAGS-tst-tsearch.c): Likewise.
25049 (CFLAGS-msync.c): Likewise.
25050 (CFLAGS-fdatasync.c): Likewise.
25051 (CFLAGS-fsync.c): Likewise.
25052 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
25053 (CFLAGS-unwind.c): Likewise.
25054 (CFLAGS-unwind-forcedunwind.c): Likewise.
25055 (CFLAGS-pthread_cancel.c): Likewise.
25056 (CFLAGS-pthread_setcancelstate.c): Likewise.
25057 (CFLAGS-pthread_setcanceltype.c): Likewise.
25058 (CFLAGS-cancellation.c): Likewise.
25059 (CFLAGS-libc-cancellation.c): Likewise.
25060 (CFLAGS-pthread_exit.c): Likewise.
25061 (CFLAGS-forward.c): Likewise.
25062 (CFLAGS-pthread_testcancel.c): Likewise.
25063 (CFLAGS-pthread_join.c): Likewise.
25064 (CFLAGS-pthread_timedjoin.c): Likewise.
25065 (CFLAGS-pthread_once.c): Likewise.
25066 (CFLAGS-pthread_cond_wait.c): Likewise.
25067 (CFLAGS-sem_wait.c): Likewise.
25068 (CFLAGS-sem_timedwait.c): Likewise.
25069 (CFLAGS-fcntl.c): Likewise.
25070 (CFLAGS-lockf.c): Likewise.
25071 (CFLAGS-pread.c): Likewise.
25072 (CFLAGS-pread64.c): Likewise.
25073 (CFLAGS-pwrite.c): Likewise.
25074 (CFLAGS-pwrite64.c): Likewise.
25075 (CFLAGS-wait.c): Likewise.
25076 (CFLAGS-waitpid.c): Likewise.
25077 (CFLAGS-sigwait.c): Likewise.
25078 (CFLAGS-msgrcv.c): Likewise.
25079 (CFLAGS-msgsnd.c): Likewise.
25080 (CFLAGS-tcdrain.c): Likewise.
25081 (CFLAGS-open.c): Likewise.
25082 (CFLAGS-open64.c): Likewise.
25083 (CFLAGS-pause.c): Likewise.
25084 (CFLAGS-recv.c): Likewise.
25085 (CFLAGS-send.c): Likewise.
25086 (CFLAGS-accept.c): Likewise.
25087 (CFLAGS-sendto.c): Likewise.
25088 (CFLAGS-connect.c): Likewise.
25089 (CFLAGS-recvfrom.c): Likewise.
25090 (CFLAGS-recvmsg.c): Likewise.
25091 (CFLAGS-sendmsg.c): Likewise.
25092 (CFLAGS-close.c): Likewise.
25093 (CFLAGS-read.c): Likewise.
25094 (CFLAGS-write.c): Likewise.
25095 (CFLAGS-nanosleep.c): Likewise.
25096 (CFLAGS-sigsuspend.c): Likewise.
25097 (CFLAGS-msync.c): Likewise.
25098 (CFLAGS-fdatasync.c): Likewise.
25099 (CFLAGS-fsync.c): Likewise.
25100 (CFLAGS-pt-system.c): Likewise.
25101 (CFLAGS-tst-cleanup2.c): Likewise.
25102 (CFLAGS-tst-cleanupx2.c): Likewise.
25103 (CFLAGS-flockfile.c): Likewise.
25104 (CFLAGS-ftrylockfile.c): Likewise.
25105 (CFLAGS-funlockfile.c): Likewise.
25106 (CFLAGS-tst-initializers1.c): Likewise.
25107 (CFLAGS-tst-initializers1-c89.c): Likewise.
25108 (CFLAGS-tst-initializers1-c99.c): Likewise.
25109 (CFLAGS-tst-initializers1-c11.c): Likewise.
25110 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25111 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25112 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25113 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25114 (CFLAGS-nscd_getgr_r.c): Likewise.
25115 (CFLAGS-nscd_gethst_r.c): Likewise.
25116 (CFLAGS-nscd_getai.c): Likewise.
25117 (CFLAGS-nscd_initgroups.c): Likewise.
25118 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25119 (CFLAGS-pause.c): Likewise.
25120 (CFLAGS-pread.c): Likewise.
25121 (CFLAGS-pread64.c): Likewise.
25122 (CFLAGS-pwrite.c): Likewise.
25123 (CFLAGS-pwrite64.c): Likewise.
25124 (CFLAGS-sleep.c): Likewise.
25125 (CFLAGS-wait.c): Likewise.
25126 (CFLAGS-waitid.c): Likewise.
25127 (CFLAGS-waitpid.c): Likewise.
25128 (CFLAGS-getopt.c): Likewise.
25129 (CFLAGS-wordexp.c): Likewise.
25130 (CFLAGS-sysconf.c): Likewise.
25131 (CFLAGS-pathconf.c): Likewise.
25132 (CFLAGS-fpathconf.c): Likewise.
25133 (CFLAGS-spawn.c): Likewise.
25134 (CFLAGS-spawnp.c): Likewise.
25135 (CFLAGS-spawni.c): Likewise.
25136 (CFLAGS-glob.c): Likewise.
25137 (CFLAGS-glob64.c): Likewise.
25138 (CFLAGS-getconf.c): Likewise.
25139 (CFLAGS-nanosleep.c): Likewise.
25140 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25141 (CFLAGS-getpwent.c): Likewise.
25142 (CFLAGS-getpw.c): Likewise.
25143 (CFLAGS-fgetpwent_r.c): Likewise.
25144 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25145 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25146 (CFLAGS-mq_timedreceive.c): Likewise.
25147 (CFLAGS-mq_timedsend.c): Likewise.
25148 (CFLAGS-clock_nanosleep.c): Likewise.
25149 (CFLAGS-librt-cancellation.c): Likewise.
25150 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25151 (CFLAGS-getspent.c): Likewise.
25152 (CFLAGS-fgetspent.c): Likewise.
25153 (CFLAGS-fgetspent_r.c): Likewise.
25154 (CFLAGS-putspent.c): Likewise.
25155 (CFLAGS-getspnam.c): Likewise.
25156 (CFLAGS-getspnam_r.c): Likewise.
25157 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25158 (CFLAGS-sigsuspend.c): Likewise.
25159 (CFLAGS-sigtimedwait.c): Likewise.
25160 (CFLAGS-sigwait.c): Likewise.
25161 (CFLAGS-sigwaitinfo.c): Likewise.
25162 (CFLAGS-sigreturn.c): Likewise.
25163 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25164 (CFLAGS-vfwprintf.c): Likewise.
25165 (CFLAGS-tmpfile.c): Likewise.
25166 (CFLAGS-tmpfile64.c): Likewise.
25167 (CFLAGS-tempname.c): Likewise.
25168 (CFLAGS-psignal.c): Likewise.
25169 (CFLAGS-vprintf.c): Likewise.
25170 (CFLAGS-cuserid.c): Likewise.
25171 (CFLAGS-errlist.c): Likewise.
25172 (CFLAGS-siglist.c): Likewise.
25173 (CFLAGS-scanf15.c): Likewise.
25174 (CFLAGS-scanf17.c): Likewise.
25175 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25176 (CFLAGS-msort.c): Likewise.
25177 (CFLAGS-qsort.c): Likewise.
25178 (CFLAGS-system.c): Likewise.
25179 (CFLAGS-fmtmsg.c): Likewise.
25180 (CFLAGS-strfmon.c): Likewise.
25181 (CFLAGS-strfmon_l.c): Likewise.
25182 (CFLAGS-strfromd.c): Likewise.
25183 (CFLAGS-strfromf.c): Likewise.
25184 (CFLAGS-strfroml.c): Likewise.
25185 (CFLAGS-tst-bsearch.c): Likewise.
25186 (CFLAGS-tst-qsort.c): Likewise.
25187 (CFLAGS-tst-makecontext2.c): Likewise.
25188 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25189 (CFLAGS-xnlm_prot.c): Likewise.
25190 (CFLAGS-xrstat.c): Likewise.
25191 (CFLAGS-xyppasswd.c): Likewise.
25192 (CFLAGS-xklm_prot.c): Likewise.
25193 (CFLAGS-xrex.c): Likewise.
25194 (CFLAGS-xsm_inter.c): Likewise.
25195 (CFLAGS-xmount.c): Likewise.
25196 (CFLAGS-xrusers.c): Likewise.
25197 (CFLAGS-xspray.c): Likewise.
25198 (CFLAGS-xnfs_prot.c): Likewise.
25199 (CFLAGS-xrquota.c): Likewise.
25200 (CFLAGS-xkey_prot.c): Likewise.
25201 (CFLAGS-auth_unix.c): Likewise.
25202 (CFLAGS-key_call.c): Likewise.
25203 (CFLAGS-pmap_rmt.c): Likewise.
25204 (CFLAGS-clnt_perr.c): Likewise.
25205 (CFLAGS-openchild.c): Likewise.
25206 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25207 (CFLAGS-msgsnd.c): Likewise.
25208 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25209 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25210 (CFLAGS-tzset.c): Likewise.
25211 (CFLAGS-getdate.c): Likewise.
25212 (CFLAGS-test_time.c): Likewise.
25213 (CPPFLAGS-tst-tzname.c): Likewise.
25214 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25215 (CFLAGS-zic.c): Likewise.
25216 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25217 (CFLAGS-wcswidth.c): Likewise.
25218 (CFLAGS-wcstol.c): Likewise.
25219 (CFLAGS-wcstoul.c): Likewise.
25220 (CFLAGS-wcstoll.c): Likewise.
25221 (CFLAGS-wcstoull.c): Likewise.
25222 (CFLAGS-wcstod.c): Likewise.
25223 (CFLAGS-wcstold.c): Likewise.
25224 (CFLAGS-wcstof128.c): Likewise.
25225 (CFLAGS-wcstof.c): Likewise.
25226 (CFLAGS-wcstol_l.c): Likewise.
25227 (CFLAGS-wcstoul_l.c): Likewise.
25228 (CFLAGS-wcstoll_l.c): Likewise.
25229 (CFLAGS-wcstoull_l.c): Likewise.
25230 (CFLAGS-wcstod_l.c): Likewise.
25231 (CFLAGS-wcstold_l.c): Likewise.
25232 (CFLAGS-wcstof128_l.c): Likewise.
25233 (CFLAGS-wcstof_l.c): Likewise.
25234 (CPPFLAGS-tst-wchar-h.c): Likewise.
25235 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 25236
f4b2aea6
PC
252372017-12-11 Paul A. Clarke <pc@us.ibm.com>
25238
25239 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25240
c9cd7b0c
AZ
252412017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25242 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25243
25244 * manual/tunables.texi (Hardware Capability Tunables): Document
25245 glibc.tune.cached_memopt.
25246 * sysdeps/powerpc/cpu-features.c: New file.
25247 * sysdeps/powerpc/cpu-features.h: New file.
25248 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25249 _dl_powerpc_cpu_features.
25250 * sysdeps/powerpc/dl-tunables.list: New file.
25251 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25252 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25253 (INIT_ARCH): Initialize use_aligned_memopt.
25254 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25255 IS_IN(rtld))]: Restrict dl_platform_init availability and
25256 initialize CPU features used by tunables.
25257 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25258 Add memcpy-power8-cached.
25259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25260 __memcpy_power8_cached.
25261 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25262 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25263 New file.
25264
e70c6fee
L
252652017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25266
25267 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25268 (CFLAGS-noinl-tester.c): Likewise.
25269 (CFLAGS-tst-strlen.c): Likewise.
25270 (CFLAGS-stratcliff.c): Likewise.
25271 (CFLAGS-test-ffs.c): Likewise.
25272 (CFLAGS-tst-inlcall.c): Likewise.
25273 (CFLAGS-tst-xbzero-opt.c): Likewise.
25274 (CFLAGS-memcpy.c): Likewise.
25275 (CFLAGS-wordcopy.c): Likewise.
25276
dee94366
SL
252772017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25278
25279 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25280 Store r15 on stack and add cfi rule.
25281 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25282 Likewise.
25283
363e4519 252842017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
25285
25286 [BZ #22577]
25287 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25288 call.
25289
9d0ffa60
L
252902017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25291
25292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25293 Add s_sinf-sse2 and s_sinf-fma.
25294 (CFLAGS-s_sinf-fma.c): New.
25295 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25296 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25297 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25298
9574c7b6
L
252992017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25300
25301 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25302
d15e83c5
JM
253032017-12-07 Joseph Myers <joseph@codesourcery.com>
25304
25305 [BZ #22568]
25306 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25307 part of result to imaginary part of argument if it is zero and the
25308 real part of the argument is not finite.
25309 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25310 of result to real part of argument if it is zero and the imaginary
25311 part of the argument is not finite.
25312
d89756eb
MF
253132017-12-07 Mike FABIAN <mfabian@redhat.com>
25314
25315 [BZ #22524]
25316 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25317 and to the list of locales to be built for testing.
25318 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25319 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25320 and build the collation rules upon that.
25321
1f9055ce
JM
253222017-12-07 Joseph Myers <joseph@codesourcery.com>
25323
25324 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25325 * manual/math.texi (Mathematics): Document support for _Float32.
25326 * math/Makefile (test-types): Add float32.
25327 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25328 * stdlib/Versions (GLIBC_2.27): Likewise.
25329 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25331 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25332 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25334 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25335 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25336 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25337 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25338 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25339 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25340 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25341 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25343 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25344 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25345 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25347 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25348 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25350 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25351 Likewise.
25352 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25353 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25358 Likewise.
25359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25360 Likewise.
25361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25362 Likewise.
25363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25364 Likewise.
25365
25366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25367 Likewise.
25368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25369 Likewise.
25370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25371 Likewise.
25372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25373 Likewise.
25374 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25375 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25376 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25377 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25378 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25379 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25380 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25385 Likewise.
25386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25387 Likewise.
25388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25389 Likewise.
25390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25391 Likewise.
25392 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25393 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25394 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25395 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25396 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25397 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25398 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25399 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25400
5244527d
JM
254012017-12-06 Joseph Myers <joseph@codesourcery.com>
25402
fb1ca2aa
JM
25403 * stdlib/strtof.c: Include <bits/floatn.h>
25404 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25405 and later undefine as macro. Define as weak alias if
25406 [!USE_WIDE_CHAR].
25407 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25408 and later undefine as macro. Define as weak alias if
25409 [USE_WIDE_CHAR].
25410 * stdlib/strtof_l.c: Include <bits/floatn.h>
25411 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25412 and later undefine as macro. Define as weak alias if
25413 [!USE_WIDE_CHAR].
25414 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25415 and later undefine as macro. Define as weak alias if
25416 [USE_WIDE_CHAR].
25417
fc10cc3f
JM
25418 * stdlib/strfromf.c: Include <bits/floatn.h>.
25419 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25420 and later undefine as macro and define as weak alias.
25421
e420d228
JM
25422 * math/test-float32.h: New file.
25423
26007a2f
JM
25424 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25425 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25426 (libm_alias_float_other_r): Create f32 alias.
25427 (libm_alias_float_r): Use semicolon before call to
25428 libm_alias_float_other_r.
25429
c191f64c
JM
25430 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25431 second argument to libm_alias_float_other.
25432 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25433 second argument to libm_alias_float_other.
25434 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25435 argument to libm_alias_float_other.
25436
5244527d
JM
25437 [BZ #22561]
25438 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25439 real part of result for argument 0 + i * NaN.
25440 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25441 results for tests of 0 + i * NaN.
25442
d73fac82
AZ
254432017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25444
25445 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25446
7ec094e8
DM
254472017-12-06 David S. Miller <davem@davemloft.net>
25448
25449 * sysdeps/sparc/fpu/libm-test-ulps: Update
25450 exp_{downward,towardzero,upward} ulps.
25451
53994f12
JM
254522017-12-06 Joseph Myers <joseph@codesourcery.com>
25453
1dbe6f64
JM
25454 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25455 variables static.
25456
53994f12
JM
25457 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25458 (Y0_2D): Likewise.
25459 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25460 (Y0_2D): Likewise.
25461 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25462 (Y0_2D): Likewise.
25463 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25464 (Y0_2D): Likewise.
25465
62ea2193
MF
254662017-12-06 Mike FABIAN <mfabian@redhat.com>
25467
25468 [BZ #22515]
25469 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25470 and to the list of locales to be built for testing.
25471 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25472 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25473 and build the collation rules upon that.
25474
87235d70
RS
254752017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25476
25477 * NEWS: Add sinf to list of optimized functions.
25478
0d93b7fd
JM
254792017-12-06 Joseph Myers <joseph@codesourcery.com>
25480
25481 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25482 (__HAVE_FLOAT32X): Likewise.
25483 * manual/math.texi (Mathematics): Document support for _Float64
25484 and _Float32x.
25485 * math/Makefile (test-types): Add float64 and float32x.
25486 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25487 functions.
25488 * stdlib/Versions (GLIBC_2.27): Likewise.
25489 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25490 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25491 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25492 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25493 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25494 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25495 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25496 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25497 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25498 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25499 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25500 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25501 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25502 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25503 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25504 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25505 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25506 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25507 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25508 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25510 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25511 Likewise.
25512 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25513 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25514 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25515 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25516 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25518 Likewise.
25519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25520 Likewise.
25521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25522 Likewise.
25523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25524 Likewise.
25525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25526 Likewise.
25527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25528 Likewise.
25529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25530 Likewise.
25531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25532 Likewise.
25533 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25534 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25536 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25537 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25538 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25539 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25540 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25541 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25542 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25544 Likewise.
25545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25546 Likewise.
25547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25548 Likewise.
25549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25550 Likewise.
25551 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25552 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25553 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25554 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25555 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25556 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25557 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25558 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25559
f7787234
JM
255602017-12-05 Joseph Myers <joseph@codesourcery.com>
25561
25562 * bits/floatn-common.h: Include <bits/long-double.h>.
25563 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25564 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25565 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25566 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25567 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25568 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25569 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25570 (__builtin_huge_valf64): Use __builtin_huge_vall.
25571 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25572 (__builtin_inff64): Use __builtin_infl.
25573 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25574 (__builtin_nanf64): Use __builtin_nanl.
25575 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25576 (__builtin_nansf64): Use __builtin_nansl.
25577
363e4519
DL
255782017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25579 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
e6855a3b 25580 Carlos O'Donell <carlos@redhat.com>
07ed18d2
RA
25581
25582 * elf/dl-tunables.list: Add elision parameters.
25583 * manual/tunables.texi: Add entries about elision tunable.
25584 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25585 Add callback functions to dynamically enable/disable elision.
25586 Add multiple callbacks functions to set elision parameters.
25587 Deleted __libc_enable_secure check.
25588 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25589 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25590 * configure: Regenerated.
25591 * configure.ac: Option enable_lock_elision was deleted.
25592 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25593 * config.make.in: Remove references to enable_lock_elision.
25594 * manual/install.texi: Elision configure option was removed.
25595 * INSTALL: Regenerated to remove enable_lock_elision.
25596 * nptl/Makefile:
25597 Disable elision so it can verify error case for destroying a mutex.
25598 * sysdeps/powerpc/nptl/elide.h:
25599 Cleanup ENABLE_LOCK_ELISION check.
25600 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25601 * sysdeps/s390/configure: Regenerated.
25602 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25603 * nptl/tst-mutex8.c:
25604 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25605 * sysdeps/powerpc/powerpc32/sysdep.h:
25606 Deleted all ENABLE_LOCK_ELISION checks.
25607 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25608 * sysdeps/powerpc/sysdep.h: Likewise.
25609 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25610 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25611 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25612 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25613 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25615 enable-lock-elision.
25616
a5a2a76b
JM
256172017-12-05 Joseph Myers <joseph@codesourcery.com>
25618
25619 * stdlib/strtod.c: Include <bits/floatn.h>.
25620 (BUILD_DOUBLE): New macro.
25621 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25622 (strtof64): Define and later undefine as macro. Define as weak
25623 alias if [!USE_WIDE_CHAR].
25624 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25625 (wcstof64): Define and later undefine as macro. Define as weak
25626 alias if [USE_WIDE_CHAR].
25627 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25628 (strtof32x): Define and later undefine as macro. Define as weak
25629 alias if [!USE_WIDE_CHAR].
25630 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25631 (wcstof32x): Define and later undefine as macro. Define as weak
25632 alias if [USE_WIDE_CHAR].
25633 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25634 (BUILD_DOUBLE): New macro.
25635 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25636 (strtof64_l): Define and later undefine as macro. Define as weak
25637 alias if [!USE_WIDE_CHAR].
25638 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25639 (wcstof64_l): Define and later undefine as macro. Define as weak
25640 alias if [USE_WIDE_CHAR].
25641 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25642 (strtof32x_l): Define and later undefine as macro. Define as weak
25643 alias if [!USE_WIDE_CHAR].
25644 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25645 (wcstof32x_l): Define and later undefine as macro. Define as weak
25646 alias if [USE_WIDE_CHAR].
25647
94d80dfc
AZ
256482017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25649
25650 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25651 (reduced): Use ones as double instead of integer.
25652
00d54af7
SN
256532017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25654
25655 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25656
f2d64d62
JM
256572017-12-05 Joseph Myers <joseph@codesourcery.com>
25658
1f70eae4
JM
25659 * stdlib/strfromd.c: Include <bits/floatn.h>.
25660 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25661 and later undefine as macro and define as weak alias.
25662 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25663 Likewise.
25664
e2c4dce5
JM
25665 * math/test-float32x.h: New file.
25666 * math/test-float64.h: Likewise.
25667
f2d64d62
JM
25668 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25669 (libm_alias_double_other_r_f64): New macro.
25670 (libm_alias_double_other_r_f32x): Likewise.
25671 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25672 libm_alias_double_other_r_f32x.
25673 (libm_alias_double_r): Use semicolon before call to
25674 libm_alias_double_other_r.
25675 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25676 <bits/floatn.h>.
25677 (libm_alias_double_other_r_f64): New macro.
25678 (libm_alias_double_other_r_f32x): Likewise.
25679 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25680 libm_alias_double_other_r_f32x.
25681
91c318e7
L
256822017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25685 int.
25686 (SINF_FUNC): Likewise. Replace floor with simple casts.
25687
de9661d6
MF
256882017-12-05 Mike FABIAN <mfabian@redhat.com>
25689
25690 [BZ #22517]
25691 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25692 and to the list of locales to be built for testing.
25693 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25694 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25695 and build the collation rules upon that.
25696
f18b8dc7
CM
256972017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25698
25699 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25700 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25701 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25702 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25703 instead of __insn__xxx.
25704 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25705 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25706 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25707 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25708 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25709 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25710
446d22e9
FW
257112017-12-05 Florian Weimer <fweimer@redhat.com>
25712
25713 Linux: Implement interfaces for memory protection keys
25714 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25715 xsignal, xsysconf.
25716 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25717 * support/xunistd.h (xsysconf): Declare.
25718 * support/xraise.c: New file.
25719 * support/xsigaction.c: Likewise.
25720 * support/xsignal.c: Likewise.
25721 * support/xsysconf.c: Likewise.
25722 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25723 pkey_set, pkey_get, pkey_mprotect.
25724 [misc] (tests): Add tst-pkey.
25725 (tst-pkey): Link with -lpthread.
25726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25727 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25728 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25729 (PKEY_DISABLE_WRITE): Define.
25730 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25731 Declare.
25732 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25733 (SEGV_PKUERR): Add.
25734 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25735 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25736 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25737 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25738 Add.
25739 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25740 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25741 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25742 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25743 * sysdeps/unix/sysv/linux/**.abilist: Update.
25744
da616c14
FW
257452017-12-05 Florian Weimer <fweimer@redhat.com>
25746
25747 * support/tst-test_compare.c (subprocess): Use long long instead
25748 of long argument for consistent type width across 32-bit and
25749 64-bit architectures.
25750 (do_test): Adjust expected output.
25751
216933b2
JM
257522017-12-05 Joseph Myers <joseph@codesourcery.com>
25753
25754 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25755 (cosf): Define using libm_alias_float.
25756 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25757 (fabsf): Define using libm_alias_float.
25758 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25759 (fmaf): Define using libm_alias_float.
25760 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25761 (rintf): Define using libm_alias_float.
25762 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25763 (sinf): Define using libm_alias_float.
25764 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25765 <libm-alias-float.h>.
25766 (modff): Define using libm_alias_float.
25767 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25768 <libm-alias-float.h>.
25769 (logbf): Define using libm_alias_float.
25770 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25771 <libm-alias-float.h>.
25772 (ceilf): Define using libm_alias_float.
25773 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25774 <libm-alias-float.h>.
25775 (copysignf): Define using libm_alias_float.
25776 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25777 <libm-alias-float.h>.
25778 (floorf): Define using libm_alias_float.
25779 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25780 <libm-alias-float.h>.
25781 (llrintf): Define using libm_alias_float.
25782 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25783 <libm-alias-float.h>.
25784 (llroundf): Define using libm_alias_float.
25785 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25786 <libm-alias-float.h>.
25787 (lrintf): Define using libm_alias_float.
25788 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25789 <libm-alias-float.h>.
25790 (lroundf): Define using libm_alias_float.
25791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25792 <libm-alias-float.h>.
25793 (nearbyintf): Define using libm_alias_float.
25794 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25795 <libm-alias-float.h>.
25796 (rintf): Define using libm_alias_float.
25797 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25798 <libm-alias-float.h>.
25799 (roundf): Define using libm_alias_float.
25800 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25801 <libm-alias-float.h>.
25802 (truncf): Define using libm_alias_float.
25803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25804 Include <libm-alias-float.h>.
25805 (ceilf): Define using libm_alias_float.
25806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25807 Include <libm-alias-float.h>.
25808 (copysignf): Define using libm_alias_float.
25809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25810 Include <libm-alias-float.h>.
25811 (floorf): Define using libm_alias_float.
25812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25813 Include <libm-alias-float.h>.
25814 (llrintf): Define using libm_alias_float.
25815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25816 Include <libm-alias-float.h>.
25817 (llroundf): Define using libm_alias_float.
25818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25819 Include <libm-alias-float.h>.
25820 (logbf): Define using libm_alias_float.
25821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25822 Include <libm-alias-float.h>.
25823 (lrintf): Define using libm_alias_float.
25824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25825 Include <libm-alias-float.h>.
25826 (lroundf): Define using libm_alias_float.
25827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25828 Include <libm-alias-float.h>.
25829 (modff): Define using libm_alias_float.
25830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25831 Include <libm-alias-float.h>.
25832 (roundf): Define using libm_alias_float.
25833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25834 Include <libm-alias-float.h>.
25835 (truncf): Define using libm_alias_float.
25836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25837 <libm-alias-float.h>.
25838 (llrintf): Define using libm_alias_float.
25839 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25840 <libm-alias-float.h>.
25841 (llroundf): Define using libm_alias_float.
25842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25843 <libm-alias-float.h>.
25844 (ceilf): Define using libm_alias_float.
25845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25846 <libm-alias-float.h>.
25847 (floorf): Define using libm_alias_float.
25848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25849 <libm-alias-float.h>.
25850 (llroundf): Define using libm_alias_float.
25851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25852 <libm-alias-float.h>.
25853 (lroundf): Define using libm_alias_float.
25854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25855 <libm-alias-float.h>.
25856 (roundf): Define using libm_alias_float.
25857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25858 <libm-alias-float.h>.
25859 (truncf): Define using libm_alias_float.
25860 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25861 <libm-alias-float.h>.
25862 (copysignf): Define using libm_alias_float.
25863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25864 <libm-alias-float.h>.
25865 (llrintf): Define using libm_alias_float.
25866 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25867 <libm-alias-float.h>.
25868 (llroundf): Define using libm_alias_float.
25869 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25870 <libm-alias-float.h>.
25871 (lrintf): Define using libm_alias_float.
25872 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25873 <libm-alias-float.h>.
25874 (lroundf): Define using libm_alias_float.
25875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25876 <libm-alias-float.h>.
25877 (ceilf): Define using libm_alias_float.
25878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25879 <libm-alias-float.h>.
25880 (copysignf): Define using libm_alias_float.
25881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25882 <libm-alias-float.h>.
25883 (cosf): Define using libm_alias_float.
25884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25885 <libm-alias-float.h>.
25886 (floorf): Define using libm_alias_float.
25887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25888 <libm-alias-float.h>.
25889 (llrintf): Define using libm_alias_float.
25890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25891 <libm-alias-float.h>.
25892 (llroundf): Define using libm_alias_float.
25893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25894 <libm-alias-float.h>.
25895 (logbf): Define using libm_alias_float.
25896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25897 <libm-alias-float.h>.
25898 (modff): Define using libm_alias_float.
25899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25900 <libm-alias-float.h>.
25901 (roundf): Define using libm_alias_float.
25902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25903 <libm-alias-float.h>.
25904 (sinf): Define using libm_alias_float.
25905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25906 <libm-alias-float.h>.
25907 (truncf): Define using libm_alias_float.
25908 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25909 <libm-alias-float.h>.
25910 (ceilf): Define using libm_alias_float.
25911 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25912 <libm-alias-float.h>.
25913 (copysignf): Define using libm_alias_float.
25914 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25915 <libm-alias-float.h>.
25916 (floorf): Define using libm_alias_float.
25917 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25918 <libm-alias-float.h>.
25919 (llrintf): Define using libm_alias_float.
25920 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25921 <libm-alias-float.h>.
25922 (llroundf): Define using libm_alias_float.
25923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25924 <libm-alias-float.h>.
25925 (nearbyintf): Define using libm_alias_float.
25926 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25927 <libm-alias-float.h>.
25928 (rintf): Define using libm_alias_float.
25929 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25930 <libm-alias-float.h>.
25931 (roundf): Define using libm_alias_float.
25932 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25933 <libm-alias-float.h>.
25934 (truncf): Define using libm_alias_float.
25935 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25936 <libm-alias-float.h>.
25937 (ceilf): Define using libm_alias_float.
25938 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25939 <libm-alias-float.h>.
25940 (floorf): Define using libm_alias_float.
25941 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25942 <libm-alias-float.h>.
25943 (llroundf): Define using libm_alias_float.
25944 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25945 <libm-alias-float.h>.
25946 (roundf): Define using libm_alias_float.
25947 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25948 <libm-alias-float.h>.
25949 (truncf): Define using libm_alias_float.
25950 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25951 <libm-alias-float.h>.
25952 (copysignf): Define using libm_alias_float.
25953 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25954 <libm-alias-float.h>.
25955 (llrintf): Define using libm_alias_float.
25956 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25957 <libm-alias-float.h>.
25958 (llroundf): Define using libm_alias_float.
25959 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25960 <libm-alias-float.h>.
25961 (cosf): Define using libm_alias_float.
25962 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25963 <libm-alias-float.h>.
25964 (llrintf): Define using libm_alias_float.
25965 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25966 <libm-alias-float.h>.
25967 (llroundf): Define using libm_alias_float.
25968 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25969 <libm-alias-float.h>.
25970 (sinf): Define using libm_alias_float.
25971
93485524
FW
259722017-12-04 Florian Weimer <fweimer@redhat.com>
25973
25974 * support/check.h (TEST_COMPARE): Define.
25975 (support_test_compare_failure): Declare.
25976 * support/Makefile (libsupport-routines): Add
25977 support_test_compare_failure.
25978 (tests): Add tst-test_compare.
25979 * support /support_test_compare_failure.c: New file.
25980 * support/tst-test_compare.c: Likewise.
25981
96b06a19
MF
259822017-12-04 Mike FABIAN <mfabian@redhat.com>
25983
25984 [BZ #22527]
25985 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25986 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25987 available, this rewrite of the collation rules does reproduce
25988 the test file in the same order.
25989
1f6d91f3
MF
259902017-12-04 Mike FABIAN <mfabian@redhat.com>
25991
25992 [BZ #10580]
25993 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25994 digraphs in the month and day names. Using single code points for
25995 digraphs is deprecated. While there are dedicated Unicode
25996 codepoints, for the digraphs, these are included for backwards
25997 compatibility and modern texts use a sequence of Basic Latin
25998 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25999 This makes the month and day names agree exactly with CLDR now,
26000 CLDR does not use the single code points for the digraphs either.
26001
2e49fed8
CM
260022017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
26003
26004 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
26005
73895b49
JM
260062017-12-04 Joseph Myers <joseph@codesourcery.com>
26007
26008 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
26009 of floor.
26010
4c1d801a
SP
260112017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
26012
26013 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
26014 Define only for libc.so.
26015
478593e6
SL
260162017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
26017
26018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26019 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 26020 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
26021 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
26022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26023
7863a711
RS
260242017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26025
26026 [BZ #5997]
26027 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
26028
800a496a
JDA
260292017-12-02 John David Anglin <danglin@gcc.gnu.org>
26030
b3f7fb12
JDA
26031 [BZ libc/19170]
26032 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
26033 PREINIT_FUNCTION_WEAK is nonzero.
26034 (gmon_initializer): New function. Put procedure label for it in
26035 .init_array section.
26036 (_init): Don't call PREINIT_FUNCTION.
26037 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
26038 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
26039 value when map argument is null.
26040
800a496a
JDA
26041 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
26042 depi instruction from PIC pc-relative sequence.
26043 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
26044 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
26045 (elf_machine_load_address): Likewise.
26046 (elf_machine_runtime_setup): Likewise.
26047
d17542d2
JM
260482017-12-02 Joseph Myers <joseph@codesourcery.com>
26049
26050 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
26051 <libm-alias-double.h>.
26052 (logb): Define using libm_alias_double.
26053 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26054 <libm-alias-double.h>.
26055 (copysign): Define using libm_alias_double.
26056 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
26057 <libm-alias-double.h>.
26058 (llrint): Define using libm_alias_double.
26059 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
26060 <libm-alias-double.h>.
26061 (llround): Define using libm_alias_double.
26062 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26063 <libm-alias-double.h>.
26064 (lrint): Define using libm_alias_double.
26065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26066 <libm-alias-double.h>.
26067 (lround): Define using libm_alias_double.
26068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26069 Include <libm-alias-double.h>.
26070 (copysign): Define using libm_alias_double.
26071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
26072 Include <libm-alias-double.h>.
26073 (llrint): Define using libm_alias_double.
26074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
26075 Include <libm-alias-double.h>.
26076 (llround): Define using libm_alias_double.
26077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
26078 <libm-alias-double.h>.
26079 (logb): Define using libm_alias_double.
26080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
26081 Include <libm-alias-double.h>.
26082 (lrint): Define using libm_alias_double.
26083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26084 Include <libm-alias-double.h>.
26085 (lround): Define using libm_alias_double.
26086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26087 <libm-alias-double.h>.
26088 (llrint): Define using libm_alias_double.
26089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26090 <libm-alias-double.h>.
26091 (llround): Define using libm_alias_double.
26092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26093 <libm-alias-double.h>.
26094 (llround): Define using libm_alias_double.
26095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26096 <libm-alias-double.h>.
26097 (lround): Define using libm_alias_double.
26098 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26099 <libm-alias-double.h>.
26100 (copysign): Define using libm_alias_double.
26101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26102 <libm-alias-double.h>.
26103 (llrint): Define using libm_alias_double.
26104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26105 <libm-alias-double.h>.
26106 (llround): Define using libm_alias_double.
26107 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26108 <libm-alias-double.h>.
26109 (lrint): Define using libm_alias_double.
26110 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26111 <libm-alias-double.h>.
26112 (lround): Define using libm_alias_double.
26113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26114 <libm-alias-double.h>.
26115 (copysign): Define using libm_alias_double.
26116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26117 <libm-alias-double.h>.
26118 (llrint): Define using libm_alias_double.
26119 (lrint): Likewise.
26120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26121 <libm-alias-double.h>.
26122 (llround): Define using libm_alias_double.
26123 (lround): Likewise.
26124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26125 <libm-alias-double.h>.
26126 (logb): Define using libm_alias_double.
26127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26128 <libm-alias-double.h>.
26129 (copysign): Define using libm_alias_double.
26130 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26131 <libm-alias-double.h>.
26132 (llrint): Define using libm_alias_double.
26133 (lrint): Likewise.
26134 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26135 <libm-alias-double.h>.
26136 (llround): Define using libm_alias_double.
26137 (lround): Likewise.
26138 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26139 <libm-alias-double.h>.
26140 (llround): Define using libm_alias_double.
26141 (lround): Likewise.
26142 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26143 <libm-alias-double.h>.
26144 (copysign): Define using libm_alias_double.
26145 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26146 <libm-alias-double.h>.
26147 (llrint): Define using libm_alias_double.
26148 (lrint): Likewise.
26149 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26150 <libm-alias-double.h>.
26151 (llround): Define using libm_alias_double.
26152 (lround): Likewise.
26153 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26154 <libm-alias-double.h>.
26155 (llrint): Define using libm_alias_double.
26156 (lrint): Likewise.
26157 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26158 <libm-alias-double.h>.
26159 (llround): Define using libm_alias_double.
26160 (lround): Likewise.
26161
ec2cf3f4
JM
261622017-12-01 Joseph Myers <joseph@codesourcery.com>
26163
0ddde474
JM
26164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26165 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26166 compat symbol based on llround.
26167
0d5ba561
JM
26168 * sysdeps/powerpc/power7/fpu/s_logb.c
26169 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26170 symbol based on __logb, not on logb.
26171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26172 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26174 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26175
51ea3b20
JM
26176 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26177 (rint): Define using libm_alias_double.
26178 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26179 <libm-alias-double.h>.
26180 (modf): Define using libm_alias_double.
26181 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26182 <libm-alias-double.h>.
26183 (ceil): Define using libm_alias_double.
26184 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26185 <libm-alias-double.h>.
26186 (floor): Define using libm_alias_double.
26187 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26188 <libm-alias-double.h>.
26189 (nearbyint): Define using libm_alias_double.
26190 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26191 <libm-alias-double.h>.
26192 (rint): Define using libm_alias_double.
26193 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26194 <libm-alias-double.h>.
26195 (round): Define using libm_alias_double.
26196 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26197 <libm-alias-double.h>.
26198 (trunc): Define using libm_alias_double.
26199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26200 <libm-alias-double.h>.
26201 (ceil): Define using libm_alias_double.
26202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26203 Include <libm-alias-double.h>.
26204 (floor): Define using libm_alias_double.
26205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26206 <libm-alias-double.h>.
26207 (modf): Define using libm_alias_double.
26208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26209 Include <libm-alias-double.h>.
26210 (round): Define using libm_alias_double.
26211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26212 Include <libm-alias-double.h>.
26213 (trunc): Define using libm_alias_double.
26214 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26215 <libm-alias-double.h>.
26216 (ceil): Define using libm_alias_double.
26217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26218 <libm-alias-double.h>.
26219 (floor): Define using libm_alias_double.
26220 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26221 <libm-alias-double.h>.
26222 (round): Define using libm_alias_double.
26223 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26224 <libm-alias-double.h>.
26225 (trunc): Define using libm_alias_double.
26226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26227 <libm-alias-double.h>.
26228 (ceil): Define using libm_alias_double.
26229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26230 <libm-alias-double.h>.
26231 (floor): Define using libm_alias_double.
26232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26233 <libm-alias-double.h>.
26234 (modf): Define using libm_alias_double.
26235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26236 <libm-alias-double.h>.
26237 (round): Define using libm_alias_double.
26238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26239 <libm-alias-double.h>.
26240 (trunc): Define using libm_alias_double.
26241 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26242 <libm-alias-double.h>.
26243 (ceil): Define using libm_alias_double.
26244 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26245 <libm-alias-double.h>.
26246 (floor): Define using libm_alias_double.
26247 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26248 <libm-alias-double.h>.
26249 (nearbyint): Define using libm_alias_double.
26250 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26251 <libm-alias-double.h>.
26252 (rint): Define using libm_alias_double.
26253 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26254 <libm-alias-double.h>.
26255 (round): Define using libm_alias_double.
26256 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26257 <libm-alias-double.h>.
26258 (trunc): Define using libm_alias_double.
26259 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26260 <libm-alias-double.h>.
26261 (ceil): Define using libm_alias_double.
26262 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26263 <libm-alias-double.h>.
26264 (floor): Define using libm_alias_double.
26265 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26266 <libm-alias-double.h>.
26267 (round): Define using libm_alias_double.
26268 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26269 <libm-alias-double.h>.
26270 (trunc): Define using libm_alias_double.
26271
ec2cf3f4
JM
26272 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26273 (fabs): Define using libm_alias_double.
26274 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26275 (fma): Define using libm_alias_double.
26276 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26277 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26278 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26279 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26280
5b7bd975
AZ
262812017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26282
0594b13f
AZ
26283 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26284
dbdfcf3b
AZ
26285 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26286 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26287 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26288
5b7bd975
AZ
26289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26290 due redirect macro.
26291
ef9ecfa6
AS
262922017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26293
26294 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26295
5b4e5e78
AZ
262962017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26297
2a14526b
AZ
26298 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26299 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26300 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26301 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26302
dbeb74ef 26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
26304 (libm-sysdep_routines): Add s_nearbyintf-generic and
26305 s_nearbyint-generic.
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26307 New file.
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26310 Likewise.
26311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26312 Likewise.
26313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26314 file.
26315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26316 Likewise.
26317
26318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
26319 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26321 file.
26322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26324 Likewise.
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26328
fa7ded96
AZ
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26330 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26332 file.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26335 Likewise.
26336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26339
e240cf0e
AZ
26340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26341 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26343 file.
26344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26346 Likewise.
26347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26350
5b4e5e78
AZ
26351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26352 (sysdep_calls): New rule.
26353 (sysdep_routines): Use sysdep_calls as base.
26354 (libm-sysdep_routines): Add generic rule for symbols shared with
26355 libc. Add s_copysign-generic and s_copysign-generic objects.
26356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26357 New file.
26358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26360 Likewise.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26364
d985adae
MF
263652017-12-01 Mike FABIAN <mfabian@redhat.com>
26366
26367 [BZ #22519]
26368 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26369 the list of locales to be built for testing.
26370 * localedata/is_IS.UTF-8.in: New file.
26371 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26372 on iso14651_t1.
26373
ff84a0e0
JM
263742017-12-01 Joseph Myers <joseph@codesourcery.com>
26375
26376 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26377 <libm-alias-float.h>.
26378 (fabsf): Define using libm_alias_float.
26379
ef5d8b43
L
263802017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26381
26382 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26383
c0535adf
JM
263842017-11-30 Joseph Myers <joseph@codesourcery.com>
26385
f938b397
JM
26386 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26387 <libm-alias-float.h>.
26388 (fabsf): Define using libm_alias_float.
26389 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26390 <libm-alias-float.h>.
26391 (lrintf): Define using libm_alias_float.
26392 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26393 <libm-alias-float.h>.
26394 (rintf): Define using libm_alias_float.
26395
2251fad0
JM
26396 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26397 <libm-alias-double.h>.
26398 (fabs): Define using libm_alias_double.
26399 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26400 <libm-alias-double.h>.
26401 (lrint): Define using libm_alias_double.
26402 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26403 <libm-alias-double.h>.
26404 (rint): Define using libm_alias_double.
26405
e53df1de
JM
26406 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26407 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26408 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26409 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26410 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26411 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26412 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26413 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26414 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26415 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26416 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26417 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26418 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26419 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26420 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26421 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26422 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26423 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26424 s_atan_template.c.
26425 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26426 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26427 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26428 s_ceil_template.c.
26429 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26430 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26431 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26432 s_cos_template.c.
26433 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26434 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26435 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26436 s_expm1_template.c.
26437 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26438 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26439 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26440 s_fabs_template.c.
26441 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26442 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26443 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26444 s_floor_template.c.
26445 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26446 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26447 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26448 s_frexp_template.c.
26449 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26450 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26451 s_lrint_template.c.
26452 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26453 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26454 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26455 s_modf_template.c.
26456 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26457 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26458 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26459 s_nearbyint_template.c.
26460 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26461 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26462 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26463 s_remquo_template.c.
26464 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26465 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26466 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26467 s_rint_template.c.
26468 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26469 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26470 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26471 s_sin_template.c.
26472 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26473 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26474 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26475 s_sincos_template.c.
26476 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26477 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26478 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26479 s_tan_template.c.
26480 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26481 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26482 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26483 s_tanh_template.c.
26484 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26485 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26486 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26487 s_trunc_template.c.
26488 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26489 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26490 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26491 s_atan.c instead of including s_atan.c.
26492 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26493 s_atanf.c instead of including s_atanf.c.
26494 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26495 s_atanl.c instead of including s_atanl.c.
26496 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26497 instead of s_atan.c.
26498 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26499 instead of s_atanf.c.
26500 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26501 instead of s_atanl.c.
26502
c0535adf
JM
26503 * scripts/update-copyrights: Do not handle intl/plural.c
26504 specially.
26505
1faaf703
JB
265062017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26507
26508 [BZ #22432]
26509 * configure.ac (BISON): Require to be present.
26510 * configure: Regenerated.
26511 * intl/Makefile (generated): Add plural.c.
26512 [$(BISON) != no]: Make code unconditional.
26513 (plural.c): Change rule to $(objpfx)plural.c.
26514 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26515 * intl/plural.c: Remove.
26516 * manual/install.texi (Tools for Compilation): Document bison as
26517 required.
26518 * INSTALL: Regenerated.
26519
faec6323
JM
265202017-11-30 Joseph Myers <joseph@codesourcery.com>
26521
bd6ea9ed
JM
26522 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26523 <libm-alias-double.h>.
26524 (llrint): Define using libm_alias_double.
26525 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26526 <libm-alias-float.h>.
26527 (llrintf): Define using libm_alias_float.
26528 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26529 <libm-alias-ldouble.h>.
26530 (llrintl): Define using libm_alias_ldouble.
26531
faec6323
JM
26532 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26533 declare_mgen_alias instead of weak_alias.
26534 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26535 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26536 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26537
023cade3
AZ
265382017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26539
9e2279a0
AZ
26540 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26541 Add add_n-generic.
26542 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26543 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26544 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26545
75f37c71
AZ
26546 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26547 Add submul_1-generic.
26548 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26549 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26550 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26551
b70cbbfc 26552 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
26553 Add addmul_1-generic.
26554 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26555 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26556 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26557
26558 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
26559 Add sub_n-generic.
26560 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26561 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26562 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26563
023cade3
AZ
26564 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26565 Add mul_1-generic.
26566 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26567 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26568 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26569
fbb5fd03
MF
265702017-11-30 Mike FABIAN <mfabian@redhat.com>
26571
26572 According to CLDR, collation rules for Serbian and Bosnian
26573 should be the same as for Croatian.
26574
26575 [BZ #22534]
26576 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26577 and to the list of locales to be built for testing.
26578 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26579 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26580 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26581 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26582
5e56e937
MF
265832017-11-30 Mike FABIAN <mfabian@redhat.com>
26584
26585 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26586 to make test case pass.
26587 * localedata/hr_HR.UTF-8.in: Add more test strings.
26588
cf4341ca
MF
265892017-11-30 Mike FABIAN <mfabian@redhat.com>
26590
26591 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26592
363e4519 265932017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
26594
26595 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26596 the list of locales to built for testing.
26597 * localedata/hr_HR.UTF-8.in: New file.
26598
363e4519 265992017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
26600
26601 [BZ #10580]
26602 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26603 iso14651_t1.
26604 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26605 CLDR (except use ligatures for the digraphs, CLDR does not use
26606 the ligatures), add first_workday, some fixes in the date and time
26607 formats.
26608 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26609 for Đ and đ.
26610 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26611 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26612 Add int_p_cs_precedes and int_n_cs_precedes.
26613 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26614 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26615 LC_MONETARY now).
26616 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26617 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26618 name_miss.
26619 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26620 and lang_lib. Change postal_fmt.
26621
f33632cc
L
266222017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26623
26624 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26625 <setjmp.h>.
26626 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26627 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26628 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26629 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26630 * sysdeps/generic/setjmpP.h: New file.
26631 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26632 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26633 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26634 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26635 Add jmp_buf-ssp.sym.
26636 (tests): Add tst-saved_mask-1.
26637
34697694
AS
266382017-11-30 Arjun Shankar <arjun@redhat.com>
26639
26640 [BZ #22375]
37ac8e63 26641 CVE-2017-17426
34697694
AS
26642 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26643 instead of request2size.
26644
3e5efdbd
JM
266452017-11-30 Joseph Myers <joseph@codesourcery.com>
26646
18305fba
JM
26647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26648 (__lllrint): Remove alias.
26649 (lllrint): Likewise.
26650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26651 (__lllrintf): Likewise.
26652 (lllrintf): Likewise.
26653
3e5efdbd
JM
26654 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26655 <libm-alias-float.h>.
26656 (copysignf): Define using libm_alias_float.
26657 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26658 <libm-alias-float.h>.
26659 (fabsf): Define using libm_alias_float.
26660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26661 Include <libm-alias-float.h>.
26662 (copysignf): Define using libm_alias_float.
26663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26664 <libm-alias-float.h>.
26665 (fabsf): Define using libm_alias_float.
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26667 <libm-alias-float.h>.
26668 (fdimf): Define using libm_alias_float.
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26670 <libm-alias-float.h>.
26671 (fmaf): Define using libm_alias_float.
26672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26673 <libm-alias-float.h>.
26674 (llrintf): Define using libm_alias_float.
26675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26676 Include <libm-alias-float.h>.
26677 (nearbyintf): Define using libm_alias_float.
26678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26679 <libm-alias-float.h>.
26680 (rintf): Define using libm_alias_float.
26681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26682 <libm-alias-float.h>.
26683 (llrintf): Define using libm_alias_float.
26684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26685 <libm-alias-float.h>.
26686 (lrintf): Define using libm_alias_float.
26687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26688 <libm-alias-float.h>.
26689 (nearbyintf): Define using libm_alias_float.
26690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26691 <libm-alias-float.h>.
26692 (rintf): Define using libm_alias_float.
26693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26694 <libm-alias-float.h>.
26695 (ceilf): Define using libm_alias_float.
26696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26697 <libm-alias-float.h>.
26698 (floorf): Define using libm_alias_float.
26699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26700 <libm-alias-float.h>.
26701 (fmaf): Define using libm_alias_float.
26702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26703 <libm-alias-float.h>.
26704 (lrintf): Define using libm_alias_float.
26705 (llrintf): Likewise.
26706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26707 <libm-alias-float.h>.
26708 (nearbyintf): Define using libm_alias_float.
26709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26710 <libm-alias-float.h>.
26711 (rintf): Define using libm_alias_float.
26712 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26713 <libm-alias-float.h>.
26714 (truncf): Define using libm_alias_float.
26715 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26716 <libm-alias-float.h>.
26717 (copysignf): Define using libm_alias_float.
26718 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26719 <libm-alias-float.h>.
26720 (fabsf): Define using libm_alias_float.
26721 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26722 <libm-alias-float.h>.
26723 (lrintf): Define using libm_alias_float.
26724 (llrintf): Likewise.
26725 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26726 <libm-alias-float.h>.
26727 (nearbyintf): Define using libm_alias_float.
26728 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26729 <libm-alias-float.h>.
26730 (rintf): Define using libm_alias_float.
26731
011fba7e
JM
267322017-11-29 Joseph Myers <joseph@codesourcery.com>
26733
875cd548
JM
26734 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26735 <libm-alias-double.h>.
26736 (copysign): Define using libm_alias_double.
26737 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26738 <libm-alias-double.h>.
26739 (fabs): Define using libm_alias_double.
26740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26741 Include <libm-alias-double.h>.
26742 (copysign): Define using libm_alias_double.
26743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26744 <libm-alias-double.h>.
26745 (fabs): Define using libm_alias_double.
26746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26747 <libm-alias-double.h>.
26748 (fdim): Define using libm_alias_double.
26749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26750 <libm-alias-double.h>.
26751 (fma): Define using libm_alias_double.
26752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26753 <libm-alias-double.h>.
26754 (llrint): Define using libm_alias_double.
26755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26756 Include <libm-alias-double.h>.
26757 (nearbyint): Define using libm_alias_double.
26758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26759 <libm-alias-double.h>.
26760 (rint): Define using libm_alias_double.
26761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26762 <libm-alias-double.h>.
26763 (fabs): Define using libm_alias_double.
26764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26765 <libm-alias-double.h>.
26766 (llrint): Define using libm_alias_double.
26767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26768 <libm-alias-double.h>.
26769 (nearbyint): Define using libm_alias_double.
26770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26771 <libm-alias-double.h>.
26772 (rint): Define using libm_alias_double.
26773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26774 <libm-alias-double.h>.
26775 (ceil): Define using libm_alias_double.
26776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26777 <libm-alias-double.h>.
26778 (floor): Define using libm_alias_double.
26779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26780 <libm-alias-double.h>.
26781 (fma): Define using libm_alias_double.
26782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26783 <libm-alias-double.h>.
26784 (lrint): Define using libm_alias_double.
26785 (llrint): Likewise.
26786 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26787 <libm-alias-double.h>.
26788 (nearbyint): Define using libm_alias_double.
26789 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26790 <libm-alias-double.h>.
26791 (rint): Define using libm_alias_double.
26792 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26793 <libm-alias-double.h>.
26794 (trunc): Define using libm_alias_double.
26795 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26796 <libm-alias-double.h>.
26797 (copysign): Define using libm_alias_double.
26798 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26799 <libm-alias-double.h>.
26800 (fabs): Define using libm_alias_double.
26801 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26802 <libm-alias-double.h>.
26803 (lrint): Define using libm_alias_double.
26804 (llrint): Likewise.
26805 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26806 <libm-alias-double.h>.
26807 (nearbyint): Define using libm_alias_double.
26808 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26809 <libm-alias-double.h>.
26810 (rint): Define using libm_alias_double.
26811
cf4ebc27
JM
26812 [BZ #22229]
26813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26814 <math_ldbl_opt.h>.
26815 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26816
0c097378
JM
26817 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26818 SPARC --disable-multi-arch glibc variants.
26819
34bb10aa
JM
26820 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26821 <libm-alias-float.h>.
26822 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26823 if [SHARED].
26824 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26825 <libm-alias-float.h>.
26826 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26827 if [SHARED].
26828 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26829 <libm-alias-float.h>.
26830 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26831 if [SHARED].
26832 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26833 <libm-alias-float.h>.
26834 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26835 if [SHARED].
26836 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26837 <libm-alias-float.h>.
26838 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26839 if [SHARED].
26840 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26841 <libm-alias-float.h>.
26842 (ceilf): Define using libm_alias_float.
26843 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26844 <libm-alias-float.h>.
26845 (floorf): Define using libm_alias_float.
26846 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26847 <libm-alias-float.h>.
26848 (fmaf): Define using libm_alias_float.
26849 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26850 <libm-alias-float.h>.
26851 (nearbyintf): Define using libm_alias_float.
26852 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26853 <libm-alias-float.h>.
26854 (rintf): Define using libm_alias_float.
26855 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26856 <libm-alias-float.h>.
26857 (truncf): Define using libm_alias_float.
26858 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26859 (copysignf): Define using libm_alias_float.
26860 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26861 (cosf): Define using libm_alias_float.
26862 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26863 (fabsf): Define using libm_alias_float.
26864 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26865 (fmaxf): Define using libm_alias_float.
26866 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26867 (fminf): Define using libm_alias_float.
26868 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26869 (llrintf): Define using libm_alias_float.
26870 [!__ILP32__] (lrintf): Likewise.
26871 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26872 (sincosf): Define using libm_alias_float.
26873 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26874 (sinf): Define using libm_alias_float.
26875 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26876 (lrintf): Define using libm_alias_float.
26877
011fba7e
JM
26878 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26879 <libm-alias-double.h>.
26880 (atan): Define using libm_alias_double.
26881 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26882 <libm-alias-double.h>.
26883 (ceil): Define using libm_alias_double.
26884 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26885 <libm-alias-double.h>.
26886 (floor): Define using libm_alias_double.
26887 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26888 <libm-alias-double.h>.
26889 (fma): Define using libm_alias_double.
26890 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26891 <libm-alias-double.h>.
26892 (nearbyint): Define using libm_alias_double.
26893 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26894 <libm-alias-double.h>.
26895 (rint): Define using libm_alias_double.
26896 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26897 <libm-alias-double.h>.
26898 (sin): Define using libm_alias_double.
26899 (cos): Likewise.
26900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26901 <libm-alias-double.h>.
26902 (tan): Define using libm_alias_double.
26903 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26904 <libm-alias-double.h>.
26905 (trunc): Define using libm_alias_double.
26906 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26907 (copysign): Define using libm_alias_double.
26908 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26909 (fabs): Define using libm_alias_double.
26910 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26911 (fmax): Define using libm_alias_double.
26912 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26913 (fmin): Define using libm_alias_double.
26914 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26915 (llrint): Define using libm_alias_double.
26916 [!__ILP32__] (lrint): Likewise.
26917 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26918 (lrint): Define using libm_alias_double.
26919
1cbd7bfe
AZ
269202017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26921
21bfcc3d
AZ
26922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26923 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26924 objects.
26925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26931
522228dd
AZ
26932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26933 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26934 objects.
26935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26941
2a6f4fab
AZ
26942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26943 (libm-sysdep_routines): Add s_nearbyint-generic and
26944 s_nearbyintf-generic objects.
26945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26951
712b5b83
AZ
26952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26953 Add s_finitef-generic and s_finite-generic objects.
26954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26960
c96d3335
AZ
26961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26962 Add s_isinff-generic and s_isinf-generic objects.
26963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26969
c6862a23
AZ
26970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26971 Add s_isnanf-generic and s_isnan-generic objects.
26972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26978
1cbd7bfe
AZ
26979 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26980 macro.
26981 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26982 rule.
26983 (sysdep_routines): Use sysdep_calls as base.
26984 (libm-sysdep_routines): Add generic rule for symbols shared with
26985 libc. Add s_signbit-generic and s_signbitf-generic objects.
26986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26992
aa1142c5
JM
269932017-11-29 Joseph Myers <joseph@codesourcery.com>
26994
26995 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26996 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26997 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26998 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26999 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
27000 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
27001 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
27002 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
27003 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
27004 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
27005 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
27006 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
27007 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
27008 libm_alias_float_r.
27009 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
27010 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
27011 (logf): Likewise.
27012 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
27013 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
27014 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
27015 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
27016 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
27017 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
27018 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
27019 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
27020 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
27021 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
27022 libm_alias_float.
27023 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
27024 (cosf): Likewise.
27025 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
27026 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
27027 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
27028 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
27029 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
27030 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
27031 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
27032 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
27033 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
27034 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
27035 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
27036 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
27037 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
27038 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
27039 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
27040 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
27041 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
27042 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
27043 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
27044 libm_alias_float.
27045 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
27046 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
27047 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
27048 * sysdeps/ia64/fpu/w_lgammaf_main.c
27049 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
27050 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
27051
363e4519
DL
270522017-11-28 Mike FABIAN <mfabian@redhat.com>
27053 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
27054
27055 [BZ #17750]
27056 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
27057 * localedata/fr_CA.UTF-8.in: New file with test data for backward
27058 accents sorting.
27059 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
27060 sorting.
27061 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
27062 * localedata/locales/de_DE (LC_COLLATE): Likewise.
27063 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
27064 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
27065 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
27066 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
27067 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
27068 instead of “ifdef DIACRIT_BACKWARD”.
27069
a55430cb
AZ
270702017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27071
27072 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
27073 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
27074 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
27075 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
27076 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
27077 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
27078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
27080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
27081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
27082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
27083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27084 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27085 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27086 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27087 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27088 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27089 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27091 ($(have-as-vis3) == yes): Remove conditional.
27092 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27093 Likewise.
27094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27095 file.
27096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27097 file.
27098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27099 file.
27100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27101 file.
27102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27108 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27109 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27110
0609ec0a
JM
271112017-11-29 Joseph Myers <joseph@codesourcery.com>
27112
27113 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27114 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27115 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27116 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27117 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27118 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27119 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27120 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27121 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27122 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27123 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27124 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27125 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27126 libm_alias_double_r.
27127 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27128 (log): Likewise.
27129 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27130 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27131 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27132 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27133 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27134 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27135 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27136 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27137 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27138 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27139 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27140 libm_alias_double.
27141 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27142 (cos): Likewise.
27143 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27144 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27145 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27146 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27147 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27148 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27149 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27150 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27151 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27152 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27153 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27154 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27155 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27156 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27157 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27158 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27159 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27160 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27161 libm_alias_double.
27162 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27163 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27164 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27165 * sysdeps/ia64/fpu/w_lgamma_main.c
27166 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27167 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27168
d5bfa34a
JDA
271692017-11-28 John David Anglin <danglin@gcc.gnu.org>
27170
27171 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27172 address of $global$ into %dp register earlier. Use pc-relative
27173 instruction sequence for PIC case.
27174
bc4e8f9b
JM
271752017-11-28 Joseph Myers <joseph@codesourcery.com>
27176
e4602cba
JM
27177 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27178 (asinhf): Define using libm_alias_float.
27179 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27180 (atanf): Define using libm_alias_float.
27181 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27182 (cbrtf): Define using libm_alias_float.
27183 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27184 (ceilf): Define using libm_alias_float.
27185 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27186 (copysignf): Define using libm_alias_float.
27187 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27188 (expm1f): Define using libm_alias_float.
27189 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27190 (fabsf): Define using libm_alias_float.
27191 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27192 (floorf): Define using libm_alias_float.
27193 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27194 (fmaxf): Define using libm_alias_float.
27195 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27196 (fminf): Define using libm_alias_float.
27197 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27198 (frexpf): Define using libm_alias_float.
27199 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27200 (llrintf): Define using libm_alias_float.
27201 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27202 (logbf): Define using libm_alias_float.
27203 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27204 (lrintf): Define using libm_alias_float.
27205 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27206 (nearbyintf): Define using libm_alias_float.
27207 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27208 (remquof): Define using libm_alias_float.
27209 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27210 (rintf): Define using libm_alias_float.
27211 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27212 (truncf): Define using libm_alias_float.
27213 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27214 <libm-alias-float.h>.
27215 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27216 if [SHARED].
27217 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27218 <libm-alias-float.h>.
27219 (expf): Define using libm_alias_float, or libm_alias_float_other
27220 if [SHARED].
27221 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27222 <libm-alias-float.h>.
27223 (log2f): Define using libm_alias_float, or libm_alias_float_other
27224 if [SHARED].
27225 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27226 <libm-alias-float.h>.
27227 (logf): Define using libm_alias_float, or libm_alias_float_other
27228 if [SHARED].
27229 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27230 <libm-alias-float.h>.
27231 (powf): Define using libm_alias_float, or libm_alias_float_other
27232 if [SHARED].
27233 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27234 <libm-alias-float.h>.
27235 (cosf): Define using libm_alias_float.
27236 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27237 <libm-alias-float.h>.
27238 (sincosf): Define using libm_alias_float.
27239 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27240 <libm-alias-float.h>.
27241 (sinf): Define using libm_alias_float.
27242 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27243 (fmaxf): Define using libm_alias_float.
27244 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27245 (fminf): Define using libm_alias_float.
27246 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27247 <libm-alias-float.h>.
27248 (fmaf): Define using libm_alias_float.
27249
bc4e8f9b
JM
27250 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27251 (asinh): Define using libm_alias_double.
27252 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27253 (atan): Define using libm_alias_double.
27254 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27255 (cbrt): Define using libm_alias_double.
27256 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27257 (ceil): Define using libm_alias_double.
27258 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27259 (copysign): Define using libm_alias_double.
27260 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27261 (expm1): Define using libm_alias_double.
27262 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27263 (fabs): Define using libm_alias_double.
27264 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27265 (fdim): Define using libm_alias_double.
27266 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27267 (floor): Define using libm_alias_double.
27268 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27269 (fmax): Define using libm_alias_double.
27270 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27271 (fmin): Define using libm_alias_double.
27272 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27273 (frexp): Define using libm_alias_double.
27274 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27275 (llrint): Define using libm_alias_double.
27276 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27277 (logb): Define using libm_alias_double.
27278 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27279 (lrint): Define using libm_alias_double.
27280 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27281 (nearbyint): Define using libm_alias_double.
27282 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27283 (remquo): Define using libm_alias_double.
27284 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27285 (rint): Define using libm_alias_double.
27286 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27287 (trunc): Define using libm_alias_double.
27288 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27289 (fmax): Define using libm_alias_double.
27290 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27291 (fmin): Define using libm_alias_double.
27292 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27293 (fma): Define using libm_alias_double.
27294
8d81ce0c
L
272952017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27296
27297 [BZ #22370]
27298 * elf/dl-hwcaps.c (ROUND): Removed.
27299 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27300 and ELF_NOTE_NEXT_OFFSET.
27301 * elf/dl-load.c (ROUND): Removed.
27302 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27303 * elf/readelflib.c (ROUND): Removed.
27304 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27305 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27306 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27307 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27308
6940bd96
JM
273092017-11-28 Joseph Myers <joseph@codesourcery.com>
27310
313ba463
JM
27311 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27312 [!__fmaf] (fmaf): Define using libm_alias_float.
27313
6940bd96
JM
27314 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27315 [!__fma] (fma): Define using libm_alias_double.
27316 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27317
22c69b6a
MF
273182017-11-28 Mike FABIAN <mfabian@redhat.com>
27319
27320 [BZ #22336]
27321 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27322 and implement the collation rules for cs from CLDR on top of that.
27323 * Makefile: Add cs_CZ.UTF-8 to test-input.
27324 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27325
8d7d3ba8
SP
273262017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27327
27328 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27329
0422ed1e
VR
273302017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27331 Icarus Sparry <icarus.w.sparry@intel.com>
27332
27333 * benchtests/Makefile:Add BENCHSET to allow subsets of
27334 benchmarks to be run.
27335 * benchtests/README: Add documentation for: Running subsets of
27336 benchmarks.
27337
0595e360
VR
273382017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27339
d5090db3
VR
27340 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27341 range of tests names.
27342
0595e360
VR
27343 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27344 result from property and remove "max", min" and "mean" from
27345 required properties based on benchtests/bench-skeleton.c.
27346
b4c645c2
FW
273472017-11-28 Florian Weimer <fweimer@redhat.com>
27348
27349 [BZ #20826]
27350 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27351 due to Internet requirement.
27352 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27353 tst-getaddrinfo5.
27354 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27355
88684de7
AZ
273562017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27357
69056564
AZ
27358 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27359 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27360 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27361 (sysdep_routines): Add memset-ultra1.
27362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27363 file.
27364 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27365 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27366 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27367 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27368 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27369 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27370 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27371 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27372
88684de7
AZ
27373 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27374 file.
27375 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27376 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27377 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27378 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27379 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27380 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27381 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27382 macro.
27383 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27384 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27385 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27386 (sysdep_routines): Add memcpy-ultra1.
27387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27389
d8124864
JM
273902017-11-28 Joseph Myers <joseph@codesourcery.com>
27391
f433d0b3
JM
27392 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27393 (cfloat_versions): Take function argument without trailing 'f'.
27394 Call libm_alias_float_other.
27395 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27396 * sysdeps/alpha/fpu/cargf.c: Likewise.
27397 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27398 * sysdeps/alpha/fpu/conjf.c: Likewise.
27399 * sysdeps/alpha/fpu/crealf.c: Likewise.
27400 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27401 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27402 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27403 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27404 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27405 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27406 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27407 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27408 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27409 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27410 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27411 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27412 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27413 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27414 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27415 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27416 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27417 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27418 (clog10f): Use libm_alias_float_other.
27419 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27420 (ceilf): Define using libm_alias_float.
27421 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27422 (copysignf): Define using libm_alias_float.
27423 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27424 (fabsf): Define using libm_alias_float.
27425 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27426 (floorf): Define using libm_alias_float.
27427 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27428 (fmaxf): Define using libm_alias_float.
27429 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27430 (fminf): Define using libm_alias_float.
27431 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27432 (lrintf): Define using libm_alias_float.
27433 (llrintf): Likewise.
27434 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27435 (lroundf): Define using libm_alias_float.
27436 (llroundf): Likewise.
27437 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27438 (rintf): Define using libm_alias_float.
27439 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27440 (truncf): Define using libm_alias_float.
27441
15ff4900
JM
27442 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27443 (ceilf): Define using libm_alias_float.
27444 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27445 (floorf): Define using libm_alias_float.
27446 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27447 (fmaf): Define using libm_alias_float.
27448 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27449 (fmaxf): Define using libm_alias_float.
27450 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27451 (fminf): Define using libm_alias_float.
27452 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27453 (llrintf): Define using libm_alias_float.
27454 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27455 (llroundf): Define using libm_alias_float.
27456 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27457 (lrintf): Define using libm_alias_float.
27458 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27459 (lroundf): Define using libm_alias_float.
27460 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27461 <libm-alias-float.h>.
27462 (nearbyintf): Define using libm_alias_float.
27463 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27464 (rintf): Define using libm_alias_float.
27465 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27466 (roundf): Define using libm_alias_float.
27467 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27468 (truncf): Define using libm_alias_float.
27469
5de60638
JM
27470 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27471 (ceil): Define using libm_alias_double.
27472 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27473 (copysign): Define using libm_alias_double.
27474 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27475 (fabs): Define using libm_alias_double.
27476 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27477 (floor): Define using libm_alias_double.
27478 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27479 (fmax): Define using libm_alias_double.
27480 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27481 (fmin): Define using libm_alias_double.
27482 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27483 (lrint): Define using libm_alias_double.
27484 (llrint): Likewise.
27485 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27486 (lround): Define using libm_alias_double.
27487 (llround): Likewise.
27488 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27489 (rint): Define using libm_alias_double.
27490 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27491 (trunc): Define using libm_alias_double.
27492
d8124864
JM
27493 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27494 (libm_alias_double_r): Add semicolon after weak_alias call.
27495
f07d2ec8
JM
274962017-11-27 Joseph Myers <joseph@codesourcery.com>
27497
27498 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27499 (ceil): Define using libm_alias_double.
27500 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27501 (floor): Define using libm_alias_double.
27502 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27503 (fma): Define using libm_alias_double.
27504 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27505 (fmax): Define using libm_alias_double.
27506 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27507 (fmin): Define using libm_alias_double.
27508 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27509 (llrint): Define using libm_alias_double.
27510 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27511 (llround): Define using libm_alias_double.
27512 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27513 (lrint): Define using libm_alias_double.
27514 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27515 (lround): Define using libm_alias_double.
27516 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27517 (nearbyint): Define using libm_alias_double.
27518 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27519 (rint): Define using libm_alias_double.
27520 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27521 (round): Define using libm_alias_double.
27522 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27523 (trunc): Define using libm_alias_double.
27524
4bab0224
FW
275252017-11-27 Florian Weimer <fweimer@redhat.com>
27526
27527 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27528 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27529 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27530 (tests): Add tst-mlock2.
27531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27533 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27534 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27535 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27536 for mlock. Document mlock2.
27537
a23aa5b7
JM
275382017-11-27 Joseph Myers <joseph@codesourcery.com>
27539
27540 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27541 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27542 Likewise.
27543 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27544 Likewise.
27545 * sysdeps/x86/Makeconfig: New file.
27546 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27547 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27548 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27549 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27550 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27551 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27552 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27553 Likewise.
27554 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27555 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27556 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27557 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27558 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27559 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27560 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27561 * manual/math.texi (Mathematics): Document support for _Float64x.
27562 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27563 * stdlib/Versions (GLIBC_2.27): Likewise.
27564 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27567 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27568 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27569 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27570 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27571 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27572 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27573 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27574 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27575 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27577 Likewise.
27578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27579 Likewise.
27580 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27581 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27582 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27583 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27584 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27585 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27586 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27587 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27588 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27591 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27592 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27593 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27594
c2c299fd
AS
275952017-11-27 Andreas Schwab <schwab@suse.de>
27596
27597 * elf/Makefile (dl-routines): Add dl-sort-maps.
27598 * elf/dl-sort-maps.c: New file.
27599 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27600 (_dl_sort_maps): Declare.
27601 * elf/dl-fini.c (_dl_sort_fini): Remove.
27602 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27603 * elf/dl-close.c (_dl_close_worker): Likewise.
27604 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27605 open-coding it.
27606 * elf/dl-open.c (dl_open_worker): Likewise.
27607
9d4b0117
JM
276082017-11-24 Joseph Myers <joseph@codesourcery.com>
27609
de61465c
JM
27610 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27611 using libm_alias_float128.
27612 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27613 Likewise.
27614 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27615 Likewise.
27616 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27617 (setpayloadsigf128): Likewise.
27618 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27619 Likewise.
27620 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27621 Likewise.
27622
9ae6d171
JM
27623 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27624 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27625 -mfloat128 to CFLAGS.
27626 ($(foreach
27627 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27628 Likewise.
27629 (CFLAGS-libm-test-support-float64x.c): New variable.
27630 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27631 $(f128-loader-link) to gnulib-tests.
27632
6e70d156
JM
27633 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27634 (libm_alias_float128_other_r): If
27635 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27636 alias.
27637 (libm_alias_float128_r): Add semicolon after weak_alias call.
27638 * sysdeps/generic/libm-alias-ldouble.h
27639 (libm_alias_ldouble_other_r_f128): New macro.
27640 (libm_alias_ldouble_other_r_f64x): Likewise.
27641 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27642 and libm_alias_ldouble_other_r_f64x.
27643 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27644 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27645 (libm_alias_ldouble_other_r_f128): New macro.
27646 (libm_alias_ldouble_other_r_f64x): Likewise.
27647 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27648 and libm_alias_ldouble_other_r_f64x.
27649
df2806cd
JM
27650 * stdlib/strfroml.c: Always include <stdlib.h>.
27651 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27652 undefine as macro and define as weak alias.
27653 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27654 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27655 <stdlib.h>.
27656 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27657 Define and later undefine as macro and define as weak alias.
27658
0df4fe35
JM
27659 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27660 Define and later undefine as macro. Define as weak alias if
27661 [!USE_WIDE_CHAR].
27662 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27663 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27664 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27665 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27666 Define and later undefine as macro. Define as weak alias if
27667 [!USE_WIDE_CHAR].
27668 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27669 Define and later undefine as macro. Define as weak alias if
27670 [USE_WIDE_CHAR].
27671 * sysdeps/ieee754/float128/strtof128_l.c
27672 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27673 Define and later undefine as macro. Define as weak alias if
27674 [!USE_WIDE_CHAR].
27675 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27676 Define and later undefine as macro. Define as weak alias if
27677 [USE_WIDE_CHAR].
27678 * sysdeps/ieee754/ldbl-128/strtold_l.c
27679 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27680 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27681 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27682 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27683 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27684 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27685 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27686 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27687 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27688 * sysdeps/ieee754/ldbl-96/strtold_l.c
27689 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27690 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27691 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27692 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27693
ae7207d0
JM
27694 * math/test-float64x.h: New file.
27695 * math/Makefile (type-float64x-yes): New variable.
27696 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27697
9596fc69
JM
27698 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27699 function-like macro.
27700 (min_of_type_): Likewise.
27701 (min_of_type_l): Likewise.
27702 (min_of_type_f128): Likewise.
27703 (min_of_type): Pass () as last argument of __MATH_TG.
27704
46453c3c
JM
27705 * stdlib/tst-strtod-round-skeleton.c
27706 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27707 headers.
27708
01e659e7
JM
27709 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27710 for combinations of long double with _Float64 and _Float64x.
27711
5c60afdd
JM
27712 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27713 (__DECL_SIMD_cosf32): Likewise.
27714 (__DECL_SIMD_cosf64): Likewise.
27715 (__DECL_SIMD_cosf32x): Likewise.
27716 (__DECL_SIMD_cosf64x): Likewise.
27717 (__DECL_SIMD_cosf128x): Likewise.
27718 (__DECL_SIMD_sinf16): Likewise.
27719 (__DECL_SIMD_sinf32): Likewise.
27720 (__DECL_SIMD_sinf64): Likewise.
27721 (__DECL_SIMD_sinf32x): Likewise.
27722 (__DECL_SIMD_sinf64x): Likewise.
27723 (__DECL_SIMD_sinf128x): Likewise.
27724 (__DECL_SIMD_sincosf16): Likewise.
27725 (__DECL_SIMD_sincosf32): Likewise.
27726 (__DECL_SIMD_sincosf64): Likewise.
27727 (__DECL_SIMD_sincosf32x): Likewise.
27728 (__DECL_SIMD_sincosf64x): Likewise.
27729 (__DECL_SIMD_sincosf128x): Likewise.
27730 (__DECL_SIMD_logf16): Likewise.
27731 (__DECL_SIMD_logf32): Likewise.
27732 (__DECL_SIMD_logf64): Likewise.
27733 (__DECL_SIMD_logf32x): Likewise.
27734 (__DECL_SIMD_logf64x): Likewise.
27735 (__DECL_SIMD_logf128x): Likewise.
27736 (__DECL_SIMD_expf16): Likewise.
27737 (__DECL_SIMD_expf32): Likewise.
27738 (__DECL_SIMD_expf64): Likewise.
27739 (__DECL_SIMD_expf32x): Likewise.
27740 (__DECL_SIMD_expf64x): Likewise.
27741 (__DECL_SIMD_expf128x): Likewise.
27742 (__DECL_SIMD_powf16): Likewise.
27743 (__DECL_SIMD_powf32): Likewise.
27744 (__DECL_SIMD_powf64): Likewise.
27745 (__DECL_SIMD_powf32x): Likewise.
27746 (__DECL_SIMD_powf64x): Likewise.
27747 (__DECL_SIMD_powf128x): Likewise.
27748
9d4b0117
JM
27749 * stdlib/Versions (libc): Move entries for wcstof128 and
27750 wcstof128_l to ....
27751 * wcsmbs/Versions (libc): ... here.
27752 Include <float128-abi.h>.
27753
7911dd47
FW
277542017-11-24 Florian Weimer <fweimer@redhat.com>
27755
27756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27757 bits/mman-shared.h.
27758 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27759 <bits/mman-shared.h>.
27760 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27761 to ...
27762 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27763 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27764 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27765 <bits/mman-shared.h>.
27766
c45d78aa
AZ
277672017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27768
27769 [BZ #22457]
27770 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27771 posix_memalign/free.
27772 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27773
3ffc4cc1
MF
277742017-11-22 Mike FABIAN <mfabian@redhat.com>
27775
27776 [BZ #22469]
27777 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27778 and implement the collation rules for pl from CLDR on top of that.
27779 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27780 of locales to be built for testing.
27781 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27782
3a327316
JM
277832017-11-23 Joseph Myers <joseph@codesourcery.com>
27784
27785 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27786 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27787 libm_alias_ldouble_other.
27788 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27789 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27790 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27791 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27792 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27793 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27794 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27795 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27796 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27797 libm_alias_ldouble_r.
27798 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27799 libm_alias_ldouble_other.
27800 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27801 (log10l): Likewise.
27802 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27803 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27804 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27805 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27806 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27807 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27808 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27809 (atan2l): Likewise.
27810 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27811 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27812 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27813 libm_alias_ldouble.
27814 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27815 (cosl): Likewise.
27816 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27817 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27818 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27819 (expl): Likewise.
27820 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27821 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27822 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27823 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27824 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27825 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27826 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27827 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27828 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27829 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27830 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27831 libm_alias_ldouble.
27832 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27833 libm_alias_ldouble_other.
27834 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27835 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27836 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27837 libm_alias_ldouble.
27838 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27839 libm_alias_ldouble_other.
27840 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27841 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27842 * sysdeps/ia64/fpu/w_lgammal_main.c
27843 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27844 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27845
0a947e06
FW
278462017-11-23 Florian Weimer <fweimer@redhat.com>
27847
27848 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27849 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27850 alike. Remove freeres marker.
27851 * malloc/arena.c (arena_thread_freeres): Call
27852 tcache_thread_shutdown.
27853
67f36c79
FW
278542017-11-23 Florian Weimer <fweimer@redhat.com>
27855
27856 [BZ #22459]
27857 Export nscd hash function as __nss_hash.
27858 * include/nss.h (__nss_hash): Declare.
27859 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27860 symbol.
27861 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27862 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27863 of __nscd_hash.
27864 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27865 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27866 * nss/Makefiles (routines): Add nss_hash.
27867 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27868 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27869 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27870 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27871
cccb6d4e
FW
278722017-11-23 Florian Weimer <fweimer@redhat.com>
27873
27874 [BZ #22478]
27875 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27876 Return error code, not -1.
27877 * signal/tst-sigwait-eintr.c: New file.
27878 * signal/Makefile (tests): Add tst-sigwait-eintr.
27879
59d2cbb1
FW
278802017-11-23 Florian Weimer <fweimer@redhat.com>
27881
27882 Linux: Add memfd_create system call wrapper
27883 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27884 tst-memfd_create.
27885 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27886 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27887 [__USE_GNU] (memfd_create): Declare.
27888 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27889 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27890 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27891 * sysdeps/unix/sysv/linux/**.abilist: Update.
27892 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27893
a90d1ac2
JM
278942017-11-22 Joseph Myers <joseph@codesourcery.com>
27895
0a9d1d62
JM
27896 * localedata/gen-locale.sh: Fix typo in variable name.
27897
754034c4
JM
27898 * resolv/res_debug.c (p_secstodate): Condition definition on
27899 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27900 directly as __p_secstodate, and as a compat symbol. Do not use
27901 libresolv_hidden_def.
27902 * resolv/resolv.h (p_secstodate): Remove macro and function
27903 declaration.
27904 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27905 using p_secstodate.
27906 * include/resolv.h (__p_secstodate): Do not use
27907 libresolv_hidden_proto.
27908 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27909 (tests-internal): ... here.
27910 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27911 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27912 and declare and use __p_secstodate and use compat_symbol_reference
27913 in that case.
27914 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27915 implementation returning 77.
27916
f120cda6
JM
27917 [BZ #22463]
27918 * resolv/res_debug.c: Include <libc-diag.h>.
27919 (p_secstodate): Assert time_t at least as wide as u_long. On
27920 overflow, use integer seconds since the epoch as output, or use
27921 "<overflow>" as output and set errno to EOVERFLOW if integer
27922 seconds since the epoch would be 14 or more characters.
27923 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27924 for sprintf call.
27925 * resolv/tst-p_secstodate.c: New file.
27926 * resolv/Makefile (tests): Add tst-p_secstodate.
27927 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27928
a90d1ac2
JM
27929 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27930 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27931 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27932
0285e6bd
PE
279332017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27934
27935 * posix/regcomp.c (init_word_char): Add comments.
27936
4bae6150
JM
279372017-11-22 Joseph Myers <joseph@codesourcery.com>
27938
27939 [BZ #22447]
27940 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27941 strlen to compute length of ut_user and set trailing NUL byte of
27942 result explicitly.
27943
4b7af5fc
MF
279442017-11-21 Mike FABIAN <mfabian@redhat.com>
27945
27946 [BZ #15537]
27947 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27948 using “copy "iso14651_t1"” and then implementing the
27949 collation rules for lv from CLDR on top of that.
27950 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27951 of locales to be built for testing.
27952 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27953 sorting.
27954
922bb78c
JM
279552017-11-21 Joseph Myers <joseph@codesourcery.com>
27956
27957 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27958 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27959 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27960 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27961 [__USE_MISC] (MADV_HWPOISON): New macro.
27962 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27963
a3aaa598
AZ
279642017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27965
27966 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27967 -Wmissing-braces on GCC 4.9.
27968
8beba15d
SL
279692017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27970
27971 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27972 * sysdeps/s390/s390-32/start.S (_start): Likewise
27973 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27974 (thread_start): Likewise.
27975 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27976 (thread_start): Likewise.
27977 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27978 (__makecontext_ret): Likewise.
27979 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27980 (__makecontext_ret): Likewise.
27981
80eb52e3
SL
279822017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27983
27984 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27985 __wcschrnul): Remove attribute_hidden.
27986
567d8c1f
PE
279872017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27988
27989 regex: don't assume uint64_t or uint32_t
27990 This avoids -Werror=overflow errors for 32-bit systems in
27991 the 64-bit case. Problem reported by Joseph Myers in:
27992 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27993 Also, when this code is used in Gnulib it ports to platforms
27994 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27995 them, and on some 32-bit compilers there is no uint64_t.
27996 Problem reported by Gianluigi Tiesi in:
27997 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27998 * posix/regcomp.c (init_word_char): Don't assume that the types
27999 uint64_t and uint32_t exist. Adapted from Gnulib patch
28000 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
28001 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
28002
4d7632ff
SP
280032017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
28004
5a67c4fa
SP
28005 * sysdeps/aarch64/memset-reg.h: New file.
28006 * sysdeps/aarch64/memset.S: Use it.
28007 (__memset): Rename to MEMSET macro.
28008 [ZVA_MACRO]: Use zva_macro.
28009 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
28010 Add memset_generic and memset_falkor.
28011 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28012 (__libc_ifunc_impl_list): Add memset ifuncs.
28013 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
28014 local variable zva_size.
28015 * sysdeps/aarch64/multiarch/memset.c: New file.
28016 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
28017 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
28018 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
28019 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
28020 (DCZID_DZP_MASK): New macro.
28021 (DCZID_BS_MASK): Likewise.
28022 (init_cpu_features): Read and set zva_size.
28023 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
28024 (struct cpu_features): New member zva_size.
28025
eb332f9f
SP
28026 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
28027 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
28028 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
28029
4d7632ff
SP
28030 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
28031 backwards. Fix timing computation.
28032 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
28033 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
28034 on memset by N at a time. Fix timing computation.
28035
a465b89e
FW
280362017-11-20 Florian Weimer <fweimer@redhat.com>
28037
28038 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
28039 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
28040
0f74bbf5
FW
280412017-11-19 Florian Weimer <fweimer@redhat.com>
28042
28043 manual: Document mprotect
28044 * manual/memory.texi (Memory Protection): New section.
28045 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
28046 documentation of PROT_* flags and reference the Memory Protection
28047 section instead.
28048
f6e965ee
FW
280492017-11-19 Florian Weimer <fweimer@redhat.com>
28050
28051 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
28052 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
28053 (Scatter-Gather): ... to here. Remove misleading comment.
28054
363e4519 280552017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 28056
5f9d1949
CB
28057 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
28058 style.
28059
ea69a5c8
CB
28060 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
28061 when /proc/<pid>/setgroups does not exist.
28062
8db7f48c
FW
280632017-11-18 Florian Weimer <fweimer@redhat.com>
28064
28065 * sysdeps/unix/sysv/linux/tst-ttyname.c
28066 (become_root_in_mount_ns): Remove.
28067 (do_in_chroot_1): Call support_enter_mount_namespace.
28068 (do_in_chroot_2): Likewise.
28069 (do_test): Call support_become_root early.
28070
273a0c49
FW
280712017-11-18 Florian Weimer <fweimer@redhat.com>
28072
28073 * support/namespace.h (support_enter_mount_namespace): Declare.
28074 * support/support_enter_mount_namespace.c: New file.
28075 * support/Makefile (libsupport-routines): Add
28076 support_enter_mount_namespace.
28077
8adfb0ee
FW
280782017-11-18 Florian Weimer <fweimer@redhat.com>
28079
28080 * support/temp_file.c (support_create_temp_directory): Use
28081 test_dir and do not rely on the presence of the XXXXXX suffix.
28082 * support/temp_file.h (support_create_temp_directory): Update
28083 comment.
28084 * support/tst-xreadlink.c (do_test): Adjust.
28085 * support/support_chroot.c (support_chroot_create): Likewise.
28086
df0c40ee
TMQMF
280872017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28088
28089 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28090 macro.
28091 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28092 htm-no-suspend.
28093
015c6dc2
JM
280942017-11-17 Joseph Myers <joseph@codesourcery.com>
28095
f58e5f48
JM
28096 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28097 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28098 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28099 (ceill): Define using libm_alias_ldouble.
28100 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28101 <libm-alias-ldouble.h>.
28102 (copysignl): Define using libm_alias_ldouble.
28103 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28104 (fabsl): Define using libm_alias_ldouble.
28105 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28106 (floorl): Define using libm_alias_ldouble.
28107 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28108 (fmaxl): Define using libm_alias_ldouble.
28109 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28110 (fminl): Define using libm_alias_ldouble.
28111 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28112 (llrintl): Define using libm_alias_ldouble.
28113 (lrintl): Likewise.
28114 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28115 <libm-alias-ldouble.h>.
28116 (nearbyintl): Define using libm_alias_ldouble.
28117 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28118 (truncl): Define using libm_alias_ldouble.
28119 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28120 <libm-alias-ldouble.h>.
28121 (lrintl): Define using libm_alias_ldouble.
28122
2ce30701
JM
28123 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28124 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28125 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28126 (asinhl): Define using libm_alias_ldouble.
28127 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28128 (atanl): Define using libm_alias_ldouble.
28129 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28130 (cbrtl): Define using libm_alias_ldouble.
28131 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28132 (ceill): Define using libm_alias_ldouble.
28133 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28134 (copysignl): Define using libm_alias_ldouble.
28135 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28136 (fabsl): Define using libm_alias_ldouble.
28137 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28138 (floorl): Define using libm_alias_ldouble.
28139 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28140 (fmaxl): Define using libm_alias_ldouble.
28141 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28142 (fminl): Define using libm_alias_ldouble.
28143 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28144 (frexpl): Define using libm_alias_ldouble.
28145 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28146 (llrintl): Define using libm_alias_ldouble.
28147 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28148 (logbl): Define using libm_alias_ldouble.
28149 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28150 (lrintl): Define using libm_alias_ldouble.
28151 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28152 (nearbyintl): Define using libm_alias_ldouble.
28153 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28154 (nextafterl): Define using libm_alias_ldouble.
28155 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28156 (remquol): Define using libm_alias_ldouble.
28157 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28158 (rintl): Define using libm_alias_ldouble.
28159 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28160 (truncl): Define using libm_alias_ldouble.
28161 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28162 (fmaxl): Define using libm_alias_ldouble.
28163 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28164 (fminl): Define using libm_alias_ldouble.
28165
015c6dc2
JM
28166 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28167 to C syntax instead of availability and properties of types.
28168 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28169 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28170 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28171 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28172 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28173 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28174
ce003e5d
FW
281752017-11-17 Florian Weimer <fweimer@redhat.com>
28176
28177 support_become_root: Enable file creation in namespaces.
28178 * support/support_become_root.c (setup_mapping): New function.
28179 (support_become_root): Call it.
28180
e7df6c5c
JM
281812017-11-17 Joseph Myers <joseph@codesourcery.com>
28182
28183 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28184 macro.
28185
58a813bf
AZ
281862017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28187
28188 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28189 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28190
f97773d1
JM
281912017-11-16 Joseph Myers <joseph@codesourcery.com>
28192
6a6aa1f3
JM
28193 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28194
f97773d1
JM
28195 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28196 version to 4.14.
28197
a306c790
SP
281982017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28199
7b0fb870
SP
28200 * INSTALL: Fix botched up regeneration.
28201
28202 * NEWS: Update sourceare link to https.
a306c790
SP
28203 * configure.ac: Likewise.
28204 * crypt/md5test-giant.c: Likewise.
28205 * dlfcn/bug-atexit1.c: Likewise.
28206 * dlfcn/bug-atexit2.c: Likewise.
28207 * localedata/README: Likewise.
28208 * malloc/tst-mallocfork.c: Likewise.
28209 * manual/install.texi: Likewise.
28210 * nptl/tst-pthread-getattr.c: Likewise.
28211 * stdio-common/tst-fgets.c: Likewise.
28212 * stdio-common/tst-fwrite.c: Likewise.
28213 * sunrpc/Makefile: Likewise.
28214 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28215 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
28216 * configure: Regenerate.
28217 * INSTALL: Regenerate.
a306c790 28218
7532837d
MS
282192017-11-15 Martin Sebor <msebor@redhat.com>
28220
28221 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28222 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28223 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28224
495a56fd
LS
282252017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28226
d9611e30
LS
28227 [BZ #22145]
28228 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28229 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28230
a09dfc19
LS
28231 [BZ #22145]
28232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28233 Defer is_pty check until end of the function.
28234 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28235
2fbce9c2
LS
28236 [BZ #22145]
28237 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28238 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28239 (ttyname): Likewise.
28240 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28241 (__ttyname_r): Likewise.
28242
d10d6cab
LS
28243 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28244 int to bool.
28245
9b5a8750
LS
28246 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28247
495a56fd
LS
28248 * manual/terminal.texi (Is It a Terminal):
28249 Mention ENODEV for ttyname and ttyname_r.
28250
fa680dc6
JM
282512017-11-15 Joseph Myers <joseph@codesourcery.com>
28252
78cde19f
JM
28253 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28254 constant and macro.
28255
fa680dc6
JM
28256 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28257 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28258 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28259 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28260 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28261 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28262
ad4f43a2
AZ
282632017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28264
1ba1d8a4
AZ
28265 * signal/sigrelse.c (sigrelse): Optimize implementation.
28266
ad4f43a2
AZ
28267 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28268 (__sigpause): Rely on __sigsuspend to implement single thread
28269 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28270
d0212d42
JM
282712017-11-15 Joseph Myers <joseph@codesourcery.com>
28272
28273 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28274 kernel version to 4.14.
28275
2180fee1
SE
282762017-11-15 Steve Ellcey <sellcey@cavium.com>
28277
28278 [BZ #22442]
28279 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28280 Check if ifname is too long.
28281
cad7ca39
LS
282822017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28283
28284 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28285
58c9f659
MF
282862017-11-15 Mike FABIAN <mfabian@redhat.com>
28287
28288 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28289 was accidentally lost.
28290
0fa87c01
MF
282912017-11-15 Mike FABIAN <mfabian@redhat.com>
28292
28293 * localedata/locales/az_IR: Add standard copyright header.
28294
34eb4157
FW
282952017-11-15 Florian Weimer <fweimer@redhat.com>
28296
28297 [BZ #22439]
28298 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28299 not just the top one. Output a new "subheaps" statistic.
28300
7a9368a1
FW
283012017-11-15 Florian Weimer <fweimer@redhat.com>
28302
28303 [BZ #22408]
28304 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28305 under the per-arena lock.
28306 * malloc/Makefile (tests): Add tst-malloc_info.
28307 (tst-malloc_info): Link with libpthread.
28308 * malloc/tst-malloc_info.c: New file.
28309
be3a79a3
JM
283102017-11-15 Joseph Myers <joseph@codesourcery.com>
28311
28312 [BZ #21660]
28313 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28314 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28315 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28316 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28317 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28318 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28319 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28320 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28327 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28328 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28329 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28330 (__floating_type): Likewise.
28331 (__real_integer_type): Likewise.
28332 (__complex_integer_type): Likewise.
28333 (__expr_is_real): Likewise.
28334 (__tgmath_real_type_sub): Likewise.
28335 (__tgmath_real_type): Likewise.
28336 (__tgmath_complex_type_sub): Likewise.
28337 (__tgmath_complex_type): Likewise.
28338 (__TGMATH_F128): Likewise.
28339 (__TGMATH_CF128): Likewise.
28340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28341 new macros.
28342 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28343 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28344 Likewise.
28345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28346 Likewise.
28347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28349 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28351 Likewise.
28352 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28353 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28354 Likewise.
28355 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28356 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28358 Likewise.
28359 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28360 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28361 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28362 (cimag): Likewise.
28363 (creal): Likewise.
28364
ec72135e
JM
283652017-11-14 Joseph Myers <joseph@codesourcery.com>
28366
2e64ec9c
JM
28367 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28368 for stpncpy calls for GCC 8.
28369 (test_strncat): Disable -Wstringop-truncation warning for strncat
28370 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28371 strncat call for GCC 7.
28372 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28373 calls for GCC 8.
28374 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28375 trailing NUL.
28376
ec72135e
JM
28377 * string/bug-strncat1.c: Include <libc-diag.h>.
28378 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28379
363e4519 283802017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
28381
28382 [BZ #22387]
28383 * localedata/locales/aa_DJ: Improved readibility by replacing
28384 <Uxxxx> sequences in the ASCII printable range by their ASCII
28385 character equivalents.
28386 * localedata/locales/aa_ER: Likewise.
28387 * localedata/locales/aa_ER@saaho: Likewise.
28388 * localedata/locales/aa_ET: Likewise.
28389 * localedata/locales/af_ZA: Likewise.
28390 * localedata/locales/agr_PE: Likewise.
28391 * localedata/locales/ak_GH: Likewise.
28392 * localedata/locales/am_ET: Likewise.
28393 * localedata/locales/anp_IN: Likewise.
28394 * localedata/locales/ar_AE: Likewise.
28395 * localedata/locales/ar_BH: Likewise.
28396 * localedata/locales/ar_DZ: Likewise.
28397 * localedata/locales/ar_EG: Likewise.
28398 * localedata/locales/ar_IN: Likewise.
28399 * localedata/locales/ar_IQ: Likewise.
28400 * localedata/locales/ar_JO: Likewise.
28401 * localedata/locales/ar_KW: Likewise.
28402 * localedata/locales/ar_LB: Likewise.
28403 * localedata/locales/ar_LY: Likewise.
28404 * localedata/locales/ar_MA: Likewise.
28405 * localedata/locales/ar_OM: Likewise.
28406 * localedata/locales/ar_QA: Likewise.
28407 * localedata/locales/ar_SA: Likewise.
28408 * localedata/locales/ar_SD: Likewise.
28409 * localedata/locales/ar_SS: Likewise.
28410 * localedata/locales/ar_SY: Likewise.
28411 * localedata/locales/ar_TN: Likewise.
28412 * localedata/locales/ar_YE: Likewise.
28413 * localedata/locales/as_IN: Likewise.
28414 * localedata/locales/ast_ES: Likewise.
28415 * localedata/locales/ayc_PE: Likewise.
28416 * localedata/locales/az_AZ: Likewise.
28417 * localedata/locales/az_IR: Likewise.
28418 * localedata/locales/be_BY: Likewise.
28419 * localedata/locales/be_BY@latin: Likewise.
28420 * localedata/locales/bem_ZM: Likewise.
28421 * localedata/locales/ber_DZ: Likewise.
28422 * localedata/locales/ber_MA: Likewise.
28423 * localedata/locales/bg_BG: Likewise.
28424 * localedata/locales/bhb_IN: Likewise.
28425 * localedata/locales/bho_IN: Likewise.
28426 * localedata/locales/bi_VU: Likewise.
28427 * localedata/locales/bn_BD: Likewise.
28428 * localedata/locales/bn_IN: Likewise.
28429 * localedata/locales/bo_CN: Likewise.
28430 * localedata/locales/bo_IN: Likewise.
28431 * localedata/locales/br_FR: Likewise.
28432 * localedata/locales/brx_IN: Likewise.
28433 * localedata/locales/bs_BA: Likewise.
28434 * localedata/locales/byn_ER: Likewise.
28435 * localedata/locales/ca_AD: Likewise.
28436 * localedata/locales/ca_ES: Likewise.
28437 * localedata/locales/ca_FR: Likewise.
28438 * localedata/locales/ca_IT: Likewise.
28439 * localedata/locales/ce_RU: Likewise.
28440 * localedata/locales/chr_US: Likewise.
28441 * localedata/locales/cmn_TW: Likewise.
28442 * localedata/locales/crh_UA: Likewise.
28443 * localedata/locales/cs_CZ: Likewise.
28444 * localedata/locales/csb_PL: Likewise.
28445 * localedata/locales/cv_RU: Likewise.
28446 * localedata/locales/cy_GB: Likewise.
28447 * localedata/locales/da_DK: Likewise.
28448 * localedata/locales/de_AT: Likewise.
28449 * localedata/locales/de_BE: Likewise.
28450 * localedata/locales/de_CH: Likewise.
28451 * localedata/locales/de_DE: Likewise.
28452 * localedata/locales/de_IT: Likewise.
28453 * localedata/locales/de_LI: Likewise.
28454 * localedata/locales/de_LU: Likewise.
28455 * localedata/locales/doi_IN: Likewise.
28456 * localedata/locales/dv_MV: Likewise.
28457 * localedata/locales/dz_BT: Likewise.
28458 * localedata/locales/el_CY: Likewise.
28459 * localedata/locales/el_GR: Likewise.
28460 * localedata/locales/en_AG: Likewise.
28461 * localedata/locales/en_AU: Likewise.
28462 * localedata/locales/en_BW: Likewise.
28463 * localedata/locales/en_CA: Likewise.
28464 * localedata/locales/en_DK: Likewise.
28465 * localedata/locales/en_GB: Likewise.
28466 * localedata/locales/en_HK: Likewise.
28467 * localedata/locales/en_IE: Likewise.
28468 * localedata/locales/en_IL: Likewise.
28469 * localedata/locales/en_IN: Likewise.
28470 * localedata/locales/en_NG: Likewise.
28471 * localedata/locales/en_NZ: Likewise.
28472 * localedata/locales/en_PH: Likewise.
28473 * localedata/locales/en_SG: Likewise.
28474 * localedata/locales/en_US: Likewise.
28475 * localedata/locales/en_ZA: Likewise.
28476 * localedata/locales/en_ZM: Likewise.
28477 * localedata/locales/en_ZW: Likewise.
28478 * localedata/locales/eo: Likewise.
28479 * localedata/locales/es_AR: Likewise.
28480 * localedata/locales/es_BO: Likewise.
28481 * localedata/locales/es_CL: Likewise.
28482 * localedata/locales/es_CO: Likewise.
28483 * localedata/locales/es_CR: Likewise.
28484 * localedata/locales/es_CU: Likewise.
28485 * localedata/locales/es_DO: Likewise.
28486 * localedata/locales/es_EC: Likewise.
28487 * localedata/locales/es_ES: Likewise.
28488 * localedata/locales/es_GT: Likewise.
28489 * localedata/locales/es_HN: Likewise.
28490 * localedata/locales/es_MX: Likewise.
28491 * localedata/locales/es_NI: Likewise.
28492 * localedata/locales/es_PA: Likewise.
28493 * localedata/locales/es_PE: Likewise.
28494 * localedata/locales/es_PR: Likewise.
28495 * localedata/locales/es_PY: Likewise.
28496 * localedata/locales/es_SV: Likewise.
28497 * localedata/locales/es_US: Likewise.
28498 * localedata/locales/es_UY: Likewise.
28499 * localedata/locales/es_VE: Likewise.
28500 * localedata/locales/et_EE: Likewise.
28501 * localedata/locales/eu_ES: Likewise.
28502 * localedata/locales/eu_ES@euro: Likewise.
28503 * localedata/locales/fa_IR: Likewise.
28504 * localedata/locales/ff_SN: Likewise.
28505 * localedata/locales/fi_FI: Likewise.
28506 * localedata/locales/fil_PH: Likewise.
28507 * localedata/locales/fo_FO: Likewise.
28508 * localedata/locales/fr_BE: Likewise.
28509 * localedata/locales/fr_CA: Likewise.
28510 * localedata/locales/fr_CH: Likewise.
28511 * localedata/locales/fr_FR: Likewise.
28512 * localedata/locales/fr_LU: Likewise.
28513 * localedata/locales/fur_IT: Likewise.
28514 * localedata/locales/fy_DE: Likewise.
28515 * localedata/locales/fy_NL: Likewise.
28516 * localedata/locales/ga_IE: Likewise.
28517 * localedata/locales/gd_GB: Likewise.
28518 * localedata/locales/gez_ER: Likewise.
28519 * localedata/locales/gez_ET: Likewise.
28520 * localedata/locales/gl_ES: Likewise.
28521 * localedata/locales/gu_IN: Likewise.
28522 * localedata/locales/gv_GB: Likewise.
28523 * localedata/locales/ha_NG: Likewise.
28524 * localedata/locales/hak_TW: Likewise.
28525 * localedata/locales/he_IL: Likewise.
28526 * localedata/locales/hi_IN: Likewise.
28527 * localedata/locales/hif_FJ: Likewise.
28528 * localedata/locales/hne_IN: Likewise.
28529 * localedata/locales/hr_HR: Likewise.
28530 * localedata/locales/hsb_DE: Likewise.
28531 * localedata/locales/ht_HT: Likewise.
28532 * localedata/locales/hu_HU: Likewise.
28533 * localedata/locales/hy_AM: Likewise.
28534 * localedata/locales/i18n: Likewise.
28535 * localedata/locales/ia_FR: Likewise.
28536 * localedata/locales/id_ID: Likewise.
28537 * localedata/locales/ig_NG: Likewise.
28538 * localedata/locales/ik_CA: Likewise.
28539 * localedata/locales/is_IS: Likewise.
28540 * localedata/locales/it_CH: Likewise.
28541 * localedata/locales/it_IT: Likewise.
28542 * localedata/locales/iu_CA: Likewise.
28543 * localedata/locales/ja_JP: Likewise.
28544 * localedata/locales/ka_GE: Likewise.
28545 * localedata/locales/kk_KZ: Likewise.
28546 * localedata/locales/kl_GL: Likewise.
28547 * localedata/locales/kn_IN: Likewise.
28548 * localedata/locales/ko_KR: Likewise.
28549 * localedata/locales/kok_IN: Likewise.
28550 * localedata/locales/ks_IN: Likewise.
28551 * localedata/locales/ks_IN@devanagari: Likewise.
28552 * localedata/locales/ku_TR: Likewise.
28553 * localedata/locales/kw_GB: Likewise.
28554 * localedata/locales/ky_KG: Likewise.
28555 * localedata/locales/lb_LU: Likewise.
28556 * localedata/locales/lg_UG: Likewise.
28557 * localedata/locales/li_BE: Likewise.
28558 * localedata/locales/li_NL: Likewise.
28559 * localedata/locales/lij_IT: Likewise.
28560 * localedata/locales/ln_CD: Likewise.
28561 * localedata/locales/lo_LA: Likewise.
28562 * localedata/locales/lt_LT: Likewise.
28563 * localedata/locales/lv_LV: Likewise.
28564 * localedata/locales/lzh_TW: Likewise.
28565 * localedata/locales/mag_IN: Likewise.
28566 * localedata/locales/mai_IN: Likewise.
28567 * localedata/locales/mg_MG: Likewise.
28568 * localedata/locales/mhr_RU: Likewise.
28569 * localedata/locales/mi_NZ: Likewise.
28570 * localedata/locales/mk_MK: Likewise.
28571 * localedata/locales/ml_IN: Likewise.
28572 * localedata/locales/mn_MN: Likewise.
28573 * localedata/locales/mni_IN: Likewise.
28574 * localedata/locales/mr_IN: Likewise.
28575 * localedata/locales/ms_MY: Likewise.
28576 * localedata/locales/mt_MT: Likewise.
28577 * localedata/locales/my_MM: Likewise.
28578 * localedata/locales/nan_TW: Likewise.
28579 * localedata/locales/nan_TW@latin: Likewise.
28580 * localedata/locales/nb_NO: Likewise.
28581 * localedata/locales/nds_DE: Likewise.
28582 * localedata/locales/nds_NL: Likewise.
28583 * localedata/locales/ne_NP: Likewise.
28584 * localedata/locales/nhn_MX: Likewise.
28585 * localedata/locales/niu_NU: Likewise.
28586 * localedata/locales/niu_NZ: Likewise.
28587 * localedata/locales/nl_AW: Likewise.
28588 * localedata/locales/nl_BE: Likewise.
28589 * localedata/locales/nl_NL: Likewise.
28590 * localedata/locales/nn_NO: Likewise.
28591 * localedata/locales/nr_ZA: Likewise.
28592 * localedata/locales/nso_ZA: Likewise.
28593 * localedata/locales/oc_FR: Likewise.
28594 * localedata/locales/om_ET: Likewise.
28595 * localedata/locales/om_KE: Likewise.
28596 * localedata/locales/or_IN: Likewise.
28597 * localedata/locales/os_RU: Likewise.
28598 * localedata/locales/pa_IN: Likewise.
28599 * localedata/locales/pa_PK: Likewise.
28600 * localedata/locales/pap_AW: Likewise.
28601 * localedata/locales/pap_CW: Likewise.
28602 * localedata/locales/pl_PL: Likewise.
28603 * localedata/locales/ps_AF: Likewise.
28604 * localedata/locales/pt_BR: Likewise.
28605 * localedata/locales/pt_PT: Likewise.
28606 * localedata/locales/quz_PE: Likewise.
28607 * localedata/locales/raj_IN: Likewise.
28608 * localedata/locales/ro_RO: Likewise.
28609 * localedata/locales/ru_RU: Likewise.
28610 * localedata/locales/ru_UA: Likewise.
28611 * localedata/locales/rw_RW: Likewise.
28612 * localedata/locales/sa_IN: Likewise.
28613 * localedata/locales/sat_IN: Likewise.
28614 * localedata/locales/sc_IT: Likewise.
28615 * localedata/locales/sd_IN: Likewise.
28616 * localedata/locales/sd_IN@devanagari: Likewise.
28617 * localedata/locales/se_NO: Likewise.
28618 * localedata/locales/sgs_LT: Likewise.
28619 * localedata/locales/shs_CA: Likewise.
28620 * localedata/locales/si_LK: Likewise.
28621 * localedata/locales/sid_ET: Likewise.
28622 * localedata/locales/sk_SK: Likewise.
28623 * localedata/locales/sl_SI: Likewise.
28624 * localedata/locales/sm_WS: Likewise.
28625 * localedata/locales/so_DJ: Likewise.
28626 * localedata/locales/so_ET: Likewise.
28627 * localedata/locales/so_KE: Likewise.
28628 * localedata/locales/so_SO: Likewise.
28629 * localedata/locales/sq_AL: Likewise.
28630 * localedata/locales/sq_MK: Likewise.
28631 * localedata/locales/sr_ME: Likewise.
28632 * localedata/locales/sr_RS: Likewise.
28633 * localedata/locales/sr_RS@latin: Likewise.
28634 * localedata/locales/ss_ZA: Likewise.
28635 * localedata/locales/st_ZA: Likewise.
28636 * localedata/locales/sv_FI: Likewise.
28637 * localedata/locales/sv_SE: Likewise.
28638 * localedata/locales/sw_KE: Likewise.
28639 * localedata/locales/sw_TZ: Likewise.
28640 * localedata/locales/szl_PL: Likewise.
28641 * localedata/locales/ta_IN: Likewise.
28642 * localedata/locales/ta_LK: Likewise.
28643 * localedata/locales/tcy_IN: Likewise.
28644 * localedata/locales/te_IN: Likewise.
28645 * localedata/locales/tg_TJ: Likewise.
28646 * localedata/locales/th_TH: Likewise.
28647 * localedata/locales/the_NP: Likewise.
28648 * localedata/locales/ti_ER: Likewise.
28649 * localedata/locales/ti_ET: Likewise.
28650 * localedata/locales/tig_ER: Likewise.
28651 * localedata/locales/tk_TM: Likewise.
28652 * localedata/locales/tl_PH: Likewise.
28653 * localedata/locales/tn_ZA: Likewise.
28654 * localedata/locales/to_TO: Likewise.
28655 * localedata/locales/tpi_PG: Likewise.
28656 * localedata/locales/tr_CY: Likewise.
28657 * localedata/locales/tr_TR: Likewise.
28658 * localedata/locales/ts_ZA: Likewise.
28659 * localedata/locales/tt_RU: Likewise.
28660 * localedata/locales/tt_RU@iqtelif: Likewise.
28661 * localedata/locales/ug_CN: Likewise.
28662 * localedata/locales/uk_UA: Likewise.
28663 * localedata/locales/unm_US: Likewise.
28664 * localedata/locales/ur_IN: Likewise.
28665 * localedata/locales/ur_PK: Likewise.
28666 * localedata/locales/uz_UZ: Likewise.
28667 * localedata/locales/uz_UZ@cyrillic: Likewise.
28668 * localedata/locales/ve_ZA: Likewise.
28669 * localedata/locales/vi_VN: Likewise.
28670 * localedata/locales/wa_BE: Likewise.
28671 * localedata/locales/wae_CH: Likewise.
28672 * localedata/locales/wal_ET: Likewise.
28673 * localedata/locales/wo_SN: Likewise.
28674 * localedata/locales/xh_ZA: Likewise.
28675 * localedata/locales/yi_US: Likewise.
28676 * localedata/locales/yo_NG: Likewise.
28677 * localedata/locales/yue_HK: Likewise.
28678 * localedata/locales/yuw_PG: Likewise.
28679 * localedata/locales/zh_CN: Likewise.
28680 * localedata/locales/zh_HK: Likewise.
28681 * localedata/locales/zh_SG: Likewise.
28682 * localedata/locales/zh_TW: Likewise.
28683 * localedata/locales/zu_ZA: Likewise.
28684
cae87e64
FW
286852017-11-13 Florian Weimer <fweimer@redhat.com>
28686
28687 * support/next_to_fault.h, support/next_to_fault.c: New files.
28688 * support/Makefile (libsupport-routines): Add next_to_fault.
28689 * resolv/tst-inet_pton.c (struct next_to_fault)
28690 (next_to_fault_allocate, next_to_fault_free): Remove.
28691 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28692
4a306ef1
L
286932017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28694
28695 * elf/dl-support.c: Include <dl-procruntime.c>.
28696 * include/link.h: Include <link_map.h>.
28697 * sysdeps/generic/dl-procruntime.c: New file.
28698 * sysdeps/generic/link_map.h: Likewise.
28699 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28700 the writable ld.so namespace.
28701
e69897bf
PE
287022017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28703
28704 timezone: pacify GCC -Wstringop-truncation
28705 Problem reported by Martin Sebor in:
28706 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28707 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28708
1ffe1ccb
FW
287092017-11-12 Florian Weimer <fweimer@redhat.com>
28710
eceed671
FW
28711 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28712 tst-xreadlink.
28713 (tests): Add tst-xreadlink.
1ffe1ccb
FW
28714 * support/support.h (xstrndup): Declare.
28715 * support/xunistd.h (xunlink, xreadlink): Declare.
28716 * support/temp_file.h (support_create_temp_directory): Declare.
28717 * support/temp_file.c (support_create_temp_directory): New function.
28718 * support/support_chroot.c (support_chroot_create): Use it.
28719 * support/xreadlink.c: New file.
28720 * support/xstrndup.c: Likewise.
28721 * support/xunlink.c: Likewise.
28722 * support/tst-xreadlink.c: Likewise.
28723
456b40a9
JDA
287242017-11-11 John David Anglin <danglin@gcc.gnu.org>
28725
28726 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28727
c0a25aa9
FW
287282017-11-11 Florian Weimer <fweimer@redhat.com>
28729
28730 [BZ #22409]
28731 [BZ #22412]
28732 * resolv/res_comp.c (printable_string, binary_hnok)
28733 (binary_leading_dash): New functions.
28734 (res_hnok): Reimplement using these functions and ns_name_pton.
28735 (res_ownok): Likewise.
28736 (res_mailok): Reimplement using printable_string, ns_name_pton and
28737 binary_hnok.
28738 (res_dnok): Reimplement using printable_string and ns_name_pton.
28739 * resolv/tst-res_hnok.c (tests): Add additional tests.
28740 (LETTERDIGITS, PRINTABLE): Define.
28741 (do_test): Adjust one_char results.
28742
9e0ad304
FW
287432017-11-11 Florian Weimer <fweimer@redhat.com>
28744
28745 [BZ #22413]
28746 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28747 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28748
e2a9fca8
FW
287492017-11-11 Florian Weimer <fweimer@redhat.com>
28750
28751 * resolv/tst-ns_name_pton.c: New file.
28752 * resolv/Makefile (tests): Add tst-ns_name_pton.
28753 (tst-ns_name_pton): Link against libresolv.
28754
5c1a6923
FW
287552017-11-11 Florian Weimer <fweimer@redhat.com>
28756
28757 * resolv/tst-res_hnok.c: New file.
28758 * resolv/Makefile (tests): Add tst-res_hnok.
28759 (tst-res_hnok): Link against libresolv.
28760
a19c0a1d
FW
287612017-11-11 Florian Weimer <fweimer@redhat.com>
28762
28763 * resolv/tst-resolv-network.c: Use test framework instead explicit
28764 main function.
28765
8cb5295d
L
287662017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28767
28768 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28769 <jmp_buf-macros.h>.
28770 [!_ISOMAC] (STR_HELPER): New.
28771 [!_ISOMAC] (STR): Likewise.
28772 [!_ISOMAC] (TEST_SIZE): Likewise.
28773 [!_ISOMAC] (TEST_ALIGN): Likewise.
28774 [!_ISOMAC] (TEST_OFFSET): Likewise.
28775 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28776 field offsets of jmp_buf as well as sigjmp_buf.
28777 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28778 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28779 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28780 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28781 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28782 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28783 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28784 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28785 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28786 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28787 Likewise.
28788 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28789 Likewise.
28790 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28792 Likewise.
28793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28794 Likewise.
28795 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28796 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28797 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28798 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28799 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28801 Likewise.
28802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28803 Likewise.
28804 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28805 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28806 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28807
58c4a161
JM
288082017-11-07 Joseph Myers <joseph@codesourcery.com>
28809
3683b423
JM
28810 * include/float.h
28811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28812 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28814 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28816 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28818 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28820 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28821 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28822 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28824 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28826 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28828 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28830 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28832 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28834 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28836 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28838 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28840 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28842 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28844 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28846 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28848 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28850 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28852 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28854 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28856 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28858 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28860 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28862 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28864 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28866 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28868 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28870 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28872 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28874 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28876 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28878 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28880 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28882 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28884 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28886 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28888 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28890 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28892 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28894 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28896 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28897 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28898 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28899
58c4a161
JM
28900 * stdlib/tst-strtod.h (F16): New macro.
28901 (F32): Likewise.
28902 (F64): Likewise.
28903 (F32X): Likewise.
28904 (F64X): Likewise.
28905 (F128X): Likewise.
28906 (IF_FLOAT16): Likewise.
28907 (IF_FLOAT32): Likewise.
28908 (IF_FLOAT64): Likewise.
28909 (IF_FLOAT32X): Likewise.
28910 (IF_FLOAT64X): Likewise.
28911 (IF_FLOAT128X): Likewise.
28912 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28913 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28914 (STRTOD_TEST_FOREACH): Likewise.
28915 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28916 (CHOOSE_f64): Likewise.
28917 (CHOOSE_f32x): Likewise.
28918 (CHOOSE_f64x): Likewise.
28919
feda96a1
AS
289202017-11-07 Andreas Schwab <schwab@suse.de>
28921
28922 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28923
1bd0cbb8
MF
289242017-11-07 Mike FABIAN <mfabian@redhat.com>
28925
28926 [BZ #22403]
28927 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28928 to be escaped.
28929 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28930 to be escaped.
28931
363e4519 289322017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
28933
28934 [BZ #22403]
28935 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28936 to be escaped.
28937 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28938 to be escaped.
28939 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28940 to be escaped.
28941
dff91cd4
AZ
289422017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28943
06be6368
AZ
28944 [BZ #22298]
28945 * nptl/allocatestack.c (allocate_stack): Check if
28946 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28947 __PTHREAD_MUTEX_HAVE_PREV is defined.
28948 * nptl/descr.h (pthread): Likewise.
28949 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28950 Likewise.
28951 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28952 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28953 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28954 * sysdeps/nptl/bits/thread-shared-types.h
28955 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28956 defines.
28957 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28958 of __WORDSIZE for internal layout.
28959 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28960 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28961 instead of __WORDSIZE whether to use an union for __spins and __list
28962 fields.
28963 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28964 case.
28965 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28966 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28967 defines.
28968 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28969 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28970 Likewise.
28971 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28972 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28973 Likewise.
28974 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28975 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28976 Likewise.
28977 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28979 Likewise.
28980 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28981 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28982 Likewise.
28983 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28984 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28985 Likewise.
28986 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28987 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28988 Likewise.
28989 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28990 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28991 Likewise.
28992 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28993 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28994 Likewise.
28995 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28996 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28997 Likewise.
28998 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28999 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29000 Likewise.
29001 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
29002 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29003 Likewise.
29004 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
29005 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29006 Likewise.
29007 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
29008 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29009 Likewise.
29010
72b3c6ee
AZ
29011 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
29012 New macros.
29013 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
29014 checks for expected input type size.
29015 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
29016 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29017 Likewise.
29018 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29019 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
29020 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29021 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
29022 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
29023 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
29024 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
29025 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
29026 superflous runtime assert check.
29027 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
29028 Likewise.
29029 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
29030 Likewise.
29031 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
29032 Likewise.
29033 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
29034 Likewise.
29035 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
29036 Likewise.
29037 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
29038 Likewise.
29039 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
29040 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
29041 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
29042 Likewise.
29043 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
29044 Likewise.
29045 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
29046 Likewise.
29047 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
29048 Likewise.
29049 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
29050 Likewise.
29051 * nptl/pthread_attr_setinheritsched.c
29052 (__pthread_attr_setinheritsched): Likewise.
29053 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
29054 Likewise.
29055 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
29056 Likewise.
29057 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
29058 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
29059 __old_pthread_attr_setstack): Likewise.
29060 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
29061 Likewise.
29062 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
29063 Likewise.
29064 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
29065 Likewise.
29066 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
29067 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
29068 Likewise.
29069 * nptl/tst-typesizes.c: Remove file.
29070
dff91cd4
AZ
29071 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
29072 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
29073 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
29074 checks for internal pthread_mutex_t offsets.
29075 * sysdeps/aarch64/nptl/pthread-offsets.h
29076 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
29077 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
29078 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
29079 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
29080 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
29081 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
29082 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
29083 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29084 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29085 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29086 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29087 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29088 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29089 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29090 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29091 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29092 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29093 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29094
b7fc95f8
FW
290952017-11-07 Florian Weimer <fweimer@redhat.com>
29096
29097 * bits/mman-linux.h: Move ...
29098 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29099 comment.
29100 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29101 outdated comment.
29102
6b860364
RS
291032017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29104
29105 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29106 Redefine STRNLEN as __strnlen_power8.
29107
802c1f16
AZ
291082017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29109
d83da3a4
AZ
29110 * signal/sighold.c (sighold): Optimize implementation.
29111
6a4235f1
AZ
29112 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29113 __NR_rt_sigqueueinfo.
29114
8b0e795a
AZ
29115 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29116 __sigtimedwait.
29117 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29118 assume __NR_rt_sigtimedwait.
29119 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29120 and add LIBC_CANCEL_HANDLED for cancellation marking.
29121 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29122
a1a638dd
AZ
29123 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29124 (sysdeps_routines): Add memchr_noneon.
29125 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29126 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29127 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29128 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29129 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29130 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29131 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29132
802c1f16
AZ
29133 * sysdeps/arm/arm-ifunc.h: New file.
29134 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29135 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29136 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29137 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29138 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29139 (__memcpy_neon): Avoid create hidden alias.
29140 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29141 (__memcpy_vfp): Likewise.
29142 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29143 (sysdep_routines): Add memcpy_arm.
29144 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29145
abcb584d
L
291462017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29147
29148 [BZ #22362]
29149 * Makerules (make-link-multidir): New.
29150 * config.make.in (multidir): New.
29151 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29152 * configure: Regenerated.
29153 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29154 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29155 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29156 New target.
29157
4e2dff67
JM
291582017-11-06 Joseph Myers <joseph@codesourcery.com>
29159
29160 [BZ #22402]
29161 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29162 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29163
a1c7cd3c
MF
291642017-11-04 Mike FABIAN <mfabian@redhat.com>
29165
29166 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29167 to be escaped.
29168
b9af29c0
FW
291692017-11-04 Florian Weimer <fweimer@redhat.com>
29170
29171 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29172
4ca70e1a
JM
291732017-11-03 Joseph Myers <joseph@codesourcery.com>
29174
29175 * math/math.h [__HAVE_DISTINCT_FLOAT16
29176 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29177 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29178 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29179 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29180 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29181 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29182 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29183 (__MATH_TG_F32): New macro.
29184 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29185 (__MATH_TG_F64X): Likewise.
29186 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29187 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29188
ba0e6668
DL
291892017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29190
29191 * po/de.po: Update translations.
29192 * po/ru.po: Likewise.
29193
bc18a6d3
FW
291942017-11-03 Florian Weimer <fweimer@redhat.com>
29195
29196 * manual/filesys.texi (Hard Links): Document linkat.
29197
97255170
JM
291982017-11-03 Joseph Myers <joseph@codesourcery.com>
29199
86ec4865
JM
29200 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29201 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29202 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29203 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29204 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29205 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29206 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29207 the same as _Float128.
29208 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29209 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29210 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29211
97255170
JM
29212 * stdlib/stdlib.h
29213 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29214 Declare.
29215 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29216 Likewise.
29217 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29218 Likewise.
29219 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29220 (strtof32x): Likewise.
29221 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29222 (strtof64x): Likewise.
29223 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29224 (strtof128x): Likewise.
29225 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29226 (strfromf16): Likewise.
29227 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29228 (strfromf32): Likewise.
29229 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29230 (strfromf64): Likewise.
29231 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29232 (strfromf32x): Likewise.
29233 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29234 (strfromf64x): Likewise.
29235 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29236 (strfromf128x): Likewise.
29237 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29238 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29239 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29240 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29241 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29242 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29243
6d58ce5e
RH
292442017-11-03 Richard Henderson <rth@twiddle.net>
29245
29246 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29247
659ca267
SN
292482017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29249
29250 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29251
94d2f0af
SN
292522017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29253
29254 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29255 DT_TLSDESC_GOT initialization.
29256 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29257 (_dl_tlsdesc_resolve_hold): Likewise.
29258 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29259 (_dl_tlsdesc_resolve_hold): Likewise.
29260 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29261 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29262
28e1ddf3
SN
292632017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29264
29265 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29266
0ca3d1d6
SN
292672017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29268
29269 [BZ #18572]
29270 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29271 non-lazily for R_ARM_TLS_DESC.
29272
2c1d4e5f
SN
292732017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29274
29275 [BZ #17078]
29276 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29277 R_ARM_TLS_DESC case.
29278 (elf_machine_lazy_rel): Remove the prelink check.
29279
91c5a366
SN
292802017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29281
29282 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29283 DT_TLSDESC_GOT initialization.
29284 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29285 (_dl_tlsdesc_resolve_rela): Likewise.
29286 (_dl_tlsdesc_resolve_hold): Likewise.
29287 (_dl_tlsdesc_undefweak): Remove ldar.
29288 (_dl_tlsdesc_dynamic): Likewise.
29289 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29290 (_dl_tlsdesc_resolve_rela): Likewise.
29291 (_dl_tlsdesc_resolve_hold): Likewise.
29292 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29293 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29294 (_dl_tlsdesc_resolve_rela): Likewise.
29295 (_dl_tlsdesc_resolve_hold): Likewise.
29296
b7cf203b
SN
292972017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29298
29299 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29300 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29301
0cc5b022
SN
293022017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29303
29304 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29305 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29306
43ddff2e
JM
293072017-11-02 Joseph Myers <joseph@codesourcery.com>
29308
29309 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29310 Declare.
29311 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29312 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29313 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29314 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29315 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29316 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29317 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29318 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29319 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29320 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29321 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29322
5baac970
MF
293232017-11-02 Mike FABIAN <mfabian@redhat.com>
29324
29325 [BZ #22382]
29326 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29327 * localedata/locales/tpi_PG: Add standard header.
29328
ef11081f
FW
293292017-11-02 Florian Weimer <fweimer@redhat.com>
29330
29331 test-errno-linux: quotactl can fail with EPERM in containers.
29332 * sysdeps/unix/sysv/linux/test-errno-linux.c
29333 (LIST, LIST_FORWARD): New macros.
29334 (check_error_in_list): New function.
29335 (test_wrp_rv): Accept list of permitted error codes.
29336 (test_wrp_rv2): Remove.
29337 (test_wrp): Call test_wrp_rv with list of error codes.
29338 (test_wrp2): Accept list of error codes.
29339 (do_test): Adjust. Allow EPERM for quotactl.
29340
d10b132b
FW
293412017-11-02 Florian Weimer <fweimer@redhat.com>
29342
29343 * stdio-common/bug16.c (do_test): Use array_length.
29344 * stdio-common/errlist.c (_sys_nerr): Likewise.
29345 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29346 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29347 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29348 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29349 (do_test): Use array_length.
29350 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29351 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29352 * stdio-common/tst-printf-round.c (do_test): Likewise.
29353 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29354 (CHECK): Use array_length.
29355 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29356 * stdio-common/tstscanf.c (main): Likewise.
29357 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29358
c94a5688
FW
293592017-11-02 Florian Weimer <fweimer@redhat.com>
29360
29361 Add array_length and array_end macros.
29362 * include/array_length.h: New file.
29363
2fac6a6c
FW
293642017-11-02 Florian Weimer <fweimer@redhat.com>
29365
29366 [BZ #22332]
29367 * posix/tst-glob-tilde.c (do_noescape): New variable.
29368 (one_test): Process it.
29369 (do_test): Set do_noescape. Add unescaping test case.
29370
2f1b212e
JM
293712017-11-01 Joseph Myers <joseph@codesourcery.com>
29372
260fbd0a
JM
29373 * math/complex.h
29374 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29375 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29376 with appropriate macros defined and undefined.
29377 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29378 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29379 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29380 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29381 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29382 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29383 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29384 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29385 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29386 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29387
2f1b212e
JM
29388 * math/complex.h
29389 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29390 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29391 that for long double. Do not condition define and undefine of
29392 _Mdouble_complex_ on [__CFLOAT128].
29393
95b93c6e
L
293942017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29395
29396 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29397 of <sysdeps/generic/sysdep.h>.
29398 (ALIGNARG): Removed.
29399 (ASM_SIZE_DIRECTIVE): Likewise.
29400 (ENTRY): Likewise.
29401 (END): Likewise.
29402 (ENTRY_CHK): Likewise.
29403 (END_CHK): Likewise.
29404 (syscall_error): Likewise.
29405 (mcount): Likewise.
29406 (PSEUDO_END): Likewise.
29407 (L): Likewise.
29408 (atom_text_section): Likewise.
29409 * sysdeps/x86/sysdep.h: New file.
29410 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29411 of <sysdeps/generic/sysdep.h>.
29412 (ALIGNARG): Removed.
29413 (ASM_SIZE_DIRECTIVE): Likewise.
29414 (ENTRY): Likewise.
29415 (END): Likewise.
29416 (ENTRY_CHK): Likewise.
29417 (END_CHK): Likewise.
29418 (syscall_error): Likewise.
29419 (mcount): Likewise.
29420 (PSEUDO_END): Likewise.
29421 (L): Likewise.
29422 (atom_text_section): Likewise.
29423
ab74d59f 294242017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
1bb36539
RL
29425
29426 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29427 category of LC_CTYPE set to "i18n:2012".
29428 * localedata/locales/i18n_ctype: Regenerate.
29429
067f5d97 294302017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 29431
87bbc4cf
YN
29432 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29433 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29434 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29435 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29436
e8681faa
YN
29437 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29438 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29439 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29440 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29441
540af6e2
JM
294422017-10-31 Joseph Myers <joseph@codesourcery.com>
29443
43e66283
JM
29444 * math/complex.h
29445 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29446 New macro.
29447 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29448 Likewise.
29449 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29450 Likewise.
29451 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29452 (CMPLXF32X): Likewise.
29453 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29454 (CMPLXF64X): Likewise.
29455 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29456 (CMPLXF128X): Likewise.
29457
540af6e2
JM
29458 * math/math.h
29459 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29460 (__MATH_EVAL_FMT2): Define to add 0.0f.
29461
58af72b4
AM
294622017-10-31 Alan Modra <amodra@gmail.com>
29463
29464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29465 include sysdep.h.
29466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29480 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29481 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29482 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29483 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29484 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29489 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29490 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29491 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29492 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29493 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29494 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29495 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29496 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29497 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29498 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29499 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29500 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29501 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29502 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29505 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29506 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29507 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29508 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29509 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29510 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29511 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29513 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29514 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29515 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29516 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29517 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29518 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29519 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29520 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29521 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29525 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29526 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29527 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29528 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29529 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29530 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29531 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29532 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29533 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29534 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29535
29536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29537 include sysdep.h and math_ldbl_opt.h.
29538
29539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29540 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29565
112f30b3
AM
295662017-10-31 Alan Modra <amodra@gmail.com>
29567
29568 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29569 string/strncase_l.c, not string/strncase.c.
29570 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29571 (libc_hidden_def): Redefine.
29572
e9e7eced
AM
295732017-10-31 Alan Modra <amodra@gmail.com>
29574
29575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29576 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29577 (__strcasecmp): Don't define.
29578
f7b465cf
AM
295792017-10-31 Alan Modra <amodra@gmail.com>
29580
29581 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29582 IS_IN (libc).
29583 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29584 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29586
d46b09f9
AM
295872017-10-31 Alan Modra <amodra@gmail.com>
29588
29589 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29590 USE_AS_STPNCPY.
29591
e9b8e194
AM
295922017-10-31 Alan Modra <amodra@gmail.com>
29593
29594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29595 Redefine only when SHARED.
29596
eda162dd
JM
295972017-10-30 Joseph Myers <joseph@codesourcery.com>
29598
b61afe8c
JM
29599 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29600 Include <bits/math-finite.h> with appropriate macros defined and
29601 undefined.
29602 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29603 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29604 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29605 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29606 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29607
eda162dd
JM
29608 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29609 [!_Mlong_double_] (_Mlong_double_): Likewise.
29610 [!_Mfloat16_] (_Mfloat16_): Likewise.
29611 [!_Mfloat32_] (_Mfloat32_): Likewise.
29612 [!_Mfloat64_] (_Mfloat64_): Likewise.
29613 [!_Mfloat128_] (_Mfloat128_): Likewise.
29614 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29615 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29616 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29617 (_Mdouble_): Define without indirection through those macros.
29618 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29619 [!_Mfloat128_] (_Mfloat128_): Likewise.
29620 [_Mlong_double_] (_Mlong_double_): Likewise.
29621 (_Mdouble_): Define without indirection through those macros.
29622 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29623 not add -D_Mlong_double_=double.
29624 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29625 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29626
4ad5106e
L
296272017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29628
29629 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29630
fe326df7
L
296312017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29632
29633 * sysdeps/x86/libc-start.c: Reformat.
29634
c5cc4514
L
296352017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29636
29637 [BZ #22353]
29638 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29639 (1): Renamed to ...
29640 (L(Src0)): This.
29641 (L(Src1)): New.
29642 (L(Src2)): Likewise.
29643 (L(1)): Renamed to ...
29644 (L(Src3)): This.
29645
ce12269f
JM
296462017-10-30 Joseph Myers <joseph@codesourcery.com>
29647
29648 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29649 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29650 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29651 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29652 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29653 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29654 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29655 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29656 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29657 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29658 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29659 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29660 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29661 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29662 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29663 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29664 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29665 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29666 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29667 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29668 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29669 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29670 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29671 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29672 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29673 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29674 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29675 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29676 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29677 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29678 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29679 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29680 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29681 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29682 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29683 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29684 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29685 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29686 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29687 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29688 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29689 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29690 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29691 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29692 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29693 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29694 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29695 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29696 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29697 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29698 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29699 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29700 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29701 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29702 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29703 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29704 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29705 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29706 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29707 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29708 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29709 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29710 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29711 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29712 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29713 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29714
4484b9e2
FW
297152017-10-30 Florian Weimer <fweimer@redhat.com>
29716
29717 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29718 always defined.
29719 * io/tst-mkdirat.c (do_test): Likewise.
29720 * io/tst-mkfifoat.c (do_test): Likewise.
29721 * io/tst-mknodat.c (do_test): Likewise.
29722 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29723 * locale/programs/locale.c (select_dirs): Likewise.
29724 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29725 * posix/bug-glob2.c (my_readdir): Likewise.
29726 * posix/tst-dir.c (main): Likewise.
29727 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29728 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29729
68fe16dd
FW
297302017-10-30 Florian Weimer <fweimer@redhat.com>
29731
29732 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29733 just __USE_GNU.
29734
dadf23f0
FW
297352017-10-30 Florian Weimer <fweimer@redhat.com>
29736
29737 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29738 Convert to support/test-driver.c.
29739 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29740 New macro parameters.
29741 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29742 * posix/tst-gnuglob.c: New file.
29743 * posix/tst-gnuglob64.c: Likewise.
29744 * posix/Makefile (tests): Add tst-gnuglob64.
29745
363e4519 297462017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
29747
29748 [BZ #19485]
29749 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29750 and use a better translation for March in “mon”.
29751 * localedata/locales/csb_PL: Use more ASCII to improve the
29752 readability of the source.
29753
b110af82
MF
297542017-10-30 Mike FABIAN <mfabian@redhat.com>
29755
29756 [BZ #13953]
29757 * localedata/locales/km_KH: Use ASCII as much
29758 as possible for better readability of the source and
29759 remove useless comments.
29760 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29761 was commented out and apparently wrong anyway because it was
29762 using Lao characters. If Buddhist era should be used
29763 for km_KH, a native speaker should write the correct formaat
29764 for Khmer.
29765 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29766 (According to CLDR, the first weekday for Cambodia is Sunday).
29767 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29768 (These were using Lao characters which must be wrong. If we get
29769 the correct data from a native speaker, we could add it back, until
29770 then it is better not to have name_mr and name_mrs at all than
29771 having it wrong).
29772
ab74d59f 297732017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
f301e533
RL
29774
29775 * locale/loadlocale.c: Correct size of
29776 _nl_value_type_LC_<category> arrays.
29777
7e9d7073
JM
297782017-10-27 Joseph Myers <joseph@codesourcery.com>
29779
29780 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29781 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29782 with appropriate macros defined and undefined.
29783 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29784 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29785 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29786 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29787 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29788
63d3b468
L
297892017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29792 "-O2 -march=i586".
29793
a4cc02c7
MF
297942017-10-27 Mike FABIAN <mfabian@redhat.com>
29795
29796 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29797 with lowercase letters to make it agree with CLDR.
29798
1e5971ec
MF
297992017-10-27 Mike FABIAN <mfabian@redhat.com>
29800
29801 [BZ #15260]
29802 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29803 first letters of yesstr and nostr in yesexpr and noexpr,
29804 not for the full words.
29805 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29806 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29807 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29808 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29809 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29810 first letters of yesstr and nostr in yesexpr and noexpr,
29811 until now only English was matched in yesexpr and noexpr.
29812 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29813 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29814 fil but not for tl. As tl and fil are very similar, using fil
29815 is probably better than using English.
29816
363e4519 298172017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
29818
29819 [BZ #21706]
29820 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29821 in yesstr and nostr.
29822
5d220788
JM
298232017-10-26 Joseph Myers <joseph@codesourcery.com>
29824
ecc7da5b
JM
29825 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29826 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29827 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29828 Likewise.
29829 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29830 Likewise.
29831 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29832 Likewise.
29833 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29834 Likewise.
29835 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29836 (SNANF128X): Likewise.
29837
5d220788
JM
29838 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29839 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29840 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29841 (HUGE_VAL_F32): Likewise.
29842 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29843 (HUGE_VAL_F64): Likewise.
29844 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29845 (HUGE_VAL_F32X): Likewise.
29846 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29847 (HUGE_VAL_F64X): Likewise.
29848 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29849 (HUGE_VAL_F128X): Likewise.
29850
363e4519 298512017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
29852
29853 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29854 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29855 for the br_FR locale.
29856
363e4519 298572017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
29858
29859 [BZ #21706]
29860 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29861
337ff3c5
CD
298622017-10-25 Carlos O'Donell <carlos@redhat.com>
29863
02eec681
CD
29864 * locale/programs/record-status.h: Define globals, and function
29865 prototypes. Move function bodies...
29866 * locale/programs/record-status.c: ... to here. New file.
29867 * iconv/Makefile (iconv_prog-modules): Add record-status.
29868 * locale/Makefile (lib-modules): Likewise.
29869 * iconv/iconv_prog.c: Remove verbose.
29870 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29871 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29872 record a warning about ASCII compatibility.
29873 * locale/programs/ld-monetary.c (monetary_finish): If
29874 warn_int_curr_symbol is true then record a warning about the symbol
29875 not being in our ISO 4217 list.
29876 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29877 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29878 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29879 (OPT_NO_WARN): Define.
29880 (OPT_WARN): Define.
29881 (options): Add entry for --no-warnings, and --warnings.
29882 (set_warnings): New function to enable/disable warnings.
29883 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29884 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29885 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29886 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29887 Pass flags to generate_locale.
29888 (generate_locale): Accept new flag argument and pass it to localedef
29889 invocation.
29890 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29891 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29892
56fa555a
CD
29893 * localedata/Makefile (test-input-data): Use full file name.
29894 * localedata/da_DK.in: Rename to...
29895 * localedata/da_DK.ISO-8859-1.in: ...this.
29896 * localedata/de_DE.in: Rename to...
29897 * localedata/de_DE.ISO-8859-1.in: ...this.
29898 * localedata/en_US.in: Rename to...
29899 * localedata/en_US.ISO-8859-1.in: ...this.
29900 * localedata/fr_FR.in: Rename to...
29901 * localedata/fr_FR.UTF-8.in: ... this.
29902 * localedata/hr_HR.in: Rename to...
29903 * localedata/hr_HR.ISO-8859-2.in: ...this.
29904 * localedata/hu_HU.in: Rename to...
29905 * localedata/hu_HU.UTF-8.in: ...this.
29906 * localedata/si_LK.in: Rename to...
29907 * localedata/si_LK.UTF-8.in: ...this.
29908 * localedata/sv_SE.in: Rename to...
29909 * localedata/sv_SE.ISO-8859-1.in: ...this.
29910 * localedata/tr_TR.in: Rename to...
29911 * localedata/tr_TR.UTF-8.in: ...this.
29912 * localedata/uk_UA.in: Rename to...
29913 * localedata/uk_UA.UTF-8.in: ...this.
29914 * localedata/sort-test.sh: Test file is locale name with the
29915 suffix.
29916
337ff3c5
CD
29917 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29918 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29919 file.
29920 * localedata/locales/i18n_ctype: Regenerate.
29921 * localedata/locales/tr_TR: Likewise.
29922 * localedata/locales/translit_circle: Likewise.
29923 * localedata/locales/translit_cjk_compat: Likewise.
29924 * localedata/locales/translit_combining: Likewise.
29925 * localedata/locales/translit_compat: Likewise.
29926 * localedata/locales/translit_font: Likewise.
29927 * localedata/locales/translit_fraction: Likewise.
29928
63da5cd4
RS
299292017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29930
29931 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29932 lxvd2x/stxvd2x with lvx/stvx.
29933 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29934
a122dbfb
L
299352017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29936
29937 * include/alloc_buffer.h: Replace "if if " with "if " in
29938 comments.
29939 * sysdeps/mips/memcpy.S: Likkewise.
29940 * sysdeps/mips/memset.S: Likewise.
29941 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29942 Likewise.
29943 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29944 Likewise.
29945 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29946 Likewise.
29947
9be7530c
MF
299482017-10-25 Mike FABIAN <mfabian@redhat.com>
29949
29950 [BZ #15261]
29951 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29952 yesexpr and noexpr.
29953 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29954 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29955 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29956 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29957 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29958 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29959 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29960
6ccbf6ff
MF
299612017-10-25 Mike FABIAN <mfabian@redhat.com>
29962
29963 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29964 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29965 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29966 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29967 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29968 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29969 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29970 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29971 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29972 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29973 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29974 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29975
58b1a7ea
MF
299762017-10-25 Mike FABIAN <mfabian@redhat.com>
29977
29978 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29979 as possible for better readability of the source.
29980 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29981 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29982 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29983 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29984 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29985 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29986 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29987 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29988 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29989 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29990 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29991 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29992 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29993 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29994 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29995 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29996 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29997 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29998 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29999 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
30000 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
30001 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
30002 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
30003 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
30004 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
30005 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
30006 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
30007 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
30008 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
30009 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
30010 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
30011 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30012 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
30013 * localedata/locales/en_US (LC_MESSAGES): Likewise.
30014 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
30015 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
30016 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
30017 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
30018 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
30019 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
30020 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
30021 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
30022 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
30023 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
30024 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
30025 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
30026 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
30027 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
30028 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
30029 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
30030 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
30031 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
30032 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
30033 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30034 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30035 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
30036 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
30037 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30038 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
30039 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
30040 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
30041 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
30042 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
30043 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
30044 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
30045 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
30046 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
30047 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
30048 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
30049 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
30050 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
30051 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
30052 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
30053 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
30054 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30055 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
30056 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
30057 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
30058 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
30059 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
30060 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
30061 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
30062 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
30063 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30064 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
30065 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
30066 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
30067 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30068 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
30069 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
30070 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
30071 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
30072 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30073 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
30074 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
30075 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30076 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
30077 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30078 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
30079 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
30080 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
30081 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
30082 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
30083 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30084 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30085 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30086 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30087 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30088 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30089 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30090 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30091 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30092 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30093 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30094 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30095 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30096 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30097 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30098 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30099 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30100 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30101 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30102 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30103 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30104 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30105 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30106 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30107 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30108 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30109 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30110 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30111 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30112 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30113 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30114 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30115 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30116 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30117 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30118 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30119 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30120 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30121 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30122 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30123 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30124 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30125 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30126 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30127 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30128 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30129 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30130 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30131 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30132 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30133 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30134 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30135 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30136 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30137 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30138 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30139 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30140 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30141 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30142 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30143 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30144 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30145 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30146 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30147 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30148 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30149 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30150 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30151 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30152 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30153 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30154
17e78edb
MF
301552017-10-25 Mike FABIAN <mfabian@redhat.com>
30156
30157 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30158 (Use first letters of yesstr and nostr correctly instead of using
30159 full words).
30160
74e7284f
MF
301612017-10-25 Mike FABIAN <mfabian@redhat.com>
30162
30163 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30164 (Use first letters of yesstr and nostr correctly).
30165
b41a0ff1
MF
301662017-10-25 Mike FABIAN <mfabian@redhat.com>
30167
30168 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30169 also check for the first characters of yesstr and nostr.
30170 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30171 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30172
d971f380
MF
301732017-10-25 Mike FABIAN <mfabian@redhat.com>
30174
30175 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30176 also check for Chinese characters.
30177
effc9e1d
MF
301782017-10-25 Mike FABIAN <mfabian@redhat.com>
30179
30180 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30181 match also for the contents of yesstr and nostr. As the first letter
30182 of yesstr and nostr is equal, checking only for the first letter
30183 is not enough.
30184
10320881
MF
301852017-10-25 Mike FABIAN <mfabian@redhat.com>
30186
30187 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30188 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30189
d8682a15
MF
301902017-10-25 Mike FABIAN <mfabian@redhat.com>
30191
30192 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30193 of main contributor.
30194
1bfb86ae
MF
301952017-10-25 Mike FABIAN <mfabian@redhat.com>
30196
30197 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30198 instead of using English.
30199
da33d60b
MF
302002017-10-25 Mike FABIAN <mfabian@redhat.com>
30201
30202 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30203 by including the first letters of nostr and yesexpr in the regexp.
30204 Also make it more readable by using ASCII where possible.
30205
725bbb3e
MF
302062017-10-25 Mike FABIAN <mfabian@redhat.com>
30207
30208 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30209 the first letter of nostr in the regexp. It agrees with CLDR now.
30210 Also make it more readable by using ASCII where possible.
30211
fe043d8a
MF
302122017-10-24 Mike FABIAN <mfabian@redhat.com>
30213
30214 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30215 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30216 these strings contain a U+17D6 (which somewhat looks like a colon)
30217 instead of a real colon to separate the full words for “yes”
30218 and “no” from the single letter responses.
30219
360a8df3
MF
302202017-10-24 Mike FABIAN <mfabian@redhat.com>
30221
30222 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30223 it agree with CLDR (include the first letter of yesstr).
30224 Also make it more readable by using ASCII where possible.
30225
bab7b6b0
MF
302262017-10-24 Mike FABIAN <mfabian@redhat.com>
30227
30228 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30229 and improve yesexpr and noexpr. The yesstr and nostr apparently
30230 came from CLDR. And CLDR has a bug there: these strings contain
30231 a U+0903 (which looks like a colon) instead of a real colon
30232 to separate the full words for “yes” and “no” from the single
30233 letter responses.
30234
3e79f758
MF
302352017-10-24 Mike FABIAN <mfabian@redhat.com>
30236
30237 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30238 letters of the full yesstr and nostr in yesexpr and noexpr.
30239
4960c879
MF
302402017-10-24 Mike FABIAN <mfabian@redhat.com>
30241
30242 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30243 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30244 * localedata/locales/an_ES: Make source more readable by using ASCII
30245 where possible.
30246
b06a054f
MF
302472017-10-24 Mike FABIAN <mfabian@redhat.com>
30248
30249 [BZ #20952]
30250 * localedata/locales/yuw_PG: New file.
30251 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30252 * locale/iso-639.def: Add Yau (Uruwa).
30253
905a7725
WD
302542017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30255
30256 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30257
3f6bb8a3
WD
302582017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30259
30260 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30261 (__libc_realloc): Likewise.
30262 (_mid_memalign): Likewise.
30263 (__libc_calloc): Likewise.
30264
1d479c8c
MF
302652017-10-23 Mike FABIAN <mfabian@redhat.com>
30266
30267 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30268 by adding the generic +1 and -0 as in all other locales.
30269 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30270 day names and make it more readable by using ASCII where possible.
30271
91c3985c
JM
302722017-10-24 Joseph Myers <joseph@codesourcery.com>
30273
30274 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30275 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30276
aa95a241
AZ
302772017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30278
30279 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30280 WNOHANG in waitpid call.
30281
db9bab09
SP
302822017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30283
a2e0a7f1
SP
30284 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30285 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30286
db9bab09
SP
30287 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30288 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30289 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30290 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30291 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30292 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30293 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30294 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30295 variables.
30296
5062680c
MC
302972017-10-23 Michael Collison <michael.collison@arm.com>
30298
30299 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30300 with __builtin_sqrt.
30301 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30302 with __builtin_sqrtf.
30303 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30304 with __builtin_ceil.
30305 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30306 with __builtin_ceilf.
30307 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30308 with __builtin_floor.
30309 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30310 with __builtin_floorf.
30311 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30312 with __builtin_fma.
30313 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30314 with __builtin_fmaf.
30315 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30316 with __builtin_fmax.
30317 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30318 with __builtin_fmaxf.
30319 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30320 with __builtin_fmin.
30321 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30322 with __builtin_fminf.
30323 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30324 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30325 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30326 with builtin_rint and conversion to int.
30327 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30328 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30329 with builtin_llround.
30330 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30331 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30332 with builtin_rint and conversion to long int.
30333 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30334 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30335 with builtin_lround.
30336 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30337 with builtin_lroundf.
30338 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30339 statements with __builtin_nearbyint.
30340 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30341 statements with __builtin_nearbyintf.
30342 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30343 with __builtin_rint.
30344 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30345 with __builtin_rintf.
30346 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30347 with __builtin_round.
30348 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30349 with __builtin_roundf.
30350 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30351 with __builtin_trunc.
30352 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30353 with __builtin_truncf.
be080b6c
SN
30354 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30355 and s_l[l]round[f].c too.
5062680c 30356
174935af
AM
303572017-10-23 Alan Modra <amodra@gmail.com>
30358
30359 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30360 Adjust stack after restoring regs. Add missing LR cfi_restore.
30361
750a0e49
AM
303622017-10-23 Alan Modra <amodra@gmail.com>
30363
30364 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30365 Move LR save and frame setup/teardown and LR restore to
30366 immediately around memset call. Provide cfi.
30367
5313581c
L
303682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30369
30370 * sysdeps/i386/fpu/e_powf.S: Removed.
30371 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30372 * sysdeps/i386/fpu/w_powf.c: Likewise.
30373 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30375 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30376 Add e_powf-sse2.
30377 (CFLAGS-e_powf-sse2.c): New.
30378 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30379 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30380
6089a3ee
L
303812017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30382
30383 * sysdeps/i386/fpu/e_log2f.S: Removed.
30384 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30385 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30386 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30387 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30388 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30389 Add e_log2f-sse2.
30390 (CFLAGS-e_log2f-sse2.c): New.
30391 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30392 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30393
80bb5935
L
303942017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30395
30396 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30397 Add e_powf-fma.
30398 (CFLAGS-e_powf-fma.c): New.
30399 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30400 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30401
5c7adbd8
L
304022017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30403
30404 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30405 Add e_log2f-fma.
30406 (CFLAGS-e_log2f-fma.c): New.
30407 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30408 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30409
0ccc7153
L
304102017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30411
30412 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30413 Add e_logf-fma.
30414 (CFLAGS-e_logf-fma.c): New.
30415 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30416 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30417
fe596486
L
304182017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30419
30420 * sysdeps/i386/fpu/e_logf.S: Removed.
30421 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30422 * sysdeps/i386/fpu/w_logf.c: Likewise.
30423 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30424 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30425 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30426 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30427 Add e_logf-sse2.
30428 (CFLAGS-e_logf-sse2.c): New.
30429 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30430 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30431
7eda65f6
L
304322017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30433
30434 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30435 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30436 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30437 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30438 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30439 Add e_exp2f-sse2.
30440 (CFLAGS-e_exp2f-sse2.c): New.
30441 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30442 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30443
5d15c969
L
304442017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30445
30446 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30447 Add e_exp2f-fma.
30448 (CFLAGS-e_exp2f-fma.c): New.
30449 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30450 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30451
b2f6137e
L
304522017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30453
30454 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30455 * sysdeps/i386/fpu/e_expf.S: Likewise.
30456 * sysdeps/i386/fpu/math_errf.c: Likewise.
30457 * sysdeps/i386/fpu/w_expf.c: Likewise.
30458 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30459 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30460 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30461 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30462 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30463 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30464 Remove e_expf-ia32.
30465 (CFLAGS-e_expf-sse2.c): New.
30466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30467 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30468
e1f59beb
L
304692017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30470
30471 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30472 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30473 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30474 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30475 e_expf.c.
30476 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30477 New.
30478 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30479 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30480 Renamed to ...
30481 (__redirect_expf): This.
30482 (SYMBOL_NAME): Changed to expf.
30483 (__ieee754_expf): Renamed to ...
30484 (__expf): This.
30485 (__GI___expf): This.
30486 (__ieee754_expf): Add strong_alias.
30487 (__expf_finite): Likewise.
30488 (__expf): New.
30489 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30490
363e4519 304912017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
30492
30493 [BZ #22332]
30494 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30495 unescaping.
30496
e80fc1fc
FW
304972017-10-21 Florian Weimer <fweimer@redhat.com>
30498
30499 * posix/Makefile (tests): Add tst-glob-tilde.
30500 (tests-special): Add tst-glob-tilde-mem.out
30501 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30502 (tst-glob-tilde-mem.out): Add mtrace check.
30503 * posix/tst-glob-tilde.c: New file.
30504
797ba44b
JM
305052017-10-20 Joseph Myers <joseph@codesourcery.com>
30506
30507 * bits/floatn-common.h: New file.
30508 * math/Makefile (headers): Add bits/floatn-common.h.
30509 * bits/floatn.h: Include <bits/floatn-common.h>.
30510 * sysdeps/ia64/bits/floatn.h: Likewise.
30511 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30512 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30513 * sysdeps/powerpc/bits/floatn.h: Likewise.
30514 * sysdeps/x86/bits/floatn.h: Likewise.
30515
fe05e1cb
AZ
305162017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30517
8f6f5362
AZ
30518 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30519 indicates whether compiler emits an warning for alias for
30520 functions with incompatible types.
30521
fe05e1cb
AZ
30522 [BZ #22273]
30523 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30524 the auxiliary process is terminated by a signal before calling _exit
30525 or execve.
30526
b52b0d79
L
305272017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30528
30529 [BZ #21265]
30530 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30531 New.
30532 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30533 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30534 and bit_arch_XSAVEC_Usable if needed.
30535 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30536 and bit_arch_Use_dl_runtime_resolve_opt.
30537 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30538 Removed.
30539 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30540 (bit_arch_Prefer_No_AVX512): Updated.
30541 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30542 (bit_arch_XSAVEC_Usable): New.
30543 (STATE_SAVE_OFFSET): Likewise.
30544 (STATE_SAVE_MASK): Likewise.
30545 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30546 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30547 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30548 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30549 (index_arch_XSAVEC_Usable): New.
30550 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30551 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30552 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30553 is enabled.
30554 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30555 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30556 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30557 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30558 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30559 _dl_runtime_resolve_xsavec.
30560 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30561 Removed.
30562 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30563 instead of VEC_SIZE.
30564 (REGISTER_SAVE_BND0): Removed.
30565 (REGISTER_SAVE_BND1): Likewise.
30566 (REGISTER_SAVE_BND3): Likewise.
30567 (REGISTER_SAVE_RAX): Always defined to 0.
30568 (VMOV): Removed.
30569 (_dl_runtime_resolve_avx): Likewise.
30570 (_dl_runtime_resolve_avx_slow): Likewise.
30571 (_dl_runtime_resolve_avx_opt): Likewise.
30572 (_dl_runtime_resolve_avx512): Likewise.
30573 (_dl_runtime_resolve_avx512_opt): Likewise.
30574 (_dl_runtime_resolve_sse): Likewise.
30575 (_dl_runtime_resolve_sse_vex): Likewise.
30576 (USE_FXSAVE): New.
30577 (_dl_runtime_resolve_fxsave): Likewise.
30578 (USE_XSAVE): Likewise.
30579 (_dl_runtime_resolve_xsave): Likewise.
30580 (USE_XSAVEC): Likewise.
30581 (_dl_runtime_resolve_xsavec): Likewise.
30582 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30583 Removed.
30584 (_dl_runtime_resolve_avx512_opt): Likewise.
30585 (_dl_runtime_resolve_avx): Likewise.
30586 (_dl_runtime_resolve_avx_opt): Likewise.
30587 (_dl_runtime_resolve_sse): Likewise.
30588 (_dl_runtime_resolve_sse_vex): Likewise.
30589 (_dl_runtime_resolve_fxsave): New.
30590 (_dl_runtime_resolve_xsave): Likewise.
30591 (_dl_runtime_resolve_xsavec): Likewise.
30592
363e4519 305932017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
30594
30595 [BZ #22320]
30596 CVE-2017-15670
30597 * posix/glob.c (__glob): Fix one-byte overflow.
30598
6d43de4b
WD
305992017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30600
30601 * malloc/malloc.c (sysdep-cancel.h): Add include.
30602
a15d53e2
WD
306032017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30604
30605 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30606
b9a558e7
WH
306072017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30608
30609 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30610 (tests): Remove $(objpfx)ga_test depdendency.
30611 * resolv/ga_test.c: Remove file.
30612
b6b08b8e
MF
306132017-10-20 Mike FABIAN <mfabian@redhat.com>
30614
30615 [BZ #18812]
30616 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30617 * localedata/locales/kab_DZ: New file.
30618
9ba7e810
L
306192017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30620
30621 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30622 _dl_relocate_static_pie instead of _dl_start to compute load
30623 address in static PIE.
30624
4027a4fd
L
306252017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30626
30627 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30628
2f9314b4
MF
306292017-10-20 Mike FABIAN <mfabian@redhat.com>
30630
30631 [BZ #13605]
30632 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30633 * localedata/locales/shn_MM: New file.
30634
63b4baa4
FW
306352017-10-20 Florian Weimer <fweimer@redhat.com>
30636
30637 [BZ #22321]
30638 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30639 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30640 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30641 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30642 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30643 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30644
95ccb619
L
306452017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30646
30647 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30648
37bb78cb
JM
306492017-10-19 Joseph Myers <joseph@codesourcery.com>
30650
76f2ed92
JM
30651 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30652
37bb78cb
JM
30653 [BZ #22322]
30654 * sysdeps/mips/bits/long-double.h: Move to ....
30655 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30656
d74e6f6c
WD
306572017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30658
30659 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30660
363e4519 306612017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
30662 H.J. Lu <hongjiu.lu@intel.com>
30663
30664 [BZ #22299]
30665 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30666 GLRO(dl_platform) to NULL.
30667 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30668 (modules-names): Add tst-platformmod-1 and
30669 x86_64/tst-platformmod-2.
30670 (CFLAGS-tst-platform-1.c): New.
30671 (CFLAGS-tst-platformmod-1.c): Likewise.
30672 (CFLAGS-tst-platformmod-2.c): Likewise.
30673 (LDFLAGS-tst-platformmod-2.so): Likewise.
30674 ($(objpfx)tst-platform-1): Likewise.
30675 ($(objpfx)tst-platform-1.out): Likewise.
30676 (tst-platform-1-ENV): Likewise.
30677 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30678 * sysdeps/x86_64/tst-platform-1.c: New file.
30679 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30680 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30681
4b0fa403
MF
306822017-10-19 Mike FABIAN <mfabian@redhat.com>
30683
30684 [BZ #13994]
30685 * locale/iso-639.def: Add Karbi.
30686 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30687 * localedata/locales/mjw_IN: New file.
30688
81325b12
JM
306892017-10-18 Joseph Myers <joseph@codesourcery.com>
30690
30691 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30692 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30693 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30694 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30695 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30696 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30697 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30698 <bits/floatn.h>.
30699 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30700 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30701 * manual/math.texi (Mathematics): Document additional architecture
30702 support for _Float128.
30703 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30704 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30705 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30706 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30707 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30708 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30709 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30711 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30712 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30713 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30714 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30715 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30717 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30718
a68ba2f3
SN
307192017-10-18 Renlin Li <renlin.li@arm.com>
30720
30721 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30722 _DYNAMIC symbol to calculate load address.
30723
346729f6
PC
307242017-10-18 Paul A. Clarke <pc@us.ibm.com>
30725
30726 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30727 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30728 summary bits.
30729 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30730 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30731
508b1e71
MF
307322017-10-18 Mike FABIAN <mfabian@redhat.com>
30733
30734 [BZ #16777]
30735 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30736 and improve readability by using more ASCII.
30737 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30738 and improve readability by using more ASCII.
30739
2c2245b9
WD
307402017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30741
30742 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30743 not all targets support atomics on bool.
30744
13c92696
JM
307452017-10-17 Joseph Myers <joseph@codesourcery.com>
30746
30747 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30748 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30749 __f128.
30750 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30751 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30752 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30753 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30754 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30755 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30756
71d85045
AZ
307572017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30758
30759 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30760 defines.
30761
3381be5c
WD
307622017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30763
30764 [BZ #22159]
30765 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30766 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30767 (do_check_remalloced_chunk): Fix build bug.
30768 (do_check_malloc_state): Add assert that checks arena->top.
30769 (malloc_consolidate): Remove initialization.
30770 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 30771 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 30772
e956075a
WD
307732017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30774
30775 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30776 (have_fastchunks): Remove.
30777 (clear_fastchunks): Remove.
30778 (set_fastchunks): Remove.
30779 (malloc_state): Add have_fastchunks.
30780 (malloc_init_state): Use have_fastchunks.
30781 (do_check_malloc_state): Remove incorrect invariant checks.
30782 (_int_malloc): Use have_fastchunks.
30783 (_int_free): Likewise.
30784 (malloc_consolidate): Likewise.
30785
e4dd4ace
WD
307862017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30787
30788 * malloc/malloc.c (tcache_put): Inline.
30789 (tcache_get): Inline.
30790
5bf58bc7
AJ
307912017-10-17 Jordi Mallach <jordi@gnu.org>
30792
30793 Aurelien Jarno <aurelien@aurel32.net>
30794 [BZ #2522]
30795 * localedata/locales/ca_ES@valencia: New file.
30796 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30797
386e1c26
RN
307982017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30799
30800 [BZ #22296]
30801 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30802 < 6.x
30803
4e17c78e
AZ
308042017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30805
3d265601
AZ
30806 * scripts/build-many-glibcs.py (Context.add_all_configs):
30807 Add arm-linux-gnueabihf multiarch extra_glibcs.
30808
4e17c78e
AZ
30809 * sysdeps/generic/ifunc-init.h: New file.
30810 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30811
56a752ab
MF
308122017-10-17 Mike FABIAN <mfabian@redhat.com>
30813
30814 [BZ #22019]
30815 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30816 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30817 * stdlib/tst-strfmon_l.c: adapt test case.
30818
c38a4bfd
JM
308192017-10-16 Joseph Myers <joseph@codesourcery.com>
30820
30821 * sysdeps/generic/float128-abi.h: New file.
30822 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30823 non-__prefixed symbols to ....
30824 * math/Versions: ... here. Include <float128-abi.h>.
30825 * stdlib/Versions ... and here. Include <float128-abi.h>
30826
76009b26
FW
308272017-10-16 Florian Weimer <fweimer@redhat.com>
30828
30829 * version.h (VERSION): Switch to ".9000" as the development
30830 version suffix.
30831
7ece6cd5
FW
308322017-10-16 Florian Weimer <fweimer@redhat.com>
30833
30834 [BZ #22050]
30835 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30836 compat_symbol_reference to access non-default version.
30837
d8287b36
FW
308382017-10-16 Florian Weimer <fweimer@redhat.com>
30839
30840 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30841
3480ddc4
CD
308422017-10-16 Carlos O'Donell <carlos@redhat.com>
30843
30844 * include/shlib-compat.h (compat_symbol_reference): Update
30845 comment.
30846
02010e79
JM
308472017-10-16 Joseph Myers <joseph@codesourcery.com>
30848
596f7013
JM
30849 * math/Makefile (test-types): Add
30850 $(type-float128-$(float128-alias-fcts)).
30851 * math/test-float128.h (TYPE_STR): Define conditional on
30852 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30853 (ULP_IDX): Likewise.
30854 (ULP_I_IDX): Likewise.
30855
02010e79
JM
30856 * stdlib/strtold.c: Include <bits/floatn.h>
30857 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30858 and later undefine as macro. Define as weak alias if
30859 [!USE_WIDE_CHAR].
30860 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30861 and later undefine as macro. Define as weak alias if
30862 [USE_WIDE_CHAR].
30863 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30864 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30865 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30866 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30867 Define and later undefine as macro. Define as weak alias if
30868 [USE_WIDE_CHAR].
30869 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30870 <bits/floatn.h>.
30871 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30872 Define and later undefine as macro. Define as weak alias if
30873 [!USE_WIDE_CHAR].
30874 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30875 Define and later undefine as macro. Define as weak alias if
30876 [USE_WIDE_CHAR].
30877
ea91c315
CD
308782017-10-15 Carlos O'Donell <carlos@redhat.com>
30879
30880 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30881 record_verbose messages.
30882
8e57c943
L
308832017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30884
30885 [BZ #22052]
30886 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30887 to silence -O3 -Wall warning with GCC 7.
30888
a4777c46
L
308892017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30890
30891 * Makeconfig (+link-static-before-libc): Use the first of
30892 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30893 * gmon/Makefile (tests): Add tst-gmon-static.
30894 (tests-static): Likewise.
30895 (CFLAGS-tst-gmon-static.c): New.
30896 (CRT-tst-gmon-static): Likewise.
30897 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30898 (tst-gmon-static-ENV): Likewise.
30899 (tests-special): Likewise.
30900 ($(objpfx)tst-gmon-static.out): Likewise.
30901 (clean-tst-gmon-static-data): Likewise.
30902 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30903 * gmon/tst-gmon-static-gprof.sh: New file.
30904 * gmon/tst-gmon-static.c: Likewise.
30905
bc3821bb
CD
309062017-10-13 Carlos O'Donell <carlos@redhat.com>
30907
30908 [BZ #22295]
30909 * locale/programs/linereader.c (get_string): Don't warn on
30910 non-symbolic character.
30911
a3e23a2c
CD
30912 [BZ #22294]
30913 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30914 int_curr_symbol.
30915
f16491eb
CD
30916 [BZ #22292]
30917 * locale/programs/record-status.h: New file
30918 * locale/programs/locale.c: Add comment.
30919 * locale/programs/charmap-dir.c: Don't include error.h.
30920 (charmap_opendir): Use record_error.
30921 * locale/programs/charmap.c: Don't include error.h.
30922 (charmap_read): Use record_error, and record_warning.
30923 (parse_charmap): Likewise.
30924 * locale/programs/ld-address.c: Don't include error.h.
30925 (address_finish): Use record_error, and record_warning.
30926 * locale/programs/ld-collate.c: Don't include error.h.
30927 (collate_finish): Use record_error, and record_error_at_line.
30928 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30929 (ctype_class_new): Likewise.
30930 (ctype_map_new): Likewise.
30931 (set_one_default): Likewise.
30932 (set_class_defaults): Likewise.
30933 (translit_flatten): Likewise.
30934 (allocate_arrays): Use record_error, and record_verbose.
30935 * locale/programs/ld-identification.c: Don't include error.h.
30936 (indentation_finish): Use record_error and record_warning.
30937 * locale/programs/ld-measurement.c: Don't include error.h.
30938 (measurement_finish): Use record_error.
30939 * locale/programs/ld-messages.c
30940 (message_finish): Likewise.
30941 * locale/programs/ld-monetary.c
30942 (monetary_finish): Likewise.
30943 * locale/programs/ld-name.c (name_finish): Use record_error
30944 and record_warning.
30945 * locale/programs/ld-numeric.c
30946 (numeric_finish): Use record_error.
30947 * locale/programs/ld-paper.c: Don't include error.h.
30948 (paper_finish): Use record_error.
30949 * locale/programs/ld-telephone.c: Don't include error.h.
30950 (telephone_finish): Use record_error.
30951 * locale/programs/ld-time.c (time_finish): Likewise.
30952 * locale/programs/linereader.h (lr_error): Make inline func.
30953 * locale/programs/localedef.c: Define recorded_warning_count,
30954 and recorded_error_count.
30955 (main): Use record_error. Use recorded_error_count and
30956 recorded_warning_count to issue correct error returns.
30957 (add_to_readlist): Use record_error.
30958 (find_locale): Likewise.
30959 (load_locale): Likewise.
30960 * locale/programs/localedef.h: Remove be_quiet
30961 and WITH_CUR_LOCALE.
30962 * locale/programs/locarchive.c (compare_from_file): Use
30963 record_error.
30964 * locale/programs/locfile.c (write_locale_data): Use
30965 record_error.
30966 * locale/programs/repertoire.c: Dont include error.h.
30967 (repertoire_complain): Use record_error.
30968 * localedata/tst-fmon.sh: Expect failures from localedef.
30969 * localedata/tst-locale.sh: Likewise.
30970 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30971
8dc8be75
CD
30972 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30973 (REPORTS): Likewise.
30974 (check): Likewise.
30975 (i18n): Rename to...
30976 (i18n_ctype): ...this.
30977 (i18n-report): Rename to...
30978 (i18n_ctype-report): ...this.
30979 * localedata/locales/i18n_ctype: Regenerate.
30980 * localedata/locales/i18n: copy i18n_ctype.
30981
f8718a9e
JM
309822017-10-13 Joseph Myers <joseph@codesourcery.com>
30983
18c08b96
JM
30984 * stdlib/strfroml.c: Include <bits/floatn.h>.
30985 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30986 Define before include of <stdlib.h> and undefine afterwards, then
30987 define as weak alias.
30988
f8718a9e
JM
30989 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30990 Undefine and restore default definition. Use
30991 libm_alias_ldouble_other.
30992
e4f530da
PZ
309932017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30994
30995 [BZ #22153]
30996 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30997 in coredumps.
30998
86445888
JC
309992017-10-13 James Clarke <jrtc27@jrtc27.com>
31000
31001 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31002 Assign sym_map to be map for local symbols, as TLS relocations
31003 use sym_map to determine whether the symbol is defined and to
31004 extract the TLS information.
31005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31007
179dcdb7
TMQMF
310082017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31009
e8dbd6a3
TMQMF
31010 [BZ #22189]
31011 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
31012 (math_force_eval): Add powerpc version.
31013
179dcdb7
TMQMF
31014 [BZ #22142]
31015 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
31016 -DBL_MAX.
31017 (do_test): Likewise.
31018 * stdio-common/tst-printf.sh: Likewise.
31019 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
31020 ifdef clause in order to set the carry bit right. Replace r0 by
31021 0 without changing the behavior.
31022
7d25d410
JM
310232017-10-13 Joseph Myers <joseph@codesourcery.com>
31024
006e7664
JM
31025 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
31026 <libm-alias-ldouble.h>.
31027 (fabsl): Define using libm_alias_ldouble.
31028 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
31029 <libm-alias-ldouble.h>.
31030 (fabsl): Define using libm_alias_ldouble.
31031
1def91b3
JM
31032 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
31033 Remove conditional code.
31034
7d25d410
JM
31035 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
31036 Rename to __clog10_internal_l.
31037 (__clog10_internal_l): Define aliases using
31038 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
31039 with __clog10.
31040
077ee129
RS
310412017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31042
31043 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
31044 * benchtests/sincosf-inputs: New file.
31045 * benchtests/cosf-inputs: New file.
31046 * benchtests/sinf-inputs: New file.
31047
5ba41de9
SN
310482017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
31049
31050 * posix/tst-spawn.c (do_test): Wait for both children.
31051
d165ca64
L
310522017-10-12 H.J. Lu <hongjiu.lu@intel.com>
31053
31054 [BZ #22284]
31055 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
31056 tests-pie): Add tst-gmon-pie.
31057 (CFLAGS-tst-gmon-pie.c): New.
31058 (CRT-tst-gmon-pie): Likewise.
31059 (tst-gmon-pie-ENV): Likewise.
31060 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
31061 ($(objpfx)tst-gmon-pie.out): Likewise.
31062 (clean-tst-gmon-pie-data): Likewise.
31063 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
31064 * gmon/gmon.c [PIC]: Include <link.h>.
31065 [PIC] (callback): New function.
31066 (write_hist): Add an argument for load address. Subtract load
31067 address from PCs.
31068 (write_call_graph): Likewise.
31069 (write_gmon): Call __dl_iterate_phdr to get load address, pass
31070 it to write_hist and write_call_graph.
7bacdcfc 31071 * gmon/tst-gmon-pie.c: New file.
d165ca64 31072
bc9620d0
JM
310732017-10-11 Joseph Myers <joseph@codesourcery.com>
31074
31075 * math/Makefile (test-types-basic): New variable.
31076 (test-types): Likewise.
31077 (libm-test-support): Use $(test-types) instead of $(types).
31078 (libm-tests-base-normal): Likewise.
31079 (libm-tests-base-finite): Likewise.
31080 (libm-tests-base-inline): Likewise.
31081 (generated): Likewise.
31082 ($(objpfx)libm-test-support-$(t).c): Likewise.
31083 (libm-tests-for-type iterator): Likewise.
31084 (libm-test-support iterator): Likewise.
31085 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31086 (ulp_idx): Use ULP_IDX.
31087 * math/test-ldouble.h: Include <float.h>.
31088 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31089 (ULP_IDX): New macro.
31090 (ULP_I_IDX): Likewise.
31091 * math/test-double.h (ULP_IDX): Likewise.
31092 (ULP_I_IDX): Likewise.
31093 * math/test-float.h (ULP_IDX): Likewise.
31094 (ULP_I_IDX): Likewise.
31095 * math/test-float128.h (ULP_IDX): Likewise.
31096 (ULP_I_IDX): Likewise.
31097
09c76a74
AZ
310982017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31099
31100 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31101 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31102 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31103 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31104 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31105 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31106 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31109 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31110 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31111 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31112 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31114 (SINGLE_THREAD_BY_GLOBAL): Define.
31115 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31116 Likewise.
31117 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31118 Likewise.
31119 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31120 Likewise.
31121 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31122 Likewise.
31123 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31124 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31126 Likewise.
31127
2faa42da
AS
311282017-10-11 Andreas Schwab <schwab@suse.de>
31129
31130 * nis/Makefile (aux): Remove.
31131 * nscd/Makefile (aux): Add nscd_hash.
31132 (nscd-modules): Likewise.
31133 ($(objpfx)nscd): Don't depend on libnsl.
31134 * nscd/nscd_hash.c: New file.
31135 * nscd/nscd_hash.h: Likewise.
31136 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31137 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31138 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31139 instead of <nis/rpcsvc/nis.h>.
31140 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31141
d8425e11
FW
311422017-10-11 Florian Weimer <fweimer@redhat.com>
31143
31144 [BZ #22078]
31145 Avoid large NSS buffers with many addresses, aliases.
31146 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31147 using dynarrays and struct alloc_buffer.
31148 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31149 (tst-nss-files-hosts-multi): Link with -ldl.
31150 * nss/tst-nss-files-hosts-multi.c: New file.
31151
78e806fd
FW
311522017-10-11 Florian Weimer <fweimer@redhat.com>
31153
31154 [BZ #18023]
31155 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31156 scratch_buffer. Eliminate gotos.
31157
541f19ba
JM
311582017-10-11 Joseph Myers <joseph@codesourcery.com>
31159
0ff64d3a
JM
31160 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31161 libm_alias_ldouble_other.
31162 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31163 undefine and redefine.
31164 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31165 (exp10l): Do not define here.
31166 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31167 (weak_alias): Undefine and redefine.
31168 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31169 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31170 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31171 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31172
541f19ba
JM
31173 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31174 [!__fma] (fma): Define using libm_alias_double.
31175 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31176 [!__fmaf] (fmaf): Define using libm_alias_float.
31177 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31178 (fmal): Define using libm_alias_ldouble.
31179
24b6515d
JM
311802017-10-10 Joseph Myers <joseph@codesourcery.com>
31181
31182 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31183 New macro.
31184 (libm_alias_double_other): Likewise.
31185 (libm_alias_double_r): Use libm_alias_double_other_r.
31186 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31187 New macro.
31188 (libm_alias_float_other): Likewise.
31189 (libm_alias_float_r): Use libm_alias_float_other_r.
31190 * sysdeps/generic/libm-alias-float128.h
31191 (libm_alias_float128_other_r): New macro.
31192 (libm_alias_float128_other): Likewise.
31193 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31194 * sysdeps/generic/libm-alias-ldouble.h
31195 (libm_alias_ldouble_other_r): New macro.
31196 (libm_alias_ldouble_other): Likewise.
31197 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31198 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31199 (libm_alias_double_other_r): New macro.
31200 (libm_alias_double_other): Likewise.
31201 (libm_alias_double_r): Use libm_alias_double_other_r.
31202 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31203 (libm_alias_ldouble_other_r): New macro.
31204 (libm_alias_ldouble_other): Likewise.
31205 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31206 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31207 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31208 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31209 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31210 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31211 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31212 * math/w_exp2f.c: Use libm_alias_float_other.
31213 * math/w_expf.c: Likewise.
31214 * math/w_log2f.c: Likewise.
31215 * math/w_logf.c: Likewise.
31216 * math/w_powf.c: Likewise.
31217 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31218 [!__exp2f]: Use libm_alias_float_other.
31219 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31220 [!__expf]: Use libm_alias_float_other.
31221 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31222 [!__log2f]: Use libm_alias_float_other.
31223 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31224 [!__logf]: Use libm_alias_float_other.
31225 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31226 [!__powf]: Use libm_alias_float_other.
31227
8ed70de2
FW
312282017-10-10 Florian Weimer <fweimer@redhat.com>
31229
31230 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31231 function.
31232 (_nss_files_gethostbyname3_r): Call it.
31233
a8dce619
JM
312342017-10-09 Joseph Myers <joseph@codesourcery.com>
31235
31236 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31237 error. Remove default definition of declare_mgen_alias.
31238 [!declare_mgen_alias_r]: Likewise.
31239 * sysdeps/generic/math-type-macros-double.h
31240 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31241 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31242 (declare_mgen_alias_r): Likewise.
31243 * sysdeps/generic/math-type-macros-float128.h
31244 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31245 * sysdeps/generic/math-type-macros-ldouble.h
31246 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31247 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31248 macro.
31249 (declare_mgen_alias_r_s): Likewise.
31250 (declare_mgen_alias_r): Likewise.
31251 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31252 (lgamma_r): Define using libm_alias_double_r.
31253 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31254 (lgammaf_r): Define using libm_alias_float_r.
31255 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31256 (lgammal_r): Define using libm_alias_ldouble_r.
31257 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31258 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31259
bedac136
AZ
312602017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31261
31262 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31263 extern declaration.
31264
c7509db2
JM
312652017-10-09 Joseph Myers <joseph@codesourcery.com>
31266
31267 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31268
d6c064e9
JW
312692017-10-09 Jonathan Wakely <jwakely@redhat.com>
31270
31271 [BZ #21326]
31272 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31273 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31274 * math/Makefile (test-math-cxx11): New test.
31275 * math/test-math-cxx11.cc: New file.
31276
98e07420
CB
312772017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31278
31279 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31280
645ac9aa
CB
31281 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31282 call to allocate the slave pty file descriptor.
31283
fd3b4e7c
JM
312842017-10-06 Joseph Myers <joseph@codesourcery.com>
31285
f85a176f
JM
31286 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31287 [!__fma] (fma): Define using libm_alias_double.
31288 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31289 [!__fma] (fma): Define using libm_alias_double.
31290
fd3b4e7c
JM
31291 * sysdeps/ieee754/float128/float128_private.h: Include
31292 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31293 (libm_alias_ldouble_r): Undefine and redefine.
31294 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31295 <libm-alias-ldouble.h>.
31296 (asinhl): Define using libm_alias_ldouble.
31297 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31298 <libm-alias-ldouble.h>.
31299 (atanl): Define using libm_alias_ldouble.
31300 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31301 <libm-alias-ldouble.h>.
31302 (cbrtl): Define using libm_alias_ldouble.
31303 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31304 <libm-alias-ldouble.h>.
31305 (ceill): Define using libm_alias_ldouble.
31306 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31307 <libm-alias-ldouble.h>.
31308 (copysignl): Define using libm_alias_ldouble.
31309 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31310 <libm-alias-ldouble.h>.
31311 (cosl): Define using libm_alias_ldouble.
31312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31313 <libm-alias-ldouble.h>.
31314 (erfl): Define using libm_alias_ldouble.
31315 (erfcl): Likewise.
31316 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31317 <libm-alias-ldouble.h>.
31318 (expm1l): Define using libm_alias_ldouble.
31319 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31320 <libm-alias-ldouble.h>.
31321 (fabsl): Define using libm_alias_ldouble.
31322 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31323 <libm-alias-ldouble.h>.
31324 (floorl): Define using libm_alias_ldouble.
31325 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31326 <libm-alias-ldouble.h>.
31327 (fmal): Define using libm_alias_ldouble.
31328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31329 <libm-alias-ldouble.h>.
31330 (frexpl): Define using libm_alias_ldouble.
31331 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31332 libm_alias_ldouble.
31333 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31334 <libm-alias-ldouble.h>.
31335 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31336 libm_alias_ldouble.
31337 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31338 <libm-alias-ldouble.h>.
31339 (getpayloadl): Define using libm_alias_ldouble.
31340 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31341 <libm-alias-ldouble.h>.
31342 (llrintl): Define using libm_alias_ldouble.
31343 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31344 <libm-alias-ldouble.h>.
31345 (llroundl): Define using libm_alias_ldouble.
31346 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31347 <libm-alias-ldouble.h>.
31348 (logbl): Define using libm_alias_ldouble.
31349 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31350 <libm-alias-ldouble.h>.
31351 (lrintl): Define using libm_alias_ldouble.
31352 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31353 <libm-alias-ldouble.h>.
31354 (lroundl): Define using libm_alias_ldouble.
31355 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31356 <libm-alias-ldouble.h>.
31357 (modfl): Define using libm_alias_ldouble.
31358 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31359 <libm-alias-ldouble.h>.
31360 (nearbyintl): Define using libm_alias_ldouble.
31361 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31362 <libm-alias-ldouble.h>.
31363 (nextafterl): Define using libm_alias_ldouble.
31364 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31365 <libm-alias-ldouble.h>.
31366 (nextupl): Define using libm_alias_ldouble.
31367 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31368 <libm-alias-ldouble.h>.
31369 (remquol): Define using libm_alias_ldouble.
31370 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31371 <libm-alias-ldouble.h>.
31372 (rintl): Define using libm_alias_ldouble.
31373 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31374 <libm-alias-ldouble.h>.
31375 (roundevenl): Define using libm_alias_ldouble.
31376 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31377 <libm-alias-ldouble.h>.
31378 (roundl): Define using libm_alias_ldouble.
31379 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31380 using libm_alias_ldouble.
31381 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31382 <libm-alias-ldouble.h>.
31383 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31384 Define using libm_alias_ldouble.
31385 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31386 <libm-alias-ldouble.h>.
31387 (sincosl): Define using libm_alias_ldouble.
31388 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31389 <libm-alias-ldouble.h>.
31390 (sinl): Define using libm_alias_ldouble.
31391 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31392 <libm-alias-ldouble.h>.
31393 (tanhl): Define using libm_alias_ldouble.
31394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31395 <libm-alias-ldouble.h>.
31396 (tanl): Define using libm_alias_ldouble.
31397 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31398 <libm-alias-ldouble.h>.
31399 (totalorderl): Define using libm_alias_ldouble.
31400 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31401 <libm-alias-ldouble.h>.
31402 (totalordermagl): Define using libm_alias_ldouble.
31403 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31404 <libm-alias-ldouble.h>.
31405 (truncl): Define using libm_alias_ldouble.
31406 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31407 libm_alias_ldouble.
31408 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31409 libm_alias_ldouble.
31410 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31411 <libm-alias-ldouble.h>.
31412 (weak_alias): Do not undefine and redefine.
31413 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31414 (copysignl): Define with long_double_symbol only if [IS_IN
31415 (libc)].
31416 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31417 <libm-alias-ldouble.h>.
31418 (weak_alias): Do not undefine and redefine.
31419 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31420 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31421 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31422 <libm-alias-ldouble.h>.
31423 (weak_alias): Do not undefine and redefine.
31424 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31425 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31426 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31427 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31428 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31429 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31430 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31431 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31432 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31433 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31434 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31435 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31436 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31437 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31438 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31439 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31440 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31441 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31443 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31444 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31445 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31446 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31447 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31448 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31449 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31450
1e26d351
CD
314512017-10-06 Carlos O'Donell <carlos@redhat.com>
31452
31453 [BZ #22111]
31454 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31455 (tcache_thread_freeres): Set tcache_shutting_down before
31456 freeing the tcache.
31457 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31458 * malloc/tst-malloc-tcache-leak.c: New file.
31459
d1386762
RS
314602017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31461
31462 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31463 back to powerpc32 file.
31464 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31465 (memrchr): Add __memrchr_power8 to ifunc list.
31466 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31467 extra bytes for unaligned inputs.
31468
6dff1983
JM
314692017-10-06 Joseph Myers <joseph@codesourcery.com>
31470
31471 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31472 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31475 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31476
86f9568a
JM
314772017-10-05 Joseph Myers <joseph@codesourcery.com>
31478
0db0b931
JM
31479 * sysdeps/arm/libm-test-ulps: Update.
31480
86f9568a
JM
31481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31482 <libm-alias-ldouble.h>.
31483 (asinhl): Define using libm_alias_ldouble.
31484 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31485 <libm-alias-ldouble.h>.
31486 (cbrtl): Define using libm_alias_ldouble.
31487 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31488 <libm-alias-ldouble.h>.
31489 (copysignl): Define using libm_alias_ldouble.
31490 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31491 <libm-alias-ldouble.h>.
31492 (cosl): Define using libm_alias_ldouble.
31493 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31494 <libm-alias-ldouble.h>.
31495 (erfl): Define using libm_alias_ldouble.
31496 (erfcl): Likewise.
31497 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31498 <libm-alias-ldouble.h>.
31499 (fmal): Define using libm_alias_ldouble.
31500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31501 <libm-alias-ldouble.h>.
31502 (frexpl): Define using libm_alias_ldouble.
31503 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31504 libm_alias_ldouble.
31505 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31506 <libm-alias-ldouble.h>.
31507 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31508 libm_alias_ldouble.
31509 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31510 <libm-alias-ldouble.h>.
31511 (getpayloadl): Define using libm_alias_ldouble.
31512 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31513 <libm-alias-ldouble.h>.
31514 (llrintl): Define using libm_alias_ldouble.
31515 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31516 <libm-alias-ldouble.h>.
31517 (llroundl): Define using libm_alias_ldouble.
31518 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31519 <libm-alias-ldouble.h>.
31520 (lrintl): Define using libm_alias_ldouble.
31521 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31522 <libm-alias-ldouble.h>.
31523 (lroundl): Define using libm_alias_ldouble.
31524 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31525 <libm-alias-ldouble.h>.
31526 (modfl): Define using libm_alias_ldouble.
31527 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31528 <libm-alias-ldouble.h>.
31529 (nextupl): Define using libm_alias_ldouble.
31530 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31531 <libm-alias-ldouble.h>.
31532 (remquol): Define using libm_alias_ldouble.
31533 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31534 <libm-alias-ldouble.h>.
31535 (roundevenl): Define using libm_alias_ldouble.
31536 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31537 <libm-alias-ldouble.h>.
31538 (roundl): Define using libm_alias_ldouble.
31539 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31540 using libm_alias_ldouble.
31541 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31542 <libm-alias-ldouble.h>.
31543 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31544 <libm-alias-ldouble.h>.
31545 (setpayloadsigl): Define using libm_alias_ldouble.
31546 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31547 <libm-alias-ldouble.h>.
31548 (sincosl): Define using libm_alias_ldouble.
31549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31550 <libm-alias-ldouble.h>.
31551 (sinl): Define using libm_alias_ldouble.
31552 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31553 <libm-alias-ldouble.h>.
31554 (tanhl): Define using libm_alias_ldouble.
31555 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31556 <libm-alias-ldouble.h>.
31557 (tanl): Define using libm_alias_ldouble.
31558 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31559 <libm-alias-ldouble.h>.
31560 (totalorderl): Define using libm_alias_ldouble.
31561 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31562 <libm-alias-ldouble.h>.
31563 (totalordermagl): Define using libm_alias_ldouble.
31564 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31565 libm_alias_ldouble.
31566 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31567 libm_alias_ldouble.
31568
9ec87fd2
SP
315692017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31570
dd5bc7f1
SP
31571 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31572 memmove_falkor.
31573 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31574 (__libc_ifunc_impl_list): Likewise.
31575 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31576 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31577
5bfb0404
SP
31578 * benchtests/bench-memmove-walk.c: New file.
31579 * benchtests/Makefile (string-benchset): Add it.
31580
36bb8edf
SP
31581 * benchtests/bench-memset-walk.c: New file.
31582 * benchtests/Makefile (string-benchset): Add it.
31583
9ec87fd2
SP
31584 * benchtests/bench-memcpy-walk.c: New file.
31585 * benchtests/Makefile (string-benchset): Add it.
31586
1e9522c6
FW
315872017-10-05 Florian Weimer <fweimer@redhat.com>
31588
31589 nscd: Eliminate compilation time dependency in the build output.
31590 * nscd/nscd_stat.c (STATDATA_VERSION)
31591 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31592 (STATDATA_VERSION_FULL): New macro definitions.
31593 (compilation): Remove.
31594 (struct statdata): Adjust version member.
31595 (send_stats): Set version from STATDATA_VERSION_FULL.
31596 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31597
644d3857
JM
315982017-10-05 Joseph Myers <joseph@codesourcery.com>
31599
31600 * configure.ac (--enable-add-ons): Remove option.
31601 (machine): Do not mention add-ons in comment.
31602 (LIBC_PRECONFIGURE): Likewise.
31603 (add_ons): Remove variable and sanity checks and logic to locate
31604 add-ons.
31605 (add_ons_automatic): Remove variable.
31606 (configured_add_ons): Likewise.
31607 (add_ons_sfx): Likewise.
31608 (add_ons_pfx): Likewise.
31609 (add_on_subdirs): Likewise.
31610 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31611 consideration of add-ons in Implies handling.
31612 (sysdeps_add_ons): Likewise.
31613 * configure: Regenerated.
31614 * libidn/configure.ac: Remove.
31615 * libidn/configure: Likewise.
31616 * sysdeps/unix/inet/configure.ac: New file.
31617 * sysdeps/unix/inet/configure: New generated file.
31618 * sysdeps/unix/inet/Subdirs: Add libidn.
31619 * Makeconfig (sysdeps-srcdirs): Remove variable.
31620 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31621 ($(common-objpfx)config.status): Do not depend on add-on files.
31622 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31623 comment.
31624 (all-subdirs): Do not include $(add-on-subdirs).
31625 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31626 * config.make.in (add-ons): Remove variable.
31627 (add-on-subdirs): Likewise.
31628 (sysdeps-add-ons): Likewise.
31629 * manual/Makefile (add-chapters): Remove.
31630 ($(objpfx)texis): Do not depend on $(add-chapters).
31631 (nonexamples): Do not handle $(add-chapters).
31632 (examples): Do not handle $(add-ons).
31633 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31634 libc-texinfo.sh.
31635 * manual/install.texi (Installation): Do not mention add-ons.
31636 (--enable-add-ons): Do not document configure option.
31637 * INSTALL: Regenerated.
31638 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31639 * manual/maint.texi (Hierarchy Conventions): Do not mention
31640 add-ons.
31641 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31642 --enable-add-ons.
31643 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31644 add-ons.
31645 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31646 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31647
19f82f35
AS
316482017-10-05 Andreas Schwab <schwab@suse.de>
31649
31650 [BZ #15142]
31651 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31652 (_IO_flush_all_lockp): Always lock list_all_lock.
31653 (_IO_flush_all_linebuffered): Likewise.
31654 (_IO_unbuffer_all): Likewise.
31655
91e7cf98
FW
316562017-10-05 Florian Weimer <fweimer@redhat.com>
31657
31658 [BZ #15436]
31659 Do not flush stdio streams on abort.
31660 * stdlib/abort.c (fflush): Remove macro definition.
31661 (abort): Remove stages related to stdio flushing.
31662
0c251257
FW
316632017-10-05 Florian Weimer <fweimer@redhat.com>
31664
31665 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31666
7ea59e3e
SL
316672017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31668
31669 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31670
84d0e6f0
FW
316712017-10-05 Florian Weimer <fweimer@redhat.com>
31672
31673 * support/support_format_hostent.c (support_format_hostent): Add
31674 more error information for NETDB_INTERNAL.
31675
ee417882
L
316762017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31677
31678 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31679 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31680 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31681 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31682 AC_DEFINE if multi-arch is enabled.
31683 * sysdeps/i386/configure: Regenerated.
31684
a67029ff
L
316852017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31686
31687 * Makeconfig (+link-static-before-libc): Use
31688 $(DEFAULT-LDFLAGS-$(@F)).
31689 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31690 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31691 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31692
5dba84b3
L
316932017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31694
31695 * elf/Makefile (tests): Add tst-main1.
31696 (modules-names): Add tst-main1mod.
31697 ($(objpfx)tst-main1): New.
31698 (CRT-tst-main1): Likewise.
31699 (LDFLAGS-tst-main1): Likewise.
31700 (LDLIBS-tst-main1): Likewise.
31701 (tst-main1mod.so-no-z-defs): Likewise.
31702 * elf/tst-main1.c: New file.
31703 * elf/tst-main1mod.c: Likewise.
31704
758f1bfa
L
317052017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31706
31707 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31708
7e16a5d1
JM
317092017-10-04 Joseph Myers <joseph@codesourcery.com>
31710
31711 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31712 (fma): Define using libm_alias_double.
31713 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31714 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31715 <math_ldbl_opt.h>.
31716 (fmal): Do not define as compat symbol here.
31717 * sysdeps/alpha/fpu/s_fma.c: New file.
31718
db4f87ba
SN
317192017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31720
31721 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31722
72d13ed1
JM
317232017-10-04 Joseph Myers <joseph@codesourcery.com>
31724
32d372d5
JM
31725 [BZ #22229]
31726 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31727 <math_ldbl_opt.h>
31728 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31729 and libc.
31730 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31731 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31732 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31733 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31735 Include <math_ldbl_opt.h>
31736 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31737 and libc.
31738 (compat_symbol): Undefine and redefine.
31739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31740 <math_ldbl_opt.h>
31741 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31742 (compat_symbol): Undefine and redefine.
31743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31744 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31745 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31746 GLIBC_2_1 for libm.
31747 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31748 GLIBC_2.0 copysignl symbol.
31749 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31750 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31751
72d13ed1
JM
31752 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31753
11c4f501
FW
317542017-10-04 Florian Weimer <fweimer@redhat.com>
31755
31756 * scripts/check-local-headers.sh: Ignore nspr4 header file
31757 directory in addition to nspr.
31758
57b4af19
GT
317592017-10-04 Guido Trentalancia <guido@trentalancia.net>
31760
31761 [BZ #17956]
31762 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31763 * configure: Regenerate.
31764 * crypt/Makefile (nss-cpp-flags): New variable.
31765 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31766 (CPPFLAGS-md5-crypt.c): Use it.
31767 * scripts/check-local-headers.sh: Ignore nspr header file
31768 directory.
31769
64d1e08e
AS
317702017-10-04 Andreas Schwab <schwab@suse.de>
31771
31772 * nis/Makefile (services): Remove compat.
31773 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31774 ($(objpfx)libnss_compat.so): Remove rule.
31775 * nis/Versions (libnss_compat): Remove.
31776 * nss/Makefile (services): Add compat.
31777 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31778 * nss/Versions (libnss_compat): Define.
31779 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31780 Don't include <rpc/types.h>. Replace bool_t by bool.
31781 * nss/nss_compat/compat-initgroups.c: Likewise.
31782 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31783 instead of <rpcsrv/ypclnt.h>.
31784 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31785 yp_get_default_domain.
31786 * nss/nss_compat/compat-pwd.c: Likewise.
31787 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31788 yp_get_default_domain.
31789 * nss/nss_compat/nisdomain.c: New file.
31790 * nss/nss_compat/nisdomain.h: Likewise.
31791
86c27ade
SN
317922017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31793
31794 [BZ #22244]
31795 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31796 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31797
8f8f8ef7
SN
317982017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31799
31800 [BZ #22243]
31801 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31802 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31803
95577475
L
318042017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31805
31806 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31807 "movl main@GOTOFF(%ebx), %eax".
31808
02d2d892
L
318092017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31810
31811 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31812 allow undefined _DYNAMIC in PIE libc.a.
31813 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31814 Likewse.
31815
0c609d19
L
318162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31817
31818 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31819 check _DYNAMIC.
31820
c34a19ed
L
318212017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31822
31823 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31824 check _DYNAMIC.
31825
cdd4155d
L
318262017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31827
31828 * math/test-math-iscanonical.cc (error): Replace bool with int.
31829
4699cb8b
JM
318302017-10-03 Joseph Myers <joseph@codesourcery.com>
31831
d8f619b3
JM
31832 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31833 (modf): Define using libm_alias_double, only if [!__modf].
31834 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31835 <libm-alias-double.h>.
31836 (modf): Define using libm_alias_double, only if [!__modf].
31837 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31838 compat symbol here.
31839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31840 (weak_alias): Do not undefine and redefine.
31841 (strong_alias): Likewise.
31842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31843 (weak_alias): Likewise.
31844 (strong_alias): Likewise.
31845
4699cb8b
JM
31846 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31847 (logb): Define using libm_alias_double, only if [!__logb].
31848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31849 <libm-alias-double.h>.
31850 (logb): Define using libm_alias_double, only if [!__logb].
31851 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31853 (weak_alias): Do not undefine and redefine.
31854 (strong_alias): Likewise.
31855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31856 (weak_alias): Likewise.
31857 (strong_alias): Likewise.
31858
bcc4e4bb
L
318592017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31860
31861 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31862 Check SHARED instead PIC.
31863
39793865
JM
318642017-10-03 Joseph Myers <joseph@codesourcery.com>
31865
7f1cbdf8
JM
31866 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31867 [!__fmaf] (fmaf): Define using libm_alias_float.
31868
39793865
JM
31869 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31870 (frexp): Define using libm_alias_double.
31871 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31872 <libm-alias-double.h>.
31873 (frexp): Define using libm_alias_double.
31874 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31875 compat symbol here.
31876
aa0235df
GG
318772017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31878
31879 [BZ #22235]
31880 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31881 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31882 (CFLAGS-test-math-iscanonical.cc): New variable.
31883 * math/test-math-iscanonical.cc: New file.
31884 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31885 Provide a C++ implementation based on function overloading,
31886 rather than using __MATH_TG, which uses C-only builtins.
31887 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31888 Likewise.
31889 * sysdeps/powerpc/powerpc64le/Makefile
31890 (CFLAGS-test-math-iscanonical.cc): New variable.
31891
a1132b5e
JM
318922017-10-03 Joseph Myers <joseph@codesourcery.com>
31893
31894 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31895 (ceil): Define using libm_alias_double.
31896 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31897 (floor): Define using libm_alias_double.
31898 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31899 <libm-alias-double.h>.
31900 (llround): Define using libm_alias_double.
31901 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31902 <libm-alias-double.h>.
31903 (lround): Define using libm_alias_double.
31904 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31905 <libm-alias-double.h>.
31906 (nearbyint): Define using libm_alias_double.
31907 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31908 <libm-alias-double.h>.
31909 (remquo): Define using libm_alias_double.
31910 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31911 (rint): Define using libm_alias_double.
31912 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31913 (round): Define using libm_alias_double.
31914 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31915 (trunc): Define using libm_alias_double.
31916 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31917 <libm-alias-double.h>.
31918 (ceil): Define using libm_alias_double.
31919 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31920 <libm-alias-double.h>.
31921 (floor): Define using libm_alias_double.
31922 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31923 <libm-alias-double.h>.
31924 (llround): Define using libm_alias_double.
31925 [_LP64] (lround): Likewise.
31926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31927 <libm-alias-double.h>.
31928 [!_LP64] (lround): Define using libm_alias_double.
31929 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31930 <libm-alias-double.h>.
31931 (nearbyint): Define using libm_alias_double.
31932 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31933 <libm-alias-double.h>.
31934 (remquo): Define using libm_alias_double.
31935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31936 <libm-alias-double.h>.
31937 (rint): Define using libm_alias_double.
31938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31939 <libm-alias-double.h>.
31940 (round): Define using libm_alias_double.
31941 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31942 <libm-alias-double.h>.
31943 (trunc): Define using libm_alias_double.
31944 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31945 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31946 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31947 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31948 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31949 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31950 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31951 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31952 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31953
f275f64e
SN
319542017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31955
31956 * math/w_remainder.c: New file.
31957 * math/w_remainderf.c: New file.
31958 * math/w_remainderl.c: New file.
31959
b8818ab5
L
319602017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31961
31962 * elf/rtld.c (BOOTSTRAP_MAP): New.
31963 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31964 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31965 Likewise.
31966 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31967 Likewise.
31968 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31969 Likewise.
31970
3d1870fa
ST
319712017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31972
31973 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31974 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31975 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31976 rtld_hidden_data_ver): Define to empty.
31977 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31978 __assert_perror_fail): Likewise.
31979 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31980 (__rewinddir): Likewise.
31981 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31982 (__profile_frequency): Likewise.
31983 * include/setjmp.h (__sigsetjmp): Likewise.
31984 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31985 __libc_sigaction): Likewise.
31986 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31987 not set hidden attribute.
31988 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31989 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31990 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31991 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31992 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31993 __fxstatat64): Likewise.
31994 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31995 (__uname): Likewise.
31996 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31997 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31998 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31999 (NO_RTLD_HIDDEN): Set.
32000 * sysdeps/mach/hurd/configure: Refresh.
32001 * config.h.in: Refresh.
32002
527cd19c
JM
320032017-10-02 Joseph Myers <joseph@codesourcery.com>
32004
38722448
JM
32005 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
32006 (atan): Define using libm_alias_double.
32007 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
32008 (tan): Define using libm_alias_double.
32009 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
32010 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
32011
527cd19c
JM
32012 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
32013 define as weak alias of __atan. Do not define any aliases if
32014 [__atan].
32015 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
32016 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
32017 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
32018 as weak alias of __tan. Do not define any aliases if [__tan].
32019 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
32020 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
32021 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
32022 __atan.
32023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
32024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
32025 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
32026 and define as weak alias of __atan.
32027 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
32028 __atan.
32029 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
32030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
32031 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
32032 define as weak alias of __tan.
32033
bdc5c592
SN
320342017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32035
32036 * math/w_lgamma.c: New file.
32037 * math/w_lgammaf.c: New file.
32038 * math/w_lgammal.c: New file.
32039
bd4430c2
SN
320402017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32041
32042 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
32043 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
32044 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
32045 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
32046 * sysdeps/ieee754/flt-32/w_logf.c: New file.
32047 * sysdeps/ieee754/flt-32/w_powf.c: New file.
32048 * sysdeps/i386/fpu/w_log2f.c: New file.
32049 * sysdeps/i386/fpu/w_logf.c: New file.
32050 * sysdeps/i386/fpu/w_powf.c: New file.
32051 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
32052 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
32053 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
32054
f7a0b063
SN
320552017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32056 H.J. Lu <hongjiu.lu@intel.com>
32057
32058 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
32059 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
32060 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
32061 * sysdeps/ieee754/flt-32/w_expf.c: New file.
32062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
32063 the new expf code.
32064 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
32065 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
32066 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
32067 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
32068 * sysdeps/i386/fpu/w_exp2f.c: New file.
32069 * sysdeps/i386/fpu/w_expf.c: New file.
32070 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
32071 * sysdeps/x86_64/fpu/w_expf.c: New file.
32072
72d3d281
SN
320732017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32074
32075 * math/Versions (logf): New libm symbol at GLIBC_2.27.
32076 (log2f): Likewise.
32077 (powf): Likewise.
32078 * math/w_log2f.c: New file.
32079 * math/w_logf.c: New file.
32080 * math/w_powf.c: New file.
32081 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
32082 * math/w_logf_compat.c (__logf_compat): Likewise.
32083 * math/w_powf_compat.c (__powf_compat): Likewise.
32084 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32085 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32086 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32088 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32089 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32091 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32092 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32094 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32095 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32096 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32097 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32098 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32100 Likewise.
32101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32102 Likewise.
32103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32104 Likewise.
32105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32106 Likewise.
32107 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32108 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32109 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32110 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32113 Likewise.
32114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32115 Likewise.
32116 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32117 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32118 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32119
59ba2d2b
RS
321202017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32121
32122 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32123 (sysdep_routines): Add memrchr_power8.
32124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32125 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32126 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32127 New file.
32128 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32129 (memrchr): Add __memrchr_power8 to ifunc list.
32130 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32131
397286ea
L
321322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32133
32134 [BZ #18822]
32135 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32136 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32137 libc_hidden_def.
32138 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32139 (__posix_fallocate64_l64): Likewise.
32140
d0a4512b
L
321412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32142
32143 [BZ #18822]
32144 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32145 (__sched_setaffinity_new): Add libc_hidden_proto and
32146 libc_hidden_def.
32147
c0769f70
L
321482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32149
32150 [BZ #18822]
32151 * include/glob.h (__glob64): Add libc_hidden_proto.
32152 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32153 libc_hidden_def.
32154
0e7d5b6e
L
321552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 [BZ #18822]
32158 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32159 attribute_hidden.
32160
bde06c87
L
321612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32162
32163 [BZ #18822]
32164 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32165
fa426590
L
321662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32167
32168 [BZ #18822]
32169 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32170 libc_hidden_def.
32171
2f8a05d8
L
321722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32173
32174 [BZ #18822]
32175 * csu/version.c (__libc_print_version): Add attribute_hidden.
32176
7bfd08ac
L
321772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32178
32179 [BZ #18822]
32180 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32181
0e1fd06c
L
321822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32183
32184 [BZ #18822]
32185 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32186
36e7ae1e
L
321872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32188
32189 [BZ #18822]
32190 * nscd/nscd_helper.c (__nis_hash): New prototype.
32191
87078544
L
321922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32193
32194 [BZ #18822]
32195 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32196 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32197 libc_hidden_def.
32198 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32199 * termios/tcgetattr.c (__tcgetattr): Likewise.
32200
dd3121df
L
322012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32202
32203 [BZ #18822]
32204 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32205 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32206 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32207 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32208 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32209
047d1a81
L
322102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 [BZ #18822]
32213 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32214
fd331b11
L
322152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 [BZ #18822]
32218 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32219 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32220
57f859bd
L
322212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32222
32223 [BZ #18822]
32224 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32225
d1903329
L
322262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32227
32228 [BZ #18822]
32229 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32230 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32231
b4744101
L
322322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32233
32234 [BZ #18822]
32235 * include/ifreq.h: New file.
32236 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32237 (__ifreq): Likewise.
32238 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32239 (__ifreq): Likewise.
32240
43b7dfd1
L
322412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32242
32243 [BZ #18822]
32244 * include/idna.h: New file.
32245 * inet/getnameinfo.c: Include <idna.h> instead of
32246 <libidn/idna.h>.
32247 (__idna_to_unicode_lzlz): Removed.
32248 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32249 <libidn/idna.h>.
32250 (__idna_to_ascii_lz): Removed.
32251 (__idna_to_unicode_lzlz): Likewise.
32252
2c0cd8f8
L
322532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32254
32255 [BZ #18822]
32256 * include/plural-exp.h: New file.
32257 * intl/plural-exp.c: Include <plural-exp.h> instead of
32258 "plural-exp.h".
32259
8369d216
L
322602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32261
32262 [BZ #18822]
32263 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32264 "getsourcefilter.h".
32265 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32266 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32267 "getsourcefilter.h".
32268 (__get_sol): Removed.
32269
a0aef783
L
322702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32271
32272 [BZ #18822]
32273 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32274 to ...
32275 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32276
3ee8209b
L
322772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32278
32279 [BZ #18822]
32280 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32281 attribute_hidden.
32282
6036fc38
L
322832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32284
32285 [BZ #18822]
32286 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32287
fe84fed0
L
322882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32289
32290 [BZ #18822]
32291 * include/search.h (__tdestroy): Add libc_hidden_proto.
32292 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32293
048dd681
L
322942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32295
32296 [BZ #18822]
32297 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32298
6e342af6
L
322992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32300
32301 [BZ #18822]
32302 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32303 attribute_hidden.
32304
6a088436
L
323052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32306
32307 [BZ #18822]
32308 * include/signal.h (__kill): Add libc_hidden_proto.
32309 (__sigblock): Likewise.
32310 (__sigprocmask): Likewise.
32311 (__sigaltstack): Likewise.
32312 * signal/kill.c (__kill): Add libc_hidden_def.
32313 * signal/sigblock.c (__sigblock): Likewise.
32314 * signal/sigprocmask.c (__sigprocmask): Likewise.
32315 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32316 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32317 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32318 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32319 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32320 Likewise.
32321 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32322 Likewise.
32323 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32324 (__sigprocmask): Likewise.
32325 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32326 Likewise.
32327 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32328 (__sigprocmask): Likewise.
32329 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32330 Likewise.
32331
78cf1d74
L
323322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32333
32334 [BZ #18822]
32335 * include/string.h (__strsep): Add libc_hidden_proto.
32336 * string/strsep.c (__strsep): Add libc_hidden_def.
32337
85b35894
L
323382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32339
32340 [BZ #18822]
32341 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32342 attribute_hidden.
32343 (__spawni): Likewise.
32344
225f7eec
L
323452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32346
32347 [BZ #18822]
32348 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32349 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32350 libc_hidden_def.
32351
372fe247
L
323522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32353
32354 [BZ #18822]
32355 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32356
9e5ee8b8
L
323572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32358
32359 [BZ #18822]
32360 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32361 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32362 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32363 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32364 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32365 Likewise.
32366 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32367 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32368
2ff16592
L
323692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 [BZ #18822]
32372 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32373 (__dcigettext): Likewise.
32374
b5648377
L
323752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32376
32377 [BZ #18822]
32378 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32379 libc_hidden_proto.
32380 (__get_nprocs): Likewise.
32381 (__get_phys_pages): Likewise.
32382 (__get_avphys_pages): Likewise.
32383 (__get_child_max): Add attribute_hidden.
32384 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32385 (__get_nprocs): Likewise.
32386 (__get_phys_pages): Likewise.
32387 (__get_avphys_pages): Likewise.
32388 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32389 libc_hidden_def.
32390 (__get_nprocs): Likewise.
32391 (__get_phys_pages): Likewise.
32392 (__get_avphys_pages): Likewise.
32393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32394 libc_hidden_def.
32395 (__get_nprocs_conf): Likewise.
32396 (__get_phys_pages): Likewise.
32397 (__get_avphys_pages): Likewise.
32398
0389a6aa
L
323992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32400
32401 [BZ #18822]
32402 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32403 attribute_hidden.
32404 (__netlink_close): Likewise.
32405 (__netlink_free_handle): Likewise.
32406 (__netlink_request): Likewise.
32407
d48354d8
L
324082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32409
32410 [BZ #18822]
32411 * include/rpc/rpc.h (__rpc_thread_variables): Add
32412 attribute_hidden.
32413 (__rpc_thread_svc_cleanup): Likewise.
32414 (__rpc_thread_clnt_cleanup): Likewise.
32415 (__rpc_thread_key_cleanup): Likewise.
32416
d6daff12
L
324172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32418
32419 [BZ #18822]
32420 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32421 (__writev): Likewise.
32422 * misc/readv.c (__readv): Add libc_hidden_def.
32423 * misc/writev.c (__writev): Likewise.
32424 * sysdeps/posix/readv.c (__readv): Likewise.
32425 * sysdeps/posix/writev.c (__writev): Likewise.
32426 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32427 (__readv): Likewise.
32428 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32429 (__writev): Likewise.
32430
b68f8620
L
324312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32432
32433 [BZ #18822]
32434 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32435 (__regcomp): Add libc_hidden_proto.
32436 (__regexec): Likewise.
32437 (__regfree): Likewise.
32438 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32439 (__regfree): Likewise.
32440 * posix/regexec.c (__regexec): Likewise.
32441
59c04e67
L
324422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32443
32444 [BZ #18822]
32445 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32446 (__getutent): Likewise.
32447 (__getutid): Likewise.
32448 (__getutline): Likewise.
32449 (__pututline): Likewise.
32450 (__getutent_r): Likewise.
32451 (__getutid_r): Likewise.
32452 (__getutline_r): Likewise.
32453 (__utmpname): Add attribute_hidden.
32454 (__setutent): Likewise.
32455 (__endutent): Likewise.
32456 * login/getutent.c (__getutent): Add libc_hidden_def.
32457 * login/getutent_r.c (__getutent_r): Likewise.
32458 (__pututline): Likewise.
32459 * login/getutid.c (__getutid): Likewise.
32460 * login/getutid_r.c (__getutid_r): Likewise.
32461 * login/getutline.c (__getutline): Likewise.
32462 * login/getutline_r.c (__getutline_r): Likewise.
32463 * login/updwtmp.c (__updwtmp): Likewise.
32464
4587a421
L
324652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32466
32467 [BZ #18822]
32468 * include/dirent.h (__opendir): Always add attribute_hidden.
32469 (__fdopendir): Likewise.
32470 (__closedir): Likewise.
32471 (__readdir): Likewise.
32472 (__readdir64): Add libc_hidden_proto.
32473 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32474 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32475 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32476 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32477 New alias.
32478
9635ce69
L
324792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32480
32481 [BZ #18822]
32482 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32483 * include/netdb.h (__gethostbyaddr_r): Likewise.
32484 (__gethostbyname_r): Likewise.
32485 (__gethostbyname2_r): Likewise.
32486 (__getnetbyaddr_r): Likewise.
32487 (__getnetbyname_r): Likewise.
32488 (__getservbyname_r): Likewise.
32489 (__getservbyport_r): Likewise.
32490 (__getprotobyname_r): Likewise.
32491 (__getprotobynumber_r): Likewise.
32492 (__getnetgrent_r): Likewise.
32493 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32494 (__getrpcbynumber_r): Likewise.
32495 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32496
2e0a6909
L
324972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32498
32499 [BZ #18822]
32500 * include/stdio.h (__fcloseall): Add attribute_hidden.
32501 (__getline): Likewise.
32502 (__path_search): Likewise.
32503 (__gen_tempname): Likewise.
32504 (__libc_message): Likewise.
32505 (__flockfile): Likewise.
32506 (__funlockfile): Likewise.
32507 (__fxprintf): Likewise.
32508 (__fxprintf_nocancel): Likewise.
32509
94fd682c
L
325102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32511
32512 [BZ #18822]
32513 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32514 (__sgetsgent_r): Likewise.
32515
e1b33bba
L
325162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32517
32518 [BZ #18822]
32519 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32520 (__statfs64): Likewise.
32521 (__fstatfs64): Likewise.
32522 * include/sys/statvfs.h (__statvfs64): Likewise.
32523 (__fstatvfs64): Likewise.
32524 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32525 (__statfs_filesize_max): Likewise.
32526 (__statfs_symlinks): Likewise.
32527 (__statfs_chown_restricted): Likewise.
32528
b0f56784
L
325292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32530
32531 [BZ #18822]
32532 * include/time.h (__tzstring): Add attribute_hidden.
32533 (__tzfile_read): Likewise.
32534 (__tzfile_compute): Likewise.
32535 (__tzfile_default): Likewise.
32536 (__tzset_parse_tz): Likewise.
32537 (__offtime): Likewise.
32538 (__asctime_r): Likewise.
32539 (__tzset): Likewise.
32540 (__tz_convert): Likewise.
32541 (__getdate_r): Likewise.
32542 (__getclktck): Likewise.
32543
a4338d99
L
325442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32545
32546 [BZ #18822]
32547 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32548 (__nscd_unmap): Likewise.
32549 (__nscd_cache_search): Likewise.
32550 (__nscd_get_nl_timestamp): Likewise.
32551 (__nscd_getpwnam_r): Likewise.
32552 (__nscd_getpwuid_r): Likewise.
32553 (__nscd_getgrnam_r): Likewise.
32554 (__nscd_getgrgid_r): Likewise.
32555 (__nscd_gethostbyname_r): Likewise.
32556 (__nscd_gethostbyname2_r): Likewise.
32557 (__nscd_gethostbyaddr_r): Likewise.
32558 (__nscd_getai): Likewise.
32559 (__nscd_getgrouplist): Likewise.
32560 (__nscd_getservbyname_r): Likewise.
32561 (__nscd_getservbyport_r): Likewise.
32562 (__nscd_innetgr): Likewise.
32563 (__nscd_setnetgrent): Likewise.
32564
a2ca1652
L
325652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32566
32567 [BZ #18822]
32568 * include/gmp.h: Declare internal functions only if _ISOMAC is
32569 undefined.
32570 (__mpn_extract_double): Add attribute_hidden.
32571 (__mpn_extract_long_double): Likewise.
32572 (__mpn_extract_float128): Likewise.
32573 (__mpn_construct_float): Likewise.
32574 (__mpn_construct_double): Likewise.
32575 (__mpn_construct_long_double): Likewise.
32576 (__mpn_construct_float128): Likewise.
32577 (mpn_add_1): Likewise.
32578 (mpn_addmul_1): Likewise.
32579 (mpn_add_n): Likewise.
32580 (mpn_cmp): Likewise.
32581 (mpn_divrem): Likewise.
32582 (mpn_lshift): Likewise.
32583 (mpn_mul): Likewise.
32584 (mpn_mul_1): Likewise.
32585 (mpn_rshift): Likewise.
32586 (mpn_sub_1): Likewise.
32587 (mpn_submul_1): Likewise.
32588 (mpn_sub_n): Likewise.
32589
44af8a32
L
325902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32591
32592 [BZ #18822]
32593 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32594 (__wcscat): Likewise.
32595 (__btowc): Likewise.
32596 (__wcrtomb): Likewise.
32597 (__mbsrtowcs): Likewise.
32598 (__wcsrtombs): Likewise.
32599 (__mbsnrtowcs): Likewise.
32600 (__wcsnrtombs): Likewise.
32601 (__wcsncpy): Likewise.
32602 (__wcpncpy): Likewise.
32603 (__wmemcpy): Likewise.
32604 (__wmempcpy): Likewise.
32605 (__wmemmove): Likewise.
32606 (__wcschrnul): Likewise.
32607 (__vfwscanf): Likewise.
32608 (__vswprintf): Likewise.
32609 (__fwprintf): Likewise.
32610 (__vfwprintf): Likewise.
32611
783cd767
L
326122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32613
32614 [BZ #18822]
32615 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32616 (__getgrgid_r): Likewise.
32617 (__getgrnam_r): Likewise.
32618 * include/pwd.h (__getpwuid_r): Likewise.
32619 (__getpwnam_r): Likewise.
32620 (__fgetpwent_r): Likewise.
32621 * include/shadow.h (__getspnam_r): Likewise.
32622 (__sgetspent_r): Likewise.
32623 (__fgetspent_r): Likewise.
32624
7ec4b39a
L
326252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 [BZ #18822]
32628 * include/unistd.h (__access): Add attribute_hidden.
32629 (__lseek64): Likewise.
32630 (__libc_pread64): Likewise.
32631 (__pipe2): Likewise.
32632 (__sleep): Likewise.
32633 (__chdir): Likewise.
32634 (__fchdir): Likewise.
32635 (__getcwd): Likewise.
32636 (__rmdir): Likewise.
32637 (__execvpe): Likewise.
32638 (__execve): Likewise.
32639 (__setsid): Likewise.
32640 (__getuid): Likewise.
32641 (__geteuid): Likewise.
32642 (__getgid): Likewise.
32643 (__getegid): Likewise.
32644 (__getgroups): Likewise.
32645 (__group_member): Likewise.
32646 (__ttyname_r): Likewise.
32647 (__isatty): Likewise.
32648 (__readlink): Likewise.
32649 (__unlink): Likewise.
32650 (__gethostname): Likewise.
32651 (__profil): Likewise.
32652 (__getdtablesize): Likewise.
32653 (__brk): Likewise.
32654 (__ftruncate): Likewise.
32655 (__ftruncate64): Likewise.
32656
8345a760
L
326572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32658
32659 [BZ #18822]
32660 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32661 * argp/argp-fs-xinl.c: Likewise.
32662 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32663 * argp/argp-parse.c: Include <argp.h>.
32664 * argp/argp-xinl.c: Likewise.
32665 * include/argp-fmtstream.h: New file.
32666 * include/argp.h (__argp_error): Add attribute_hidden.
32667 (__argp_failure): Likewise.
32668 (__argp_input): Likewise.
32669 (__argp_state_help): Likewise.
32670
c26dd7c6
L
326712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32672
32673 [BZ #18822]
32674 * include/wchar.h (____wcstof_l_internal): New prototype.
32675 (____wcstod_l_internal): Likewise.
32676 (____wcstold_l_internal): Likewise.
32677 (____wcstol_l_internal): Likewise.
32678 (____wcstoul_l_internal): Likewise.
32679 (____wcstoll_l_internal): Likewise.
32680 (____wcstoull_l_internal): Likewise.
32681 (____wcstof128_l_internal): Likewise.
32682 * sysdeps/ieee754/float128/wcstof128.c
32683 (____wcstof128_l_internal): Removed.
32684 * sysdeps/ieee754/float128/wcstof128_l.c
32685 (____wcstof128_l_internal): Likewise.
32686 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32687 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32688 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32689 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32690 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32691 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32692 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32693 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32694 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32695 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32696
3aff5644
L
326972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32698
32699 [BZ #18822]
32700 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32701 instead of <sys/statvfs.h>.
32702 (__internal_statvfs): Removed.
32703 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32704 instead of <sys/statvfs.h>.
32705 (__internal_statvfs64): Removed.
32706 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32707 "internal_statvfs.h" instead of <sys/statvfs.h>.
32708 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32709 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32710 instead of <sys/statvfs.h>.
32711 (__internal_statvfs): Removed.
32712 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32713 instead of <sys/statvfs.h>.
32714 (__internal_statvfs64): Removed.
32715
8bcdb7e0
L
327162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32717
32718 [BZ #18822]
32719 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32720 (__gconv_close): Likewise.
32721 (__gconv): Likewise.
32722 (__gconv_find_transform): Likewise.
32723 (__gconv_lookup_cache): Likewise.
32724 (__gconv_compare_alias_cache): Likewise.
32725 (__gconv_load_cache): Likewise.
32726 (__gconv_get_path): Likewise.
32727 (__gconv_close_transform): Likewise.
32728 (__gconv_release_cache): Likewise.
32729 (__gconv_find_shlib): Likewise.
32730 (__gconv_release_shlib): Likewise.
32731 (__gconv_get_builtin_trans): Likewise.
32732 (__gconv_compare_alias): Likewise.
32733 * include/dlfcn.h (_dlerror_run): Likewise.
32734 * include/stdio.h (__fortify_fail_abort): Likewise.
32735 * include/time.h (__tz_compute): Likewise.
32736 (__strptime_internal): Likewise.
32737 * intl/gettextP.h (_nl_find_domain): Likewise.
32738 (_nl_load_domain): Likewise.
32739 (_nl_find_msg): Likewise.
32740 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32741 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32742 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32743 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32744 (__gai_find_request): Likewise.
32745 (__gai_remove_request): Likewise.
32746 (__gai_notify): Likewise.
32747 (__gai_notify_only): Likewise.
32748 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32749 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32750 (_dl_non_dynamic_init): Likewise.
32751 (_dl_aux_init): Likewise.
32752 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32753 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32754 Likewise.
32755 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32756 (__wcsmbs_clone_conv): Likewise.
32757 (__wcsmbs_named_conv): Likewise.
32758
8ed3b643
L
327592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32760
32761 [BZ #18822]
32762 * include/stdlib.h (__random): Add attribute_hidden.
32763 (__random_r): Likewise.
32764 (__srandom_r): Likewise.
32765 (__initstate_r): Likewise.
32766 (__setstate_r): Likewise.
32767 (__erand48_r): Likewise.
32768 (__nrand48_r): Likewise.
32769 (__jrand48_r): Likewise.
32770 (__srand48_r): Likewise.
32771 (__seed48_r): Likewise.
32772 (__lcong48_r): Likewise.
32773 (__drand48_iterate): Likewise.
32774 (__setenv): Likewise.
32775 (__unsetenv): Likewise.
32776 (__clearenv): Likewise.
32777 (__ptsname_r): Likewise.
32778 (__posix_openpt): Likewise.
32779 (__add_to_environ): Likewise.
32780 (__realpath): Add libc_hidden_proto.
32781 (__ecvt_r): Likewise.
32782 (__fcvt_r): Likewise.
32783 (__qecvt_r): Likewise.
32784 (__qfcvt_r): Likewise.
32785 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32786 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32787
ef9b6f73
L
327882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 [BZ #18822]
32791 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32792 * include/time.h (__mktime_internal): Likewise.
32793 * libio/iolibio.h (__fopen_internal): Likewise.
32794
8da92e72
JDA
327952017-10-01 John David Anglin <danglin@gcc.gnu.org>
32796
32797 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32798 pointer in frame.
32799 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32800 Correct offset used to restore PIC register.
32801
388784cf
JDA
328022017-09-30 John David Anglin <danglin@gcc.gnu.org>
32803
32804 [BZ libc/22165]
32805 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32806 code to load address of __getcontext_ret when generating PIC code.
32807
2000067a
L
328082017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32809
32810 * elf/Makefile (tests-static-internal): Add
32811 tst-tls1-static-non-pie.
32812 (LDFLAGS-tst-tls1-static-non-pie): New.
32813 * elf/tst-tls1-static-non-pie.c: New file.
32814
1e2bffd0
JM
328152017-09-29 Joseph Myers <joseph@codesourcery.com>
32816
32817 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32818 (asinh): Define using libm_alias_double.
32819 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32820 (cbrt): Define using libm_alias_double.
32821 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32822 <libm-alias-double.h>.
32823 (copysign): Define using libm_alias_double.
32824 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32825 (erf): Define using libm_alias_double.
32826 (erfc): Likewise.
32827 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32828 (expm1): Define using libm_alias_double.
32829 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32830 (fabs): Define using libm_alias_double.
32831 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32832 libm_alias_double.
32833 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32834 <libm-alias-double.h>.
32835 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32836 libm_alias_double.
32837 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32838 <libm-alias-double.h>.
32839 (getpayload): Define using libm_alias_double.
32840 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32841 <libm-alias-double.h>.
32842 (llrint): Define using libm_alias_double.
32843 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32844 (lrint): Define using libm_alias_double.
32845 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32846 <libm-alias-double.h>.
32847 (nextup): Define using libm_alias_double.
32848 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32849 <libm-alias-double.h>.
32850 (roundeven): Define using libm_alias_double.
32851 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32852 libm_alias_double.
32853 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32854 <libm-alias-double.h>.
32855 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32856 using libm_alias_double.
32857 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32858 (cos): Define using libm_alias_double.
32859 (sin): Likewise.
32860 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32861 <libm-alias-double.h>.
32862 (sincos): Define using libm_alias_double.
32863 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32864 (tanh): Define using libm_alias_double.
32865 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32866 <libm-alias-double.h>.
32867 (totalorder): Define using libm_alias_double.
32868 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32869 <libm-alias-double.h>.
32870 (totalordermag): Define using libm_alias_double.
32871 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32872 libm_alias_double.
32873 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32874 libm_alias_double.
32875 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32876 <libm-alias-double.h>.
32877 (getpayload): Define using libm_alias_double.
32878 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32879 <libm-alias-double.h>.
32880 (roundeven): Define using libm_alias_double.
32881 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32882 <libm-alias-double.h>.
32883 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32884 <libm-alias-double.h>.
32885 (totalorder): Define using libm_alias_double.
32886 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32887 <libm-alias-double.h>.
32888 (totalordermag): Define using libm_alias_double.
32889 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32890 libc compat symbol here.
32891 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32892 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32893 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32894 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32895 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32896 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32897 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32898 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32899 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32900 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32901
8172aad9
L
329022017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32903
32904 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32905 _dl_relocate_static_pie instead of _dl_start to compute load
32906 address in static PIE. Return 0 if _DYNAMIC is undefined for
32907 static executable.
32908
54464e74
L
329092017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32912 _DYNAMIC is undefined for static executable.
32913
f6c5e5bc
L
329142017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32917
2f92505d
JM
329182017-09-29 Joseph Myers <joseph@codesourcery.com>
32919
32920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32921
bd8d53bb
WD
329222017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32923
32924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32925 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32926 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32927 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32928 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32929 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32930 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32931 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32932 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32933 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32934 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32935 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32936 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32937 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32940 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32941
fffb1507
WD
329422017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32943
32944 * math/bits/cmathcalls.h (cimag): Remove inline.
32945 (creal): Remove inline.
32946 (conj): Remove inline.
32947
4ea49f4c
SN
329482017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32949
32950 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32951 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32952 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32953 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32954 (issignalingf_inline): Likewise.
32955 (POWF_LOG2_TABLE_BITS): Likewise.
32956 (POWF_LOG2_POLY_ORDER): Likewise.
32957 (POWF_SCALE_BITS): Likewise.
32958 (POWF_SCALE): Likewise.
32959 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32960 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32961 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32962
875c76c7
SN
329632017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32964
32965 * math/Makefile (type-float-routines): Add e_log2f_data.
32966 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32967 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32968 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32969 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32970 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32971 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32972 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32973
90c42e40
SN
329742017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32975
32976 * math/Makefile (type-float-routines): Add e_logf_data.
32977 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32978 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32979 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32980 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32981 * sysdeps/i386/fpu/e_logf_data.c: New file.
32982 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32983 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32984
4088d8dd
L
329852017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32986
32987 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32988 undefined _DYNAMIC in PIE libc.a.
32989 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32990 Likewse.
32991
4d3693ec
WD
329922017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32993
32994 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32995 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32996 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32997 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32998 (__signbit): Remove.
32999 (__signbitl): Remove.
33000 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
33001 (__signbit): Remove.
33002 (__signbitl): Remove.
33003 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
33004 (__signbit): Remove.
33005 (__signbitl): Remove.
33006 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
33007 (__signbit): Remove.
33008 (__signbitl): Remove.
33009 * sysdeps/tile/bits/mathinline.h: Delete file.
33010 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
33011 (__signbit): Remove.
33012 (__signbitl): Remove.
33013
1e6d0723
WD
330142017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33015
33016 * math/math.h: Improve handling of C99 isgreater macros.
33017 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
33018 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
33019 * sysdeps/powerpc/bits/mathinline.h: Likewise.
33020 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33021 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
33022
b2f03cf3
SN
330232017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
33024
33025 * sysdeps/aarch64/libm-test-ulps: Update.
33026
f124cb38
JM
330272017-09-28 Joseph Myers <joseph@codesourcery.com>
33028
33029 [BZ #22225]
33030 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33031 math_opt_barrier on argument when doing arithmetic on it.
33032 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33033 Likewise. Use math_force_eval not math_opt_barrier after
33034 arithmetic.
33035 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
33036 math_opt_barrier on argument when doing arithmetic on it.
33037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33038 Likewise.
33039
7edd0691
L
330402017-09-27 H.J. Lu <hongjiu.lu@intel.com>
33041
33042 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
33043 libc_hidden_def.
33044 (__freeifaddrs): Likewise.
33045
2c7bbfaf
ST
330462017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33047
33048 * include/dirent.h (__dirfd): New declaration.
33049 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
33050 alias.
33051 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
33052 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
33053 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
33054 * include/unistd.h (__revoke): New declaration.
33055 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
33056 alias.
33057 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
33058 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
33059 revoke.
64a4af28
ST
33060 * include/dirent.h (__seekdir): New declaration.
33061 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
33062 redefine as weak alias.
33063 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
33064 of seekdir.
4009ddc6
ST
33065 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
33066 and use libc_hidden_def on them.
33067 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
33068 them.
33069 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
33070 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
33071 instead of getifaddrs and freeifaddrs.
2c7bbfaf 33072
825adeee
L
330732017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33074
33075 [BZ #18822]
33076 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
33077 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
33078 (__dso_handle): Remove declaration.
33079 * dlfcn/tstatexit.c (__dso_handle): Removed.
33080 (main): Don't check __dso_handle.
33081 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
33082 (main): Don't check __dso_handle.
33083 * include/dso_handle.h: New file.
33084 * malloc/mtrace.c: Include <dso_handle.h>.
33085 (mtrace): Pass __dso_handle directly.
33086 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33087 (__dso_handle): Remove declaration.
33088 (__pthread_atfork): Pass __dso_handle directly.
33089 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33090 (__dso_handle): Removed.
33091 * posix/wordexp-test.c: Include <dso_handle.h>.
33092 (__dso_handle): Remove declaration.
33093 (__app_register_atfork): Pass __dso_handle directly.
33094 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33095 (__dso_handle): Remove declaration.
33096 (at_quick_exit): Pass __dso_handle directly.
33097 * stdlib/atexit.c: Include <dso_handle.h>.
33098 (__dso_handle): Remove declaration.
33099 (atexit): Pass __dso_handle directly.
33100 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33101 (__dso_handle): Removed.
33102
bfb0deb3
JM
331032017-09-26 Joseph Myers <joseph@codesourcery.com>
33104
33105 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33106 using VDSO.
33107
cebcb9f8
AM
331082017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33109
33110 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33111 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33112 values to correct default value for given type.
33113
592d5c75
L
331142017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33115
33116 [BZ #22101]
33117 * elf/Makefile (tests): Add tst-debug1.
33118 ($(objpfx)tst-debug1): New.
33119 ($(objpfx)tst-debug1.out): Likewise.
33120 ($(objpfx)tst-debug1mod1.so): Likewise.
33121 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33122 with p_filesz == 0.
33123 * elf/tst-debug1.c: New file.
33124
2d9193f2
JM
331252017-09-26 Joseph Myers <joseph@codesourcery.com>
33126
33127 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33128 Define using __ifunc.
33129
4c5a7a02
TMQMF
331302017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33131
33132 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33133 exp2f() values.
33134
12ef66c4
JM
331352017-09-26 Joseph Myers <joseph@codesourcery.com>
33136
33137 [BZ #22156]
33138 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33139
44dade71
FW
331402017-09-26 Florian Weimer <fweimer@redhat.com>
33141
33142 * resolv/Makefile (tests-internal): Fix typo in comment.
33143
eaca16f1
FW
331442017-09-26 Florian Weimer <fweimer@redhat.com>
33145
33146 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33147
ccf970c7
AZ
331482017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33149
5f9f31ad
AZ
33150 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33151 Use an union instead of a max_align_t array for __space,
33152 so that __space is the same size on all platforms.
33153 * malloc/scratch_buffer_grow_preserve.c
33154 (__libc_scratch_buffer_grow_preserve): Likewise.
33155
ccf970c7
AZ
33156 [BZ #22183]
33157 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33158 version to 2.
33159 * posix/Makefile (routines): Add glob-lstat-compat and
33160 glob64-lstat-compat.
33161 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33162 * posix/glob-lstat-compat.c: New file.
33163 * posix/glob64-lstat-compat.c: Likewise.
33164 * posix/tst-glob_lstat_compat.c: Likewise.
33165 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33166 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33167 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33168 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33169 Likewise.
33170 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33171 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33172 * posix/glob.c (glob_lstat): New function.
33173 (glob): Rename to __glob and add versioned symbol to 2.27.
33174 (glob_in_dir): Use glob_lstat.
33175 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33176 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33177 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33178 2.27.
33179 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33180 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33181 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33182 gl_lstat on glob call.
33183 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33184 and glob64 symbols.
33185 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33186 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33187 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33188 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33191 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33192 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33193 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33194 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33195 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33196 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33198 Likewise.
33199 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33202 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33203 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33205 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33208 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33209 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33210 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33211
b4396163
L
332122017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33213
33214 * configure.ac (AS): Require binutils 2.25 or later.
33215 * configure: Regenerated.
33216
8f834987
PP
332172017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33218
33219 [BZ #22207]
33220 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33221 VM size.
33222
3de93d19
DD
332232017-09-25 DJ Delorie <dj@redhat.com>
33224
33225 [BZ #22161]
33226 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33227 resetting timeout.
33228
9947638d
SL
332292017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33230
33231 * sysdeps/ieee754/dbl-64/sincos32.h
33232 [SINCCOS32_H]: Remove define.
33233 [SINCOS32_H]: Define.
33234
f5f0f526
SN
332352017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33236
33237 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33238 (exp2f): Likewise.
33239 * math/w_exp2f.c: New file.
33240 * math/w_expf.c: New file.
33241 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33242 * math/w_expf_compat.c (__expf_compat): Likewise.
33243 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33244 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33245 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33246 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33247 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33248 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33249 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33250 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33251 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33252 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33253 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33254 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33255 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33256 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33258 Likewise.
33259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33260 Likewise.
33261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33262 Likewise.
33263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33264 Likewise.
33265 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33266 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33267 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33268 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33269 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33271 Likewise.
33272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33273 Likewise.
33274 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33275 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33276 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33277
72aa6233
SN
332782017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33279
33280 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33281 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33282 (roundtoint, converttoint): Likewise.
33283 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33284 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33285 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33286 * sysdeps/ieee754/flt-32/math_config.h: New file.
33287 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33288 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33289 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33290 * sysdeps/i386/fpu/math_errf.c: New file.
33291 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33292 * sysdeps/ia64/fpu/math_errf.c: New file.
33293 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33294 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33295
5e6f3253
ST
332962017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33297
33298 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33299 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33300 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33301 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33302 to make sure that these symbols are defined.
b38a42a0
ST
33303 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33304 of <limits.h>
33305 (__need_NULL): Do not define.
33306 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33307 alignment.
33308 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33309 CMGROUP_MAX, cmsgcred): Do not define.
33310 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33311 NULL.
33312 * bits/socket.h: Likewise.
fcafcd16
ST
33313 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33314 __gettimeofday instead of gettimeofday.
33315 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33316 instead of settimeofday.
5e6f3253 33317
2f49ce7d
JM
333182017-09-22 Joseph Myers <joseph@codesourcery.com>
33319
33320 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33321 (asinhf): Define using libm_alias_float.
33322 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33323 (atanf): Define using libm_alias_float.
33324 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33325 (cbrtf): Define using libm_alias_float.
33326 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33327 (ceilf): Define using libm_alias_float.
33328 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33329 <libm-alias-float.h>.
33330 (copysignf): Define using libm_alias_float.
33331 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33332 (cosf): Define using libm_alias_float.
33333 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33334 (erff): Define using libm_alias_float.
33335 (erfcf): Likewise.
33336 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33337 (expm1f): Define using libm_alias_float.
33338 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33339 (fabsf): Define using libm_alias_float.
33340 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33341 (floorf): Define using libm_alias_float.
33342 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33343 (frexpf): Define using libm_alias_float.
33344 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33345 libm_alias_float.
33346 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33347 <libm-alias-float.h>.
33348 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33349 libm_alias_float.
33350 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33351 <libm-alias-float.h>.
33352 (getpayloadf): Define using libm_alias_float.
33353 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33354 <libm-alias-float.h>.
33355 (llrintf): Define using libm_alias_float.
33356 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33357 <libm-alias-float.h>.
33358 (llroundf): Define using libm_alias_float.
33359 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33360 (logbf): Define using libm_alias_float.
33361 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33362 (lrintf): Define using libm_alias_float.
33363 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33364 (lroundf): Define using libm_alias_float.
33365 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33366 (modff): Define using libm_alias_float.
33367 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33368 <libm-alias-float.h>.
33369 (nearbyintf): Define using libm_alias_float.
33370 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33371 <libm-alias-float.h>.
33372 (nextafterf): Define using libm_alias_float.
33373 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33374 <libm-alias-float.h>.
33375 (nextupf): Define using libm_alias_float.
33376 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33377 <libm-alias-float.h>.
33378 (remquof): Define using libm_alias_float.
33379 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33380 (rintf): Define using libm_alias_float.
33381 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33382 <libm-alias-float.h>.
33383 (roundevenf): Define using libm_alias_float.
33384 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33385 (roundf): Define using libm_alias_float.
33386 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33387 using libm_alias_float.
33388 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33389 <libm-alias-float.h>.
33390 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33391 Define using libm_alias_float.
33392 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33393 <libm-alias-float.h>.
33394 (sincosf): Define using libm_alias_float.
33395 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33396 (sinf): Define using libm_alias_float.
33397 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33398 (tanf): Define using libm_alias_float.
33399 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33400 (tanhf): Define using libm_alias_float.
33401 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33402 <libm-alias-float.h>.
33403 (totalorderf): Define using libm_alias_float.
33404 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33405 <libm-alias-float.h>.
33406 (totalordermagf): Define using libm_alias_float.
33407 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33408 (truncf): Define using libm_alias_float.
33409 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33410 libm_alias_float.
33411 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33412 libm_alias_float.
33413
c5c4a626
GG
334142017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33415
33416 [BZ #22146]
33417 math/math.h: Let fpclassify use the builtin in C++ mode, even
33418 when optimazing for size.
33419
23947846
JM
334202017-09-22 Joseph Myers <joseph@codesourcery.com>
33421
33422 * csu/Makefile (generated): Do not add version-info.h.
33423 (before-compile): Likewise.
33424 (all-Banner-files): Remove variable.
33425 ($(objpfx)version-info.h): Remove rule.
33426 * csu/version.c (banner): Do not include "version-info.h".
33427 * libidn/Banner: Remove.
33428 * manual/contrib.texi (Simon Josefsson): New entry.
33429
9ac3c682
GG
334302017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33431
33432 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33433 Remove conditionals on LDBL_MANT_DIG.
33434 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33435 (__ieee754_lgammal_r): Likewise.
33436
d2f0ed09
GG
334372017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33438
33439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33440 _Float128 and L().
33441 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33442 _Float128 and L(). Replace _Float128 with long double and L(x)
33443 with xL, throughout the file.
33444 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33448
c5c2e667
GG
334492017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33450
33451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33452 sysdeps/ieee754/ldbl-128ibm.
33453 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33454 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33455 of including it. Keep _Float128 and L() intact. These will be
33456 reviewed by a separate patch.
33457 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33461
e010deb2
GG
334622017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33463
33464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33465 (__finitef128): Define to __redirect___finitef128.
33466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33467 (__isinff128): Define to __redirect___isinff128.
33468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33469 (__isnanf128): Define to __redirect___isnanf128.
33470
ffa44804
GG
334712017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33472
33473 * sysdeps/powerpc/powerpc64le/Makefile
33474 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33475 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33476
e5e4d7cc
PP
334772017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33478 Carlos O'Donell <carlos@redhat.com>
33479
33480 [BZ #22180]
33481 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33482 * stdlib/test-dlclose-exit-race.c: New file.
33483 * stdlib/test-dlclose-exit-race-helper.c: New file.
33484 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33485
c10c5267
JM
334862017-09-21 Joseph Myers <joseph@codesourcery.com>
33487
33488 * crypt/Banner: Remove file.
33489 * nptl/Banner: Likewise.
33490 * resolv/Banner: Likewise.
33491 * soft-fp/Banner: Likewise.
33492 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33493 ($(objpfx)version.d): Remove dependency on banner.h.
33494 ($(objpfx)version.os): Likewise.
33495 * nptl/version.c (banner): Do not include banner.h.
33496 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33497 Jelinek and BIND code.
33498
1cc9e59a
PP
334992017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33500 Carlos O'Donell <carlos@redhat.com>
33501
33502 * support/xdlfcn.h: New file.
33503 * support/xdlfcn.c: New file.
33504 * support/Makefile (libsupport-routines): Add xdlfcn.
33505 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33506
ae8372d7
JM
335072017-09-20 Joseph Myers <joseph@codesourcery.com>
33508
33509 [BZ #20142]
33510 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33511 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33512 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33513 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33514 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33515 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33516 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33517 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33518
26e70aec 335192017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
33520 Ricky Zhou <rickyz@google.com>
33521 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
33522
33523 [BZ #14333]
33524 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33525 Remove atomics.
33526 (__new_exitfn): Fail registration when we finished at_exit processing.
33527 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33528 * stdlib/on_exit.c (__on_exit): Likewise.
33529 * stdlib/exit.c (__exit_funcs_done): New variable.
33530 (__run_exit_handlers): Use __exit_funcs_lock.
33531 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33532 declarations.
33533 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33534 (test-cxa_atexit-race, test-on_exit-race): New tests.
33535 * stdlib/test-atexit-race-common.c: New file.
33536 * stdlib/test-atexit-race.c: New file.
33537 * stdlib/test-at_quick_exit-race.c: New file.
33538 * stdlib/test-cxa_atexit-race.c: New file.
33539 * stdlib/test-on_exit-race.c: New file.
33540
0525ce48
SN
335412017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33542
33543 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33544 * benchtests/exp2f-inputs: Copy of expf-inputs.
33545 * benchtests/log2f-inputs: Copy of logf-inputs.
33546
d82468d1
JM
335472017-09-19 Joseph Myers <joseph@codesourcery.com>
33548
33549 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33550 Explicitly take address of first element of array arguments in
33551 call to INLINE_SYSCALL.
33552
43ffc53a
AS
335532017-09-19 Andreas Schwab <schwab@suse.de>
33554
33555 [BZ #22134]
33556 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33557 execveat first.
33558 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33559 unimplemented.
33560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33561 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33562 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33563 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33564 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33565 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33567 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33568 * posix/Makefile (tests): Add tst-fexecve.
33569 * posix/tst-fexecve.c: New file.
33570
a5dcc87e
WD
335712017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33572
33573 * benchtests/Makefile: Add logf benchmark.
33574 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33575
7024d544
WD
335762017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33577
33578 * benchtests/Makefile: Add expf benchmark.
33579 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33580
ca3a382e
WD
335812017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33582
33583 * csu/Makefile: Add -funwind-tables to libc-start.c.
33584 * debug/Makefile: Add -funwind-tables to backtrace.c.
33585 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33586 * sysdeps/arm/Makefile: Likewise.
33587 * sysdeps/i386/Makefile: Likewise.
33588 * sysdeps/m68k/Makefile: Likewise.
33589 * sysdeps/mips/Makefile: Likewise.
33590 * sysdeps/nios2/Makefile: Likewise.
33591 * sysdeps/sh/Makefile: Likewise.
33592 * sysdeps/sparc/Makefile: Likewise.
33593
eb375def
JM
335942017-09-19 Joseph Myers <joseph@codesourcery.com>
33595
33596 * benchtests/Makefile (bench-math): Add trunc and truncf.
33597 (CFLAGS-bench-trunc.c): New variable.
33598 (CFLAGS-bench-truncf.c): Likewise.
33599 * benchtests/trunc-inputs: New file.
33600 * benchtests/truncf-inputs: Likewise.
33601
bd17ba29
RS
336022017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33603
33604 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33605
92892fdb
JM
336062017-09-18 Joseph Myers <joseph@codesourcery.com>
33607
6d9b0b5a
JM
33608 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33609 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33610 redefine.
33611 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33612 (exp10l): Define as weak alias.
33613 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33614 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33615 and redefine.
33616 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33617 (remainderl): Define as weak alias.
33618
92892fdb
JM
33619 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33620 (fmal): Define using libm_alias_ldouble.
33621 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33622 (acoshl): Define using libm_alias_ldouble.
33623 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33624 (acosl): Define using libm_alias_ldouble.
33625 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33626 (asinl): Define using libm_alias_ldouble.
33627 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33628 (atan2l): Define using libm_alias_ldouble.
33629 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33630 (atanhl): Define using libm_alias_ldouble.
33631 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33632 (coshl): Define using libm_alias_ldouble.
33633 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33634 (exp10l): Define using libm_alias_ldouble.
33635 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33636 (exp2l): Define using libm_alias_ldouble.
33637 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33638 (expl): Define using libm_alias_ldouble.
33639 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33640 (fmodl): Define using libm_alias_ldouble.
33641 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33642 (hypotl): Define using libm_alias_ldouble.
33643 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33644 (j0l): Define using libm_alias_ldouble.
33645 (y0l): Likewise.
33646 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33647 (j1l): Define using libm_alias_ldouble.
33648 (y1l): Likewise.
33649 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33650 (jnl): Define using libm_alias_ldouble.
33651 (ynl): Likewise.
33652 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33653 (log10l): Define using libm_alias_ldouble.
33654 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33655 (log2l): Define using libm_alias_ldouble.
33656 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33657 (logl): Define using libm_alias_ldouble.
33658 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33659 (powl): Define using libm_alias_ldouble.
33660 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33661 (remainderl): Define using libm_alias_ldouble.
33662 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33663 (sinhl): Define using libm_alias_ldouble.
33664 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33665 (sqrtl): Define using libm_alias_ldouble.
33666 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33667 (tgammal): Define using libm_alias_ldouble.
33668 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33669 (exp10l): Do not use long_double_symbol here.
33670 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33671 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33672 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33673 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33674 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33675 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33676 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33677 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33678 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33679 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33680 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33681 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33682 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33683 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33684 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33685 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33686 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33687 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33688 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33689 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33690 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33691 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33692
6cd380dd
WB
336932017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33694
33695 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33696 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33697
1c6d89e9
ST
336982017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33699
33700 * io/read.c (read): Add libc_hidden_weak.
33701 * sysdeps/mach/hurd/read.c (read): Likewise.
33702 * io/write.c (write): Likewise.
33703 * sysdeps/mach/hurd/write.c (write): Likewise.
33704 * io/pread64.c (__pread64): Likewise.
33705 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33706 * posix/pread64.c (__pread64): Add libc_hidden_def.
33707
06b1de23
SP
337082017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33709
140647ea
SP
33710 * benchtests/scripts/compare_strings.py: New option -g.
33711 (draw_graph): Print a message that a graph is being generated.
33712 (process_results): Generate graph only if -g is passed.
33713 (main): Process option -g.
33714
5a6547b7
SP
33715 * benchtests/scripts/compare_strings.py (process_results):
33716 Better spacing for output.
33717
06b1de23
SP
33718 * benchtests/scripts/compare_strings.py: Use argparse.
33719 * benchtests/README: Document existence of compare_strings.py.
33720
c67a2328
JM
337212017-09-15 Joseph Myers <joseph@codesourcery.com>
33722
9ac44708
JM
33723 * math/s_fma.c: Include <libm-alias-double.h>.
33724 (fma): Define using libm_alias_double.
33725 * math/s_nextafter.c: Include <libm-alias-double.h>.
33726 (nextafter): Define using libm_alias_double.
33727 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33728 (acos): Define using libm_alias_double.
33729 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33730 (aocsh): Define using libm_alias_double.
33731 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33732 (asin): Define using libm_alias_double.
33733 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33734 (atan2): Define using libm_alias_double.
33735 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33736 (atanh): Define using libm_alias_double.
33737 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33738 (cosh): Define using libm_alias_double.
33739 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33740 (exp10): Define using libm_alias_double.
33741 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33742 (exp2): Define using libm_alias_double.
33743 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33744 (exp): Define using libm_alias_double.
33745 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33746 (fmod): Define using libm_alias_double.
33747 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33748 (hypot): Define using libm_alias_double.
33749 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33750 (j0): Define using libm_alias_double.
33751 (y0): Likewise.
33752 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33753 (j1): Define using libm_alias_double.
33754 (y1): Likewise.
33755 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33756 (jn): Define using libm_alias_double.
33757 (yn): Likewise.
33758 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33759 (log10): Define using libm_alias_double.
33760 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33761 (log2): Define using libm_alias_double.
33762 * math/w_log_compat.c: Include <libm-alias-double.h>.
33763 (log): Define using libm_alias_double.
33764 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33765 (pow): Define using libm_alias_double.
33766 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33767 (remainder): Define using libm_alias_double.
33768 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33769 (sinh): Define using libm_alias_double.
33770 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33771 (sqrt): Define using libm_alias_double.
33772 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33773 (tgamma): Define using libm_alias_double.
33774 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33775 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33776 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33777 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33778 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33779 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33780 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33781 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33782 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33783 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33784 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33785 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33786 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33787 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33788 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33789 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33790 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33791 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33792 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33793 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33794 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33795 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33796 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33797 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33798 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33799
c67a2328
JM
33800 * math/e_acoshl.c: Remove.
33801 * math/e_acosl.c: Likewise.
33802 * math/e_asinl.c: Likewise.
33803 * math/e_atan2l.c: Likewise.
33804 * math/e_atanhl.c: Likewise.
33805 * math/e_coshl.c: Likewise.
33806 * math/e_expl.c: Likewise.
33807 * math/e_fmodl.c: Likewise.
33808 * math/e_gammal_r.c: Likewise.
33809 * math/e_hypotl.c: Likewise.
33810 * math/e_j0l.c: Likewise.
33811 * math/e_j1l.c: Likewise.
33812 * math/e_jnl.c: Likewise.
33813 * math/e_lgammal_r.c: Likewise.
33814 * math/e_log10l.c: Likewise.
33815 * math/e_log2l.c: Likewise.
33816 * math/e_logl.c: Likewise.
33817 * math/e_powl.c: Likewise.
33818 * math/e_rem_pio2l.c: Likewise.
33819 * math/e_sinhl.c: Likewise.
33820 * math/e_sqrtf128.c: Likewise.
33821 * math/e_sqrtl.c: Likewise.
33822 * math/k_cosl.c: Likewise.
33823 * math/k_sinl.c: Likewise.
33824 * math/k_tanl.c: Likewise.
33825 * math/s_asinhl.c: Likewise.
33826 * math/s_atanl.c: Likewise.
33827 * math/s_cbrtl.c: Likewise.
33828 * math/s_erfl.c: Likewise.
33829 * math/s_expm1l.c: Likewise.
33830 * math/s_log1pl.c: Likewise.
33831 * math/s_tanhl.c: Likewise.
33832
61c45f25
TMQMF
338332017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33834
33835 [BZ #21745]
33836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33837 [$(subdir) = math] (sysdep_calls): New variable. Has the
33838 previous contents of sysdep_routines, but re-sorted..
33839 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33840 sysdep_calls.
33841 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33842 defined in sysdep_calls and replace by the respective m_* names.
33843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33844 (compat_symbol): Undefine to avoid duplicated compat symbols in
33845 libc.
33846
5bcdb315
JM
338472017-09-15 Joseph Myers <joseph@codesourcery.com>
33848
33849 * math/s_fmaf.c: Include <libm-alias-float.h>.
33850 (fmaf): Define using libm_alias_float.
33851 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33852 (acosf): Define using libm_alias_float.
33853 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33854 (acoshf): Define using libm_alias_float.
33855 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33856 (asinf): Define using libm_alias_float.
33857 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33858 (atan2f): Define using libm_alias_float.
33859 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33860 (atanhf): Define using libm_alias_float.
33861 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33862 (coshf): Define using libm_alias_float.
33863 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33864 (exp10f): Define using libm_alias_float.
33865 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33866 (fmodf): Define using libm_alias_float.
33867 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33868 (hypotf): Define using libm_alias_float.
33869 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33870 (j0f): Define using libm_alias_float.
33871 (y0f): Likewise.
33872 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33873 (j1f): Define using libm_alias_float.
33874 (y1f): Likewise.
33875 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33876 (jnf): Define using libm_alias_float.
33877 (ynf): Likewise.
33878 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33879 (log10f): Define using libm_alias_float.
33880 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33881 (log2f): Define using libm_alias_float.
33882 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33883 (logf): Define using libm_alias_float.
33884 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33885 (powf): Define using libm_alias_float.
33886 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33887 (remainderf): Define using libm_alias_float.
33888 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33889 (sinhf): Define using libm_alias_float.
33890 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33891 (sqrtf): Define using libm_alias_float.
33892 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33893 (tgammaf): Define using libm_alias_float.
33894
01f28812
JM
338952017-09-14 Joseph Myers <joseph@codesourcery.com>
33896
33897 * include/math.h (roundeven): Change hidden_proto call to
33898 __roundeven.
33899 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33900 alias.
33901 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33902 (y0): Rename to __y0 and define as weak alias.
33903 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33904 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33905 alias.
33906 (y0f): Rename to __y0f and define as weak alias.
33907 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33908 alias.
33909 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33910 (y1): Rename to __y1 and define as weak alias.
33911 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33912 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33913 alias.
33914 (y1f): Rename to __y1f and define as weak alias.
33915 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33916 alias.
33917 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33918 (yn): Rename to __yn and define as weak alias.
33919 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33920 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33921 alias.
33922 (ynf): Rename to __ynf and define as weak alias.
33923 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33924 (fromfp): Define as weak alias.
33925 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33926 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33927 (fromfpx): Define as weak alias.
33928 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33929 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33930 __getpayload and define as weak alias.
33931 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33932 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33933 __roundeven and define as weak alias.
33934 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33935 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33936 __setpayload.
33937 (setpayload): Define as weak alias.
33938 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33939 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33940 __setpayloadsig.
33941 (setpayloadsig): Define as weak alias.
33942 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33943 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33944 __totalorder and define as weak alias.
33945 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33946 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33947 to __totalordermag and define as weak alias.
33948 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33949 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33950 (ufromfp): Define as weak alias.
33951 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33952 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33953 __ufromfpx.
33954 (ufromfpx): Define as weak alias.
33955 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33956 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33957 Rename to __getpayload and define as weak alias.
33958 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33959 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33960 Rename to __roundeven and define as weak alias.
33961 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33962 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33963 Rename to __totalorder and define as weak alias.
33964 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33965 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33966 (totalordermag): Rename to __totalordermag and define as weak
33967 alias.
33968 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33969 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33970 macro.
33971 (__roundevenl): Likewise.
33972 (__totalorderl): Likewise.
33973 (__totalordermagl): Likewise
33974 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33975 __fromfpf128.
33976 (fromfpf128): Define as weak alias.
33977 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33978 __fromfpxf128.
33979 (fromfpxf128): Define as weak alias.
33980 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33981 __setpayloadf128.
33982 (setpayloadf128): Define as weak alias.
33983 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33984 __setpayloadsigf128.
33985 (setpayloadsigf128): Define as weak alias.
33986 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33987 __ufromfpf128.
33988 (ufromfpf128): Define as weak alias.
33989 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33990 __ufromfpxf128.
33991 (ufromfpxf128): Define as weak alias.
33992 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33993 (fromfpf): Define as weak alias.
33994 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33995 __fromfpxf.
33996 (fromfpxf): Define as weak alias.
33997 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33998 __getpayloadf and define as weak alias.
33999 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
34000 __roundevenf and define as weak alias.
34001 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
34002 __setpayloadf.
34003 (setpayloadf): Define as weak alias.
34004 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
34005 __setpayloadsigf.
34006 (setpayloadsigf): Define as weak alias.
34007 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
34008 __totalorderf and define as weak alias.
34009 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
34010 Rename to __totalordermagf and define as weak alias.
34011 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
34012 __ufromfpf.
34013 (ufromfpf): Define as weak alias.
34014 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
34015 __ufromfpxf.
34016 (ufromfpxf): Define as weak alias.
34017 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
34018 __fromfpl.
34019 (fromfpl): Define as weak alias.
34020 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
34021 __fromfpxl.
34022 (fromfpxl): Define as weak alias.
34023 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
34024 to __getpayloadl and define as weak alias.
34025 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
34026 __roundevenl and define as weak alias.
34027 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
34028 __setpayloadl.
34029 (setpayloadl): Define as weak alias.
34030 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
34031 __setpayloadsigl.
34032 (setpayloadsigl): Define as weak alias.
34033 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
34034 to __totalorderl and define as weak alias.
34035 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
34036 Rename to __totalordermagl and define as weak alias.
34037 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
34038 __ufromfpl.
34039 (ufromfpl): Define as weak alias.
34040 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
34041 __ufromfpxl.
34042 (ufromfpxl): Define as weak alias.
34043 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
34044 __fromfpl.
34045 (fromfpl): Define as weak alias.
34046 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
34047 __fromfpxl.
34048 (fromfpxl): Define as weak alias.
34049 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
34050 Rename to __getpayloadl and define as weak alias.
34051 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
34052 to __roundevenl and define as weak alias. Call __roundeven
34053 instead of roundeven.
34054 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
34055 __setpayloadl.
34056 (setpayloadl): Define as weak alias.
34057 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
34058 __setpayloadsigl.
34059 (setpayloadsigl): Define as weak alias.
34060 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
34061 Rename to __totalorderl and define as weak alias.
34062 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
34063 Rename to __totalordermagl and define as weak alias.
34064 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
34065 __ufromfpl.
34066 (ufromfpl): Define as weak alias.
34067 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
34068 __ufromfpxl.
34069 (ufromfpxl): Define as weak alias.
34070 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
34071 __fromfpl.
34072 (fromfpl): Define as weak alias.
34073 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
34074 __fromfpxl.
34075 (fromfpxl): Define as weak alias.
34076 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
34077 __getpayloadl and define as weak alias.
34078 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
34079 __roundevenl and define as weak alias.
34080 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
34081 __setpayloadl.
34082 (setpayloadl): Define as weak alias.
34083 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34084 __setpayloadsigl.
34085 (setpayloadsigl): Define as weak alias.
34086 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34087 __totalorderl and define as weak alias.
34088 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34089 Rename to __totalordermagl and define as weak alias.
34090 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34091 __ufromfpl.
34092 (ufromfpl): Define as weak alias.
34093 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34094 __ufromfpxl.
34095 (ufromfpxl): Define as weak alias.
34096
29c933fb
SP
340972017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34098
503c92c3
SP
34099 * benchtests/bench-string.h (realloc_bufs): New function.
34100 (test_init): Call it.
34101 * benchtests/bench-memset-large.c (do_test): Likewise.
34102 * benchtests/bench-memset.c (do_test): Likewise.
34103
29c933fb
SP
34104 * benchtests/bench-memset-large.c: Print output in JSON
34105 format.
34106 * benchtests/bench-memset.c: Likewise.
34107
799c8d69
MF
341082017-09-14 Mike FABIAN <mfabian@redhat.com>
34109
34110 [BZ #21084]
34111 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34112 * iconvdata/Makefile: Add IBM858.
34113 * iconvdata/gconv-modules: Likewise.
34114 * iconvdata/tst-tables.sh: Likewise.
34115 * iconvdata/ibm858.c: New file.
34116 * localedata/charmaps/IBM858: Likewise.
34117
c207f7ce 341182017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
34119
34120 [BZ #22023]
34121 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34122 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34123
f28a0926
AK
341242017-09-14 Mike FABIAN <mfabian@redhat.com>
34125
34126 [BZ #22112]
34127 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34128 and add tel_int_fmt.
34129
02093e62
JM
341302017-09-14 Joseph Myers <joseph@codesourcery.com>
34131
34132 * sysdeps/generic/libm-alias-float128.h: New file.
34133 * sysdeps/generic/math-type-macros-float128.h: Include
34134 <libm-alias-float128.h>.
34135 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34136
1aae75ef
JM
341372017-09-13 Joseph Myers <joseph@codesourcery.com>
34138
34139 * sysdeps/generic/libm-alias-ldouble.h: New file.
34140 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34141 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34142 * sysdeps/generic/math-type-macros-ldouble.h: Include
34143 <libm-alias-ldouble.h>.
34144 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34145 libm_alias_ldouble.
34146
bcea7ad6
SN
341472017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34148
34149 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34150 * math/w_exp_compat.c: ... here.
34151 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34152 * math/w_expf_compat.c: ... here.
34153 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34154 * math/w_expl_compat.c: ... here.
34155 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34156 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34157 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34158 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34159
0fc56478
JM
341602017-09-13 Joseph Myers <joseph@codesourcery.com>
34161
34162 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34163 redefine.
34164 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34165 macro.
34166 (ldexpl): Only define as compat symbol for libc, not libm.
34167 (scalbnl): Define as compat symbol for libc here.
34168 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34169 define for [IS_IN (libc)].
34170 (__ldexpl_2): Remove alias.
34171 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34172 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34173 name in long_double_symbol call.
34174 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34175 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34176 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34177 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34178 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34179 Remove macro.
34180 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34181 Define as compat symbol.
34182
3ca622e4
AZ
341832017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34184
34185 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34186 * sysdeps/unix/sysv/linux/alpha/Makefile
34187 [$(subdir) = csu] (sysdep_routines): Remove rule.
34188
620ff9ee
JM
341892017-09-13 Joseph Myers <joseph@codesourcery.com>
34190
34191 * sysdeps/generic/libm-alias-double.h: New file.
34192 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34193 * sysdeps/generic/math-type-macros-double.h: Include
34194 <libm-alias-double.h>.
34195 [declare_mgen_alias] (declare_mgen_alias): Define to use
34196 libm_alias_double.
34197 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34198 (M_LIBM_NEED_COMPAT): Remove macro.
34199 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34200 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34201 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34202 code.
34203 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34204 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34205 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34206 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34207 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34208 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34209 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34210 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34211 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34212 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34213 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34214 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34215 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34216 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34217 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34218 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34219 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34220 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34221 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34222 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34223 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34224 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34225 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34226 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34227 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34228 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34229 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34230 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34231 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34232 macro.
34233 (declare_mgen_alias): New macro.
34234 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34235 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34237 (M_LIBM_NEED_COMPAT): Remove macro.
34238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34239 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34240 <first-versions.h>.
34241 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34242 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34243
a891caff
JM
342442017-09-12 Joseph Myers <joseph@codesourcery.com>
34245
34246 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34247 (declare_mgen_alias_2): Remove.
34248 * sysdeps/generic/math-type-macros-double.h
34249 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34250 Likewise.
34251 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34252 alias.
34253 (ldexp): Define with declare_mgen_alias.
34254 (scalbn): Likewise.
34255
a1a78204
SE
342562017-09-12 Steve Ellcey <sellcey@cavium.com>
34257
34258 * grp/initgroups.c: Include config.h.
34259 (DEFAULT_CONFIG): New macro.
34260 (internal_getgrouplist): Use DEFAULT_CONFIG.
34261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34262 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34263 (DEFAULT_DEFCONFIG): New macro.
34264 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34265 * nss/grp-lookup.c: Include config.h
34266 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34267 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34268 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34269 * manual/nss.texi: Update default values section.
34270
ef8adeb0
L
342712017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34272
34273 [BZ #21967]
34274 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34275 New.
34276 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34277 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34278 Handle MathVec_Prefer_No_AVX512.
34279 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34280 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34281 is set.
34282
a166531f
ST
342832017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34284
34285 * posix/sched_primax.c (__sched_get_priority_max): Add
34286 libc_hidden_def.
34287 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34288 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34289 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34290 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34291 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34292 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34293 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34294 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34295 Add aliases.
34296
4b7d1efb
JM
342972017-09-11 Joseph Myers <joseph@codesourcery.com>
34298
34299 * sysdeps/generic/libm-alias-float.h: New file.
34300 * sysdeps/generic/math-type-macros-float.h: Include
34301 <libm-alias-float.h>.
34302 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34303
45ff3463
L
343042017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34305
34306 [BZ #22093]
34307 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34308 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34309 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34310 (HWCAP_IMPORTANT): Likewise.
34311 (HWCAP_X86_64): New enum.
34312 (HWCAP_X86_AVX512_1): Updated.
34313 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34314 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34315 (modules-names): Add x86_64/tst-x86_64mod-1.
34316 (LDFLAGS-tst-x86_64mod-1.so): New.
34317 ($(objpfx)tst-x86_64-1): Likewise.
34318 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34319 (tst-x86_64-1-clean): Likewise.
34320 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34321 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34322
891abfd3
SP
343232017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34324
34325 * po/sv.po: Update translations.
34326 * po/fr.po: Likewise.
34327
00c3da43
ST
343282017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34329
34330 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34331 seconds.
3bdfd9fb
ST
34332 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34333 seconds.
65b22ebc 34334 * elf/rtld-Rules: Fix $(error) use.
00c3da43 34335
96480903
MF
343362017-09-09 Mike FABIAN <mfabian@redhat.com>
34337
34338 [BZ #14925]
34339 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34340 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34341 * localedata/locales/bn_BD: “Bengali” was still used in some
34342 comments. Change it to “Bangla”.
34343
4c03a696
MT
343442017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34345
34346 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34347
9c9ec581
SE
343482017-09-08 Steve Ellcey <sellcey@cavium.com>
34349
34350 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34351 thunderx2t99p1 to list of cpu names.
34352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34353 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34354
f00bce74
SE
343552017-09-08 Steve Ellcey <sellcey@cavium.com>
34356
34357 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34358 Use strcmp instead of tunable_is_name.
34359
27342d17
JM
343602017-09-08 Joseph Myers <joseph@codesourcery.com>
34361
af1b7c8c
JM
34362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34363 (F_GET_RW_HINT): New macro.
34364 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34365 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34366 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34367 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34368 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34369 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34370 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34371 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34372 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34373
27342d17
JM
34374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34375 (F_ADD_SEALS): New macro.
34376 [__USE_GNU] (F_GET_SEALS): Likewise.
34377 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34378 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34379 [__USE_GNU] (F_SEAL_GROW): Likewise.
34380 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34381
c66c9082
AZ
343822017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34383
07b4f49d
AZ
34384 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34385 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34386 * posix/glob_internal.h (__glob_pattern_type):
34387 * posix/glob.c (glob):
34388 * posix/glob_pattern_p.c (__glob_pattern_p):
34389 Use them.
34390
116f1c64
AZ
34391 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34392 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34393 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34394 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34395 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34397 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34398 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34399 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34400 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34401 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34402 * sysdeps/wordsize-64/glob.c: Likewise.
34403 * sysdeps/wordsize-64/glob64.c: Likewise.
34404 * sysdeps/wordsize-64/globfree.c: Likewise.
34405 * sysdeps/wordsize-64/globfree64.c: Likewise.
34406 * sysdeps/unix/sysv/linux/glob.c: New file.
34407 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34408 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34409 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34410 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34411 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34412 adds !GLOB_NO_OLD_VERSION as an extra condition.
34413 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34414 using relative path instead of absolute one.
34415 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34416 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34417 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34418 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34419 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34420 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34421
ffca8901
AZ
34422 [BZ #1062]
34423 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34424 (glob): Use the same scratch buffer for both getlogin_r and
34425 getpwnam_r. Don’t require preallocation of the login name. This
34426 simplifies storage allocation, and corrects the handling of
34427 long login names.
34428
5a79f975
AZ
34429 [BZ #1062]
34430 * posix/glob.c (glob): Port recent patches to platforms
34431 lacking getpwnam_r.
34432 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34433 returns an error number rather than setting errno.
34434
e00f2425
AZ
34435 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34436 instead of GCC extension.
34437 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34438 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34439 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34440
5554304f
AZ
34441 [BZ #866]
34442 [BZ #1062]
34443 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34444 * posix/bug-glob1.c: Remove file.
34445 * posix/tst-glob_symlinks.c: New file.
34446 * posix/glob.c (__lstat64): New macro.
34447 (is_dir): New function.
34448 (glob, glob_in_dir): Match symlinks even if they are dangling.
34449 (link_stat, link_exists_p): Remove. All uses removed.
34450
686f2ea1
AZ
34451 [BZ #1062]
34452 [BZ #19971]
34453 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34454 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34455 All uses removed.
34456
c66c9082 34457 [BZ #1062]
914c9994 34458 CVE-2017-15671
c66c9082
AZ
34459 * posix/Makefile (routines): Add globfree, globfree64, and
34460 glob_pattern_p.
34461 * posix/flexmember.h: New file.
34462 * posix/glob_internal.h: Likewise.
34463 * posix/glob_pattern_p.c: Likewise.
34464 * posix/globfree.c: Likewise.
34465 * posix/globfree64.c: Likewise.
34466 * sysdeps/gnu/globfree64.c: Likewise.
34467 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34468 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34469 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34470 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34471 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34472 * sysdeps/wordsize-64/globfree.c: Likewise.
34473 * sysdeps/wordsize-64/globfree64.c: Likewise.
34474 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34475 [NDEBUG): Remove comments.
34476 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34477 (dirent_type): New type. Use uint_fast8_t not
34478 uint8_t, as C99 does not require uint8_t.
34479 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34480 (struct readdir_result): Use dirent_type. Do not define skip_entry
34481 unless it is needed; this saves a byte on platforms lacking d_ino.
34482 (readdir_result_type, readdir_result_skip_entry):
34483 New functions, replacing ...
34484 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 34485 these functions, which were removed. This makes the callers
c66c9082
AZ
34486 easier to read. All callers changed.
34487 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34488 (size_add_wrapv, glob_use_alloca): New static functions.
34489 (glob, glob_in_dir): Check for size_t overflow in several places,
34490 and fix some size_t checks that were not quite right.
34491 Remove old code using SHELL since Bash no longer
34492 uses this.
34493 (glob, prefix_array): Separate MS code better.
34494 (glob_in_dir): Remove old Amiga and VMS code.
34495 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34496 separate files.
34497 (glob_in_dir): Do not rely on undefined behavior in accessing
34498 struct members beyond their bounds. Use a flexible array member
34499 instead
34500 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34501 0/1. Caller changed.
34502 (glob): Fix memory leaks.
34503 * posix/glob64 (globfree64): Move to separate file.
34504 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34505 (globfree64): Remove hidden alias.
34506 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34507 oldglob.
34508 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34509 separate file.
34510 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34511 define.
34512 Move compat code to separate file.
34513 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34514 separate file.
34515
78bfa877
L
345162017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34517
34518 * resolv/tst-resolv-qtypes.c (domain): Changed to
34519 "const char domain[] =".
34520
05f0011f
JM
345212017-09-07 Joseph Myers <joseph@codesourcery.com>
34522
85bec0f2
JM
34523 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34524 version to 3.1.6.
34525
5c23ee6e
JM
34526 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34527 (TCP_MD5SIG_EXT): Likewise.
34528 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34529 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34530 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34531
05f0011f
JM
34532 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34533
7c9c5be9
MF
345342017-09-07 Mike FABIAN <mfabian@redhat.com>
34535
34536 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34537
c207f7ce 345382017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
34539
34540 [BZ #22100]
34541 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34542
507fe027
ST
345432017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34544
34545 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34546 before assuming that the file is empty. Avoid testing buffer content
34547 when nread == 0.
34548
65687ac7
AZ
345492017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34550
7bbbb4b9 34551 [BZ #18858]
65687ac7
AZ
34552 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34553 Remove define.
34554 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34555 Likewise.
34556 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34557 Likewise.
34558 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34559 Likewise.
34560 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34561 Likewise.
34562 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34563 Likewise.
34564 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34565 Likewise.
34566
ab5ac271
FW
345672017-09-06 Florian Weimer <fweimer@redhat.com>
34568
34569 * malloc/dynarray_emplace_enlarge.c
34570 (__libc_dynarray_emplace_enlarge): Add missing else.
34571
a8304730
FW
345722017-09-06 Florian Weimer <fweimer@redhat.com>
34573
34574 [BZ #22096]
34575 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34576 case of failure to obtain the global conf object.
34577
5670c4ab
FW
345782017-09-06 Florian Weimer <fweimer@redhat.com>
34579
34580 [BZ #22095]
34581 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34582 dynarray allocation failure.
34583
c77eb969
FW
345842017-09-06 Florian Weimer <fweimer@redhat.com>
34585
34586 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34587 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34588 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34589 New functions.
34590 (response): Call them. Add 'p', '6' flag processing.
34591 (test_reverse): New function.
34592 (test_get2_any): Call it.
34593 (test_no_inet6): Add 'p' test.
34594 (test_inet6): Likewise.
34595
5e9c4d17
FW
345962017-09-06 Florian Weimer <fweimer@redhat.com>
34597
34598 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34599 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34600 the QNAME.
34601 (test_gai): Adjust query names. Add additional tests.
34602 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34603 test_get2. Adjust query names. Add additional tests.
34604 (test_no_inet6): New function, extracted from threadfunc.
34605 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34606 Add additional tests.
34607
2ae5be04
MF
346082017-09-06 Mike FABIAN <mfabian@redhat.com>
34609
34610 [BZ #22070]
34611 * localedata/unicode-gen/utf8_gen.py: Set the width for
34612 characters with Prepended_Concatenation_Mark property to 1
34613 * localedata/charmaps/UTF-8: Updated using the improved script.
34614
af83ed5c
MF
346152017-09-06 Mike FABIAN <mfabian@redhat.com>
34616
34617 [BZ #21750]
34618 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34619 use the range notation for all ranges of neighbouring characters
34620 with the same width.
34621
4f3647e4
JM
346222017-09-05 Joseph Myers <joseph@codesourcery.com>
34623
34624 * sysdeps/generic/math-type-macros-double.h: Include
34625 <math-svid-compat.h>.
34626 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34627 * sysdeps/generic/math-type-macros-float.h: Include
34628 <math-svid-compat.h>.
34629 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34630 * sysdeps/generic/math-type-macros-ldouble.h: Include
34631 <math-svid-compat.h>.
34632 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34633 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34634 condition.
34635 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34636 * math/w_acosf_compat.c: Likewise.
34637 * math/w_acosh_compat.c: Likewise.
34638 * math/w_acoshf_compat.c: Likewise.
34639 * math/w_acoshl_compat.c: Likewise.
34640 * math/w_acosl_compat.c: Likewise.
34641 * math/w_asin_compat.c: Likewise.
34642 * math/w_asinf_compat.c: Likewise.
34643 * math/w_asinl_compat.c: Likewise.
34644 * math/w_atan2_compat.c: Likewise.
34645 * math/w_atan2f_compat.c: Likewise.
34646 * math/w_atan2l_compat.c: Likewise.
34647 * math/w_atanh_compat.c: Likewise.
34648 * math/w_atanhf_compat.c: Likewise.
34649 * math/w_atanhl_compat.c: Likewise.
34650 * math/w_cosh_compat.c: Likewise.
34651 * math/w_coshf_compat.c: Likewise.
34652 * math/w_coshl_compat.c: Likewise.
34653 * math/w_exp10_compat.c: Likewise.
34654 * math/w_exp10f_compat.c: Likewise.
34655 * math/w_exp10l_compat.c: Likewise.
34656 * math/w_exp2_compat.c: Likewise.
34657 * math/w_exp2f_compat.c: Likewise.
34658 * math/w_exp2l_compat.c: Likewise.
34659 * math/w_fmod_compat.c: Likewise.
34660 * math/w_fmodf_compat.c: Likewise.
34661 * math/w_fmodl_compat.c: Likewise.
34662 * math/w_hypot_compat.c: Likewise.
34663 * math/w_hypotf_compat.c: Likewise.
34664 * math/w_hypotl_compat.c: Likewise.
34665 * math/w_j0_compat.c: Likewise.
34666 * math/w_j0f_compat.c: Likewise.
34667 * math/w_j0l_compat.c: Likewise.
34668 * math/w_j1_compat.c: Likewise.
34669 * math/w_j1f_compat.c: Likewise.
34670 * math/w_j1l_compat.c: Likewise.
34671 * math/w_jn_compat.c: Likewise.
34672 * math/w_jnf_compat.c: Likewise.
34673 * math/w_jnl_compat.c: Likewise.
34674 * math/w_lgamma_r_compat.c: Likewise.
34675 * math/w_lgammaf_r_compat.c: Likewise.
34676 * math/w_lgammal_r_compat.c: Likewise.
34677 * math/w_log10_compat.c: Likewise.
34678 * math/w_log10f_compat.c: Likewise.
34679 * math/w_log10l_compat.c: Likewise.
34680 * math/w_log2_compat.c: Likewise.
34681 * math/w_log2f_compat.c: Likewise.
34682 * math/w_log2l_compat.c: Likewise.
34683 * math/w_log_compat.c: Likewise.
34684 * math/w_logf_compat.c: Likewise.
34685 * math/w_logl_compat.c: Likewise.
34686 * math/w_pow_compat.c: Likewise.
34687 * math/w_powf_compat.c: Likewise.
34688 * math/w_powl_compat.c: Likewise.
34689 * math/w_remainder_compat.c: Likewise.
34690 * math/w_remainderf_compat.c: Likewise.
34691 * math/w_remainderl_compat.c: Likewise.
34692 * math/w_sinh_compat.c: Likewise.
34693 * math/w_sinhf_compat.c: Likewise.
34694 * math/w_sinhl_compat.c: Likewise.
34695 * math/w_sqrt_compat.c: Likewise.
34696 * math/w_sqrtf_compat.c: Likewise.
34697 * math/w_sqrtl_compat.c: Likewise.
34698 * math/w_tgamma_compat.c: Likewise.
34699 * math/w_tgammaf_compat.c: Likewise.
34700 * math/w_tgammal_compat.c: Likewise.
34701 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34702 [LIBM_SVID_COMPAT].
34703 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34704 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34705 [LIBM_SVID_COMPAT].
34706 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34707 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34708 [LIBM_SVID_COMPAT].
34709 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34710 * sysdeps/i386/fpu/w_sqrt.c: New file.
34711 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34712 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34713 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34714 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34715 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34716 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34717 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34718 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34719 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34720 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34721 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34722 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34723 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34724 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34725 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34726 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34727 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34728 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34729 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34730 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34731 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34732 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34733 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34734 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34735 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34736 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34737 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34738 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34739 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34740 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34741 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34742 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34743 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34744 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34745 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34746 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34747 * sysdeps/ia64/fpu/w_log.c: Likewise.
34748 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34749 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34750 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34751 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34752 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34753 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34754 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34755 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34756 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34757 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34758 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34759 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34760 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34761 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34762 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34763 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34764 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34765 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34766 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34767 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34768 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34769 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34770 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34772 [LIBM_SVID_COMPAT].
34773 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34774 * sysdeps/ieee754/k_standard.c: Likewise.
34775 * sysdeps/ieee754/k_standardf.c: Likewise.
34776 * sysdeps/ieee754/k_standardl.c: Likewise.
34777 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34778 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34779 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34780 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34781 long_double_symbol call on [LIBM_SVID_COMPAT].
34782 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34783 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34784 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34785 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34786 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34787 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34788 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34789 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34790 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34791 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34792 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34793 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34794 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34795 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34796 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34797 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34798 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34799 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34800 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34801 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34802 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34803 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34804
05b38d64
SE
348052017-09-05 Steve Ellcey <sellcey@cavium.com>
34806
34807 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34808 * malloc/tst-mallocstate.c: Convert from test-skeleton
34809 to test-driver. Ifdef code using TEST_COMPAT macro.
34810 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34811 * math/test-matherr.c: Likewise.
34812
99d67918
JM
348132017-09-05 Joseph Myers <joseph@codesourcery.com>
34814
34815 [BZ #22086]
34816 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34817 comparing word with byte-swapped constant.
34818
c207f7ce 348192017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
34820
34821 [BZ #20498]
34822 * locale/iso-639.def: add Miskito.
34823 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34824 * localedata/locales/miq_NI: New file.
34825
0a587a8a
L
348262017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34827
34828 [BZ #18822]
34829 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34830 (__mkdir): Likewise.
34831 * io/chmod.c (__chmod): Add libc_hidden_def.
34832 * io/mkdir.c (__mkdir): Likewise.
34833 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34834 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34835 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34836 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34837
f3a129b8
JM
348382017-09-04 Joseph Myers <joseph@codesourcery.com>
34839
1650e192
JM
34840 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34841 version to 4.13.
34842
f3a129b8
JM
34843 [BZ #22082]
34844 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34845 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34846
b38042f5
FW
348472017-09-04 Florian Weimer <fweimer@redhat.com>
34848
34849 * math/math.h: Issue warning if log is defined.
34850
059b6404
JM
348512017-09-04 Joseph Myers <joseph@codesourcery.com>
34852
34853 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34854 kernel version to 4.13.
34855
b794e16b
ST
348562017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34857
34858 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
34859 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34860 parameter.
01969395
ST
34861 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34862 just <bits/types.h>.
dd2b31de 34863 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 34864 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 34865 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 34866 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
34867 * misc/preadv2.c: Include <errno.h>.
34868 * misc/preadv64v2.c: Include <errno.h>.
34869 * misc/pwritev2.c: Include <errno.h>.
34870 * misc/pwritev64v2.c: Include <errno.h>.
34871 * sysdeps/posix/preadv2.c: Include <errno.h>.
34872 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34873 Fix <unistd.h> inclusion.
34874 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34875 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
34876 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34877 __strtoul_internal): New functions.
127e7773
ST
34878 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34879 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
34880 * sysdeps/mach/hurd/i386/Makefile
34881 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34882 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34883 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
34884 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34885 __feraiseexcept_renamed to feraiseexcept instead of
34886 __GI_feraiseexcept.
56bf5497 34887 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 34888 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
34889 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34890 RWF_NOWAIT): Define to 0 if undefined already.
34891 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34892 boils down to 0.
6547ec0a
ST
34893 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34894 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 34895
5a80d39d
JM
348962017-09-01 Joseph Myers <joseph@codesourcery.com>
34897
34898 * manual/math.texi (pow10): Do not document.
34899 (pow10f): Likewise.
34900 (pow10l): Likewise.
34901 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34902 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34903 * math/libm-test-exp10.inc (pow10_test): Remove.
34904 (do_test): Do not call pow10.
34905 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34906 [NO_LONG_DOUBLE] (pow10l): Likewise.
34907 * math/w_exp10f_compat.c (pow10f): Likewise.
34908 * math/w_exp10l_compat.c (pow10l): Likewise.
34909 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34910 (pow10): Make into compat symbol.
34911 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34912 (pow10f): Make into compat symbol.
34913 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34914 (pow10l): Make into compat symbol.
34915 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34916 pow10.
34917 (CFLAGS-nldbl-pow10.c): Remove variable..
34918 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34919 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34920 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34921 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34922 Undefine and redefine.
34923 (pow10l): Make into compat symbol.
34924 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34925 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34926 * sysdeps/arm/libm-test-ulps: Likewise.
34927 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34928 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34929 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34930 * sysdeps/microblaze/libm-test-ulps: Likewise.
34931 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34932 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34933 * sysdeps/nios2/libm-test-ulps: Likewise.
34934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34935 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34936 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34937 * sysdeps/sh/libm-test-ulps: Likewise.
34938 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34939 * sysdeps/tile/libm-test-ulps: Likewise.
34940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34941
3824fc38
PP
349422017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34943
34944 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34945
b3008279
L
349462017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34947
34948 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34949 "../ChangeLog.old/ChangeLog.8".
34950 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34951 "../ChangeLog.old/ChangeLog.14".
34952
136fa185
L
349532017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34954
34955 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34956 Threads Library.
34957
c18d50a2
JM
349582017-09-01 Joseph Myers <joseph@codesourcery.com>
34959
34960 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34961
bedbd859
L
349622017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34963
34964 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34965 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34966
50c66c7a
PP
349672017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34968
34969 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34970 32 atexit handlers.
34971
a617bd11
ZW
349722017-09-01 Zack Weinberg <zackw@panix.com>
34973
34974 * math/math.h (HUGE_VAL): Improve commentary.
34975
e0d2eb5a
AZ
349762017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34977 Andreas Schwab <schwab@suse.de>
34978
34979 [BZ #21530]
34980 * include/stdio.h (__gen_tempfd): New function.
34981 * stdio-common/Makefile (routines): Add gentempfd.
34982 * stdio-common/gentempfd.c: New file.
34983 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34984 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34985 unnamed file first.
34986
f4a6be25
FW
349872017-09-01 Florian Weimer <fweimer@redhat.com>
34988
34989 [BZ #21915]
34990 [BZ #21922]
34991 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34992 result to determine success or failure, not the errno value.
34993 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34994 (tst-nss-files-hosts-erange): Link with -ldl.
34995 * nss/tst-nss-files-hosts-erange.c: New file.
34996 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34997 (do_test): Add NO_DATA tests.
34998 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34999 (do_test): Call it.
35000
5f8340f5
FW
350012017-09-01 Florian Weimer <fweimer@redhat.com>
35002
35003 [BZ #21922]
35004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
35005 coming from gethostbyname2_r.
35006
65329bd2
FW
350072017-09-01 Florian Weimer <fweimer@redhat.com>
35008
35009 * support/namespace.h (struct support_chroot_configuration): Add
35010 hosts, host_conf.
35011 (struct support_chroot): Add path_hosts, path_host_conf.
35012 * support/support_chroot.c (write_file): New function.
35013 (support_chroot_create): Call it to process /etc/resolv.conf,
35014 /etc/hosts, /etc/host.conf.
35015 (support_chroot_free): Update.
35016
a2881ef0
FW
350172017-09-01 Florian Weimer <fweimer@redhat.com>
35018
35019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
35020 status indicates it is set.
35021
ad816a5e
FW
350222017-09-01 Florian Weimer <fweimer@redhat.com>
35023
63b52889 35024 [BZ #20532]
ad816a5e
FW
35025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
35026 function lookup failures more reliable.
35027
53250a21
FW
350282017-09-01 Florian Weimer <fweimer@redhat.com>
35029
35030 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
35031 (getcanonname): Likewise.
35032 (gaih_inet): Likewise.
35033
924b121c
FW
350342017-09-01 Florian Weimer <fweimer@redhat.com>
35035
35036 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
35037 (getcanonname): Likewise.
35038 (gaih_inet): Likewise.
35039
d9ff799a 350402017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 35041 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
35042
35043 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
35044 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
35045 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
35046 (IREG_SIZE, OREG_SIZE): New macros.
35047 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
35048 (IREG_SIZE, OREG_SIZE): New macros.
35049 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
35050 (IREG_SIZE): New macro.
35051 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
35052 (IREG_SIZE): New macro.
35053 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
35054 New includes.
35055 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
35056 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35057 (__CONCATX): Handle exceptions correctly on large values that may
35058 set FE_INVALID.
35059 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
35060 Initialize if not already set.
b39d961c 35061 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 35062
102dde84
AZ
350632017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35064
35065 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
35066 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
35067 Likewise.
35068 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
35069 Likewise.
35070 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
35071 Likewise.
35072 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
35073 Likewise.
35074 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
35075 Likewise.
35076 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
35077 Likewise.
35078 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
35079 Likewise.
35080 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
35081 (NO_CANCELLATION): Likewise.
35082 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35083 Likewise.
35084 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35085 Likewise.
35086 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35087 Likewise.
35088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35089 (NO_CANCELLATION): Likewise.
35090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35091 (NO_CANCELLATION): Likewise.
35092 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35093 Likewise
35094 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35095 Likewise.
35096 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35097 Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35099 Likewise.
35100 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35101 hidden prototype.
35102 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35103 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35104
9eee633b
SE
351052017-08-31 Steve Ellcey <sellcey@cavium.com>
35106
35107 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35108 in resolver call.
35109
65284eb7
FW
351102017-08-31 Florian Weimer <fweimer@redhat.com>
35111
35112 * include/libc-symbols.h (internal_function): Remove.
35113
41ad5ca6
FW
351142017-08-31 Florian Weimer <fweimer@redhat.com>
35115
35116 * stdlib/fmtmsg.c (internal_addseverity): Remove
35117 internal_function.
35118
2fa6d086
FW
351192017-08-31 Florian Weimer <fweimer@redhat.com>
35120
35121 * stdio-common/printf_fp.c (group_number): Remove
35122 internal_function.
35123 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35124
b41bd5bc
FW
351252017-08-31 Florian Weimer <fweimer@redhat.com>
35126
35127 * posix/fnmatch.c (internal_function): Remove definition.
35128 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35129 * posix/regcomp.c (peek_token, init_word_char)
35130 (duplicate_node_closure, fetch_token, peek_token)
35131 (peek_token_bracket, build_range_exp, build_collating_symbol):
35132 Likewise.
35133 * posix/regex_internal.c (re_string_construct_common)
35134 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35135 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35136 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35137 (re_string_translate_buffer, re_string_reconstruct)
35138 (re_string_peek_byte_case, re_string_fetch_byte_case)
35139 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35140 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35141 (re_node_set_add_intersect, re_node_set_init_union)
35142 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35143 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35144 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35145 (re_acquire_state_context): Likewise.
35146 * posix/regex_internal.h (internal_function): Remove definition.
35147 (re_string_realloc_buffers, build_wcs_buffer)
35148 (build_wcs_upper_buffer, build_upper_buffer)
35149 (re_string_translate_buffer, re_string_context_at)
35150 (re_string_char_size_at, re_string_wchar_at)
35151 (re_string_elem_size_at): Likewise.
35152 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35153 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35154 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35155 (re_search_internal, re_search_2_stub, re_search_stub)
35156 (re_copy_regs, prune_impossible_nodes, check_matching)
35157 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35158 (free_fail_stack_return, sift_states_iter_mb)
35159 (sift_states_backward, build_sifted_states)
35160 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35161 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35162 (check_subexp_limits, sift_states_bkref, merge_state_array)
35163 (find_recover_state, transit_state, merge_state_with_log)
35164 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35165 (transit_state_mb, transit_state_bkref, get_subexp)
35166 (get_subexp_sub, find_subexp_node, check_arrival)
35167 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35168 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35169 (check_node_accept_bytes, find_collation_sequence_value)
35170 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35171 (acquire_init_state_context, check_halt_node_context)
35172 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35173 (sub_epsilon_src_nodes): Likewise.
35174 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35175 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35176 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35177 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35178 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35179 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35180 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35181 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35182 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35183 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35184 (PREADV): Likewise.
35185 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35186 (PREADV): Likewise.
35187 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35188 (PWRITEV): Likewise.
35189 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35190 (PWRITEV): Likewise.
35191 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35192 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35193
83b09837
FW
351942017-08-31 Florian Weimer <fweimer@redhat.com>
35195
35196 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35197 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35198 Remove internal_function.
35199 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35200 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35201 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35202 (__deallocate_stack, __libc_pthread_init)
35203 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35204 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35205 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35206 Likewise.
35207 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35208 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35209 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35210 Likewise.
35211 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35212 (__pthread_mutex_unlock_usercnt): Likewise.
35213
116ac301
FW
352142017-08-31 Florian Weimer <fweimer@redhat.com>
35215
35216 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35217 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35218 (fts_safe_changedir): Remove internal_function.
35219 * io/ftw.c (internal_function): Remove definition.
35220 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35221
9da93bd7
FW
352222017-08-31 Florian Weimer <fweimer@redhat.com>
35223
35224 * inet/deadline.c (__deadline_current_time)
35225 (__deadline_from_timeval, __deadline_to_ms): Remove
35226 internal_function.
35227 * inet/getnameinfo.c (nrl_domainname): Likewise.
35228 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35229 * inet/inet6_option.c (add_pad): Likewise.
35230 * inet/net-internal.h (__deadline_current_time)
35231 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35232 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35233 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35234 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35235
a60eca2e
JM
352362017-08-31 Joseph Myers <joseph@codesourcery.com>
35237
c0c49d60
JM
35238 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35239 include <bits/nan.h>.
35240 * math/Makefile (headers): Remove bits/nan.h.
35241 * bits/nan.h: Remove.
35242 * sysdeps/ieee754/bits/nan.h: Likewise.
35243 * sysdeps/mips/bits/nan.h: Likewise.
35244
5ef1b213
JM
35245 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35246 not include <bits/inf.h>.
35247 * math/Makefile (headers): Remove bits/inf.h.
35248 * bits/inf.h: Remove.
35249 * sysdeps/ieee754/bits/inf.h: Likewise.
35250
a60eca2e
JM
35251 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35252 bits/huge_vall.h or bits/huge_val_flt128.h.
35253 (HUGE_VAL): Define directly here.
35254 [__USE_ISOC99] (HUGE_VALF): Likewise.
35255 [__USE_ISOC99] (HUGE_VALL): Likewise.
35256 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35257 (HUGE_VAL_F128): Likewise.
35258 * math/Makefile (headers): Remove bits/huge_val.h,
35259 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35260 * bits/huge_val.h: Remove.
35261 * bits/huge_val_flt128.h: Likewise.
35262 * bits/huge_valf.h: Likewise.
35263 * bits/huge_vall.h: Likewise.
35264 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35265 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35266 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35267 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35268 * sysdeps/sh/bits/huge_val.h: Likewise.
35269 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35270 * sysdeps/x86/bits/huge_vall.h: Likewise.
35271
17e00cc6
FW
352722017-08-31 Florian Weimer <fweimer@redhat.com>
35273
35274 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35275 internal_function.
35276 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35277 Likewise.
35278 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35279 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35280 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35281 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35284 * elf/dl-libc.c (dlerror_run): Likewise.
35285 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35286 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35287 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35288 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35289 Likewise.
35290 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35291 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35292 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35293 * elf/dl-profile.c (_dl_start_profile): Likewise.
35294 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35295 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35296 Likewise.
35297 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35298 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35299 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35300 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35301 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35302 (_dl_allocate_tls_storage): Likewise.
35303 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35304 (_dl_check_all_versions): Likewise.
35305 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35306 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35307 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35308 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35309 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35310 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35311 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35312 internal_function from __dl_start.
35313 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35314 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35315 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35316 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35317 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35318 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35319 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35320 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35321 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35322 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35323 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35324 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35325 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35326 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35327 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35328 Likewise.
35329 (struct rtld_global_ro): Remove internal_function from the
35330 _dl_lookup_symbol_x member.
35331 (_dl_symbol_value): Remove. No longer defined anywhere.
35332 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35333 internal_function.
35334 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35335 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35336 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35337 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35338 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35339 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35340 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35341 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35342 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35343 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35344 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35345 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35346
8d2f9410
FW
353472017-08-31 Florian Weimer <fweimer@redhat.com>
35348
35349 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35350 Remove internal_function.
35351 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35352 Likewise.
35353 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35354 Likewise.
35355
86e4919f
FW
353562017-08-31 Florian Weimer <fweimer@redhat.com>
35357
35358 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35359 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35360 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35361
59bd52b0
FW
353622017-08-31 Florian Weimer <fweimer@redhat.com>
35363
35364 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35365 (__gai_enqueue_request): Remove internal_function.
35366 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35367 (__gai_remove_request, __gai_notify, __gai_notify_only)
35368 (__gai_sigqueue): Likewise.
35369 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35370 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35371 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35372 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35373 Likewise.
35374
fc3d9497
FW
353752017-08-31 Florian Weimer <fweimer@redhat.com>
35376
35377 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35378 * include/dirent.h (__opendirat, __getdents, __getdents64)
35379 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35380 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35381 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35382 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35383 Likewise.
35384 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35385
18c54fac
FW
353862017-08-31 Florian Weimer <fweimer@redhat.com>
35387
35388 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35389 internal_function.
35390 (GETCWD_RETURN_TYPE): Likewise.
35391
7e01f080
FW
353922017-08-31 Florian Weimer <fweimer@redhat.com>
35393
35394 * include/time.h (__tz_compute, __strptime_internal): Remove
35395 internal_function.
35396 * time/strptime_l.c (__strptime_internal): Likewise.
35397 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35398
d7ccc6c9
FW
353992017-08-31 Florian Weimer <fweimer@redhat.com>
35400
35401 * iconv/gconv.c (__gconv): Remove internal_function.
35402 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35403 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35404 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35405 (__gconv_release_cache): Likewise.
35406 * iconv/gconv_close.c (__gconv_close): Likewise.
35407 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35408 (read_conf_file, __gconv_get_path): Likewise.
35409 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35410 (__gconv_release_step, gen_steps, increment_counter)
35411 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35412 (__gconv_close_transform, free_modules_db): Likewise.
35413 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35414 Likewise.
35415 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35416 (__gconv_find_transform, __gconv_lookup_cache)
35417 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35418 (__gconv_close_transform, __gconv_release_cache)
35419 (__gconv_loaded_object, __gconv_release_shlib)
35420 (__gconv_compare_alias): Likewise.
35421 * iconv/gconv_open.c (__gconv_open): Likewise.
35422 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35423 * iconv/iconvconfig.c (add_module): Likewise.
35424 * intl/dcigettext.c (plural_lookup, guess_category_value)
35425 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35426 * intl/eval-plural.h (plural_eval): Likewise.
35427 * intl/finddomain.c (_nl_find_domain): Likewise.
35428 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35429 (_nl_load_domain, _nl_find_msg): Likewise.
35430 (internal_function): Remove definition.
35431 * intl/loadinfo.h (internal_function): Likewise.
35432 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35433 internal_function.
35434 * intl/localealias.c (internal_function): Remove definition.
35435 (read_alias_file): Remove internal_function.
35436 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35437 * intl/plural-exp.h (internal_function): Remove definition.
35438 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35439 internal_function.
35440 * intl/plural.c: Regenerate.
35441 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35442 * locale/coll-lookup.c (__collidx_table_lookup)
35443 (__collseq_table_lookup): Likewise.
35444 * locale/coll-lookup.h (__collidx_table_lookup)
35445 (__collseq_table_lookup): Likewise.
35446 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35447 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35448 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35449 (_nl_unload_locale): Likewise.
35450 * locale/localeinfo.h (struct __locale_data): Remove
35451 internal_function from cleanup member.
35452 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35453 (_nl_remove_locale, _nl_load_locale_from_archive)
35454 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35455 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35456 (_nl_cleanup_time): Remove internal_function.
35457 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35458 (_nl_parse_alt_digit): Likewise.
35459 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35460 (_nl_select_era_entry): Likewise.
35461 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35462 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35463 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
35464 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35465 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 35466
dab0eece
FW
354672017-08-31 Florian Weimer <fweimer@redhat.com>
35468
35469 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35470 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35471 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35472 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35473 Likewise.
35474 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35475 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35476 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35477 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35478 Likewise.
35479 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35480
ab5bf7cf
FW
354812017-08-31 Florian Weimer <fweimer@redhat.com>
35482
35483 * misc/getttyent.c (skip, value): Remove internal_function.
35484 * misc/syslog.c (openlog_internal): Likewise.
35485 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35486
75b3047e
FW
354872017-08-31 Florian Weimer <fweimer@redhat.com>
35488
35489 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35490 (__nss_rewrite_field): Remove internal_function.
35491 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35492 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35493 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35494 * nss/nsswitch.c (nss_parse_file, nss_getline)
35495 (nss_parse_service_list, nss_new_service): Likewise.
35496 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35497 * nss/valid_field.c (__nss_valid_field): Likewise.
35498 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35499
0c71122c
FW
355002017-08-31 Florian Weimer <fweimer@redhat.com>
35501
35502 * malloc/arena.c (__malloc_fork_lock_parent)
35503 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35504 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35505 internal_function from defintions.
35506 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35507 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35508 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35509 internal_function from declarations.
35510 * malloc/malloc.c (internal_function): Do not define.
35511 (mem2mem_check): Remove internal_function from declaration.
35512 (munmap_chunk, mremap_chunk): Remove internal_function.
35513 * malloc/mtrace.c (tr_where): Likewise.
35514
ca4ec803
FW
355152017-08-31 Florian Weimer <fweimer@redhat.com>
35516
35517 * include/rpc/pmap_clnt.h (__get_socket): Remove
35518 internal_function.
35519 * sunrpc/auth_des.c (synchronize): Likewise.
35520 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35521 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35522 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35523 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35524 (key_call): Likewise.
35525 * sunrpc/pm_getport.c (__get_socket): Likewise.
35526 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35527 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35528 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35529 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35530 (invalidate): Likewise.
35531 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35532 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35533 (set_input_fragment, get_input_bytes): Likewise.
35534
24cffce7
FW
355352017-08-31 Florian Weimer <fweimer@redhat.com>
35536
35537 * malloc/malloc.c (_int_free): Remove locked variable and related
35538 asserts.
35539
ecd0747d
L
355402017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35541
35542 [BZ #22051]
35543 * Makerules (build-module-helper-objlist): Filter out
35544 $(elf-objpfx)sofini.os.
35545 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35546 needed.
35547
5f0704b6
FW
355482017-08-31 Florian Weimer <fweimer@redhat.com>
35549
35550 * libio/fcloseall.c: Assume weak_alias is defined.
35551 * libio/feof.c: Likewise.
35552 * libio/fileno.c: Likewise.
35553 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35554 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35555 definitions.
35556 (_IO_file_open): Call __open directly.
35557 (_IO_new_file_sync): Assume ESPIPE is defined.
35558 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35559 (_IO_new_file_write): Call __write directly.
35560 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35561 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35562 * libio/genops.c: Assume _LIBC is defined.
35563 (save_for_backup): Remove internal_function.
35564 * libio/getc.c: Assume weak_alias is defined.
35565 * libio/getwc.c: Likewise.
35566 * libio/iofclose.c: Assume _LIBC is defined.
35567 * libio/iofdopen.c: Likewise.
35568 (_IO_fcntl): Remove macro definition.
35569 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35570 Call __fcntl directly.
35571 * libio/iofflush.c: Assume weak_alias is defined.
35572 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35573 defined.
35574 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35575 * libio/iofgets.c: Likewise.
35576 * libio/iofopen.c: Assume _LIBC is defined.
35577 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35578 * libio/iofputs.c: Assume weak_alias is defined.
35579 * libio/iofread.c: Likewise.
35580 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35581 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35582 * libio/ioftell.c: Assume weak_alias is defined.
35583 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35584 * libio/iofwide.c: Assume _LIBC is defined.
35585 (_IO_fwide): Drop SHARED conditional because it is implied by
35586 SHLIB_COMPAT.
35587 * libio/iofwrite.c: Assume weak_alias is defined.
35588 * libio/iogetdelim.c: Likewise.
35589 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35590 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35591 (_IO_getwline): Call __wmemcpy directly.
35592 * libio/iopopen.c: Assume _LIBC is defined.
35593 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35594 (_IO_close): Remove macro definitions.
35595 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35596 _exit directly.
35597 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35598 directly.
35599 * libio/ioputs.c: Assume weak_alias is defined.
35600 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35601 * libio/iosetbuffer.c: Assume weak_alias is defined.
35602 * libio/iosetvbuf.c: Likewise.
35603 * libio/ioungetc.c: Likewise.
35604 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35605 libc_hidden_def, libc_hidden_weak, NULL are defined.
35606 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35607 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35608 defined.
35609 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35610 definitions.
35611 (_IO_old_file_init_internal): Drop SHARED conditional because it
35612 is implied by SHLIB_COMPAT.
35613 (_IO_old_file_fopen): Call __open directly.
35614 (_IO_old_file_sync): Assume ESPIPE is defined.
35615 (_IO_old_file_write): Call __write directly.
35616 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35617 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35618 Call __fcntl directly.
35619 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35620 (_IO_old_fgetpos): Assume EIO is defined.
35621 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35622 (_IO_old_fgetpos64): Assume EIO is defined.
35623 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35624 (_IO_old_fsetpos): Assume EIO is defined.
35625 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35626 (_IO_old_fsetpos64): Assume EIO is defined.
35627 * libio/oldiopopen.c: Assume _LIBC is defined.
35628 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35629 (_IO_close): Remove macro definitions.
35630 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35631 directly.
35632 (_IO_old_proc_close): Call __close, __waitpid directly.
35633 * libio/put.c: Assume weak_alias is defined.
35634 * libio/stdfiles.c: Assume _LIBC is defined.
35635 * libio/stdio.c: Likewise.
35636 * libio/wfileops.c: Likewise.
35637 (_IO_wfile_sync): Assume ESPIPE is defined.
35638 * libio/wgenops.c: Assume _LIBC is defined.
35639 (save_for_wbackup): Remove internal_function.
35640
5129873a
FW
356412017-08-31 Florian Weimer <fweimer@redhat.com>
35642
35643 * malloc/malloc.c (top_check): Change return type to void. Remove
35644 internal_function.
35645 * malloc/hooks.c (top_check): Likewise.
35646 (malloc_check, realloc_check, memalign_check): Adjust.
35647
4fa9b3bf
JM
356482017-08-30 Joseph Myers <joseph@codesourcery.com>
35649
35650 [BZ #21457]
35651 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35652 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35653 sigcontext and namespace requirements.
35654 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35655 * sysdeps/m68k/sys/ucontext.h: Likewise.
35656 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35657 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35658 <bits/sigcontext.h>.
35659 (__ctx): Define earlier.
35660 (mcontext_t): Define structure contents rather than using struct
35661 sigcontext.
35662 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35663 __glibc_reserved1 instead of __reserved.
35664 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35665 <bits/sigcontext.h>.
35666 (__ctx): Define earlier.
35667 (mcontext_t): Define structure contents rather than using struct
35668 sigcontext.
35669 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35670 mcontext_t instead of struct sigcontext.
35671 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35672 <bits/sigcontext.h>.
35673 (__ctx): Define earlier.
35674 (mcontext_t): Define structure contents rather than using struct
35675 sigcontext.
35676 * sysdeps/unix/sysv/linux/hppa/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/ia64/makecontext.c (__makecontext): Use
35682 mcontext_t instead of struct sigcontext.
35683 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35684 mcontext_t instead of struct sigcontext.
35685 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35686 <bits/sigcontext.h>.
35687 (__ctx): New macro.
35688 (struct __ia64_fpreg_mcontext): New type.
35689 (mcontext_t): Define structure contents rather than using struct
35690 sigcontext.
35691 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35692 (uc_sigmask): Define using __ctx.
35693 (uc_stack): Likewise.
35694 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35695 <bits/sigcontext.h>.
35696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35697 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35698 <bits/sigcontext.h>.
35699 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35700 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35701 <bits/sigcontext.h>.
35702 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35703 <bits/sigcontext.h>.
35704 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35705 <bits/sigcontext.h>.
35706 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35707 <bits/sigcontext.h>.
35708 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35709 <bits/sigcontext.h>.
35710 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35711 <bits/sigcontext.h>.
35712 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35713 <bits/sigcontext.h>.
35714 (__ctx): Define earlier.
35715 (mcontext_t): Define structure contents rather than using struct
35716 sigcontext.
35717 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35718 <bits/sigcontext.h>. Include <bits/types.h>.
35719 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35720 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35721 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35722 (test-xfail-UNIX98/signal.h/conform): Likewise.
35723 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35724 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35725 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35726 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35727 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35728 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35729 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35730 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35731 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35732
5898f454
FW
357332017-08-30 Florian Weimer <fweimer@redhat.com>
35734
35735 * malloc/dynarray_emplace_enlarge.c
35736 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35737 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35738 * malloc/tst-dynarray.c (test_long_overflow): New function.
35739 (do_test): Call it.
35740
a9da0bb2
FW
357412017-08-30 Florian Weimer <fweimer@redhat.com>
35742
35743 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35744 (set_arena_corrupt): Remove definitions.
35745 (mtrim): Do not check for corrupt arena.
35746 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35747 Likewise.
35748
ac3ed168
FW
357492017-08-30 Florian Weimer <fweimer@redhat.com>
35750
35751 [BZ #21754]
35752 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35753 check_action.
35754 (ptmalloc_init): Do not set or use check_action.
35755 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35756 call to malloc_printerr. Remove return statement.
35757 (free_check): Likewise. Remove arena unlock.
35758 (top_check): Update comment. Adjust call to malloc_printerr.
35759 Remove heap repair code.
35760 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35761 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35762 (sysmalloc): Adjust call to malloc_printerr.
35763 (munmap_chunk, __libc_realloc): Likewise. Remove return
35764 statement.
35765 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35766 Remove errout label and corresponding gotos.
35767 (_int_free): Likewise. Remove arena unlock.
35768 (do_set_mallopt_check): Do not set check_action.
35769 (malloc_printerr): Adjust parameter list. Do not mark arena as
35770 corrupt.
35771 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35772 comment.
35773 * manual/probes.texi (Memory Allocation Probes): Remove
35774 memory_mallopt_check_action.
35775
44bcba80
SE
357762017-08-30 Steve Ellcey <sellcey@cavium.com>
35777
35778 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35779 Use pointer to uint64_t instead of long int for sp.
35780
ec2c1fce
FW
357812017-08-30 Florian Weimer <fweimer@redhat.com>
35782
35783 [BZ #21754]
35784 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35785 without printing a backtrace. Do not leak any information in the
35786 error message.
35787 * manual/memory.texi (Heap Consistency Checking): Update.
35788 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35789
9ce673b6
FW
357902017-08-30 Florian Weimer <fweimer@redhat.com>
35791
35792 Do not scale NPTL tests with available number of CPUs.
35793 * nptl/tst-cond16.c (count): Set to constant value of 8.
35794 * nptl/tst-cond18.c (count): Likewise.
35795
2f1aef19
JM
357962017-08-29 Joseph Myers <joseph@codesourcery.com>
35797
35798 [BZ #22035]
35799 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35800 Define to take a second argument that is a macro that
35801 concatentates a suffix, not the suffix itself.
35802 (__CONCAT_d): New macro.
35803 (__CONCAT_f): Likewise.
35804 (__CONCAT_l): Likewise.
35805
8325b477
PP
358062017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35807
35808 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35809 by child.
35810
319cbbf6
AZ
358112017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35812 Aurelien Jarno <aurelien@aurel32.net>
35813 Maciej W. Rozycki <macro@imgtec.com>
35814
35815 [BZ #21956]
35816 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35817 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35818 `mips16-syscall6' and `mips16-syscall7'.
35819 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35820 (CFLAGS-mips16-syscall7.c): Remove.
35821 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35822 Remove `__mips16_syscall5', `__mips16_syscall6' and
35823 `__mips16_syscall7'.
35824 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35825 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35826 `__mips_syscall_return'.
35827 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35828 (__mips16_syscall1): Likewise.
35829 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35830 (__mips16_syscall2): Likewise.
35831 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35832 (__mips16_syscall3): Likewise.
35833 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35834 (__mips16_syscall4): Likewise.
35835 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35836 Remove.
35837 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35838 Remove.
35839 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35840 Remove.
35841 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35842 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35843 `__mips16_syscall5'. Remove prototype.
35844 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35845 `__mips16_syscall6'. Remove prototype.
35846 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35847 `__mips16_syscall7'. Remove prototype.
35848 (__nomips16, __mips16_syscall_return): Move to...
35849 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35850 (__nomips16, __mips_syscall_return): ... here.
35851 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35852 `__mips16_syscall_return' to `__mips_syscall_return'.
35853 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35854 `internal_syscall##nr'.
35855 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35856 `internal_syscall##nr'.
35857 (FORCE_FRAME_POINTER): Remove.
35858 (__mips_syscall5): New prototype.
35859 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35860 (__mips_syscall6): New prototype.
35861 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35862 (__mips_syscall7): New prototype.
35863 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35864 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35865 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35866 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35867 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35868 (sysdep_routines): Add libc-do-syscall.
35869 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35870 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35871
01b87c65
AZ
358722017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35873
35874 [BZ #21672]
35875 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35876 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35877 (advise_stack_range): New function.
35878 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35879 stack non required to advise_stack_range at allocatestack.c
35880
16f138a4
SN
358812017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35882
35883 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35884
251bccfa
FW
358852017-08-29 Florian Weimer <fweimer@redhat.com>
35886
35887 [BZ #22026]
35888 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35889 __end_fct. Mangle __end_fct after setting it to NULL.
35890 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35891 (modules-names, modules-names-tests): Add
35892 tst-gconv-init-failure-mod.
35893 (gconv-modules): New target.
35894 (tst-gconv-init-failure-mod.so): Link against libsupport.
35895 (tst-gconv-init-failure): Depend on gconv-modules,
35896 tst-gconv-init-failure-mod.so.
35897 * iconv/tst-gconv-init-failure-mod.c: New file.
35898 * iconv/tst-gconv-init-failure.c: Likewise.
35899 * iconv/test-gconv-modules: Likewise.
35900
e7c18b9d
FW
359012017-08-29 Florian Weimer <fweimer@redhat.com>
35902
35903 [BZ #22025]
35904 * iconv/gconv_db.c (free_derivation): Remove redundant
35905 parentheses.
35906 (gen_steps): Unconditionally mangle __btowc_fct after
35907 initialization.
35908 (increment_counter): Likewise. Do not call init_fct for internal
35909 modules.
35910
7daada03
JM
359112017-08-29 Joseph Myers <joseph@codesourcery.com>
35912
35913 [BZ #22028]
35914 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35915 (_MSUF_): Remove macro.
35916 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35917 Likewise.
35918 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35919 (__REDIRFROM_X): New macro.
35920 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35921 Likewise.
35922 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35923 (__REDIRTO_X): Likewise.
35924 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35925 arguments.
35926 (__MATH_REDIRCALL_2): Likewise.
35927 (__MATH_REDIRCALL_INTERNAL): Likewise.
35928 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35929 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35930 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35931 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35932 * math/test-finite-macros.c: New file.
35933 * math/Makefile (tests): Add test-finite-macros.
35934 (CFLAGS-test-finite-macros.c): New variable.
35935
1cf1232c
PF
359362017-08-29 Patsy Franklin <pfrankli@redhat.com>
35937 Jeff Law <law@redhat.com>
35938
35939 [BZ #22025]
35940 Mangle NULL pointers in iconv/gconv.
35941 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35942 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35943 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35944 is non-NULL before demangling the end_fct. Check for NULL
35945 end_fct after demangling.
35946 (__gconv_release_step): Demangle the end_fct before checking
35947 it for NULL. Remove assert on __shlibc_handle != NULL.
35948 (gen_steps): Don't check btowc_fct for NULL before mangling.
35949 Demangle init_fct before checking for NULL.
35950 (increment_counter): Likewise.
35951 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35952 end_fct for NULL before mangling.
35953 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35954 for NULL.
35955
c207f7ce 359562017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
35957
35958 [BZ #21971]
35959 * locale/iso-639.def: add Morisyen.
35960
42496114
GG
359612017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35962
35963 [BZ #21930]
35964 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35965 (iszero): New C++ implementation that does not use
35966 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35967 signaling nans are enabled, since __builtin_types_compatible_p
35968 is a C-only feature.
35969 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35970 defined, include ieee754_float128.h for access to the union and
35971 member ieee854_float128.ieee.
35972 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35973 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35974 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35975 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35976 options of test-math-zero on powerpc64le.
35977
5e2bc4ff
L
359782017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35979
35980 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35981 Change double to float.
35982
a48c0fb4
JM
359832017-08-28 Joseph Myers <joseph@codesourcery.com>
35984
35985 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35986 unconditional.
35987 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35988 conditional code; define contents only for [LIBM_SVID_COMPAT].
35989
ee17d4e9
FW
359902017-08-28 Florian Weimer <fweimer@redhat.com>
35991
35992 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35993 (abi-lp64_be-options): Remove.
35994 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35995 (abi-hard-options): Likewise.
35996 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35997 (abi-o32_hard-options, abi-o32_soft_2008-options)
35998 (abi-o32_hard_2008-options, abi-n32_soft-options)
35999 (abi-n32_hard-options, abi-n32_soft_2008-options)
36000 (abi-n32_hard_2008-options, abi-n64_soft-options)
36001 (abi-n64_hard-options, abi-n64_soft_2008-options)
36002 (abi-n64_hard_2008-options): Likewise.
36003 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
36004 (abi-64-v1-options, abi-64-v2-options): Likewise.
36005 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
36006 (abi-64-options): Likewise.
36007 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
36008 (abi-64-options): Likewise.
36009 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
36010 (abi-64-options): Likewise.
36011 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
36012 (abi-64-options, abi-x32-options): Likewise.
36013
2dba5ce7
FW
360142017-08-28 Florian Weimer <fweimer@redhat.com>
36015
36016 Store supported list of SYS_* system calls in the source tree.
36017 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
36018 (bits/syscall.h): Generate from list file.
36019 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
36020 [$(subdir) = misc] (tests): Add tst-syscall-list.
36021 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
36022 [$(subdir) = misc] (tst-syscall-list-macros.list)
36023 [$(subdir) = misc] (tst-syscall-list-nr.list)
36024 (tst-syscall-list-sys.list): Helper targets for new
36025 tst-syscall-list test.
36026 [$(subdir) = misc] (tst-syscall-list.out): Run test script
36027 tst-syscall-list.sh.
36028 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
36029 target. Do not include bits/syscall.d.
36030 [$(subdir) = misc] (generated): Do not update.
36031 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
36032 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
36033 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
36034 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
36035
5f3b183d
PP
360362017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36037
36038 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
36039 (tst-cxa_atexit, tst-on_exit): Likewise.
36040 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
36041 tst-cxa_atexit, and tst-on_exit.
36042 * stdlib/tst-atexit-common.c: New file.
36043 * stdlib/tst-atexit.c: New file.
36044 * stdlib/tst-at_quick_exit.c: New file.
36045 * stdlib/tst-cxa_atexit.c: New file.
36046 * stdlib/tst-on_exit.c: New file.
36047
2ef8d469
ST
360482017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36049
36050 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
36051 * mach/stack_chk_fail_local.c: New file.
36052 * hurd/stack_chk_fail_local.c: New file.
36053 * mach/Machrules ($(interface-library)-routines): Add
36054 stack_chk_fail_local.
99ee4d26
ST
36055 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
36056 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
36057 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
36058 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
36059 * hurd/Makefile (CFLAGS-hurdstartup.o,
36060 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 36061
7ab70c98
L
360622017-08-25 H.J. Lu <hongjiu.lu@intel.com>
36063
36064 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36065 (index_cpu_*, index_arch_*): Removed.
36066
39e7a5a6
SN
360672017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
36068
36069 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
36070 Use uint64_t instead of unsigned long.
36071
bba5c930
JM
360722017-08-25 Joseph Myers <joseph@codesourcery.com>
36073
a6ccdb08
JM
36074 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
36075 [__HAVE_DISTINCT_FLOAT128].
36076
23761119
JM
36077 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
36078 of <bits/math-finite.h>.
36079 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
36080 inclusion of <bits/math-finite.h>.
36081 * math/bits/math-finite.h (__REDIRTO_X): Do not define
36082 conditionally on [__MATH_DECLARING_LDOUBLE && defined
36083 __NO_LONG_DOUBLE_MATH].
36084 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36085 (__MATH_REDIRCALL_2): Likewise.
36086 (__MATH_REDIRCALL_INTERNAL): Likewise.
36087 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36088 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36089 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36090
bba5c930
JM
36091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36092 Remove file.
36093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36094 Likewise.
36095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36096 Likewise.
36097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36098 Likewise.
36099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36100 Likewise.
36101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36102 Likewise.
36103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36104 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36105 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36106 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36108 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36109 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36110 w_sqrtf_compat-ppc32.
36111
3d7b66f6
GG
361122017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36113
36114 * math/math.h [defined __cplusplus] (issignaling): In the long
36115 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36116 is not defined. Call __issignaling, otherwise.
36117
ebd6f007
AZ
361182017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36119
36120 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36121 syscall definitions and replace __builtin_expect with __glibc_likely.
36122 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36123 syscall.
6b5c8607 36124 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
36125 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36126 definition.
36127 (PSEUDO_END): Likewise.
36128 [IS_IN (libpthread)] (CENABLE): Likewise.
36129 [IS_IN (libpthread)] (CDISABLE): Likewise.
36130 [IS_IN (libc)] (CENABLE): Likewise.
36131 [IS_IN (libc)] (CENABLE): Likewise.
36132 [IS_IN (librt)] (CDISABLE): Likewise.
36133 [IS_IN (librt)] (CDISABLE): Likewise.
36134 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36135 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36136 definition.
36137 (PSEUDO_END): Likewise.
36138 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36139 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36140 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36141 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36142 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36143 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36144 (CENABLE): Likewise.
36145 (CDISABLE): Likewise.
36146 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36147 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
36148 defintion.
36149 (PSEUDO_END): Likewise.
36150 [IS_IN (libpthread)] (CENABLE): Likewise.
36151 [IS_IN (libpthread)] (CDISABLE): Likewise.
36152 [IS_IN (libc)] (CENABLE): Likewise.
36153 [IS_IN (libc)] (CENABLE): Likewise.
36154 [IS_IN (librt)] (CDISABLE): Likewise.
36155 [IS_IN (librt)] (CDISABLE): Likewise.
36156 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36157 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
36158 definition.
36159 (PSEUDO_END): Likewise.
36160 [IS_IN (libpthread)] (CENABLE): Likewise.
36161 [IS_IN (libpthread)] (CDISABLE): Likewise.
36162 [IS_IN (libc)] (CENABLE): Likewise.
36163 [IS_IN (libc)] (CENABLE): Likewise.
36164 [IS_IN (librt)] (CDISABLE): Likewise.
36165 [IS_IN (librt)] (CDISABLE): Likewise.
36166 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36167 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
36168 definition.
36169 (PSEUDO_END): Likewise.
36170 [IS_IN (libpthread)] (CENABLE): Likewise.
36171 [IS_IN (libpthread)] (CDISABLE): Likewise.
36172 [IS_IN (libc)] (CENABLE): Likewise.
36173 [IS_IN (libc)] (CENABLE): Likewise.
36174 [IS_IN (librt)] (CDISABLE): Likewise.
36175 [IS_IN (librt)] (CDISABLE): Likewise.
36176 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36177 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36178 definition.
36179 (PSEUDO_END): Likewise.
36180 [IS_IN (libpthread)] (CENABLE): Likewise.
36181 [IS_IN (libpthread)] (CDISABLE): Likewise.
36182 [IS_IN (libc)] (CENABLE): Likewise.
36183 [IS_IN (libc)] (CENABLE): Likewise.
36184 [IS_IN (librt)] (CDISABLE): Likewise.
36185 [IS_IN (librt)] (CDISABLE): Likewise.
36186 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36187 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36188 definition.
36189 (PSEUDO_END): Likewise.
36190 [IS_IN (libpthread)] (CENABLE): Likewise.
36191 [IS_IN (libpthread)] (CDISABLE): Likewise.
36192 [IS_IN (libc)] (CENABLE): Likewise.
36193 [IS_IN (libc)] (CENABLE): Likewise.
36194 [IS_IN (librt)] (CDISABLE): Likewise.
36195 [IS_IN (librt)] (CDISABLE): Likewise.
36196 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36197 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36198 definition.
36199 (PSEUDO_END): Likewise.
36200 [IS_IN (libpthread)] (CENABLE): Likewise.
36201 [IS_IN (libpthread)] (CDISABLE): Likewise.
36202 [IS_IN (libc)] (CENABLE): Likewise.
36203 [IS_IN (libc)] (CENABLE): Likewise.
36204 [IS_IN (librt)] (CDISABLE): Likewise.
36205 [IS_IN (librt)] (CDISABLE): Likewise.
36206 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36207 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36208 Remove definition.
36209 (PSEUDO_END): Likewise.
36210 [IS_IN (libpthread)] (CENABLE): Likewise.
36211 [IS_IN (libpthread)] (CDISABLE): Likewise.
36212 [IS_IN (libc)] (CENABLE): Likewise.
36213 [IS_IN (libc)] (CENABLE): Likewise.
36214 [IS_IN (librt)] (CDISABLE): Likewise.
36215 [IS_IN (librt)] (CDISABLE): Likewise.
36216 (SINGLE_THREAD_P): Likewise.
36217 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36218 definition.
36219 (PSEUDO_END): Likewise.
36220 [IS_IN (libpthread)] (CENABLE): Likewise.
36221 [IS_IN (libpthread)] (CDISABLE): Likewise.
36222 [IS_IN (libc)] (CENABLE): Likewise.
36223 [IS_IN (libc)] (CENABLE): Likewise.
36224 [IS_IN (librt)] (CDISABLE): Likewise.
36225 [IS_IN (librt)] (CDISABLE): Likewise.
36226 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36227 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36228 definition.
36229 (PSEUDO_END): Likewise.
36230 [IS_IN (libpthread)] (CENABLE): Likewise.
36231 [IS_IN (libpthread)] (CDISABLE): Likewise.
36232 [IS_IN (libc)] (CENABLE): Likewise.
36233 [IS_IN (libc)] (CENABLE): Likewise.
36234 [IS_IN (librt)] (CDISABLE): Likewise.
36235 [IS_IN (librt)] (CDISABLE): Likewise.
36236 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36237 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36238 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36239 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36240 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36241 definition.
36242 (PSEUDO_END): Likewise.
36243 [IS_IN (libpthread)] (CENABLE): Likewise.
36244 [IS_IN (libpthread)] (CDISABLE): Likewise.
36245 [IS_IN (libc)] (CENABLE): Likewise.
36246 [IS_IN (libc)] (CENABLE): Likewise.
36247 [IS_IN (librt)] (CDISABLE): Likewise.
36248 [IS_IN (librt)] (CDISABLE): Likewise.
36249 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36250 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36251 definition.
36252 (PSEUDO_END): Likewise.
36253 [IS_IN (libpthread)] (CENABLE): Likewise.
36254 [IS_IN (libpthread)] (CDISABLE): Likewise.
36255 [IS_IN (libc)] (CENABLE): Likewise.
36256 [IS_IN (libc)] (CENABLE): Likewise.
36257 [IS_IN (librt)] (CDISABLE): Likewise.
36258 [IS_IN (librt)] (CDISABLE): Likewise.
36259 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36260 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36261 definition.
36262 (PSEUDO_END): Likewise.
36263 [IS_IN (libpthread)] (CENABLE): Likewise.
36264 [IS_IN (libpthread)] (CDISABLE): Likewise.
36265 [IS_IN (libc)] (CENABLE): Likewise.
36266 [IS_IN (libc)] (CENABLE): Likewise.
36267 [IS_IN (librt)] (CDISABLE): Likewise.
36268 [IS_IN (librt)] (CDISABLE): Likewise.
36269 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36272 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36273 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36274 definition.
36275 (PSEUDO_END): Likewise.
36276 [IS_IN (libpthread)] (CENABLE): Likewise.
36277 [IS_IN (libpthread)] (CDISABLE): Likewise.
36278 [IS_IN (libc)] (CENABLE): Likewise.
36279 [IS_IN (libc)] (CENABLE): Likewise.
36280 [IS_IN (librt)] (CDISABLE): Likewise.
36281 [IS_IN (librt)] (CDISABLE): Likewise.
36282 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36283 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36284 definition.
36285 (PSEUDO_END): Likewise.
36286 [IS_IN (libpthread)] (CENABLE): Likewise.
36287 [IS_IN (libpthread)] (CDISABLE): Likewise.
36288 [IS_IN (libc)] (CENABLE): Likewise.
36289 [IS_IN (libc)] (CENABLE): Likewise.
36290 [IS_IN (librt)] (CDISABLE): Likewise.
36291 [IS_IN (librt)] (CDISABLE): Likewise.
36292 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36293
8aa48656
SN
362942017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36295
36296 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36297
fcaaca41
L
362982017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36299
36300 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36301
376b40a2
L
363022017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36303
36304 [BZ #21982]
36305 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36306 middle and outer with size_t instead of int. Repleace %d and
36307 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36308 "MAX (outer, nchars - 64)" to support unsigned outer and
36309 nchars. Also exit loop when outer == 0.
36310
2b0b9a1c
AZ
363112017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36312
36313 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36314 * include/signal.h (__sigsuspend_nocancel): Likewise.
36315 * include/time.h (__nanosleep_nocancel): Likewise.
36316 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36317 * login/utmp_file.c: Include non cancellable syscall header.
36318 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36319 prototype.
36320
b9eaca8f
L
363212017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36322
36323 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36324 .byte sequences with AVX512F instructions.
36325 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36326 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36327 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36328 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36329 Likewise.
36330 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36331 Likewise.
36332
5a706f64
SE
363332017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36334 Steve Ellcey <sellcey@cavium.com>
36335
36336 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36337 Use PTR_REG macro in cmp instruction.
36338
b513da7e
GG
363392017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36340
36341 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36342 Change the return type of the ifunc resolver to match the return
36343 type of the target function.
36344
78ca091c
AZ
363452017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36346
b70b6026
AZ
36347 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36348 (preadv64): Likewise.
36349 (pwrite64(: Likewise.
36350 (pwritev64): Likewise.
36351
78ca091c
AZ
36352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36353 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36354 (LOAD_ARGS_0): Likewise.
36355 (LOAD_ARGS_1): Likewise.
36356 (LOAD_ARGS_2): Likewise.
36357 (LOAD_ARGS_3): Likewise.
36358 (LOAD_ARGS_4): Likewise.
36359 (LOAD_ARGS_5): Likewise.
36360 (LOAD_ARGS_6): Likewise.
36361 (LOAD_REGS_0): Likewise.
36362 (LOAD_REGS_1): Likewise.
36363 (LOAD_REGS_2): Likewise.
36364 (LOAD_REGS_3): Likewise.
36365 (LOAD_REGS_4): Likewise.
36366 (LOAD_REGS_5): Likewise.
36367 (LOAD_REGS_6): Likewise.
36368 (ASM_ARGS_0): Likewise.
36369 (ASM_ARGS_1): Likewise.
36370 (ASM_ARGS_2): Likewise.
36371 (ASM_ARGS_3): Likewise.
36372 (ASM_ARGS_4): Likewise.
36373 (ASM_ARGS_5): Likewise.
36374 (ASM_ARGS_6): Likewise.
36375 (LOAD_ARGS_TYPES_1): Likewise.
36376 (LOAD_ARGS_TYPES_2): Likewise.
36377 (LOAD_ARGS_TYPES_3): Likewise.
36378 (LOAD_ARGS_TYPES_4): Likewise.
36379 (LOAD_ARGS_TYPES_5): Likewise.
36380 (LOAD_ARGS_TYPES_6): Likewise.
36381 (LOAD_REGS_TYPES_1): Likewise.
36382 (LOAD_REGS_TYPES_2): Likewise.
36383 (LOAD_REGS_TYPES_3): Likewise.
36384 (LOAD_REGS_TYPES_4): Likewise.
36385 (LOAD_REGS_TYPES_5): Likewise.
36386 (LOAD_REGS_TYPES_6): Likewise.
36387 (TYPEFY): New define.
36388 (ARGIFY): Likewise.
36389 (internal_syscall0): Likewise.
36390 (internal_syscall1): Likewise.
36391 (internal_syscall2): Likewise.
36392 (internal_syscall3): Likewise.
36393 (internal_syscall4): Likewise.
36394 (internal_syscall5): Likewise.
36395 (internal_syscall6): Likewise.
36396 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36397 (INTERNAL_SYSCALL_NCS): Remove define.
36398 (internal_syscall1): Add define.
36399
453a493d
GG
364002017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36401
36402 * math/w_remainder_compat.c: Remove duplicate inclusion of
36403 math-svid-compat.h.
36404 * math/w_remainderf_compat.c: Likewise.
36405 * math/w_remainderl_compat.c: Likewise.
36406
f2f048a5
GG
364072017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36408
36409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36410
d9bef9c0
JM
364112017-08-22 Joseph Myers <joseph@codesourcery.com>
36412
36413 [BZ #21684]
36414 * math/tgmath.h (__floating_type): Simplify definitions.
36415 (__real_integer_type): New macro.
36416 (__complex_integer_type): Likewise.
36417 (__expr_is_real): Likewise.
36418 (__tgmath_real_type_sub): Update comment to describe handling of
36419 complex types.
36420 (__tgmath_complex_type_sub): New macro.
36421 (__tgmath_complex_type): Likewise.
36422 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36423 (__TGMATH_CF128): Use __expr_is_real.
36424 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36425 __expr_is_real.
36426 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36427 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36428 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36429 integer types.
36430
08d6eb46
AZ
364312017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36432
988f991b
AZ
36433 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36434 macro.
36435 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36436 alias.
36437 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36438 Likewise.
36439
6f33fd04
AZ
36440 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36441 nanosleep_not_cancel with __nanosleep_nocancel.
36442 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36443 (__nanosleep_nocancel): New macro.
36444 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36445 function.
36446 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36447 macro.
36448 (__nanosleep_nocancel): New prototype.
36449
08d6eb46
AZ
36450 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36451 pause_not_cancel with __pause_nocancel.
36452 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36453 (__pause_nocancel): New macro.
36454 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36455 macro.
36456 (__pause_nocancel): New prototype.
36457 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36458
ee4e992e
MS
364592017-08-22 Martin Sebor <msebor@redhat.com>
36460
36461 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36462 to return a pointer to the same type as the target function.
36463
20962acb
L
364642017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36465
36466 [BZ #18822]
36467 [BZ #21986]
36468 * include/printf.h (__printf_fphex): Add attribute_hidden.
36469 (__guess_grouping): New prototype.
36470 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36471 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36472 libc_hidden_proto and libc_hidden_def.
36473 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36474 (__vstrfmon_l): Remove the third argument passed to
36475 __guess_grouping.
36476
a16e8bc0
GG
364772017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36478
36479 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36480 definition for issignaling that does not rely on __MATH_TG,
36481 since __MATH_TG uses __builtin_types_compatible_p, which is only
36482 available in C mode.
36483 (CFLAGS-test-math-issignaling.cc): New variable.
36484 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36485 * math/test-math-issignaling.cc: New test for C++ implementation
36486 of type-generic issignaling.
36487 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36488 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36489 options of test-math-issignaling on powerpc64le.
36490
8d2ec553
L
364912017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36492
36493 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36494 building libc.a.
36495 (hidden_proto): Likewise.
36496 (hidden_tls_proto): Likewise.
36497 (__hidden_proto): Likewise.
36498
a4d57b79
FW
364992017-08-22 Florian Weimer <fweimer@redhat.com>
36500
36501 math: Statically link tests of internal functionality.
36502 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36503 atest-exp2.
36504 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36505 (gmp-objs): Remove assignment.
36506 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36507
75dfe623
JM
365082017-08-22 Joseph Myers <joseph@codesourcery.com>
36509
80f91666
JM
36510 [BZ #21987]
36511 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36512 and copy to ...
36513 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36514 ... here.
36515 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36516 ... and here.
36517
75dfe623
JM
36518 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36519 variable definitions above inclusion of ../Rules.
36520
ea99fcd0
JM
365212017-08-21 Joseph Myers <joseph@codesourcery.com>
36522
36523 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36524 case calling __builtin_unreachable.
36525
19926de9
AZ
365262017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36527
a8410a5f
AZ
36528 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36529 __waitpid_nocancel.
36530 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36531 (__waitpid_nocancel): New macro.
36532 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36533 macro.
36534 (__waitpid_nocancel): Replace macro with a function.
36535 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36536 function.
36537
7369800c
AZ
36538 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36539 __fcntl_nocancel.
36540 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36541 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36542
19926de9
AZ
36543 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36544 __writev_nocancel_nostatus.
36545 (write_call_graph): Likewise.
36546 (write_bb_counts): Likewise.
36547 * resolv/herror.c (herror): Likewise.
36548 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36549 macro.
36550 (__writev_nocancel_nostatus): New macro.
36551 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36552 Remove macro.
36553 (__writev_nocancel_nostatus): New function.
36554
813378e9
JM
365552017-08-21 Joseph Myers <joseph@codesourcery.com>
36556
df1deda6
JM
36557 Revert:
36558 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36559
36560 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36561 building libc.a.
36562 (hidden_proto): Likewise.
36563 (hidden_tls_proto): Likewise.
36564 (__hidden_proto): Likewise.
36565
831bbd55
JM
36566 [BZ #21973]
36567 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36568 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36570 Likewise.
36571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36572 Likewise.
36573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36574 Likewise.
36575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36576 Likewise.
36577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36579 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36580 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36581 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36582 GLIBC_2.0 sqrtl symbol.
36583
813378e9
JM
36584 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36585 [__USE_MISC] (_LIB_VERSION): Likewise.
36586 [__USE_MISC] (struct exception): Likewise.
36587 [__USE_MISC] (matherr): Likewise.
36588 [__USE_MISC] (DOMAIN): Likewise.
36589 [__USE_MISC] (SING): Likewise.
36590 [__USE_MISC] (OVERFLOW): Likewise.
36591 [__USE_MISC] (UNDERFLOW): Likewise.
36592 [__USE_MISC] (TLOSS): Likewise.
36593 [__USE_MISC] (PLOSS): Likewise.
36594 [__USE_MISC] (HUGE): Likewise.
36595 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36596 * math/math-svid-compat.h: New file.
36597 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36598 and matherrl.
36599 * include/math.h [!_ISOMAC] (__matherr): Remove.
36600 * manual/arith.texi (FP Exceptions): Do not document matherr.
36601 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36602 (tests-internal): New variable.
36603 (install-lib): Do not add libieee.a.
36604 (non-lib.a): Likewise.
36605 (extra-objs): Do not add libieee.a and ieee-math.o.
36606 (CPPFLAGS-s_lib_version.c): Remove variable.
36607 ($(objpfx)libieee.a): Remove rule.
36608 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36609 * math/ieee-math.c: Remove.
36610 * math/libm-test-support.c (matherr): Remove.
36611 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36612 and license notices. Include <math-svid-compat.h> and
36613 <shlib-compat.h>.
36614 (matherr): Undefine as macro. Use compat_symbol_reference.
36615 (_LIB_VERSION): Likewise.
36616 * math/test-matherr-2.c: New file.
36617 * math/test-matherr-3.c: Likewise.
36618 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36619 declaration.
36620 (__kernel_standard_f): Likewise.
36621 (__kernel_standard_l): Likewise.
36622 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36623 <math_private.h>. Include <math-svid-compat.h>.
36624 (_LIB_VERSION): Undefine as macro.
36625 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36626 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36627 [LIBM_SVID_COMPAT], use compat_symbol.
36628 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36629 <math_private.h>. Include <math-svid-compat.h>.
36630 (matherr): Undefine as macro.
36631 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36632 compat_symbol.
36633 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36634 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36635 compat_symbol_reference.
36636 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36637 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36638 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36639 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36640 (MATHERR_D): Remove declaration.
36641 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36642 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36643 [LIBM_BUILD] (pmatherrf): Likewise.
36644 [LIBM_BUILD] (pmatherr): Likewise.
36645 [LIBM_BUILD] (pmatherrl): Likewise.
36646 (DOMAIN): Likewise.
36647 (SING): Likewise.
36648 (OVERFLOW): Likewise.
36649 (UNDERFLOW): Likewise.
36650 (TLOSS): Likewise.
36651 (PLOSS): Likewise.
36652 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36653 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36654 compat_symbol.
36655 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36656 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36657 compat_symbol.
36658 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36659 * math/w_acos_compat.c: Likewise.
36660 * math/w_acosf_compat.c: Likewise.
36661 * math/w_acosh_compat.c: Likewise.
36662 * math/w_acoshf_compat.c: Likewise.
36663 * math/w_acoshl_compat.c: Likewise.
36664 * math/w_acosl_compat.c: Likewise.
36665 * math/w_asin_compat.c: Likewise.
36666 * math/w_asinf_compat.c: Likewise.
36667 * math/w_asinl_compat.c: Likewise.
36668 * math/w_atan2_compat.c: Likewise.
36669 * math/w_atan2f_compat.c: Likewise.
36670 * math/w_atan2l_compat.c: Likewise.
36671 * math/w_atanh_compat.c: Likewise.
36672 * math/w_atanhf_compat.c: Likewise.
36673 * math/w_atanhl_compat.c: Likewise.
36674 * math/w_cosh_compat.c: Likewise.
36675 * math/w_coshf_compat.c: Likewise.
36676 * math/w_coshl_compat.c: Likewise.
36677 * math/w_exp10_compat.c: Likewise.
36678 * math/w_exp10f_compat.c: Likewise.
36679 * math/w_exp10l_compat.c: Likewise.
36680 * math/w_exp2_compat.c: Likewise.
36681 * math/w_exp2f_compat.c: Likewise.
36682 * math/w_exp2l_compat.c: Likewise.
36683 * math/w_fmod_compat.c: Likewise.
36684 * math/w_fmodf_compat.c: Likewise.
36685 * math/w_fmodl_compat.c: Likewise.
36686 * math/w_hypot_compat.c: Likewise.
36687 * math/w_hypotf_compat.c: Likewise.
36688 * math/w_hypotl_compat.c: Likewise.
36689 * math/w_j0_compat.c: Likewise.
36690 * math/w_j0f_compat.c: Likewise.
36691 * math/w_j0l_compat.c: Likewise.
36692 * math/w_j1_compat.c: Likewise.
36693 * math/w_j1f_compat.c: Likewise.
36694 * math/w_j1l_compat.c: Likewise.
36695 * math/w_jn_compat.c: Likewise.
36696 * math/w_jnf_compat.c: Likewise.
36697 * math/w_jnl_compat.c: Likewise.
36698 * math/w_lgamma_main.c: Likewise.
36699 * math/w_lgamma_r_compat.c: Likewise.
36700 * math/w_lgammaf_main.c: Likewise.
36701 * math/w_lgammaf_r_compat.c: Likewise.
36702 * math/w_lgammal_main.c: Likewise.
36703 * math/w_lgammal_r_compat.c: Likewise.
36704 * math/w_log10_compat.c: Likewise.
36705 * math/w_log10f_compat.c: Likewise.
36706 * math/w_log10l_compat.c: Likewise.
36707 * math/w_log2_compat.c: Likewise.
36708 * math/w_log2f_compat.c: Likewise.
36709 * math/w_log2l_compat.c: Likewise.
36710 * math/w_log_compat.c: Likewise.
36711 * math/w_logf_compat.c: Likewise.
36712 * math/w_logl_compat.c: Likewise.
36713 * math/w_pow_compat.c: Likewise.
36714 * math/w_powf_compat.c: Likewise.
36715 * math/w_powl_compat.c: Likewise.
36716 * math/w_remainder_compat.c: Likewise.
36717 * math/w_remainderf_compat.c: Likewise.
36718 * math/w_remainderl_compat.c: Likewise.
36719 * math/w_scalb_compat.c: Likewise.
36720 * math/w_scalbf_compat.c: Likewise.
36721 * math/w_scalbl_compat.c: Likewise.
36722 * math/w_sinh_compat.c: Likewise.
36723 * math/w_sinhf_compat.c: Likewise.
36724 * math/w_sinhl_compat.c: Likewise.
36725 * math/w_sqrt_compat.c: Likewise.
36726 * math/w_sqrtf_compat.c: Likewise.
36727 * math/w_sqrtl_compat.c: Likewise.
36728 * math/w_tgamma_compat.c: Likewise.
36729 * math/w_tgammaf_compat.c: Likewise.
36730 * math/w_tgammal_compat.c: Likewise.
36731 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36732 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36733 * sysdeps/ieee754/k_standard.c: Likewise.
36734 * sysdeps/ieee754/k_standardf.c: Likewise.
36735 * sysdeps/ieee754/k_standardl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36738 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36739 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36740 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36741 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36742 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36743 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36744 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36746 Likewise.
36747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36748 Likewise.
36749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36751 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36752 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36753
4504783c
FW
367542017-08-21 Florian Weimer <fweimer@redhat.com>
36755
36756 [BZ #21864]
36757 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36758 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36759 Move before inclusion of ../Rules.
36760
b5889d25
FW
367612017-08-21 Florian Weimer <fweimer@redhat.com>
36762
36763 [BZ #21972]
36764 * assert/assert.h (assert): Use static_cast (bool) for C++.
36765 Use the ternary operator in the warning branch for GNU C.
36766 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36767 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36768 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36769 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36770 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36771
41e673c1
L
367722017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36773
36774 [BZ #18822]
36775 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36776 (__syscall_clock_gettime): Add attribute_hidden.
36777 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36778 (__start_context): Likewise.
36779
568ff429
L
367802017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36781
36782 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36783 building libc.a.
36784 (hidden_proto): Likewise.
36785 (hidden_tls_proto): Likewise.
36786 (__hidden_proto): Likewise.
36787
7c41b4a1
L
367882017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36789
36790 * include/libc-symbols.h (attribute_hidden): Enable hidden
36791 visibility in libc.a compiled with PIE.
36792
483d7068
L
367932017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36794
36795 [BZ #18822]
36796 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36797 Add attribute_hidden.
36798
367992017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36800
36801 [BZ #21864]
36802 * Makerules (all-nonlib): Add $(others-extras).
36803 * catgets/Makefile (others-extras): New.
36804 * elf/Makefile (others-extras): Likewise.
36805 * nss/Makefile (others-extras): Likewise.
36806
54e4b8f2
L
368072017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36808
36809 [BZ #18822]
36810 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36811 * elf/dl-open.c: Include <libc-internal.h>.
36812 (__libc_multiple_libcs): Removed.
36813 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36814 <hp-timing.h>.
36815 * include/libc-internal.h (__libc_multiple_libcs): New.
36816 * misc/sbrk.c: Include <libc-internal.h>.
36817 (__libc_multiple_libcs): Removed.
36818
1dbbb1ec
L
368192017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36820
36821 [BZ #18822]
36822 * grp/initgroups.c (__nss_group_database): Removed.
36823 (__nss_initgroups_database): Likewise.
36824 * nscd/gai.c (__nss_hosts_database): Likewise.
36825 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36826 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36827 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36828 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36829 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36830 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36831 attribute_hidden.
36832 * nss/nsswitch.c (__nss_database_custom): Define only if
36833 USE_NSCD is defined.
36834 (__nss_configure_lookup): Use __nss_database_custom only if
36835 USE_NSCD is defined.
36836 * nss/nsswitch.h (__nss_database_custom): Declare only if
36837 USE_NSCD is defined. Add attribute_hidden.
36838 (__nss_setent): Add attribute_hidden.
36839 (__nss_endent): Likewise.
36840 (__nss_getent_r): Likewise.
36841 (__nss_getent): Likewise.
36842 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36843
2585d7b8
L
368442017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36845
36846 [BZ #18822]
36847 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36848 libc_hidden_proto and libc_hidden_def.
36849
c8dfa99c
L
368502017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36851
36852 [BZ #18822]
36853 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36854 Add libc_hidden_proto.
36855 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36856 Add libc_hidden_def.
36857
7ed87317
L
368582017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36859
36860 [BZ #21974]
36861 * gmon/Makefile (routines): Remove bb_init_func and
36862 bb_exit_func.
36863 (elide-routines.os): Removed.
9476b904
L
36864 * gmon/bb_exit_func.c: Likewise.
36865 * gmon/bb_init_func.c: Likewise.
7ed87317
L
36866 * include/sys/gmon.h (__bb): Likewise.
36867 (__bb_init_func): Likewise.
36868 (__bb_exit_func): Likewise.
91695eb1 36869 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 36870
94e6ba15
L
368712017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36872
36873 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36874 * include/setjmp.h (____longjmp_chk): Here. Add
36875 attribute_hidden.
36876
7550717e
L
368772017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36878
36879 [BZ #18822]
36880 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36881 attribute_hidden.
36882 (__strspn_sse2): Likewise.
36883
0bb2fabc
AZ
368842017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36885
c181840c
AZ
36886 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36887 (close_not_cancel_no_status): Likewise.
36888 (__close_nocancel): New macro.
36889 (__close_nocancel_nostatus): Likewise.
36890 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36891 macro.
36892 (close_not_cancel): Likewise.
36893 (close_not_cancel_no_status): Likewise.
36894 (__close_nocancel): New prototype.
36895 (__close_nocancel_nostatus): New function.
36896 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36897 * catgets/open_catalog.c (__open_catalog): Replace
36898 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36899 * gmon/gmon.c (write_gmon): Likewise.
36900 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36901 * intl/loadmsgcat.c (close): Likewise.
36902 * io/ftw.c (open_dir_stream): Likewise.
36903 (ftw_startup): Likewise.
36904 * libio/fileops.c (_IO_file_open): Likewise.
36905 (_IO_file_close_mmap): Likewise.
36906 (_IO_file_close): Likewise.
36907 * libio/iopopen.c (_IO_dup2): Likewise.
36908 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36909 * locale/loadlocale.c (_nl_load_locale): Likewise.
36910 * login/utmp_file.c (pututline_file): Likewise.
36911 (endutent_file): Likewise.
36912 * misc/daemon.c (daemon): Likewise.
36913 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36914 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36915 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36916 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36918 * nscd/nscd_helper.c (open_socket): Likewise.
36919 (__nscd_open_socket): Likewise.
36920 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36921 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36922 (__nscd_innetgr): Likewise.
36923 * nss/nss_db/db-open.c (internal_setent): Likewise.
36924 * resolv/res-close.c (__res_iclose): Likewise.
36925 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36926 * sysdeps/posix/closedir.c (__closedir): Likewise.
36927 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36928 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36929 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36930 (opendir_tail): Likewise.
36931 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36932 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36933 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36934 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36935 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36936 (gethostid): Likewise.
36937 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36939 Likewise.
36940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36941 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36942 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36943 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36944 Likewise.
36945 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36946 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36947 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36948 Likewise.
36949 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36950 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36951 Likewise.
36952 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36953 Likewise.
36954 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36955 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36956 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36957 __close_nocancel.
36958
0bb2fabc
AZ
36959 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36960 (openat_not_cancel_3): Likewise.
36961 (openat64_not_cancel_3): Likewise).
36962 (openat_not_cancel_3): Likewise).
36963 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36964 macro.
36965 (openat_not_cancel_3): Likewise.
36966 (openat64_not_cancel): Likewise.
36967 (openat64_not_cancel_3): Likewise.
36968 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36969 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36970 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36971 __open{64}_nocancel.
36972 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36973 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36974 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36975
65a086db
L
369762017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36977
36978 [BZ #18822]
36979 * include/argz.h (__argz_create_sep): New function prototype.
36980 (__argz_append): Likewise.
36981 (__argz_add): Likewise.
36982 (__argz_add_sep): Likewise.
36983 (__argz_delete): Likewise.
36984 (__argz_insert): Likewise.
36985 (__argz_replace): Likewise.
36986 * string/argz.h (__argz_create_sep): Removed.
36987 (__argz_append): Likewise.
36988 (__argz_add): Likewise.
36989 (__argz_add_sep): Likewise.
36990 (__argz_delete): Likewise.
36991 (__argz_insert): Likewise.
36992 (__argz_replace): Likewise.
36993
62753d2c
L
369942017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36995
36996 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36997 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36998 (GNU_PROPERTY_STACK_SIZE): Likewie.
36999 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
37000 (GNU_PROPERTY_LOPROC): Likewise.
37001 (GNU_PROPERTY_HIPROC): Likewise.
37002 (GNU_PROPERTY_LOUSER): Likewise.
37003 (GNU_PROPERTY_HIUSER): Likewise.
37004 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
37005 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
37006 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
37007 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
37008 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
37009 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
37010 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
37011 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
37012 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
37013 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
37014 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
37015 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
37016 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
37017 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
37018 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
37019 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
37020 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
37021 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
37022 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
37023 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
37024 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
37025 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
37026 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
37027
6913ad65
GG
370282017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37029
37030 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
37031 in C++ mode.
37032
47a67213
GG
370332017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37034
37035 [BZ #21930]
37036 * math/math.h (isinf): Check if in C or C++ mode before using
37037 __builtin_types_compatible_p, since this is a C mode feature.
37038
a748eb31
AZ
370392017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37040
c647fb88
AZ
37041 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
37042 (__write_nocancel): New macro.
37043 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
37044 Rewrite as a function prototype.
37045 (write_not_cancel): Remove macro.
37046 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
37047 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
37048 (write_gmon): Likewise.
37049 * libio/fileops.c (_IO_new_file_write): Likewise.
37050 * login/utmp_file.c (pututline_file): Likewise.
37051 (updwtmp_file): Likewise.
37052 * stdio-common/psiginfo.c (psiginfo): Likewise.
37053 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37054 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37055 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37056 Likewise.
37057 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37058 Likewise.
37059
a748eb31
AZ
37060 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
37061 (__read_nocancel): New macro.
37062 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37063 __read_nocancel.
37064 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
37065 macro.
37066 (__read_nocancel): New prototype.
37067 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
37068 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
37069 with __read_nocancel.
37070 * intl/loadmsgcat.c (read): Likewise.
37071 * libio/fileops.c (_IO_file_read): Likewise.
37072 * locale/loadlocale.c (_nl_load_locale): Likewise.
37073 * login/utmp_file.c (getutent_r_file): Likewise.
37074 (internal_getut_r): Likewise.
37075 (getutline_r_file): Likewise.
37076 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37077 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37078 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37080 Likewise.
37081 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
37082 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37083 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37084 Likewise.
37085 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37086 Likewise.
37087 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37088 Likewise.
37089 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37090 Likewise.
37091 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37092
098b9dd4
L
370932017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37094
37095 [BZ #21966]
37096 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37097 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37098 usable.
37099
a3fe6a20
DD
371002017-08-17 DJ Delorie <dj@redhat.com>
37101
37102 * bug17079.c: Update to new test harness.
37103 * test-digits-dots.c: Likewise.
37104 * test-netdb.c: Likewise.
37105 * tst-field.c: Likewise.
37106 * tst-nss-getpwent.c: Likewise.
37107 * tst-nss-static.c: Likewise.
37108 * tst-nss-test1.c: Likewise.
37109 * tst-nss-test2.c: Likewise.
37110 * tst-nss-test3.c: Likewise.
37111 * tst-nss-test4.c: Likewise.
37112 * tst-nss-test5.c: Likewise.
37113
c2284574
AZ
371142017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37115
37116 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37117 (open_not_cancel_2): Likewise.
37118 (open_nocancel): New macro.
37119 (open64_nocancel): Likewise.
37120 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37121 (open_not_cancel_2): Likewise.
37122 (__open_nocancel): New prototype.
37123 (__open64_nocancel): Likewise.
37124 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37125 __open_nocancel.
37126 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37127 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37128 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37129 with __open_nocancel.
37130 * csu/check_fds.c (check_one_fd): Likewise.
37131 * gmon/gmon.c (write_gmon): Likewise.
37132 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37133 * intl/loadmsgcat.c (open): Likewise.
37134 * libio/fileops.c (_IO_file_open): Likewise.
37135 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37136 * locale/loadlocale.c (_nl_load_locale): Likewise.
37137 * login/utmp_file.c (setutent_file): Likewise.
37138 * misc/daemon.c (daemon): Likewise.
37139 * nss/nss_db/db-open.c (internal_setent): Likewise.
37140 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37141 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37142 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37143 (__opendir): Likewise.
37144 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37145 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37146 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37147 (gethostid): Likewise.
37148 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37149 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37150 Likewise.
37151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37152 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37153 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37154 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37155 Likewise.
37156 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37157 Likewise.
37158 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37159 Likewise.
37160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37161 Likewise.
37162 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37163 Likewise.
37164 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37165 Likewise.
37166 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37167 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37168
d4505b89
WD
371692017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37170
37171 * benchtests/bench-skeleton.c (main): Add support for
37172 latency benchmarking.
37173 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37174
34d6a3cb
L
371752017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37176
37177 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37178 the startup object.
37179
038d1caf
FW
371802017-08-17 Florian Weimer <fweimer@redhat.com>
37181
37182 * include/sys/socket.h (__opensock): Remove internal_function.
37183 * socket/opensock.c (__opensock): Likewise.
37184 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37185
67f0aff0
JM
371862017-08-16 Joseph Myers <joseph@codesourcery.com>
37187
37188 [BZ #21944]
37189 * signal/bits/types/__sigval_t.h: New file.
37190 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37191 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37192 and define sigval_t using __sigval_t.
37193 * include/bits/types/__sigval_t.h: New file.
37194 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37195 instead of <bits/types/__sigval_t.h>.
37196 (struct sigevent): Use __sigval_t instead of sigval_t.
37197 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37198 instead of <bits/types/__sigval_t.h>.
37199 (siginfo_t): Use __sigval_t instead of sigval_t.
37200 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37201 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37202 (struct sigevent): Use __sigval_t instead of sigval_t.
37203 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37204 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37205 (siginfo_t): Use __sigval_t instead of sigval_t.
37206 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37207
87e7bf4d
L
372082017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37209
37210 * NEWS: Remove "[Add new features here]" for 2.27.
37211
5047057f
JM
372122017-08-16 Joseph Myers <joseph@codesourcery.com>
37213
37214 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37215 libc.so.
37216
20c7b195
L
372172017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37218
37219 * NEWS: Mention x86-64 FMA optimization.
37220
24a2e658
L
372212017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37222
37223 [BZ #21912]
37224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37225 Add e_expf-fma.
37226 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37227 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37228 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37229
eedca977
AS
372302017-08-16 Andreas Schwab <schwab@suse.de>
37231
403143e1
FW
37232 [BZ #16750]
37233 CVE-2009-5064
eedca977
AS
37234 * elf/ldd.bash.in: Never run file directly.
37235
f59f7adb
L
372362017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37237
37238 [BZ #21955]
37239 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37240 (L(SP_INF_0)): Likewise.
37241
6b11a6ad
FW
372422017-08-15 Florian Weimer <fweimer@redhat.com>
37243
37244 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37245 run-built-tests.
37246
bbf5c438
FW
372472017-08-15 Florian Weimer <fweimer@redhat.com>
37248
37249 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37250 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37251 BROKEN_THREAD_SIGNALS code.
37252 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37253 request_list): Remove caller_pid member used for
37254 BROKEN_THREAD_SIGNALS.
37255 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37256 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37257 Remove BROKEN_THREAD_SIGNALS support.
37258 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37259 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37260
6014c65d
FW
372612017-08-15 Florian Weimer <fweimer@redhat.com>
37262
37263 * gmon/Makefile (tests): Add tst-gmon.
37264 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37265 Set.
37266 (tests-special): Add tst-gmon-prof.out.
37267 (tst-gmon.out): Depend on clean-tst-gmon-data.
37268 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37269 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37270 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37271 startup object.
37272 * aclocal.m4 (GPROF): Set and substitute.
37273 * config.amke.in (GPROF): Set.
37274 * configure: Regenerate.
37275
ee72219a
GR
372762017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37277
37278 * elf/elf.h A (NT_PPC_TAR): New macro.
37279 (NT_PPC_PPR): Likewise.
37280 (NT_PPC_DSCR): Likewise.
37281 (NT_PPC_EBB): Likewise.
37282 (NT_PPC_PMU): Likewise.
37283 (NT_PPC_TM_CGPR): Likewise.
37284 (NT_PPC_TM_CFPR): Likewise.
37285 (NT_PPC_TM_CVMX): Likewise.
37286 (NT_PPC_TM_CVSX): Likewise.
37287 (NT_PPC_TM_SPR): Likewise.
37288 (NT_PPC_TM_CTAR): Likewise.
37289 (NT_PPC_TM_CPPR): Likewise.
37290 (NT_PPC_TM_CDSCR): Likewise.
37291
4ebf934e
FW
372922017-08-15 Florian Weimer <fweimer@redhat.com>
37293
37294 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37295 regparm (2) instead of internal_function.
37296 (_MCOUNT_DECL): Adjust.
37297
e9f57484
SL
372982017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37299
37300 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37301 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37302
88ff4d55
JM
373032017-08-14 Joseph Myers <joseph@codesourcery.com>
37304
37305 * conform/data/sys/wait.h-data (si_value): Do not expect for
37306 XPG42.
37307
c88ffc23
FW
373082017-08-14 Florian Weimer <fweimer@redhat.com>
37309
37310 [BZ #21962]
37311 NSS: Create stubs for accidentally exported lookup functions.
37312 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37313 Remove declaration.
37314 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37315 (ether_hostton): Call __nss_ethers_lookup2 instead.
37316 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37317 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37318 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37319 (setup): Call __nss_netgroup_lookup2 instead.
37320 * nss/Makefile (routines): Add compat-lookup.
37321 * nss/Versions (GLIBC_2.27): Add symbol version.
37322 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37323 (DB_COMPAT_FCT): Remove.
37324 * nss/compat-lookup.c: New file.
37325 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37326 from databases.def.
37327 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37328 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37329 (netname2user): Call __nss_publickey_lookup2 instead.
37330 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37331 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37332 instead.
37333
35a29136 373342017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
37335 Sergei Trofimovich <slyfox@inbox.ru>
37336
37337 [BZ #21908]
37338 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37339 Rename to MMAP2_PAGE_UNIT.
37340 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37341 __OFF_T_MATCHES_OFF64_T is not defined.
37342 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37343 uint64_t.
37344 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37345 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37346
fbdc1e3e
FW
373472017-08-14 Florian Weimer <fweimer@redhat.com>
37348
37349 i386: Do not set internal_function.
37350 * config.h.in (USE_REGPARMS, internal_function): Remove.
37351 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37352 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37353
b3f85fd2
FW
373542017-08-14 Florian Weimer <fweimer@redhat.com>
37355
37356 * elf/dl-init.c (_dl_init): Remove internal_function.
37357 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37358 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37359
630bf491
FW
373602017-08-14 Florian Weimer <fweimer@redhat.com>
37361
37362 * elf/rtld.c (_dl_start): Remove internal_function.
37363 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37364 _dl_start.
37365
9fa7449b
FW
373662017-08-14 Florian Weimer <fweimer@redhat.com>
37367
37368 * elf/dl-fini.c (_dl_fini): Remove internal_function
37369 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37370
73322d5f
L
373712017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37372
d863cd71 37373 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
37374 (bit_cpu_SHSTK): Likewise.
37375 (index_cpu_IBT): Likewise.
37376 (index_cpu_SHSTK): Likewise.
37377 (reg_IBT): Likewise.
37378 (reg_SHSTK): Likewise.
37379 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37380 Handle index_cpu_IBT and index_cpu_SHSTK.
37381
dbc303ef
MF
373822017-08-14 Mike FABIAN <mfabian@redhat.com>
37383
37384 [BZ #19982]
37385 * po/fr.po: Fix spelling mistake.
37386
3012cfb0
FW
373872017-08-13 Florian Weimer <fweimer@redhat.com>
37388
37389 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37390 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37391 (_dl_catch_error, _dl_receive_error): Likewise.
37392 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37393 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37394 (_dl_deallocate_tls): Likewise.
37395 * include/dlfcn.h (_dl_addr): Likewise.
37396 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37397 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37398 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37399 Likewise.
37400
52bcdf26
FW
374012017-08-13 Florian Weimer <fweimer@redhat.com>
37402
37403 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37404 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37405 internal_function.
37406 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37407
e1d2ae8d
FW
374082017-08-13 Florian Weimer <fweimer@redhat.com>
37409
37410 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37411 internal_function.
37412 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37413 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37414 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37415 internal_function from _dl_make_stack_executable_hook member.
37416 (_dl_make_stack_executable): Remove internal_function.
37417 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37418 Likewise.
37419 * sysdeps/unix/sysv/linux/dl-execstack.c
37420 (_dl_make_stack_executable): Likewise.
37421
c4ce0382
FW
374222017-08-13 Florian Weimer <fweimer@redhat.com>
37423
37424 * sysdeps/unix/sysv/linux/netlinkaccess.h
37425 (__netlink_assert_response): Remove internal_function.
37426 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37427 (__netlink_assert_response): Likewise.
37428
c4d767f7
FW
374292017-08-13 Florian Weimer <fweimer@redhat.com>
37430
37431 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37432 internal_function.
37433 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37434
b2297409
FW
374352017-08-13 Florian Weimer <fweimer@redhat.com>
37436
37437 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37438 internal_function.
37439 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37440 * inet/netgroup.h (__internal_setnetgrent)
37441 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37442 * inet/getnetgrent_r.c (__internal_setnetgrent)
37443 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37444 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37445 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37446 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37447 * nss/nsswitch.h (db_lookup_function): Likewise.
37448
1b0bfc69
FW
374492017-08-13 Florian Weimer <fweimer@redhat.com>
37450
37451 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37452 Remove internal_function.
37453 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37454 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37455 message argument on the stack.
37456 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37457 Likeweise.
37458
a6bd8722
MF
374592017-08-12 Mike FABIAN <mfabian@redhat.com>
37460
37461 Adapt test case data to the changes in the thousands
37462 separators.
37463
37464 [BZ #20756]
37465 * localedata/tst-langinfo.sh: Adapt test case data.
37466 * stdlib/tst-strfmon_l.c: Likewise.
37467 * stdlib/tst-strtod4.c: Likewise.
37468 * stdlib/tst-strtod5i.c: Likewise.
37469
8b2c63e4
FW
374702017-08-11 Florian Weimer <fweimer@redhat.com>
37471
37472 [BZ #21242]
37473 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37474 Suppress pedantic warning resulting from statement expression.
37475 (__ASSERT_FUNCTION): Add missing __extension__.
37476
61c98291
SP
374772017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37478
86c6519e
SP
37479 * benchtests/bench-memmove-large.c: Print output in JSON
37480 format.
37481 * benchtests/bench-memmove.c: Likewise.
37482
61c98291
SP
37483 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37484 * benchtests/bench-memchr.c (do_one_test): Likewise.
37485 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37486 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37487 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37488 * benchtests/bench-memmove.c (do_one_test): Likewise.
37489 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37490 * benchtests/bench-memset.c (do_one_test): Likewise.
37491 * benchtests/bench-string.h (test_init): Remove memsets.
37492
925733a9
RJ
374932017-08-10 Rical Jasan <ricaljasan@pacific.net>
37494
37495 * manual/lang.texi
37496 (Computing the Width of an Integer Data Type): Rename section to
37497 "Width of an Integer Type". Remove inaccurate statement regarding
37498 lack of C language facilities for determining width of integer
37499 types, and reorder content to improve flow and context of
37500 discussion.
37501
4fcdfbfc
RJ
375022017-08-10 Rical Jasan <ricaljasan@pacific.net>
37503
37504 * lang.texi (va_copy): Change standard from ISO to C99.
37505 (__va_copy): Add standard and header annotation.
37506 Update description for clarity of origins and current use.
37507
4d98ace9
GG
375082017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37509
37510 [BZ #21941]
37511 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37512 xssqrtqp requires operands to be in Vector Registers
37513 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37514 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37515 (__ieee754_sqrtf128): Likewise.
37516
92236903
WD
375172017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37518
37519 * sysdeps/aarch64/memcmp.S (memcmp):
37520 Rewrite of optimized memcmp.
37521
2449ae7b
FW
375222017-08-10 Florian Weimer <fweimer@redhat.com>
37523
37524 Introduce ld.so exceptions.
37525 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37526 (_dl_exception_create, _dl_exception_create_format)
37527 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37528 (_dl_catch_exception): Declare.
37529 (_dl_catch_error): Update comment.
37530 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37531 errstring, malloced members with exception member.
37532 (_dl_out_of_memory): Remove.
37533 (fatal_error): New function, extracted from _dl_signal_error.
37534 (_dl_signal_exception, _dl_signal_cexception): New functions.
37535 (_dl_signal_error): Call _dl_exception_create to allocate an
37536 exception object.
37537 (_dl_catch_exception): New function, based on _dl_catch_error.
37538 (_dl_catch_error): Implement using _dl_catch_exception.
37539 * elf/dl-exception.c: New file.
37540 * elf/Makefile (dl-routines): Add dl-exception.
37541 (elide-routines.os): Likewise.
37542 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37543 _dl_exception_create_format, _dl_exception_free.
37544 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37545 _dl_signal_exception.
37546 * elf/dl-lookup.c (make_string): Remove.
37547 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37548 _dl_signal_cexception, _dl_exception_free.
37549 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37550 _dl_signal_exception.
37551 * elf/dl-sym.c (do_sym): Likewise.
37552 * elf/dl-version.c (make_string): Remove.
37553 (match_symbol): Use _dl_exception_create_format,
37554 _dl_signal_cexception, _dl_exception_free.
37555 (_dl_check_map_versions): Likewise.
37556 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37557 _dl_catch_exception.
37558 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37559 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37560 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37561 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37562 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37563 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37564 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37565 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37566 Likewise.
37567 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37569 (ld.so): Likewise.
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37571 (ld.so): Likewise.
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37573 Likewise.
37574 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37575 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37576 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37577 Likewise.
37578 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37579 Likewise.
37580 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37581
f87cc2bf
FW
375822017-08-10 Florian Weimer <fweimer@redhat.com>
37583
37584 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37585 attribute_hidden, internal_function.
37586 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37587 internal_function.
37588
eac43cbb
FW
375892017-08-10 Florian Weimer <fweimer@redhat.com>
37590
37591 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37592 function which calls __builtin_unreachable.
37593
bd80111e
MF
375942017-08-10 Mike FABIAN <mfabian@redhat.com>
37595
37596 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37597 Indian monetary formatting
37598 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37599 test cases.
37600
60e2846e
DL
376012017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37602
68dc02d1
DL
37603 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37604 Fix typo in comment.
37605
60e2846e
DL
37606 [BZ #21928]
37607 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37608 PTRACE_SEIZE_DEVEL): Remove.
37609 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37610 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37611 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37612 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37613 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37614
3d452dab
JM
376152017-08-09 Joseph Myers <joseph@codesourcery.com>
37616
24d9f53a
JM
37617 * posix/bits/types.h (__qaddr_t): Remove.
37618
3d452dab
JM
37619 [BZ #21457]
37620 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37621 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37622 __glibc_reserved1.
37623 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37624 (ucontext_t): Use __ctx with uc_flags.
37625 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37626 (__ctxt): Likewise.
37627 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37628 __glibc_reserved1.
37629 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37630 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37631 __glibc_reserved1.
37632 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37633 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37634 __glibc_reserved1.
37635 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37636 macro.
37637 (ucontext_t): Use __ctx with uc_flags.
37638 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37639 (ucontext_t): Use __ctx with uc_flags.
37640 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37641 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37642 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37643 (ucontext_t): Use __ctx with uc_flags.
37644 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37645 undefine further down.
37646 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37647 __glibc_reserved1.
37648 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37649 undefine further down.
37650 (ucontext_t): Use __ctx with uc_flags.
37651 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37652 undefine further down.
37653 (ucontext_t): Use __ctx with uc_flags.
37654 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37655 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37656 Rename uc_pad to __glibc_reserved1.
37657 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37658 undefine further down.
37659 (ucontext_t): Use __ctx with uc_flags.
37660 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37661 further down.
37662 (ucontext_t): Use __ctx with uc_flags.
37663 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37664 __ctx with uc_flags.
37665 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37666 (ucontext_t): Use __ctx with uc_flags.
37667 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37668 __ctx with uc_flags.
37669
30161498
FW
376702017-08-09 Florian Weimer <fweimer@redhat.com>
37671
37672 [BZ #21932]
37673 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37674 before early return.
37675
5797b410
AS
376762017-08-09 Andreas Schwab <schwab@suse.de>
37677
139237a4 37678 [BZ #21041]
5797b410
AS
37679 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37680 renamed alias.
37681
139237a4 37682 [BZ #21041]
40c06a3d
AS
37683 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37684 tst-compat-forwarder.
37685 (modules-names): Add tst-compat-forwarder-mod.
37686 ($(objpfx)tst-compat-forwarder): Depend on
37687 $(objpfx)tst-compat-forwarder-mod.so.
37688 * nptl/tst-compat-forwarder.c: New file.
37689 * nptl/tst-compat-forwarder-mod.c: New file.
37690
36ada5f6
SP
376912017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37692
0e02b510
SP
37693 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37694 comments.
37695
36ada5f6
SP
37696 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37697 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37698 memcpy_falkor.
37699 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37700 Bump.
37701 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37702 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37703 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37704 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37705 Add falkor.
37706 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37707 New macro.
37708
9995c839
AZ
377092017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37710
37711 [BZ #759]
37712 * manual/setjmp.texi (getcontex): Document uc_stack value
37713 compatibility differences.
37714
f17a4233
JM
377152017-08-08 Joseph Myers <joseph@codesourcery.com>
37716
37717 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37718 (old_malloc_hook): Likewise.
37719 (old_memalign_hook): Likewise.
37720 (old_realloc_hook): Likewise.
37721 (struct hdr): Likewise.
37722 (flood): Likewise.
37723 (freehook): Likewise.
37724 (mallochook): Likewise.
37725 (memalignhook): Likewise.
37726 (reallochook): Likewise.
37727 (mprobe): Likewise.
37728 * malloc/mtrace.c (mallwatch): Likewise.
37729 (tr_old_free_hook): Likewise.
37730 (tr_old_malloc_hook): Likewise.
37731 (tr_old_realloc_hook): Likewise.
37732 (tr_old_memalign_hook): Likewise.
37733 (tr_where): Likewise.
37734 (lock_and_info): Likewise.
37735 (tr_freehook): Likewise.
37736 (tr_mallochook): Likewise.
37737 (tr_reallochook): Likewise.
37738 (tr_memalignhook): Likewise.
37739 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37740 * misc/mmap.c (__mmap): Likewise.
37741 * misc/mmap64.c (__mmap64): Likewise.
37742 * misc/mprotect.c (__mprotect): Likewise.
37743 * misc/msync.c (msync): Likewise.
37744 * misc/munmap.c (__munmap): Likewise.
37745 * posix/posix_madvise.c (posix_madvise): Likewise.
37746 * socket/send.c (__send): Likewise.
37747 * socket/sendto.c (__sendto): Likewise.
37748 * socket/setsockopt.c (__setsockopt): Likewise.
37749 * string/memcmp.c (__ptr_t): Remove macro.
37750 (MEMCMP): Use void * instead of ptr_t.
37751 * string/memrchr.c (__ptr_t): Remove macro.
37752 (__memrchr): Use void * instead of ptr_t.
37753 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37754 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37755 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37756 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37757 * sysdeps/mach/msync.c (msync): Likewise.
37758 * sysdeps/mach/munmap.c (__munmap): Likewise.
37759 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37760 Likewise.
37761 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37762 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37763 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37764 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37765 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37766 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37767 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37768 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37769 Likewise.
37770 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37771 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37772 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37773 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37774 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37775 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37776 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37777 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37779 Likewise.
37780 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37781 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37782 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37783 (MEMCMP): Use void * instead of ptr_t.
37784 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37785 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37786
0df595b2
FW
377872017-08-08 Florian Weimer <fweimer@redhat.com>
37788
37789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37790 return statement.
37791
086df229
L
377922017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37793
37794 [BZ #21913]
37795 * csu/libc-tls.c: Include <startup.h> first.
37796 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37797 * elf/dl-tunables.c: Include <startup.h> first.
37798 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37799 * sysdeps/generic/startup.h: New file.
37800 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37801 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37802 (I386_USE_SYSENTER): New. Defined to 0.
37803
fc5ad702
AS
378042017-08-08 Andreas Schwab <schwab@suse.de>
37805
37806 [BZ #21041]
37807 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37808 * nptl/pt-system.c (system): Likewise.
37809
852d6312
AZ
378102017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37811
37812 [BZ #21780]
37813 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37814 EOPNOTSUPP.
37815 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37816 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37817 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37818 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37819 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37820 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37821 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37822
8b164787
JM
378232017-08-07 Joseph Myers <joseph@codesourcery.com>
37824
cd65836b
JM
37825 [BZ #21899]
37826 * bits/sigaction.h (struct sigaction): Define sa_handler and
37827 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37828 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37829 [__USE_XOPEN_EXTENDED].
37830 (SA_RESTART): Likewise.
37831 (SA_NODEFER): Likewise.
37832 (SA_RESETHAND): Likewise.
37833 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37834 (struct sigaction): Define sa_handler and sa_sigaction using union
37835 also for [__USE_XOPEN_EXTENDED].
37836 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37837 [__USE_XOPEN_EXTENDED].
37838 (SA_RESTART): Likewise.
37839 (SA_NODEFER): Likewise.
37840 (SA_RESETHAND): Likewise.
37841 * sysdeps/unix/sysv/linux/bits/sigaction.h
37842 (struct sigaction): Define sa_handler and sa_sigaction using union
37843 also for [__USE_XOPEN_EXTENDED].
37844 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37845 [__USE_XOPEN_EXTENDED].
37846 (SA_RESTART): Likewise.
37847 (SA_NODEFER): Likewise.
37848 (SA_RESETHAND): Likewise.
37849 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37850 (struct sigaction): Define sa_handler and sa_sigaction using union
37851 also for [__USE_XOPEN_EXTENDED].
37852 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37853 [__USE_XOPEN_EXTENDED].
37854 (SA_RESTART): Likewise.
37855 (SA_NODEFER): Likewise.
37856 (SA_RESETHAND): Likewise.
37857 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37858 (struct sigaction): Define sa_handler and sa_sigaction using union
37859 also for [__USE_XOPEN_EXTENDED].
37860 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37861 [__USE_XOPEN_EXTENDED].
37862 (SA_RESTART): Likewise.
37863 (SA_NODEFER): Likewise.
37864 (SA_RESETHAND): Likewise.
37865 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37866 (struct sigaction): Define sa_handler and sa_sigaction using union
37867 also for [__USE_XOPEN_EXTENDED].
37868 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37869 [__USE_XOPEN_EXTENDED].
37870 (SA_RESTART): Likewise.
37871 (SA_NODEFER): Likewise.
37872 (SA_RESETHAND): Likewise.
37873 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37874 (struct sigaction): Define sa_handler and sa_sigaction using union
37875 also for [__USE_XOPEN_EXTENDED].
37876 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37877 [__USE_XOPEN_EXTENDED].
37878 (SA_RESTART): Likewise.
37879 (SA_NODEFER): Likewise.
37880 (SA_RESETHAND): Likewise.
37881 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37882 (struct sigaction): Define sa_handler and sa_sigaction using union
37883 also for [__USE_XOPEN_EXTENDED].
37884 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37885 [__USE_XOPEN_EXTENDED].
37886 (SA_RESTART): Likewise.
37887 (SA_NODEFER): Likewise. Define directly rather than as alias.
37888 (SA_RESETHAND): Likewise.
37889 (SA_INTERRUPT): Define only for [__USE_MISC].
37890 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37891 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37892 [__USE_MISC].
37893 (SA_STACK): Define only for [__USE_MISC].
37894 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37895 (struct sigaction): Define sa_handler and sa_sigaction using union
37896 also for [__USE_XOPEN_EXTENDED].
37897 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37898 [__USE_XOPEN_EXTENDED].
37899 (SA_RESTART): Likewise.
37900 (SA_NODEFER): Likewise.
37901 (SA_RESETHAND): Likewise.
37902 (SA_NOPTRACE): Define only for [__USE_MISC].
37903
d9fee042
JM
37904 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37905 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37906 (struct catalog_info): Likewise.
37907 * inet/htontest.c (lo): Likewise.
37908 (foo): Likewise.
37909 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37910 * inet/inet_net.c (inet_network): Likewise.
37911 * inet/inet_netof.c (inet_netof): Likewise.
37912 * inet/rcmd.c (__ivaliduser): Likewise.
37913 (iruserok): Likewise.
37914 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37915 * locale/programs/locale-spec.c (locale_special): Likewise.
37916 * nis/nis_findserv.c (struct findserv_req): Likewise.
37917 (__nis_findfastest_with_timeout): Likewise.
37918 * nss/test-netdb.c (test_network): Likewise.
37919 * resolv/inet_neta.c (inet_neta): Likewise.
37920 * resolv/ns_date.c (ns_datetosecs): Likewise.
37921 (SECS_PER_DAY): Likewise.
37922 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37923 Likewise.
37924 * resolv/res_comp.c (__putlong): Likewise.
37925 (__putshort): Likewise.
37926 (_getlong): Likewise.
37927 (_getshort): Likewise.
37928 * resolv/res_debug.c (p_time): Likewise.
37929 (precsize_ntoa): Likewise.
37930 (precsize_aton): Likewise.
37931 (latlon2ul): Likewise.
37932 (loc_aton): Likewise.
37933 (loc_ntoa): Likewise.
37934 * resolv/res_hconf.c (struct netaddr): Likewise.
37935 (_res_hconf_reorder_addrs): Likewise.
37936 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37937 (clnttcp_control): Likewise.
37938 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37939 (clntudp_control): Likewise.
37940 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37941 (clntunix_control): Likewise.
37942 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37943 * sunrpc/rpc/auth.h (union des_block): Likewise.
37944 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37945 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37946 (xdrrec_create): Likewise.
37947 (xdrrec_endofrecord): Likewise.
37948 (flush_out): Likewise.
37949 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37950 (xdrstdio_putlong): Likewise.
37951 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37952 Likewise.
37953
8b164787
JM
37954 * misc/sys/cdefs.h (__long_double_t): Remove.
37955 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37956 instead of __long_double_t,
37957 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37958
7ee38e60
SP
379592017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37960
dd3e86ad
SP
37961 * benchtests/scripts/compare_strings.py: Avoid display error when
37962 running on a text terminal.
37963
b115e819
SP
37964 * benchtests/scripts/compare_strings.py (main): Add an
37965 optional -base option.
37966 (process_results): New argument base_func.
37967
7ee38e60
SP
37968 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37969 hardcoding memcpy.
37970 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37971 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37972
d5afb385
AS
379732017-08-07 Andreas Schwab <schwab@suse.de>
37974
37975 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37976 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37977 * intl/Makefile ($(objpfx)tst-gettext.out)
37978 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37979 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37980 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37981 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37982 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37983 * posix/Makefile ($(objpfx)globtest.out)
37984 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37985 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37986 ($(objpfx)tst-printf.out): Likewise.
37987 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37988 ($(objpfx)tst-setcontext3.out): Likewise.
37989
57a72fa3
L
379902017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37991
37992 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37993 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37994 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37995 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37996 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37997 and mptan-fma.
37998 (CFLAGS-doasin-fma.c): New.
37999 (CFLAGS-dosincos-fma.c): Likewise.
38000 (CFLAGS-e_asin-fma.c): Likewise.
38001 (CFLAGS-e_atan2-fma.c): Likewise.
38002 (CFLAGS-e_exp-fma.c): Likewise.
38003 (CFLAGS-e_log-fma.c): Likewise.
38004 (CFLAGS-e_pow-fma.c): Likewise.
38005 (CFLAGS-halfulp-fma.c): Likewise.
38006 (CFLAGS-mpa-fma.c): Likewise.
38007 (CFLAGS-mpatan-fma.c): Likewise.
38008 (CFLAGS-mpatan2-fma.c): Likewise.
38009 (CFLAGS-mpexp-fma.c): Likewise.
38010 (CFLAGS-mplog-fma.c): Likewise.
38011 (CFLAGS-mpsqrt-fma.c): Likewise.
38012 (CFLAGS-mptan-fma.c): Likewise.
38013 (CFLAGS-s_atan-fma.c): Likewise.
38014 (CFLAGS-sincos32-fma.c): Likewise.
38015 (CFLAGS-slowexp-fma.c): Likewise.
38016 (CFLAGS-slowpow-fma.c): Likewise.
38017 (CFLAGS-s_sin-fma.c): Likewise.
38018 (CFLAGS-s_tan-fma.c): Likewise.
38019 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
38020 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
38021 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
38022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
38023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
38024 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
38025 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
38026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
38027 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
38028 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
38029 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
38030 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
38031 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
38032 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
38033 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
38034 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
38035 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
38036 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
38039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
38040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
38041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
38042 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
38043 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38044 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38045 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38046 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
38047 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38049 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38050
219dd320
JM
380512017-08-04 Joseph Myers <joseph@codesourcery.com>
38052
38053 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
38054 (min_of_type_f): New macro.
38055 (min_of_type_): Likewise.
38056 (min_of_type_l): Likewise.
38057 (min_of_type_f128): Likewise.
38058 (min_of_type): Define using __MATH_TG and taking an expression
38059 argument.
38060 (math_check_force_underflow): Pass expression instead of type to
38061 min_of_type.
38062 (math_check_force_underflow_nonneg): Likewise.
38063
64d4dea6
L
380642017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38065
38066 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
38067 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
38068 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
38069
973da22a
L
380702017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38071
38072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38073 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
38074 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
38075 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
38076 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
38077 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
38078 memcpy_chk-nonshared, mempcpy_chk-nonshared,
38079 memmove_chk-nonshared and memset_chk-nonshared
38080 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
38081 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
38082 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38084 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38085 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38086 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38087 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38088 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38089 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38090 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38091 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38092 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38093 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38094 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38095 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38096 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38097 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38098 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38099 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38100 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38101 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38102 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38103 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38104 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38105 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38106 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38107 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38108 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38109 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38110 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38111 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38112 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38113 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38114 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38115 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38116 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38117 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38118 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38119 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38120 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38121 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38122 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38123 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38124 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38125 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38126 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38127 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38128 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38129 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38130 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38131 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38132 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38133 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38134 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38135 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38136 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38137 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38138 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38139 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38140 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38141 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38142 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38143 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38144 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38145 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38146 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38147 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38148 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38149 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38150 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38151 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38152 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38153 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38154 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38155 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38156 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38157 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38158 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38159 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38160 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38161 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38162 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38163 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38164 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38165 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38166 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38167 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38168 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38170 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38171 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38172 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38174 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38175 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38176 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38177 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38178 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38179 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38180 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38181 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38182 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38183 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38184 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38185 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38186 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38187 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38188
8537e0f6
L
381892017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38190
38191 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38192 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38193 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38194 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38195 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38196 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38197 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38198 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38199 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38200 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38201 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38202 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38203 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38204 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38205 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38206 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38207 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38208 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38209 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38210 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38211 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38212 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38213 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38214 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38215 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38216 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38217 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38218 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38219 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38220 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38221 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38222 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38223 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38224 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38225 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38226 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38227 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38229 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38231 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38232 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38233 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38234 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38235 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38236 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38237 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38238 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38239 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38240 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38241 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38242 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38244 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38246 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38247 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38248 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38250 ...
38251 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38252 Don't include <sysdep.h> nor <init-arch.h>.
38253 (_ZGVbN2v_cos): Removed.
38254 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38255 ...
38256 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38257 Don't include <sysdep.h> nor <init-arch.h>.
38258 (_ZGVdN4v_cos): Removed.
38259 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38260 ...
38261 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38262 Don't include <sysdep.h> nor <init-arch.h>.
38263 (_ZGVeN8v_cos): Removed.
38264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38265 ...
38266 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38267 Don't include <sysdep.h> nor <init-arch.h>.
38268 (_ZGVbN2v_exp): Removed.
38269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38270 ...
38271 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38272 Don't include <sysdep.h> nor <init-arch.h>.
38273 (_ZGVdN4v_exp): Removed.
38274 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38275 ...
38276 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38277 Don't include <sysdep.h> nor <init-arch.h>.
38278 (_ZGVeN8v_exp): Removed.
38279 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38280 ...
38281 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38282 Don't include <sysdep.h> nor <init-arch.h>.
38283 (_ZGVbN2v_log): Removed.
38284 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38285 ...
38286 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38287 Don't include <sysdep.h> nor <init-arch.h>.
38288 (_ZGVdN4v_log): Removed.
38289 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38290 ...
38291 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38292 Don't include <sysdep.h> nor <init-arch.h>.
38293 (_ZGVeN8v_log): Removed.
38294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38295 ...
38296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38297 Don't include <sysdep.h> nor <init-arch.h>.
38298 (_ZGVbN2vv_pow): Removed.
38299 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38300 ...
38301 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38302 Don't include <sysdep.h> nor <init-arch.h>.
38303 (_ZGVdN4vv_pow): Removed.
38304 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38305 ...
38306 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38307 Don't include <sysdep.h> nor <init-arch.h>.
38308 (_ZGVeN8vv_pow): Removed.
38309 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38310 ...
38311 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38312 Don't include <sysdep.h> nor <init-arch.h>.
38313 (_ZGVbN2v_sin): Removed.
38314 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38315 ...
38316 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38317 Don't include <sysdep.h> nor <init-arch.h>.
38318 (_ZGVbN4v_sin): Removed.
38319 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38320 ...
38321 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38322 Don't include <sysdep.h> nor <init-arch.h>.
38323 (_ZGVbN8v_sin): Removed.
38324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38325 ...
38326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38327 Don't include <sysdep.h> nor <init-arch.h>.
38328 (_ZGVbN2vvv_sincos): Removed.
38329 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38330 ...
38331 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38332 Don't include <sysdep.h> nor <init-arch.h>.
38333 (_ZGVdN4vvv_sincos): Removed.
38334 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38335 ...
38336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38337 Don't include <sysdep.h> nor <init-arch.h>.
38338 (_ZGVeN8vvv_sincos): Removed.
38339 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38340 ...
38341 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38342 Don't include <sysdep.h> nor <init-arch.h>.
38343 (_ZGVeN16v_cosf): Removed.
38344 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38345 ...
38346 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38347 Don't include <sysdep.h> nor <init-arch.h>.
38348 (_ZGVbN4v_cosf): Removed.
38349 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38350 ...
38351 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38352 Don't include <sysdep.h> nor <init-arch.h>.
38353 (_ZGVdN8v_cosf): Removed.
38354 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38355 ...
38356 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38357 Don't include <sysdep.h> nor <init-arch.h>.
38358 (_ZGVeN16v_expf): Removed.
38359 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38360 ...
38361 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38362 Don't include <sysdep.h> nor <init-arch.h>.
38363 (_ZGVbN4v_expf): Removed.
38364 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38365 ...
38366 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38367 Don't include <sysdep.h> nor <init-arch.h>.
38368 (_ZGVdN8v_expf): Removed.
38369 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38370 ...
38371 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38372 Don't include <sysdep.h> nor <init-arch.h>.
38373 (_ZGVeN16v_logf): Removed.
38374 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38375 ...
38376 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38377 Don't include <sysdep.h> nor <init-arch.h>.
38378 (_ZGVbN4v_logf): Removed.
38379 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38380 ...
38381 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38382 Don't include <sysdep.h> nor <init-arch.h>.
38383 (_ZGVdN8v_logf): Removed.
38384 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38385 ...
38386 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38387 Don't include <sysdep.h> nor <init-arch.h>.
38388 (_ZGVeN16vv_powf): Removed.
38389 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38390 ...
38391 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38392 Don't include <sysdep.h> nor <init-arch.h>.
38393 (_ZGVbN4vv_powf): Removed.
38394 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38395 ...
38396 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38397 Don't include <sysdep.h> nor <init-arch.h>.
38398 (_ZGVdN8vv_powf): Removed.
38399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38400 ...
38401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38402 Don't include <sysdep.h> nor <init-arch.h>.
38403 (_ZGVeN16vvv_sincosf): Removed.
38404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38405 ...
38406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38407 Don't include <sysdep.h> nor <init-arch.h>.
38408 (_ZGVbN4vvv_sincosf): Removed.
38409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38410 ...
38411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38412 Don't include <sysdep.h> nor <init-arch.h>.
38413 (_ZGVdN8vvv_sincosf): Removed.
38414 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38415 ...
38416 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38417 Don't include <sysdep.h> nor <init-arch.h>.
38418 (_ZGVeN16v_sinf): Removed.
38419 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38420 ...
38421 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38422 Don't include <sysdep.h> nor <init-arch.h>.
38423 (_ZGVbN4v_sinf): Removed.
38424 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38425 ...
38426 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38427 Don't include <sysdep.h> nor <init-arch.h>.
38428 (_ZGVdN8v_sinf): Removed.
38429
10a87ca4
L
384302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38431
38432 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38433 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38434 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38435 s_rint-sse4_1 and s_rintf-sse4_1.
38436 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38437 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38438 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38439 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38440 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38443 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38444 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38445 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38446 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38447 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38448 (__ceil): Removed.
38449 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38450 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38451 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38452 (__ceilf): Removed.
38453 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38454 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38455 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38456 (__floor): Removed.
38457 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38458 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38459 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38460 (__floorf): Removed.
38461 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38462 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38463 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38464 (__nearbyint): Removed.
38465 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38466 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38467 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38468 (__nearbyintf): Removed.
38469 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38470 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38471 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38472 (__rint): Removed.
38473 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38474 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38475 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38476 (__rintf): Removed.
38477
1e8e527d
L
384782017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38479
38480 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38481 SHARED. Avoid dynamic relocation against main in static PIE.
38482
e13daad7
L
384832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38484
38485 [BZ #21815]
38486 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38487 (LDFLAGS-tst-prelink): Likewise.
38488
627c69c8
L
384892017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38490
38491 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38492 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38493 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38494 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38495 (INTERNAL_SYSCALL_NCS): Likewise.
38496 (LOADARGS_1): Likewise.
38497 (LOADARGS_5): Likewise.
38498 (RESTOREARGS_1): Likewise.
38499 (RESTOREARGS_5): Likewise.
38500
fc11ff8d
L
385012017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38502
38503 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38504 (MEMPCPY_SYMBOL): Likewise.
38505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38506 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38508 in libc.a.
38509 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38510 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38511 Likewise.
38512 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38513 (__hidden_ver1): Don't use in libc.a.
38514 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38515 (__mempcpy): Don't create a weak alias in libc.a.
38516 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38517 libc.a.
38518 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38519 (__hidden_ver1): Don't use in libc.a.
38520
19f1a11e
L
385212017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38522
38523 * config.make.in (have-insert): New.
38524 * configure.ac (libc_cv_insert): New. Set to yes if linker
38525 supports INSERT in linker script.
38526 (AC_SUBST(libc_cv_insert): New.
38527 * configure: Regenerated.
38528 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38529 if $(have-insert) == yes.
38530
3093fd5e
L
385312017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38532
38533 * elf/Makefile (tests): Add vismain only if
38534 $(have-protected-data) == yes.
38535 (tests-pie): Likewise.
38536
d2cf37c0
L
385372017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38538
38539 [BZ #21871]
38540 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38541 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38542
c8a0e6ec
L
385432017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38544
38545 [BZ #21790]
38546 * sysdeps/i386/i586/memset.S
38547 (__memset_zero_constant_len_parameter): Removed.
38548 * sysdeps/i386/i686/memset.S
38549 (__memset_zero_constant_len_parameter): Likewise.
38550 * sysdeps/i386/i686/multiarch/memset_chk.S
38551 (__memset_zero_constant_len_parameter): Likewise.
38552 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38553 Likewise.
38554
2b34e271
AJ
385552017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38556
38557 * stdlib/getentropy.c (getentropy): Change return type to int.
38558
144bdab0
AJ
385592017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38560
38561 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38562
24ab7723
JM
385632017-08-03 Joseph Myers <joseph@codesourcery.com>
38564
38565 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38566 u_intN_t.
38567 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38568 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38569 Likewise.
38570 (ieee_float_shape_type): Likewise.
38571 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38572 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38573 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38574 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38575 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38576 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38577 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38578 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38579 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38580 Likewise.
38581 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38583 (__ieee754_yn): Likewise.
38584 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38585 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38586 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38587 Likewise.
38588 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38589 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38590 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38591 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38592 (__erfc): Likewise.
38593 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38594 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38595 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38596 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38597 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38598 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38599 Likewise.
38600 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38601 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38602 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38603 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38604 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38605 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38606 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38607 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38608 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38609 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38610 (__issignaling): Likewise.
38611 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38612 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38613 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38614 Likewise.
38615 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38616 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38617 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38618 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38619 Likewise.
38620 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38621 Likewise.
38622 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38623 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38624 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38625 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38626 (__erfcf): Likewise.
38627 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38628 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38629 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38630 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38631 Likewise.
38632 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38633 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38634 Likewise.
38635 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38636 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38637 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38638 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38639 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38640 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38641 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38642 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38643 Likewise.
38644 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38645 Likewise.
38646 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38647 Likewise.
38648 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38649 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38650 Likewise.
38651 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38652 Likewise.
38653 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38654 (__ieee754_ynl): Likewise.
38655 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38656 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38657 Likewise.
38658 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38659 Likewise.
38660 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38661 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38662 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38663 Likewise.
38664 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38665 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38666 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38667 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38668 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38669 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38670 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38671 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38672 Likewise.
38673 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38674 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38675 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38676 Likewise.
38677 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38678 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38679 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38680 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38681 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38683 Likewise.
38684 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38685 Likewise.
38686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38687 Likewise.
38688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38689 Likewise.
38690 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38691 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38692 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38693 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38694 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38695 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38697 Likewise.
38698 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38699 Likewise.
38700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38702 Likewise.
38703 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38704 (__ieee754_remainderl): Likewise.
38705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38709 Likewise.
38710 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38711 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38712 Likewise.
38713 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38714 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38715 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38716 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38717 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38718 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38719 Likewise.
38720 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38721 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38722 (__ieee754_y0l): Likewise.
38723 (pzero): Likewise.
38724 (qzero): Likewise.
38725 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38726 (__ieee754_y1l): Likewise.
38727 (pone): Likewise.
38728 (qone): Likewise.
38729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38730 (__ieee754_ynl): Likewise.
38731 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38732 (__ieee754_lgammal_r): Likewise.
38733 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38734 Likewise.
38735 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38736 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38737 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38738 (__erfcl): Likewise.
38739 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38740 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38741 Likewise.
38742 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38743 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38744 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38745 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38746 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38747 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38748 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38749 Likewise.
38750 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38751 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38752 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38753 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38754 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38755 Likewise.
38756 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38757 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38758 Likewise.
38759 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38760 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38761 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38762 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38763 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38764
964263bb
FW
387652017-08-03 Florian Weimer <fweimer@redhat.com>
38766
38767 [BZ #21885]
38768 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38769 on memory allocation failure.
38770
e98c925f
AM
387712017-08-03 Alan Modra <amodra@gmail.com>
38772
38773 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38774 tst-tlsopt-powerpc.c with function name change and no test harness.
38775 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38776 Call tls_get_addr_opt_test.
38777 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38778 (modules-names): Add mod-tlsopt-powerpc.
38779 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38780 (tst-tlsopt-powerpc): Depend on .so.
38781 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38782 define. Expand use in TLS_GD and TLS_LD.
38783
8ee1abdb
ST
387842017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38785
38786 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38787 function.
3da5756e 38788 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 38789
42df8d59
JM
387902017-08-02 Joseph Myers <joseph@codesourcery.com>
38791
38792 [BZ #21686]
38793 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38794 comparing size with that of double.
38795 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38796 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38797 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38798 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38799 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38800 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38801 unsigned __int128 types.
38802
b7f95f49
SE
388032017-08-02 Steve Ellcey <sellcey@cavium.com>
38804
38805 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38806 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38807 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38808 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38809 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38810
5b736bc9
L
388112017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38812
38813 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38814
dfc93c41
L
388152017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38816
38817 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38818 of SHARED.
38819 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38820 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38822 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38823 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38825 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38826
2fee621d
JM
388272017-08-02 Joseph Myers <joseph@codesourcery.com>
38828
38829 [BZ #21685]
38830 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38831 bit-field expressions passed to sizeof or typeof.
38832 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38833 (__TGMATH_F128): Likewise.
38834 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38835 (__TGMATH_CF128): Likewise.
38836 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38837 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38838 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38839 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38840 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38841 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38842 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38843 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38844 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38845 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38846 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38847 (__TGMATH_UNARY_IMAG): Likewise.
38848 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38849 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38850 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38851 type.
38852 (define_vars_for_type): Handle bit_field type specially.
38853 (Tests.__init__): Declare structure with bit-field element.
38854
b358255f
L
388552017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38856
38857 [BZ #21791]
38858 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38859 (MEMCPY_CHK): Define only if SHARED is defined.
38860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38861 Likewise.
38862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38863 Likewise.
edf66db1
SP
38864
38865See ChangeLog.18 for earlier changes.