]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ChangeLog update from my last commit
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2334a78a
JM
12019-10-02 Joseph Myers <joseph@codesourcery.com>
2
3 * sunrpc/clnt_udp.c: Include <libc-diag.h>.
4 (clntudp_call): Disable -Wmaybe-uninitialized around declaration
5 of total_deadline.
6
0095a3e8
AF
72019-10-02 Alistair Francis <alistair.francis@wdc.com>
8
9 * string/endian.h: Restore the __USE_MISC conditionals.
10
eed00527
JM
112019-10-02 Joseph Myers <joseph@codesourcery.com>
12
13 * string/tester.c: Ignore -Warray-bounds and
14 -Wmemset-transposed-args at top level.
15 [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict and -Wstringop-overflow=
16 at top level.
17 [__GNUC_PREREQ (8, 0)]: Ignore -Wstringop-truncation at top level.
18 (test_stpncpy): Do not ignore warnings here.
19 (test_strncat): Likewise.
20 (test_strncpy): Likewise.
21 (test_memset): Likewise.
22
4973abcb
LM
232019-10-02 Łukasz Majewski <lukma@denx.de>
24 * include/time.h: Add #include <bits/types/struct_timeval.h>
25
02119748
PC
262019-10-02 Paul A. Clarke <pc@us.ibm.com>
27
28 * sysdeps/powerpc/fpu/fenv_private.h:
29 (__TEST_AND_BEGIN_NON_STOP): New.
30 (__TEST_AND_END_NON_STOP): New.
31 (libc_feholdexcept_setround_ppc): Use __TEST_AND_BEGIN_NON_STOP.
32 (__libc_femergeenv_ppc): Use __TEST_AND_BEGIN_NON_STOP and
33 __TEST_AND_END_NON_STOP.
34 (libc_feholdsetround_noex_ppc_ctx): Use __TEST_AND_END_NON_STOP.
35
21417aaa
AS
362019-10-02 Arjun Shankar <arjun@redhat.com>
37
38 debugglibc.sh: Implement program arguments
39 * Makefile (debugglibc): Change variable definition.
40
69fd157a
AF
412019-10-01 Alistair Francis <alistair.francis@wdc.com>
42
43 * time/bits/types/struct_timespec.h: Add padding for the timespec if
44 required.
45
aa706e13
AF
462019-10-01 Zack Weinberg <zackw@panix.com>
47 Alistair Francis <alistair.francis@wdc.com>
48
49 * string/endian.h: Unconditionally define LITTLE_ENDIAN,
50 BIG_ENDIAN, PDP_ENDIAN, and BYTE_ORDER. Condition byteswapping
51 macros only on !__ASSEMBLER__. Move the definitions of
52 __BIG_ENDIAN, __LITTLE_ENDIAN, __PDP_ENDIAN, __FLOAT_WORD_ORDER,
53 and __LONG_LONG_PAIR to...
54 * string/bits/endian.h: ...this new file, which includes
55 the renamed header bits/endianness.h for the definition of
56 __BYTE_ORDER and possibly __FLOAT_WORD_ORDER.
57
58 * string/Makefile: Install bits/endianness.h.
59 * include/bits/endian.h: New wrapper.
60
61 * bits/endian.h: Rename to bits/endianness.h.
62 Add multiple-include guard. Rewrite the comment explaining what
63 the machine-specific variants of this file should do.
64
65 * sysdeps/unix/sysv/linux/ia64/bits/endian.h:
66 Move to sysdeps/ia64.
67
68 * sysdeps/aarch64/bits/endian.h
69 * sysdeps/alpha/bits/endian.h
70 * sysdeps/arm/bits/endian.h
71 * sysdeps/csky/bits/endian.h
72 * sysdeps/hppa/bits/endian.h
73 * sysdeps/ia64/bits/endian.h
74 * sysdeps/m68k/bits/endian.h
75 * sysdeps/microblaze/bits/endian.h
76 * sysdeps/mips/bits/endian.h
77 * sysdeps/nios2/bits/endian.h
78 * sysdeps/powerpc/bits/endian.h
79 * sysdeps/riscv/bits/endian.h
80 * sysdeps/s390/bits/endian.h
81 * sysdeps/sh/bits/endian.h
82 * sysdeps/sparc/bits/endian.h
83 * sysdeps/x86/bits/endian.h:
84 Rename to endianness.h; canonicalize form of file; remove
85 redundant definitions of __FLOAT_WORD_ORDER.
86
87 * sysdeps/powerpc/bits/endianness.h: Remove logic to check for
88 broken compilers.
89
90 * ctype/ctype.h
91 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
92 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
93 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h
94 * sysdeps/ia64/ieee754.h
95 * sysdeps/ieee754/ieee754.h
96 * sysdeps/ieee754/ldbl-128/ieee754.h
97 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
98 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
99 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
100 * sysdeps/mips/ieee754/ieee754.h
101 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
102 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
103 * sysdeps/nptl/pthread.h
104 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h
105 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
106 * sysdeps/sparc/sparc32/ieee754.h
107 * sysdeps/unix/sysv/linux/generic/bits/stat.h
108 * sysdeps/unix/sysv/linux/generic/bits/statfs.h
109 * sysdeps/unix/sysv/linux/sys/acct.h
110 * wctype/bits/wctype-wchar.h:
111 Include bits/endian.h, not endian.h.
112
113 * sysdeps/unix/sysv/linux/hppa/pthread.h: Don’t include endian.h.
114
115 * sysdeps/mips/ieee754/ieee754.h: Use __LDBL_MANT_DIG__
116 in ifdefs, instead of LDBL_MANT_DIG. Only include float.h
117 when __LDBL_MANT_DIG__ is not predefined, in which case
118 define __LDBL_MANT_DIG__ to equal LDBL_MANT_DIG.
119
8e42fc68
MF
1202019-09-17 Mike FABIAN <mfabian@redhat.com>
121
122 * localedata/locales/az_AZ: Make lang_name agree with CLDR
123 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
124 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
125 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
126 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
127 * localedata/locales/bho_IN: Add country_name from langtable
128 * localedata/locales/chr_US: Make country_name agree with CLDR
129 * localedata/locales/crh_UA: Make lang_name agree with langtable
130 * localedata/locales/csb_PL: Add country_name from langtable
131 * localedata/locales/doi_IN: Add country_name from langtable
132 * localedata/locales/dv_MV: Add country_name from langtable
133 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
134 * localedata/locales/hak_TW: Make lang_name agree with langtable
135 * localedata/locales/hif_FJ: Make lang_name agree with langtable
136 * localedata/locales/hne_IN: Add country_name from langtable
137 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
138 * localedata/locales/id_ID: Make lang_name agree with CLDR
139 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
140 * localedata/locales/kab_DZ: Make country_name agree with CLDR
141 * localedata/locales/ks_IN: Make country_name agree with CLDR
142 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
143 * localedata/locales/mag_IN: Add country_name from langtable
144 * localedata/locales/mfe_MU: Make country_name agree with CLDR
145 * localedata/locales/mhr_RU: Add lang_name from langtable
146 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
147 * localedata/locales/ms_MY: Make lang_name agree with CLDR
148 * localedata/locales/nan_TW: Make lang_name agree with langtable
149 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
150 * localedata/locales/nds_DE: Make lang_name agree with langtable
151 * localedata/locales/nds_NL: Make lang_name agree with langtable
152 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
153 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
154 * localedata/locales/niu_NZ: Add lang_name from langtable
155 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
156 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
157 * localedata/locales/or_IN: Fix spelling of language from langtable
158 * localedata/locales/pa_PK: Make country_name agree with CLDR
159 * localedata/locales/ps_AF: Make country_name agree with CLDR
160 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
161 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
162 * localedata/locales/rw_RW: Make country_name agree with CLDR
163 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
164 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
165 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
166 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
167 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
168 * localedata/locales/shn_MM: Make country_name agree with langtable
169 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
170 * localedata/locales/sm_WS: Make country_name agree with langtable
171 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
172 * localedata/locales/szl_PL: Add country_name from langtable
173 * localedata/locales/te_IN: Fix country_name from CLDR
174 * localedata/locales/tg_TJ: Add lang_name from CLDR
175 * localedata/locales/the_NP: Add country_name, lang_name from langtable
176 * localedata/locales/tk_TM: Make lang_name agree with CLDR
177 * localedata/locales/tl_PH: Add lang_name from langtable
178 * localedata/locales/to_TO: Make lang_name agree with CLDR
179 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
180 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
181 * localedata/locales/ug_CN: Add lang_name from CLDR
182 * localedata/locales/unm_US: Add lang_name from langtable
183 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
184 * localedata/locales/wo_SN: Add lang_name from CLDR
185 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
186 * localedata/locales/yo_NG: Make country_name agree with CLDR
187 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
188 * localedata/locales/zh_HK: Add lang_name from langtable
189 * localedata/locales/zh_SG: Add lang_name from langtable
190
b5b67ece
JM
1912019-09-30 Joseph Myers <joseph@codesourcery.com>
192
193 * scripts/build-many-glibcs.py (Context.checkout): Default
194 binutils version to 2.33 branch.
195
9c44c6a9
LM
1962019-10-01 Lukasz Majewski <lukma@denx.de>
197
198 * include/time.h (valid_timeval_to_timespec64): Add.
199 * include/time.h (valid_timespec_to_timespec64): Likewise.
200 * include/time.h (valid_timespec64_to_timespec): Likewise.
201 * include/time.h (valid_timespec64_to_timeval): Likewise.
202
71bdf29a
JM
2032019-09-30 Joseph Myers <joseph@codesourcery.com>
204
205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
206 (MAP_SYNC): New macro.
207 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
208 (MAP_SYNC): Likewise.
209 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
210 kernel version number to 5.3.
211
d7a568af
PC
2122019-09-27 Paul A. Clarke <pc@us.ibm.com>
213
214 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
215 fesetenv_control.
216 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
217 rename of fesetenv_mode to fegetenv_control.
218 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
219 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
220 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
221 (libc_feholdsetround_noex_ppc_ctx): Likewise.
222
36c17c70
PC
2232019-09-27 Paul A. Clarke <pc@us.ibm.com>
224
225 * sysdeps/powerpc/fpu/fenv_private.h
226 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
227 of fesetenv_register.
228
81ecb0ee
PC
2292019-09-27 Paul A. Clarke <pc@us.ibm.com>
230
231 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
232 fegetenv_control.
233 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
234 rename of fegetenv_status to fegetenv_control.
235 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
236 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
237 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
238 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
239 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
240
e68b1151
PC
2412019-09-27 Paul A. Clarke <pc@us.ibm.com>
242
243 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
244 'mffscrn' instruction on POWER9.
245 (__fesetround_inline_nocheck): Likewise.
246
7413c188
PC
2472019-09-27 Paul A. Clarke <pc@us.ibm.com>
248
249 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
250 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
251 to write FPSCR control only, if exceptions have not changed.
252
e3d85df5
PC
2532019-09-27 Paul A. Clarke <pc@us.ibm.com>
254
255 * sysdeps/powerpc/fpu/fenv_libc.h:
256 (__TEST_AND_ENTER_NON_STOP): New.
257 (__TEST_AND_EXIT_NON_STOP): New.
258 * sysdeps/powerpc/fpu/fenv_private.h
259 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
260 (_FPU_MASK_RN): Delete.
261 (_FPU_MASK_NOT_RN_NI): Delete.
262 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
263 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
264 (__libc_feholdbits_ppc): Delete, move code into
265 libc_feholdexcept_setround_ppc.
266 (libc_feholdexcept_ppc): Delete.
267 (libc_fesetround_ppc): Delete.
268 (libc_fetestexcept_ppc): Delete.
269 (libc_feholdsetround_ppc): Delete.
270 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
271 (libc_feholdsetround_noex_ppc_ctx): Likewise.
272 (libc_feupdateenv_test_ppc): Use FPSCR defines.
273 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
274 __TEST_AND_ENTER_NON_STOP.
275 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
276 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
277 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
278 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
279 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
280 (_FPU_MASK_ALL): Delete.
281
9a44050e
JM
2822019-09-27 Joseph Myers <joseph@codesourcery.com>
283
284 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
285
464cd3a9
LM
2862019-09-26 Lukasz Majewski <lukma@denx.de>
287
288 * include/time.h: Add struct __timespec64 definition
289
8b45cac0
SP
2902019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
291
292 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
293 from codecs.
294
bacd3227
AZ
2952019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
296
b2b3b759
AZ
297 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
298 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
299
bacd3227
AZ
300 * sysdeps/unix/sysv/linux/Makefile
301 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
302 CFLAGS-tst-sigcontext-get_pc.c.
303
5d245b5f
AF
3042019-09-24 Alistair Francis <alistair.francis@wdc.com>
305
306 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
307
eb502f72
AS
3082019-09-24 Andreas Schwab <schwab@suse.de>
309
310 * sysdeps/unix/sysv/linux/arm/sysdep.h
311 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
312 not "__vdso_gettimeofday".
313 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
314 "__vdso_clock_gettime".
315 * sysdeps/unix/sysv/linux/mips/sysdep.h
316 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
317 not "__vdso_gettimeofday".
318 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
319 "__vdso_clock_gettime".
320
f1c56cdf 3212019-09-19 Paul A. Clarke <pc@us.ibm.com>
eb502f72 322
f1c56cdf
PC
323 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
324 (__fe_mffscrn): New.
325 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
326 Do not clear enable bits, remove obsolete code, use
327 fegetenv_and_set_rn.
328 (libc_feresetround_ppc): Remove obsolete code, use
329 fegetenv_and_set_rn.
330
64fab363
SL
3312019-09-19 Stefan Liebler <stli@linux.ibm.com>
332
333 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
334
73d9051d
SL
3352019-09-19 Stefan Liebler <stli@linux.ibm.com>
336
337 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
338 (_HP_TIMING_S390_H): Define.
339
2dd8d4a7
JM
3402019-09-18 Joseph Myers <joseph@codesourcery.com>
341
0f02b6cf
JM
342 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
343 version to 5.3.
344 (clone3): New syscall.
345 (pidfd_open): Likewise.
346
2dd8d4a7
JM
347 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
348 version to 5.3.
349
2b680878
SL
3502019-09-18 Stefan Liebler <stli@linux.ibm.com>
351
352 * sysdeps/s390/hp-timing.h: New file.
353
8cacbcf4
JM
3542019-09-18 Joseph Myers <joseph@codesourcery.com>
355
356 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
357 <linux/sched.h>.
358 (CLONE_VM): New macro.
359 (CLONE_VFORK): Likewise.
360
2f9046fb
SL
3612019-09-18 Stefan Liebler <stli@linux.ibm.com>
362
363 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
364 Rearrange subprocesses.
365 (pldd_process): New function.
366 * support/Makefile (libsupport-routines): Add support_ptrace.
367 * support/xptrace.h: New file.
368 * support/support_ptrace.c: Likewise.
369
b8386c28
AZ
3702019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
371
87accae3
AZ
372 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
373
7c3eed78
AZ
374 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
375 (INTERNAL_VSYSCALL_CALL): Remove.
376 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
377 (INTERNAL_VSYSCALL_CALL): Likewise.
378 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
379 (INTERNAL_VSYSCALL_CALL): Likewise.
380 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
381 New macro.
382
986a5064
AZ
383 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
384 defined.
385 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
386 (__get_timebase_freq): Remove use of
387 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
388 (get_timebase_freq_fallback): New symbol.
389 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
390 HAVE_GETTIMEOFDAY_VSYSCALL.
391 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
392 HAVE_TIME_VSYSCALL.
393 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
394 implementation.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
396 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
397 powerpc64.
398 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
399 * .../sysv/linux/powerpc/powerpc64/sysdep.h
400 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
401 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
402 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
403
b8a7c7da
AZ
404 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
405 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
406 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
407 Likewise.
408 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
409 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
410 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
411 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
412 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
413 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
414 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
415 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
416 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
417 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
418 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
420 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
421 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
422 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
424 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
425 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
426 name.
427 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
428 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
429 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
430 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
431 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
432 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
433 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
434 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
435 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
436 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
437 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
438 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
439 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
440 HAVE_GETCPU_VSYSCALL): Likewise.
441 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
442 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
443 HAVE_GETCPU_VSYSCALL): Likewise.
444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
445 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
447 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
448 HAVE_GETCPU_VSYSCALL): Likewise.
449 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
450 invalid names if architecture does not define them.
451 (get_vdso_mangle_symbol): New symbol.
452 * sysdeps/unix/sysv/linux/init-first.c: New file.
453 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
455 clock_gettime, clock_getres, getcpu, time): Remove declaration.
456 (__libc_vdso_platform_setup_arch): Likewise and use
457 get_vdso_mangle_symbol to setup vDSO symbols.
458 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
459 attribute_hidden.
460 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
461 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
462 definition.
463
b8386c28
AZ
464 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
465 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
466 Use get_vdso_symbol instead of _dl_vdso_vsym.
467 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
468 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
469 (__lookup_riscv_flush_icache): Likewise.
470 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
471 Likewise.
472 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
473 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
474 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
475 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
476 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
477 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
478 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
479 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
480 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
481 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
482 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
484 Define.
485 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
486 Likewise.
487 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
488 Likewise.
489 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
490 Likewise.
491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
492 Likewise.
493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
494 Likewise.
495 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
496 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
497 definition.
498 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
499 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
500 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
501 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
503 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
505 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
507 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
508 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
510 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
511 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
512 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
513 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
514 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
515 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
516 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
517 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
518 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
519 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
520 (get_vdso_symbol): New function.
521
b881217f
CLT
5222019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
523
524 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
525 position of string null termination.
526
1a656609
AJ
5272019-09-14 Aurelien Jarno <aurelien@aurel32.net>
528
529 [BZ #24986]
530 * sysdeps/unix/alpha/getegid.S: Move to ...
531 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
532 * sysdeps/unix/alpha/geteuid.S: Move to ...
533 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
534 * sysdeps/unix/alpha/getppid.S: Move to ...
535 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
536
3f02b772
PE
5372019-09-09 Paul Eggert <eggert@cs.ucla.edu>
538
02d35f06
PE
539 Fix http: URL in 'configure'
540 * configure.ac: Add URL to AC_INIT so that it generates an
541 https: URL instead of an http: URL.
542 * configure: Regenerate.
543
3f02b772
PE
544 Regenerate charmap-kw.h, locfile-kw.h
545 This propagates the recent http->https URL changes.
546 Since I used gperf 3.1 to regenerate, this is also a minor
547 internal-to-localedef API change.
548 URL problem reported by Joseph Myers in:
549 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
550 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
551 Regenerate with gperf 3.1.
552 * locale/programs/linereader.h (kw_hash_fct_t):
553 * locale/programs/repertoire.c (repertoiremap_hash):
554 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
555
de18a706
FW
5562019-09-05 Florian Weimer <fweimer@redhat.com>
557
558 [BZ #24962]
559 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
560 (_nl_category_names_get): New function.
561 * intl/dcigettext.c (category_to_name): Call it.
562 * locale/findlocale.c (_nl_find_locale): Likewise.
563 * intl/loadlocale.c (_nl_load_locale): Likewise.
564 * locale/newlocale.c (__newlocale): Likewise.
565 * locale/setlocale.c (_nl_category_names): Adjust definition.
566 (_nl_category_name_idxs): Likewise.
567 (new_composite_name): Call _nl_category_names_get.
568 (setlocale): Likewise.
569
ab41100b
GG
5702019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
571
572 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
573 const attribute with pure attribute.
574
a26918cf
LM
5752019-09-04 Lukasz Majewski <lukma@denx.de>
576
577 * sysdeps/unix/sysv/linux/kernel-features.h
578 (__ASSUME_TIME64_SYSCALLS): New macro.
579
7b5af2d8
ZW
5802019-09-04 Zack Weinberg <zackw@panix.com>
581
582 [BZ #24959]
583 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
584 * rt/clock_getres.c: Move to time/clock_getres.c.
585 * rt/clock_gettime.c: Move to time/clock_gettime.c.
586 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
587 * rt/clock_settime.c: Move to time/clock_settime.c.
588 * rt/tst-clock.c: Move to time/tst-clock.c.
589 * rt/tst-clock2.c: Move to time/tst-clock2.c.
590 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
591 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
592 * rt/clock-compat.c: Delete file.
593
594 * time/clock_getcpuclockid.c
595 * time/clock_getres.c
596 * time/clock_gettime.c
597 * time/clock_nanosleep.c
598 * time/clock_settime.c
599 * sysdeps/posix/clock_getres.c
600 * sysdeps/unix/clock_gettime.c
601 * sysdeps/unix/clock_nanosleep.c
602 * sysdeps/unix/clock_settime.c
603 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
604 * sysdeps/unix/sysv/linux/clock_getres.c
605 * sysdeps/unix/sysv/linux/clock_gettime.c
606 * sysdeps/unix/sysv/linux/clock_nanosleep.c
607 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
608 defined by this file with default symbol version GLIBC_2_17,
609 and optionally a compatibility alias at symbol version GLIBC_2_2.
610 * include/time.h: Remove internal prototypes for clock_getres,
611 clock_nanosleep, and clock_getcpuclockid.
612
613 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
614 Remove unused function realtime_gettime.
615
616 * rt/Makefile (clock-routines, routines): Remove variable.
617 (librt-routines): Remove clock-compat.
618 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
619 and tst-cpuclock1.
620 * time/Makefile (routines): Add clock_getres, clock_gettime,
621 clock_settime, clock_getcpuclockid, and clock_nanosleep.
622 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
623 and tst-cpuclock1.
624
625 * rt/Versions (libc): Remove entire stanza.
626 (librt GLIBC_2.2): Remove all clock_* functions.
627 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
628 Add clock_getres, clock_gettime, clock_settime,
629 clock_getcpuclockid, and clock_nanosleep.
630 (libc GLIBC_PRIVATE): Add __clock_gettime.
631
632 * sysdeps/mach/hurd/i386/librt.abilist
633 * sysdeps/unix/sysv/linux/alpha/librt.abilist
634 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
635 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
636 * sysdeps/unix/sysv/linux/hppa/librt.abilist
637 * sysdeps/unix/sysv/linux/i386/librt.abilist
638 * sysdeps/unix/sysv/linux/ia64/librt.abilist
639 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
640 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
641 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
642 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
643 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
644 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
647 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
648 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
649 * sysdeps/unix/sysv/linux/sh/librt.abilist
650 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
651 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
652 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
653 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
654 Remove entries for clock_getres, clock_gettime, clock_settime,
655 clock_getcpuclockid, and clock_nanosleep.
656
657 * sysdeps/mach/hurd/i386/libc.abilist
658 * sysdeps/unix/sysv/linux/alpha/libc.abilist
659 * sysdeps/unix/sysv/linux/arm/libc.abilist
660 * sysdeps/unix/sysv/linux/hppa/libc.abilist
661 * sysdeps/unix/sysv/linux/i386/libc.abilist
662 * sysdeps/unix/sysv/linux/ia64/libc.abilist
663 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
664 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
665 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
666 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
667 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
668 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
672 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
673 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
674 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
675 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
676 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
677 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
678 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
679 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
680 Add another set of entries for clock_getres, clock_gettime,
681 clock_settime, clock_getcpuclockid, and clock_nanosleep at
682 whatever version GLIBC_2.2 maps to.
683
b5367a08
AJ
6842019-09-03 Aurelien Jarno <aurelien@aurel32.net>
685
686 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
687
1471fa55
FW
6882019-09-03 Florian Weimer <fweimer@redhat.com>
689
690 [BZ #24950]
691 * locale/programs/charmap.h (struct charseq): Turn bytes into a
692 flexible array member.
693 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
694 replace.
695
9a1e7257
FW
6962019-09-02 Florian Weimer <fweimer@redhat.com>
697
698 * misc/tst-mntent-autofs.c: New file.
699 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
700
08b7e998
IK
7012019-09-02 Ian Kent <ikent@redhat.com>
702
703 Use autofs "ignore" mount hint in getmntent_r/getmntent.
704 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
705 getmntent_r.
706 (__getmntent_r): Call it. Filter out autofs entries with an
707 "ignore" mount option.
708
3c05dd79
WD
7092019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
710
711 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
712 (generic_memcpy): Include generic C memcpy.
713 * benchtests/bench-memmove.c (simple_memmove): Remove.
714 (generic_memmove): Include generic C memmove.
715 * benchtests/bench-memset.c (simple_memset): Remove.
716 (generic_memset): Include generic C memset.
717 * benchtests/bench-memset-large.c (simple_memset): Remove.
718 (generic_memset): Include generic C memset.
719 * benchtests/bench-memset-walk.c (simple_memset): Remove.
720 (generic_memset): Include generic C memset.
721 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
722 * string/memset.c (MEMSET): Likewise.
723 * sysdeps/x86_64/memcopy.h: Remove empty file.
724
9743c627
FW
7252019-08-30 Florian Weimer <fweimer@redhat.com>
726
727 nptl: Move pthread_attr_getinheritsched implementation into libc.
728 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
729 (libpthread-routines): Remove pthread_attr_getinheritsched.
730 * nptl/Versions (libpthread GLIBC_2.0): Remove
731 pthread_attr_getinheritsched.
732 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
733 * nptl/nptl-init.c (pthread_functions): Remove initializer for
734 ptr_pthread_attr_getinheritsched.
735 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
736 Remove ptr_pthread_attr_getinheritsched member.
737 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
738 Remove pthread_attr_getinheritsched.
739 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
740 Likewise.
741 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
742 Likewise.
743 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
744 Likewise.
745 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
746 Likewise.
747 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
748 Likewise.
749 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
750 Likewise.
751 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
752 Likewise.
753 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
754 (GLIBC_2.4): Likewise.
755 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
756 (GLIBC_2.0): Likewise.
757 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
758 (GLIBC_2.18): Likewise.
759 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
760 (GLIBC_2.18): Likewise.
761 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
762 (GLIBC_2.0): Likewise.
763 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
764 (GLIBC_2.0): Likewise.
765 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
766 Likewise.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
768 (GLIBC_2.0): Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
770 (GLIBC_2.3): Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
772 (GLIBC_2.17): Likewise.
773 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
774 (GLIBC_2.27): Likewise.
775 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
776 (GLIBC_2.0): Likewise.
777 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
778 (GLIBC_2.2): Likewise.
779 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
780 Likewise.
781 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
782 Likewise.
783 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
784 (GLIBC_2.0): Likewise.
785 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
786 (GLIBC_2.2): Likewise.
787 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
788 (GLIBC_2.2.5): Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
790 (GLIBC_2.16): Likewise.
791
90f0f97c
ST
7922019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
793
90f0f97c
ST
794 * sysdeps/mach/hurd/getcwd.c
795 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
796 slash if we got an unknown root directory. (__getcwd): Do not fail with
797 EGRATUITOUS if we got an unknown root directory.
d76d187c
ST
798 * hurd/hurdselect.c (SELECT_ERROR): New macro.
799 (_hurd_select):
800 - Add `error' field to `d' structures array.
801 - If a poll descriptor is bogus, set EBADF, but continue with a zero
802 timeout.
803 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
804 EBADF there is any bit set above _hurd_dtablesize.
805 - Do not request io_select on bogus descriptors (SELECT_ERROR).
806 - On io_select request error, record the error.
807 - On io_select bogus reply, use EIO error code.
808 - On io_select bogus or error reply, record the error.
809 - Do not destroy reply port for bogus FDs.
810 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
811 EBADF case, or else POLLERR.
812 - On error, make select simulated readiness.
90f0f97c 813
c9536b7b
ST
814 [BZ #19903]
815 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
816 as __vm_allocate.
817
a644a4b2
ST
818 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
819 unlocks SS and returns to the saved PC.
820 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
821 thread stack instead of the saved PC.
822
90f0f97c 8232019-08-30 Richard Braun <rbraun@sceen.net>
4b068090
RB
824
825 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
826 timeout.
f0e84494 827 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
c3010778
RB
828 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
829 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
830 <limits.h>.
831 (_hurd_select): Replace the call to __io_select with either
832 __io_select_request or __io_select_timeout_request, depending on the
833 timeout. Count the number of ready descriptors (replies for which at
834 least one type bit is set). Implement the timeout locally when there is
835 no file descriptor.
4b068090 836
23c1c256
MS
8372019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
838
839 * elf/dl-addr.c (determine_info): Calculate the symbol index
840 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
841 * elf/dl-lookup.c (do_lookup_x): Ditto.
842 (_dl_setup_hash): Initialize MIPS xhash translation table.
843 * elf/elf.h (SHT_MIPS_XHASH): New define.
844 (DT_MIPS_XHASH): New define.
845 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
846 define.
847 (ELF_MACHINE_HASH_SYMIDX): Ditto.
848 (ELF_MACHINE_XHASH_SETUP): Ditto.
849 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
850 define.
851 (ELF_MACHINE_HASH_SYMIDX): Ditto.
852 (ELF_MACHINE_XHASH_SETUP): Ditto.
853 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
854 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
855 version.
856 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
857
1673ba87
AZ
8582019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
859
605f3817
AZ
860 * sysdeps/sh/preconfigure.ac: New file.
861 * sysdeps/sh/preconfigure: Regenerate.
862 * sysdeps/sh/be/sh3/Implies: New file.
863 * sysdeps/sh/be/sh4/Implies: Likewise.
864 * sysdeps/sh/le/sh3/Implies: Likewise.
865 * sysdeps/sh/le/sh4/Implies: Likewise.
866 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
867 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
868 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
869 sysdeps/unix/sysv/linux/sh/le/*.abilist.
870 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
871
c7fca8d4
AZ
872 * sysdeps/microblaze/preconfigure.ac: New file.
873 * sysdeps/microblaze/preconfigure: Regenerate.
874 * sysdeps/microblaze/be/implies: New file.
875 * sysdeps/microblaze/le/implies: Likewise.
876 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
877 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
878 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
879 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
880 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
881
1673ba87
AZ
882 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
883 * sysdeps/arm/preconfigure: Regenerate.
884 * sysdeps/arm/be/Implies: New file.
885 * sysdeps/arm/be/armv6/Implies: Likewise.
886 * sysdeps/arm/be/armv6t2/Implies: Likewise.
887 * sysdeps/arm/be/armv7/Implies: Likewise.
888 * sysdeps/arm/le/Implies: Likewise.
889 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
890 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
891 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
892 sysdeps/unix/sysv/linux/arm/le/*.abilist.
893 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
894
a22a582e
PE
8952019-08-27 Paul Eggert <eggert@cs.ucla.edu>
896
897 Fix posix/tst-regex by using UTF-8 and own test input
898 Problem reported by Stefan Liebler in:
899 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
900 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
901 (do_test, test_expr): Adjust to the fact that this source file,
902 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
903 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
904 so that it is now UTF-8.
905
0b3c9e57 9062019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 907
0b3c9e57
PC
908 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
909 (fegetenv_status): Generate 'mffsl' unconditionally.
910
fec2bd2c 9112019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 912
fec2bd2c
PC
913 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
914 FPSCR read.
915 (_FPU_MASK_ALL): Delete.
916
e9052126 9172019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 918
e9052126
PC
919 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
920 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
921 if possible.
922 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
923 with simpler required steps, set fewer FPSCR bits if possible.
924
3c1766ea 9252019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 926
3c1766ea
PC
927 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
928 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
929 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
930 weight access to FPSCR; remove unnecessary second FPSCR read and
931 validate.
932 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
933 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
934 access to FPSCR; Use macros in fenv_libc.h in favor of local.
935
cd7ce12a 9362019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 937
cd7ce12a
PC
938 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
939 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
940 (fenv_exceptions_to_reg): New.
941 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
942 operation with call to fenv_exceptions_to_reg().
943 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
944
35ffd20d
FW
9452019-08-28 Florian Weimer <fweimer@redhat.com>
946
947 * misc/mntent.c (struct mntent_buffer): Define.
948 (mntent_buffer): Adjust type to void *.
949 (allocate): Adjust for allocate_once.
950 (deallocate): New function.
951 (getmntent): Call allocate_once.
952
ffced383
FW
9532019-08-28 Florian Weimer <fweimer@redhat.com>
954
955 nptl: Move pthread_attr_setdetachstate implementation into libc.
956 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
957 (libpthread-routines): Remove pthread_attr_setdetachstate.
958 * nptl/Versions (libpthread GLIBC_2.0): Remove
959 pthread_attr_setdetachstate.
960 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
961 * nptl/nptl-init.c (pthread_functions): Remove initializer for
962 ptr_pthread_attr_setdetachstate.
963 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
964 Remove ptr_pthread_attr_setdetachstate member.
965 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
966 Remove pthread_attr_setdetachstate.
967 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
968 Likewise.
969 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
970 Likewise.
971 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
972 Likewise.
973 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
974 Likewise.
975 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
976 Likewise.
977 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
978 Likewise.
979 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
980 (GLIBC_2.4): Likewise.
981 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
982 (GLIBC_2.0): Likewise.
983 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
984 (GLIBC_2.18): Likewise.
985 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
986 (GLIBC_2.0): Likewise.
987 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
988 (GLIBC_2.0): Likewise.
989 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
990 Likewise.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
992 (GLIBC_2.0): Likewise.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
994 (GLIBC_2.3): Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
996 (GLIBC_2.17): Likewise.
997 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
998 (GLIBC_2.27): Likewise.
999 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1000 (GLIBC_2.0): Likewise.
1001 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1002 (GLIBC_2.2): Likewise.
1003 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1004 Likewise.
1005 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1006 (GLIBC_2.0): Likewise.
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1008 (GLIBC_2.2): Likewise.
1009 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1010 (GLIBC_2.2.5): Likewise.
1011 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1012 (GLIBC_2.16): Likewise.
1013
61d3db42
FW
10142019-08-28 Florian Weimer <fweimer@redhat.com>
1015
1016 [BZ #24902]
1017 * login/Makefile (tests): Add tst-pututxline-lockfail.
1018 (tst-pututxline-lockfail): Link with -lpthread.
1019 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
1020 (__libc_getutid_r): Adjust.
1021 (__libc_pututline): Likewise. Check for file_offset == -1.
1022 * login/tst-pututxline-lockfail.c: New file.
1023
3a9d025f
SL
10242019-08-28 Stefan Liebler <stli@linux.ibm.com>
1025
1026 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
1027 * posix/tst-regex.input: New file.
1028
edd8d70b
MS
10292019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
1030
1031 [BZ #24916]
1032 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
1033 tst-undefined-weak.
1034 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
1035 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
1036 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
1037 * sysdeps/mips/tst-undefined-weak.c: Likewise.
1038 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
1039 Increment highest valid ABIVERSION value.
1040
33bc9efd
DM
10412019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1042
1043 * sysdeps/unix/sysv/linux/mips/Makefile
1044 (test-xfail-check-execstack):
1045 Move under mips-has-gnustack != yes.
1046 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
1047 Apply -Wa,-execstack if mips-force-execstack == yes.
1048 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1049 * sysdeps/unix/sysv/linux/mips/configure.ac
1050 (mips-force-execstack): New var.
1051 Set to yes for hard-float builds with minimum_kernel < 4.8.0
1052 or minimum_kernel not set at all.
1053 (mips-has-gnustack): New var.
1054 Use value of libc_cv_as_noexecstack
1055 if mips-force-execstack != yes, otherwise set to no.
1056
a43565ac
AZ
10572019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1058 Florian Weimer <fweimer@redhat.com>
1059
08d57105
AZ
1060 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
1061 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1062 Make a compat_symbol.
1063 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
1064 (__profil_counter_global): Likewise.
1065
a43565ac
AZ
1066 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
1067 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
1068 uintptr_t.
1069 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
1070 sigcontext_get_pc and return aligned cast to uintptr_t.
1071 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
1072 * sysdeps/posix/profil.c (profil_count): Change PC argument to
1073 uintptr_t.
1074 (__profil): Use SA_SIGINFO.
1075 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
1076 uintptr_t.
1077 (__sprofil): Use SA_SIGINFO.
1078 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
1079 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
1080 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1081 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
1082 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
1083 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
1084 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
1085 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
1086 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
1087 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
1088 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
1089 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1090 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
1091 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
1092 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
1093 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
1094 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
1095 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
1097 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
1098 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
1099 GET_PC, __sigaction, sigaction): Remove defines.
1100 (sigcontext_get_pc): New function.
1101 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1102 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1103 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1104 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
1105 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1106 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
1107 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1108 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1109 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
1110 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1111 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
1112 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1113 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1114 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1115 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1116 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1117 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
1118 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1119 Handle CTX argument as ucontext_t.
1120 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1121 Likewise.
1122 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1123 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1124 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1125 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1126 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1127 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1128 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1129 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1130 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1131 tst-sigcontextinfo-get_pc.
1132 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1133 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1134
624c109b
AZ
11352019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1136
1137 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1138 definition.
1139
ab74d59f 11402019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
c0fd3244
RL
1141
1142 [BZ #24682]
1143 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1144 * localedata/locales/ug_CN (first_weekday): Likewise.
1145 * localedata/locales/zh_CN (first_weekday): Likewise.
1146
c8c8160c
GR
11472019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1148
1149 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1150 field name in mcontext_t struct.
1151
c737ef0d
JM
11522019-08-22 Joseph Myers <joseph@codesourcery.com>
1153
42f527c8
JM
1154 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1155 unsupported with libidn2 before 2.0.5.
1156 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1157
c737ef0d
JM
1158 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1159 features.
1160
8a80ee5e
PE
11612019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1162
f615e3fc
PE
1163 Remove dead regex code
1164 * posix/regex_internal.c (re_node_set_insert):
1165 Remove unnecessary assignment. Reported by Tim Rühsen in:
1166 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1167
8a80ee5e
PE
1168 Fix bad pointer / leak in regex code
1169 This was found by Coverity (CID 1484201). [BZ#24844]
1170 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1171 pointer and/or memory leak when storage is exhausted.
1172
1baae4aa
ZW
11732019-08-21 Zack Weinberg <zackw@panix.com>
1174
1175 * misc/syslog.c (__vsyslog_internal)
1176 * time/getdate.c (__getdate_r)
1177 * time/tst_wcsftime.c (main):
1178 Use return value of time, not its argument.
1179
1180 * string/strfry.c (strfry)
1181 * sysdeps/mach/sleep.c (__sleep):
1182 Remove unnecessary casts of NULL in calls to time.
1183
f9fabc1b
JM
11842019-08-21 Joseph Myers <joseph@codesourcery.com>
1185
1186 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1187 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1188 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1189 (__TGMATH_2_NARROW_F): Likewise.
1190 (__TGMATH_2_NARROW_D): New macro.
1191 (__TGMATH_2_NARROW_F16): Likewise.
1192 (__TGMATH_2_NARROW_F32): Likewise.
1193 (__TGMATH_2_NARROW_F64): Likewise.
1194 (__TGMATH_2_NARROW_F32X): Likewise.
1195 (__TGMATH_2_NARROW_F64X): Likewise.
1196 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1197 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1198 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1199 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1200 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1201 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1202 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1203 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1204 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1205 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1206 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1207 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1208 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1209 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1210 Likewise.
1211 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1212 Likewise.
1213 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1214 Likewise.
1215 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1216 Likewise.
1217 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1218 Likewise.
1219 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1220 Likewise.
1221 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1222 Likewise.
1223 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1224 Likewise.
1225 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1226 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1227 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1228 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1229 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1230 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1231 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1232 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1233 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1234 Likewise.
1235 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1236 Likewise.
1237 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1238 Likewise.
1239 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1240 Likewise.
1241 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1242 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1243 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1244 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1245 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1246 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1247 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1248 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1249 * math/gen-tgmath-tests.py (Type): Add members
1250 non_standard_real_argument_types_list, long_double_type,
1251 complex_float64_type and float32x_ext_type.
1252 (Type.__init__): Set the new members.
1253 (Type.floating_type): Add new argument floatn.
1254 (Type.real_floating_type): Likewise.
1255 (Type.can_combine_types): Likewise.
1256 (Type.combine_types): Likewise.
1257 (Type.init_types): Create internal Float32x_ext type.
1258 (Tests.__init__): Define Float32x_ext in generated C code.
1259 (Tests.add_tests): Handle narrowing functions.
1260 (Tests.add_all_tests): Likewise.
1261 (Tests.tests_text): Allow variation in mant_dig for narrowing
1262 functions with compilers before GCC 8.
1263 * math/Makefile (tgmath3-narrow-types): New variable.
1264 (tgmath3-narrow-macros): Likewise.
1265 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1266
b7297184
AS
12672019-08-20 Andreas Schwab <schwab@suse.de>
1268
1269 * sysdeps/i386/fpu/libm-test-ulps: Update.
1270
d34d4c80
CD
12712019-08-19 Carlos O'Donell <carlos@redhat.com>
1272
1273 * nscd/nscd.conf: Add warning and comment about shared option.
1274
4b7c7417
CD
12752019-08-19 Carlos O'Donell <carlos@redhat.com>
1276
1277 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1278 * manual/nss.texi (NSS Basics): List all known databases.
1279 (Services in the NSS configuration): Mention automount.
1280
a289ea09
FW
12812019-08-19 Florian Weimer <fweimer@redhat.com>
1282
1283 Do not print backtraces on fatal errors.
1284 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1285 (__fortify_fail_abort): Remove definition.
1286 (__fortify_fail): Call __libc_message directly.
1287 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1288 (__stack_chk_fail): Call __fortify_fail instead of
1289 __fortify_fail_abort.
1290 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1291 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1292 definitions.
1293 (__libc_message): Do not handle do_backtrace. Do not call
1294 BEFORE_ABORT.
1295 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1296 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1297 (before_abort): Remove definitions.
1298
1d714fd9
FW
12992019-08-16 Florian Weimer <fweimer@redhat.com>
1300
1301 nptl: Move pthread_attr_getdetachstate implementation into libc.
1302 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1303 (libpthread-routines): Remove pthread_attr_getdetachstate.
1304 * nptl/Versions (libpthread GLIBC_2.0): Remove
1305 pthread_attr_getdetachstate.
1306 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1307 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1308 ptr_pthread_attr_getdetachstate.
1309 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1310 Remove ptr_pthread_attr_getdetachstate member.
1311 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1312 Remove pthread_attr_getdetachstate.
1313 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1314 Likewise.
1315 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1316 Likewise.
1317 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1318 Likewise.
1319 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1320 Likewise.
1321 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1322 Likewise.
1323 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1324 Likewise.
1325 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1326 (GLIBC_2.4): Likewise.
1327 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1328 (GLIBC_2.0): Likewise.
1329 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1330 (GLIBC_2.18): Likewise.
1331 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1332 (GLIBC_2.0): Likewise.
1333 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1334 (GLIBC_2.0): Likewise.
1335 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1336 Likewise.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1338 (GLIBC_2.0): Likewise.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1340 (GLIBC_2.3): Likewise.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1342 (GLIBC_2.17): Likewise.
1343 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1344 (GLIBC_2.27): Likewise.
1345 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1346 (GLIBC_2.0): Likewise.
1347 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1348 (GLIBC_2.2): Likewise.
1349 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1350 Likewise.
1351 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1352 (GLIBC_2.0): Likewise.
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1354 (GLIBC_2.2): Likewise.
1355 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1356 (GLIBC_2.2.5): Likewise.
1357 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1358 (GLIBC_2.16): Likewise.
1359
4745f4c1
JM
13602019-08-16 Joseph Myers <joseph@codesourcery.com>
1361
1362 * math/libm-test-compat_totalorder.inc (do_test)
1363 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1364 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1365 * math/libm-test-compat_totalordermag.inc (do_test)
1366 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1367
a635d756
FW
13682019-08-15 Florian Weimer <fweimer@redhat.com>
1369
1370 nptl: Move pthread_attr_init implementation into libc.
1371 * nptl/Makefile (routines): Add pthread_attr_init.
1372 (libpthread-routines): Remove pthread_attr_init.
1373 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1374 (libpthread GLIBC_2.0): Likewise.
1375 * nptl/pthread_attr_init.c: Check for libc compat version instead
1376 of libpthread compat version.
1377 * nptl/forward.c (__pthread_attr_init_2_0)
1378 (__pthread_attr_init_2_1): Remove definitions.
1379 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1380 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1381 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1382 Remove members ptr___pthread_attr_init_2_0,
1383 ptr___pthread_attr_init_2_1.
1384 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1385 Remove pthread_attr_init.
1386 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1387 Likewise.
1388 (GLIBC_2.1): Likewise.
1389 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1390 Likewise.
1391 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1392 Likewise.
1393 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1394 Likewise.
1395 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1396 Likewise.
1397 (GLIBC_2.1): Likewise.
1398 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1401 (GLIBC_2.4): Likewise.
1402 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1403 (GLIBC_2.0): Likewise.
1404 (GLIBC_2.1): Likewise.
1405 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1406 (GLIBC_2.18): Likewise.
1407 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1408 (GLIBC_2.0): Likewise.
1409 (GLIBC_2.1): Likewise.
1410 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1411 (GLIBC_2.0): Likewise.
1412 (GLIBC_2.1): Likewise.
1413 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1416 (GLIBC_2.0): Likewise.
1417 (GLIBC_2.1): Likewise.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1419 (GLIBC_2.3): Likewise.
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1421 (GLIBC_2.17): Likewise.
1422 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1423 (GLIBC_2.27): Likewise.
1424 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1425 (GLIBC_2.0): Likewise.
1426 (GLIBC_2.1): Likewise.
1427 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1428 (GLIBC_2.2): Likewise.
1429 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1430 Likewise.
1431 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1432 (GLIBC_2.0): Likewise.
1433 (GLIBC_2.1): Likewise.
1434 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1435 (GLIBC_2.2): Likewise.
1436 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1437 (GLIBC_2.2.5): Likewise.
1438 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1439 (GLIBC_2.16): Likewise.
1440
23d2e5fa
FW
14412019-08-15 Florian Weimer <fweimer@redhat.com>
1442
1443 [BZ #24900]
1444 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1445 new object in __RTLD_OPENEXEC mode (except for the origin).
1446 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1447 check for the error message.
1448 (do_test): Call it. Add check using relative path.
1449 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1450 (tst-dlopen-aout-container): Link with libpthread.
1451 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1452
42760d76
JM
14532019-08-15 Joseph Myers <joseph@codesourcery.com>
1454
1455 * math/bits/mathcalls.h
1456 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1457 (totalorder): Take pointer arguments.
1458 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1459 (totalordermag): Likewise.
1460 * manual/arith.texi (totalorder): Likewise.
1461 (totalorderf): Likewise.
1462 (totalorderl): Likewise.
1463 (totalorderfN): Likewise.
1464 (totalorderfNx): Likewise.
1465 (totalordermag): Likewise.
1466 (totalordermagf): Likewise.
1467 (totalordermagl): Likewise.
1468 (totalordermagfN): Likewise.
1469 (totalordermagfNx): Likewise.
1470 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1472 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1473 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1474 totalorderl, totalordermag, totalordermagf, totalordermagl,
1475 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1476 totalordermagf64, totalordermagf32x, totalorderf64x,
1477 totalordermagf64x, totalorderf128 and totalordermagf128.
1478 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1479 and compat_totalordermag.
1480 (libm-test-funcs-compat): New variable.
1481 (libm-tests-compat): Likewise.
1482 (tests): Do not include compat tests.
1483 (tests-internal): Add compat tests.
1484 ($(foreach t,$(libm-tests-base),
1485 $(objpfx)$(t)-compat_totalorder.o)): Depend
1486 on $(objpfx)libm-test-totalorder.c.
1487 ($(foreach t,$(libm-tests-base),
1488 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1489 $(objpfx)libm-test-totalordermag.c.
1490 (tgmath3-macros): Remove totalorder and totalordermag.
1491 * math/libm-test-compat_totalorder.inc: New file.
1492 * math/libm-test-compat_totalordermag.inc: Likewise.
1493 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1494 (RUN_TEST_fpfp_b): New macro.
1495 (RUN_TEST_LOOP_fpfp_b): Likewise.
1496 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1497 TEST_fpfp_b.
1498 (totalorder_test): Condition on [!COMPAT_TEST].
1499 (do_test): Likewise.
1500 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1501 TEST_fpfp_b.
1502 (totalordermag_test): Condition on [!COMPAT_TEST].
1503 (do_test): Likewise.
1504 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1505 totalorder and totalordermag.
1506 * math/test-tgmath.c (NCALLS): Change to 132.
1507 (F(compile_test)): Do not call totalorder or totalordermag.
1508 (F(totalorder)): Remove.
1509 (F(totalordermag)): Likewise.
1510 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1511 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1512 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1513 SJSTR_HELPER.
1514 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1515 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1516 [!_ISOMAC] (TEST_ALIGN): Likewise.
1517 [!_ISOMAC] (TEST_OFFSET): Likewise.
1518 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1519 and <first-versions.h>.
1520 (__totalorder): Take pointer arguments. Add symbol versions and
1521 compat symbols.
1522 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1523 <shlib-compat.h> and <first-versions.h>.
1524 (__totalordermag): Take pointer arguments. Add symbol versions
1525 and compat symbols.
1526 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1527 <shlib-compat.h> and <first-versions.h>.
1528 (__totalorder): Take pointer arguments. Add symbol versions and
1529 compat symbols.
1530 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1531 <shlib-compat.h> and <first-versions.h>.
1532 (__totalordermag): Take pointer arguments. Add symbol versions
1533 and compat symbols.
1534 * sysdeps/ieee754/float128/float128_private.h
1535 (__totalorder_compatl): New macro.
1536 (__totalordermag_compatl): Likewise.
1537 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1538 and <first-versions.h>.
1539 (__totalorderf): Take pointer arguments. Add symbol versions and
1540 compat symbols.
1541 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1542 <shlib-compat.h> and <first-versions.h>.
1543 (__totalordermagf): Take pointer arguments. Add symbol versions
1544 and compat symbols.
1545 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1546 <shlib-compat.h> and <first-versions.h>.
1547 (__totalorderl): Take pointer arguments. Add symbol versions and
1548 compat symbols.
1549 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1550 <shlib-compat.h> and <first-versions.h>.
1551 (__totalordermagl): Take pointer arguments. Add symbol versions
1552 and compat symbols.
1553 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1554 <shlib-compat.h>.
1555 (__totalorderl): Take pointer arguments. Add symbol versions and
1556 compat symbols.
1557 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1558 <shlib-compat.h>.
1559 (__totalordermagl): Take pointer arguments. Add symbol versions
1560 and compat symbols.
1561 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1562 <shlib-compat.h> and <first-versions.h>.
1563 (__totalorderl): Take pointer arguments. Add symbol versions and
1564 compat symbols.
1565 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1566 <shlib-compat.h> and <first-versions.h>.
1567 (__totalordermagl): Take pointer arguments. Add symbol versions
1568 and compat symbols.
1569 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1570 pointer arguments.
1571 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1572 Likewise.
1573 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1574 (do_test): Update calls to totalorderl and totalordermagl.
1575 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1576 Update calls to totalorderl and totalordermagl.
1577 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1578 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1580 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1581 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1582 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1583 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1584 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1587 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1588 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1589 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1590 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1592 Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1594 Likewise.
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1596 Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1598 Likewise.
1599 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1601 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1602 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1603 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1604 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1605 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1607
c2adefba
FW
16082019-08-15 Florian Weimer <fweimer@redhat.com>
1609
1610 [BZ #24899]
1611 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1612 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1613 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1614 Likewise.
1615 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1616 __attribute_nonstring__ to ut_id.
1617 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1618 Likewise.
1619
0d5b2917
FW
16202019-08-15 Florian Weimer <fweimer@redhat.com>
1621
1622 [BZ #24880]
1623 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1624 (file_locking_unlock): Likewise.
1625
628598be
FW
16262019-08-15 Florian Weimer <fweimer@redhat.com>
1627
1628 [BZ #24879]
1629 login: Disarm timer after utmp lock acquisition.
1630 * login/utmp_file.c (struct file_locking): Remove.
1631 (try_file_lock): Adjust.
1632 (file_lock_restore): Remove function.
1633 (__libc_getutent_r): .
1634 (internal_getut_r): Likewise.
1635 (__libc_getutline_r): Likewise.
1636 (__libc_pututline): Likewise.
1637 (__libc_updwtmp): Likewise.
1638
17e13474
FW
16392019-08-15 Florian Weimer <fweimer@redhat.com>
1640
1641 nptl: Remove pthread_self compatibility symbol from libpthread.
1642 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1643 pthread_equal.
1644 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1645 * nptl/compat-pthread_self.c: Remove file.
1646 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1647 Remove pthread_self.
1648 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1649 Likewise.
1650 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1651 Likewise.
1652 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1653 Likewise.
1654 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1655 Likewise.
1656 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1657 Likewise.
1658 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1659 (GLIBC_2.4): Likewise.
1660 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1661 (GLIBC_2.0): Likewise.
1662 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1663 (GLIBC_2.18): Likewise.
1664 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1665 (GLIBC_2.0): Likewise.
1666 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1667 (GLIBC_2.0): Likewise.
1668 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1669 Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1671 (GLIBC_2.0): Likewise.
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1673 (GLIBC_2.3): Likewise.
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1675 (GLIBC_2.17): Likewise.
1676 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1677 (GLIBC_2.0): Likewise.
1678 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1679 (GLIBC_2.2): Likewise.
1680 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1681 Likewise.
1682 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1683 (GLIBC_2.0): Likewise.
1684 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1685 (GLIBC_2.2): Likewise.
1686 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1687 (GLIBC_2.2.5): Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1689 (GLIBC_2.16): Likewise.
1690
fa57c301
FW
16912019-08-15 Florian Weimer <fweimer@redhat.com>
1692
1693 nptl: Move pthread_attr_destroy implementation into libc.
1694 * nptl/Makefile (routines): Add pthread_attr_destroy.
1695 (libpthread-routines): Remove pthread_attr_destroy.
1696 * nptl/Versions (libpthread GLIBC_2.0): Remove
1697 pthread_attr_destroy.
1698 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1699 libc compat version instead of libpthread compat version.
1700 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1701 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1702 ptr_pthread_attr_destroy.
1703 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1704 Remove ptr_pthread_attr_destroy member.
1705 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1706 Remove pthread_attr_destroy.
1707 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1708 Likewise.
1709 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1710 Likewise.
1711 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1712 Likewise.
1713 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1714 Likewise.
1715 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1716 Likewise.
1717 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1718 Likewise.
1719 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1720 (GLIBC_2.4): Likewise.
1721 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1722 (GLIBC_2.0): Likewise.
1723 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1724 (GLIBC_2.18): Likewise.
1725 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1726 (GLIBC_2.0): Likewise.
1727 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1728 (GLIBC_2.0): Likewise.
1729 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1730 Likewise.
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1732 (GLIBC_2.0): Likewise.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1734 (GLIBC_2.3): Likewise.
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1736 (GLIBC_2.17): Likewise.
1737 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1738 (GLIBC_2.27): Likewise.
1739 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1740 (GLIBC_2.0): Likewise.
1741 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1742 (GLIBC_2.2): Likewise.
1743 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1744 Likewise.
1745 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1746 (GLIBC_2.0): Likewise.
1747 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1748 (GLIBC_2.2): Likewise.
1749 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1750 (GLIBC_2.2.5): Likewise.
1751 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1752 (GLIBC_2.16): Likewise.
1753
56e09811
AS
17542019-08-15 Andreas Schwab <schwab@suse.de>
1755
1756 * sysdeps/i386/fpu/libm-test-ulps: Update.
1757
f9769a23
FW
17582019-08-15 Florian Weimer <fweimer@redhat.com>
1759
1760 * malloc/Makefile (tests): Only add tst-mxfast for
1761 $(have-tunables).
1762 * malloc/tst-mxfast.c: Fix copyright year.
1763 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1764 assert for checks.
1765
341da5b4
FW
17662019-08-15 Florian Weimer <fweimer@redhat.com>
1767
1768 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1769 descriptor.
1770 * login/Makefile (tests): Add tst-updwtmpx.
1771 * login/tst-updwtmpx.c: New file.
1772
dda373b0
FW
17732019-08-15 Florian Weimer <fweimer@redhat.com>
1774
1775 nptl: Move pthread_equal implementation into libc.
1776 * nptl/Makefile (routines): Add pthread_equal.
1777 * nptl/forward.c (pthread_equal): Remove definition.
1778 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1779 ptr_pthread_equal.
1780 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1781 Remove ptr_pthread_equal member.
1782 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1783 Remove pthread_equal.
1784 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1785 Likewise.
1786 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1787 Likewise.
1788 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1789 Likewise.
1790 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1791 Likewise.
1792 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1793 Likewise.
1794 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1795 Likewise.
1796 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1797 (GLIBC_2.4): Likewise.
1798 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1799 (GLIBC_2.0): Likewise.
1800 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1801 (GLIBC_2.18): Likewise.
1802 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1803 (GLIBC_2.0): Likewise.
1804 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1805 (GLIBC_2.0): Likewise.
1806 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1807 Likewise.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1809 (GLIBC_2.0): Likewise.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1811 (GLIBC_2.3): Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1813 (GLIBC_2.17): Likewise.
1814 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1815 (GLIBC_2.27): Likewise.
1816 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1817 (GLIBC_2.0): Likewise.
1818 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1819 (GLIBC_2.2): Likewise.
1820 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1821 Likewise.
1822 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1823 (GLIBC_2.0): Likewise.
1824 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1825 (GLIBC_2.2): Likewise.
1826 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1827 (GLIBC_2.2.5): Likewise.
1828 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1829 (GLIBC_2.16): Likewise.
1830
c54d8649
FW
18312019-08-14 Florian Weimer <fweimer@redhat.com>
1832
1833 * support/support_descriptors.c: Include <support/descriptors.h>.
1834
b68fabfb
FX
18352019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1836
1837 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1838 Disable DC ZVA code if this macro is defined as zero.
1839 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1840 Change to zero to disable using DC ZVA.
1841
c3ce62cc
JM
18422019-08-13 Joseph Myers <joseph@codesourcery.com>
1843
1844 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1845 Update comment.
1846 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1847 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1848 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1849 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1850 Likewise.
1851
5a3afa97
FW
18522019-08-13 Florian Weimer <fweimer@redhat.com>
1853
1854 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1855 Remove macros.
1856 (struct file_locking): New.
1857 (try_file_lock, file_unlock, file_lock_restore): New functions.
1858 (__libc_getutent_r): Use the new functions.
1859 (internal_getut_r): Likewise.
1860 (__libc_getutline_r): Likewise.
1861 (__libc_pututline): Likewise.
1862 (__libc_updwtmp): Likewise.
1863
777d75fb
JM
18642019-08-13 Joseph Myers <joseph@codesourcery.com>
1865
0175c9e9
JM
1866 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1867 comment.
1868 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1869 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1870 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1871 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1872 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1873 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1874 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1875 Likewise.
1876 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1877 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1878 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1879 Likewise.
1880 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1881 Likewise.
1882 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1883 Likewise.
1884 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1885 Likewise.
1886 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1887 Likewise.
1888 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1889 Likewise.
1890 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1891 Likewise.
1892 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1893 (IEC_60559_BFP_EXT)]: Likewise.
1894 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1895 Likewise.
1896 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1897 Likewise.
1898 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1899 Likewise.
1900 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1901 Likewise.
1902 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1903 Likewise.
1904 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1905 Likewise.
1906 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1907 Likewise.
1908 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1909 Likewise.
1910 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1911 Likewise, except for totalorder, totalordermag, getpayload,
1912 setpayload and setpayloadsig.
1913 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1914 except for totalorder and totalordermag.
1915
a8c2fa98
JM
1916 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1917 (strdup): Likewise.
1918 (strndup): Likewise.
1919
777d75fb
JM
1920 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1921 Undefine and define to 1 if [_GNU_SOURCE].
1922 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1923 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1924 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1925 (__USE_ISOC99): Likewise.
1926 (__USE_ISOC95): Likewise.
1927 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1928
a33b817f
FW
19292019-08-13 Florian Weimer <fweimer@redhat.com>
1930
1931 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1932 are always true.
1933 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1934 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1935 * login/getutmpx.c (getutmpx): Likewise.
1936 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1937 true.
1938 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1939 _HAVE_UT_TV are always true.
1940 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1941 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1942 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1943 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1944 are always true.
1945 (internal_getut_r): _HAVE_UT_TYPE is always true.
1946 (__libc_pututline): Likewise.
1947 * login/programs/utmpdump.c (print_entry): Assume that
1948 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1949 _HAVE_UT_TV are always true.
1950 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1951 _HAVE_UT_ID are always true.
1952 * sysdeps/gnu/bits/utmp.h: Move to ...
1953 * bits/utmp.h: ... here, replacing the old file.
1954
9b9670fc
FW
19552019-08-12 Florian Weimer <fweimer@redhat.com>
1956
1957 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1958 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1959 not set.
1960 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1961 (do_test): Open the executable using an absolute path. Print
1962 error message to standard output.
1963
c48d92b4
DD
19642019-08-09 DJ Delorie <dj@redhat.com>
1965
1966 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1967 * manual/tunables.texi: Document it.
1968 * malloc/malloc.c (do_set_mxfast): New.
1969 (__libc_mallopt): Call it.
1970 * malloc/arena.c: Add mxfast tunable.
1971 * malloc/tst-mxfast.c: New.
1972 * malloc/Makefile: Add it.
1973
b6d2c447
NH
19742019-08-08 Niklas Hambüchen <mail@nh2.me>
1975 Carlos O'Donell <carlos@redhat.com>
1976
1977 [BZ #24026]
1978 * malloc/malloc.c (__malloc_info): Account for top chunk.
1979
a02cd8e4
JM
19802019-08-07 Joseph Myers <joseph@codesourcery.com>
1981
1982 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1983 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1984
d8b97803
JM
19852019-08-06 Joseph Myers <joseph@codesourcery.com>
1986
1987 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1988
8d454abe
SL
19892019-07-02 Stefan Liebler <stli@linux.ibm.com>
1990
1991 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1992
98013846
JM
19932019-08-05 Joseph Myers <joseph@codesourcery.com>
1994
1995 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1996 New macro.
1997
503fc587
AZ
19982019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1999
d665367f
AZ
2000 [BZ #19767]
2001 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
2002 Remove definition.
2003 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
2004 Likewise.
2005 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2006 Likewise.
2007 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
2008 Likewise.
2009 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2010 (ALWAYS_USE_VSYSCALL): Likewise.
2011 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2012 (ALWAYS_USE_VSYSCALL): Likewise.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2014 (ALWAYS_USE_VSYSCALL): Likewise.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2016 (ALWAYS_USE_VSYSCALL): Likewise.
2017 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2018 Likewise.
2019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2020 (ALWAYS_USE_VSYSCALL): Likewise.
2021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2022 (ALWAYS_USE_VSYSCALL): Likewise.
2023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2024 Likewise.
2025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2026 Likewise.
2027 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
2028 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
2029 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
2030 USE_VSYSCALL): Remove defitions.
2031
c9c1a413
AZ
2032 [BZ #19767]
2033 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
2034 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
2035 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
2036 Define.
2037
27a0914e 2038 [BZ #19767]
5e855c89
AZ
2039 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
2040 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
2041 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2042 (ALWAYS_USE_VSYSCALL): Define.
2043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2044 (ALWAYS_USE_VSYSCALL): Likewise.
2045
2046 [BZ #19767]
27a0914e
AZ
2047 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
2048 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2049 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
2050 Define.
2051
503fc587
AZ
2052 * sysdeps/sh/libm-test-ulps: Update.
2053
1a7fe2eb
FW
20542019-08-05 Florian Weimer <fweimer@redhat.com>
2055
2056 [BZ #23518]
2057 * login/uptmp-private.h (struct ufuncs): Remove definition.
2058 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
2059 (__libc_utmp_jump_table): Remove declarations.
2060 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
2061 (__libc_getutline_r, __libc_pututline, __libc_endutent)
2062 (__libc_updwtmp): Declare.
2063 * login/getutent_r.c (__libc_utmp_unknown_functions)
2064 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
2065 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
2066 (endutent_unknown): Remove definitions.
2067 (__setutent): Call __libc_setutent.
2068 (__getutent_r): Call __libc_getutent_r.
2069 (__pututline): Call __libc_pututline.
2070 (__endutent): Call __libc_endutent.
2071 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
2072 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
2073 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
2074 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
2075 (__libc_setutent): Rename from stetutent_file. Drop static.
2076 (maybe_setutent): New function.
2077 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
2078 Check for initialization.
2079 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
2080 Check for initialization.
2081 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
2082 Check for initialization.
2083 (__libc_pututline): Rename from pututline_file. Drop static.
2084 Check for initialization.
2085 (__libc_endutent): Rename from endutent_file. Drop static. Check
2086 for initialization.
2087 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
2088 * login/utmpname.c (__utmpname): Call __libc_endutent.
2089 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
2090 __libc_getutlien_r, __libc_endutent.
2091 * manual/users.texi (Who Logged In, Manipulating the Database):
2092 Adjust.
2093
ab74d59f 20942019-08-05 Alexandra Hájková <ahajkova@redhat.com>
a6c1ce77
AH
2095
2096 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
2097
c7a26cba
JM
20982019-08-02 Joseph Myers <joseph@codesourcery.com>
2099
9c37bde5
JM
2100 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
2101
c7a26cba
JM
2102 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
2103 kernel version number to 5.2.
2104
066020c5
RFF
21052019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
2106
2107 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
2108 mnemonics and set .machine power8.
2109 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2113 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2114 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2115 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2118 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2119
3175dcc1
AZ
21202019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2121
2122 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2123
b0f6679b
FW
21242019-08-01 Florian Weimer <fweimer@redhat.com>
2125
2126 [BZ #24867]
2127 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2128 whitespace.
2129
e1df30fb
AZ
21302019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2131
2132 [BZ #15813]
2133 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2134 attempt.
2135
e7124906
CD
21362019-08-01 Carlos O'Donell <carlos@redhat.com>
2137
0a8262a1
CD
2138 * version.h (RELEASE): Set to "stable".
2139 (VERSION): Set to "2.30".
2140 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2141
e7124906
CD
2142 * manual/install.texi: Update component versions.
2143 * INSTALL: Regenerate.
2144 * NEWS: Update.
2145
cc3bf319
CD
21462019-07-31 Carlos O'Donell <carlos@redhat.com>
2147
2148 * po/be.po: Update translations.
2149 * po/bg.po: Likewise.
2150 * po/ca.po: Likewise.
2151 * po/cs.po: Likewise.
2152 * po/da.po: Likewise.
2153 * po/de.po: Likewise.
2154 * po/el.po: Likewise.
2155 * po/eo.po: Likewise.
2156 * po/es.po: Likewise.
2157 * po/fi.po: Likewise.
2158 * po/fr.po: Likewise.
2159 * po/gl.po: Likewise.
2160 * po/hr.po: Likewise.
2161 * po/hu.po: Likewise.
2162 * po/ia.po: Likewise.
2163 * po/id.po: Likewise.
2164 * po/it.po: Likewise.
2165 * po/ja.po: Likewise.
2166 * po/ko.po: Likewise.
2167 * po/lt.po: Likewise.
2168 * po/nb.po: Likewise.
2169 * po/nl.po: Likewise.
2170 * po/pl.po: Likewise.
2171 * po/pt_BR.po: Likewise.
2172 * po/ru.po: Likewise.
2173 * po/rw.po: Likewise.
2174 * po/sk.po: Likewise.
2175 * po/sl.po: Likewise.
2176 * po/sv.po: Likewise.
2177 * po/tr.po: Likewise.
2178 * po/uk.po: Likewise.
2179 * po/vi.po: Likewise.
2180 * po/zh_CN.po: Likewise.
2181 * po/zh_TW.po: Likewise.
2182
0bfddfc9
FW
21832019-07-31 Florian Weimer <fweimer@redhat.com>
2184
2185 [BZ #24583]
2186 [BZ #24677]
2187 iconv, libio: Revert reference counting changes.
2188 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2189 free the steps array.
2190 * libio/Makefile (tests): Remove tst-wfile-gconv.
2191 (tests-container): Do not add tst-wfile-ascii.
2192 (tst-wfile-gconv-ENV): Do not set.
2193 (generated): Do not add tst-wfile-gconv.mtrace,
2194 tst-wfile-gconv.check.
2195 [($run-built-tests)] (tests-special): Do not add
2196 tst-wfile-gconv-mem.out.
2197 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2198 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2199 instead of __wcsmbs_clone_conv.
2200 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2201 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2202
c86b8e75
JM
22032019-07-30 Joseph Myers <joseph@codesourcery.com>
2204
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2206 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2207
8a814e20
FW
22082019-07-30 Florian Weimer <fweimer@redhat.com>
2209
2210 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2211 type to uintptr_t. Update comment.
2212 (check_stack_top): Adjust.
2213
b8b3d5a1
FW
22142019-07-29 Florian Weimer <fweimer@redhat.com>
2215
2216 Linux: Move declaration of getdents64 to <dirent.h>.
2217 * bits/dirent_ext.h: New file.
2218 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2219 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2220 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2221 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2222 declaration.
2223 * manual/filesys.texi (Low-level Directory Access): Update header
2224 to dirent.h.
2225
354e4c1a
TMQMF
22262019-07-29 DJ Delorie <dj@redhat.com>
2227 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2228
2229 [BZ #24794]
2230 * Makeconfig (all-subdirs): Improved source comments.
2231 * Makefile (testroot.pristine/install.stamp): Pass
2232 subdirs='$(sorted-subdirs)' to make install.
2233
50ce3eae
FW
22342019-07-25 Florian Weimer <fweimer@redhat.com>
2235
2236 [BZ #24677]
2237 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2238 counter before freeing array.
2239
7e681561
L
22402019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2241
2242 [BZ #24603]
2243 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2244 works.
2245 * sysdeps/x86_64/configure: Regenerated.
2246 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2247 to -mprefer-vector-width=128 if supported.
2248
82c664ed
FW
22492019-07-24 Florian Weimer <fweimer@redhat.com>
2250
2251 * scripts/build-many-glibcs.py (Context.checkout): Default to
2252 Linux 5.2.
2253
7854ebf8
FW
22542019-07-24 Florian Weimer <fweimer@redhat.com>
2255
2256 [BZ #24532]
2257 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2258 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2259 (sysdep_headers): Add bits/socket-constants.h.
2260 (tests-special): Add tst-socket-consts.out.
2261 (tst-socket-consts.out): New target.
2262 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2263 around <asm/unistd.h>.
2264 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2265 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2266 <asm/socket.h>.
2267 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2268 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2269 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2270 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2271 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2272 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2273 Likewise.
2274 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2275
95da14da
TMQMF
22762019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2277
35e038c1
TMQMF
2278 [BZ #24794]
2279 * Makefile (testroot.pristine/install.stamp): Pass
2280 subdirs='$(all-subdirs)' to make install.
2281
95da14da
TMQMF
2282 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2283 the same arguments used in all tests.
2284
dcf36bca
SN
22852019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2286
2287 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2288
c7e4b684
EK
22892019-07-20 Egor Kobylkin <egor@kobylkin.com>
2290
2291 [BZ #2872]
2292 * locale/C-translit.h.in: Add Cyrillic transliteration.
2293
1f7097d0
FW
22942019-07-19 Florian Weimer <fweimer@redhat.com>
2295
2296 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2297 from Linux 5.2.
2298 (fsconfig): Add system call name.
2299 (fsmount): Likewise.
2300 (fsopen): Likewise.
2301 (fspick): Likewise.
2302 (move_mount): Likewise.
2303 (open_tree): Likewise.
2304
3556658c
CD
23052019-07-18 Carlos O'Donell <carlos@redhat.com>
2306
2307 * po/libc.pot: Regenerate.
2308
4a8f6d31
MC
23092019-07-18 Mike Crowe <mac@mcrowe.com>
2310
2ab9ad57
AZ
2311 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2312 functions recently added to sysdeps/nptl/pthread.h:
2313 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2314 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2315
4a8f6d31
MC
2316 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2317 pthread_cond_clockwait forwarding functions. There are no internal
2318 users, so it is unnecessary to expose these functions in libc.so.
2319 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2320 unnecessary ptr___pthread_cond_clockwait member.
2321 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2322 removed member.
2323
ab74d59f 23242019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9208c3b8
RL
2325
2326 [BZ #21897]
2327 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2328 begin with an uppercase letter now.
2329 (abmon): Likewise.
2330 (mon): Update from CLDR, reword February from "Kudo" to
2331 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2332 and August from "Liiqen" to "Leqeeni".
2333 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2334 April from "Agda Baxisso" to "Agda Baxis" and August from
2335 "Leqeeni" to "Liiqen".
2336 * localedata/locales/aa_ER@saaho (mon): Likewise.
2337 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2338 abbreviated February from "Kud" to "Nah".
2339 (mon): Update from CLDR, reword February from "Kudo" to
2340 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2341
ab74d59f 23422019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
fba6d4bb
RL
2343
2344 [BZ #23996]
2345 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2346
3cc7c9c5
P
23472019-07-17 PanderMusubi <pander@users.sourceforge.net>
2348
2349 [BZ #23996]
2350 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2351 name_mrs, name_miss, and name_ms.
2352 * localedata/locales/nl_NL (LC_NAME): Likewise.
2353
cce7b6a5
DZ
23542019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2355
2356 [BZ #24200]
2357 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2358 * localedata/locales/en_IE (first_weekday): Likewise.
2359
99d01ffc
MC
23602019-07-12 Mike Crowe <mac@mcrowe.com>
2361
1ff1373b
MC
2362 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2363 that is only useful if futex_supports_exact_relative_timeouts ()
2364 returns false.
2365 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2366 Likewise.
2367 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2368 timeouts potentially being imprecise since it's no longer true.
2369 Remove declaration of futex_supports_exact_relative_timeouts.
2370 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2371 of futex_supports_exact_relative_timeouts.
2372
65dd7e9c
MC
2373 * NEWS: Mention recently-added pthread_cond_clockwait,
2374 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2375 sem_clockwait functions.
2376
9d20e22e
MC
2377 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2378 works like pthread_mutex_timedlock but takes a clockid parameter to
2379 measure the abstime parameter against.
2380 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2381 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2382 * nptl/pthread_mutex_timedlock.c
2383 (__pthread_mutex_clocklock_common): Rename from
2384 __pthread_mutex_timedlock and add clockid parameter. Pass this
2385 parameter to lll_clocklock and lll_clocklock_elision in place of
2386 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2387 LIBC_PROBE and validate clockid parameter before calling
2388 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2389 implementation to add LIBC_PROBE and calls
2390 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2391 clockid.
2392 * nptl/Makefile: Add tst-mutex11.c.
2393 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2394 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2395 clockid parameters to pthread_mutex_clocklock.
2396 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2397 clockid parameter to indicate which clock to be used. Call
2398 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2399 (do_test): Call do_test_clock to separately test
2400 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2401 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2402 * nptl/tst-mutex9.c: Likewise.
2403 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2404 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2405 Likewise.
2406 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2407 Likewise.
2408 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2409 Likewise.
2410 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2411 Likewise.
2412 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2413 Likewise.
2414 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2415 Likewise.
2416 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2417 Likewise.
2418 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2419 (GLIBC_2.30): Likewise.
2420 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2421 (GLIBC_2.30): Likewise.
2422 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2423 (GLIBC_2.30): Likewise.
2424 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2425 (GLIBC_2.30): Likewise.
2426 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2427 (GLIBC_2.30): Likewise.
2428 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2429 Likewise.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2431 (GLIBC_2.30): Likewise.
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2433 (GLIBC_2.30): Likewise.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2435 (GLIBC_2.30): Likewise.
2436 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2437 (GLIBC_2.30): Likewise.
2438 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2439 (GLIBC_2.30): Likewise.
2440 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2441 (GLIBC_2.30): Likewise.
2442 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2443 Likewise.
2444 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2445 (GLIBC_2.30): Likewise.
2446 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2447 (GLIBC_2.30): Likewise.
2448 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2449 (GLIBC_2.30): Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2451 (GLIBC_2.30): Likewise.
2452
59213094
MC
2453 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2454 parameter to indicate the clock that the abstime parameter should
2455 be measured against in preparation for adding
2456 pthread_mutex_clocklock.
2457 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2458 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2459 from __lll_timedlock and add clockid parameter.
2460 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2461 Likewise.
2462 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2463 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2464 rather than __gettimeofday so that clockid can be used. This means
2465 that conversion from struct timeval is no longer required.
2466 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2467 Likewise.
2468 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2469 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2470 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2471 from lll_timedlock_elision, add clockid parameter and use
2472 meaningful names for other parameters. (__pthread_mutex_timedlock):
2473 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2474 lll_clocklock_elision.
2475 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2476 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2477 clockid parameter. (__lll_clocklock_elision): Rename from
2478 __lll_timedlock_elision and add clockid parameter.
2479 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2480 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2481 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2482 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2483 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2484 (LLL_LOCK): Likewise.
2485 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2486 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2487
e996fa72
MC
2488 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2489 pthread_rwlock_clockwrlock which behave like
2490 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2491 respectively, except they always measure abstime against the
2492 supplied clockid. The functions currently support CLOCK_REALTIME
2493 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2494 specified.
2495 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2496 pthread_wrlock_clockwrlock.
2497 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2498 pthread_rwlock_clockwrlock.c.
2499 * nptl/pthread_rwlock_clockrdlock.c: Implement
2500 pthread_rwlock_clockrdlock.
2501 * nptl/pthread_rwlock_clockwrlock.c: Implement
2502 pthread_rwlock_clockwrlock.
2503 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2504 clockid parameter and verify that it indicates a supported clock on
2505 entry so that we fail even if it doesn't end up being used. Pass
2506 that clock on to futex_abstimed_wait when necessary.
2507 (__pthread_rwlock_wrlock_full): Likewise.
2508 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2509 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2510 be used because there's no timeout.
2511 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2512 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2513 be used because there is no timeout.
2514 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2515 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2516 uses that clock.
2517 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2518 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2519 uses that clock.
2520 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2521 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2522 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2523 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2524 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2525 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2526 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2527 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2528 (GLIBC_2.30): Likewise.
2529 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2530 (GLIBC_2.30): Likewise.
2531 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2532 (GLIBC_2.30): Likewise.
2533 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2534 (GLIBC_2.30): Likewise.
2535 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2536 (GLIBC_2.30): Likewise.
2537 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2539 (GLIBC_2.30): Likewise.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2541 (GLIBC_2.30): Likewise.
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2543 (GLIBC_2.30): Likewise.
2544 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2545 (GLIBC_2.30): Likewise.
2546 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2547 (GLIBC_2.30): Likewise.
2548 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2549 (GLIBC_2.30): Likewise.
2550 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2552 (GLIBC_2.30): Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2554 (GLIBC_2.30): Likewise.
2555 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2556 (GLIBC_2.30): Likewise.
2557 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2558 (GLIBC_2.30): Likewise.
2559 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2560 pthread_rwlock_clockwrlock timeout tests to match the existing
2561 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2562 * nptl/tst-rwlock14.c (do_test): Likewise.
2563 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2564 ancillary output throughout. (tf): Accept thread_args structure so
2565 that rwlock, a clockid and function name can be passed to the
2566 thread. (do_test_clock): Rename from do_test. Accept clockid
2567 parameter to specify test clock. Use the magic clockid value of
2568 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2569 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2570 specified clockid to pthread_rwlock_clockrdlock and
2571 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2572 (do_test): Call do_test_clock to test each clockid in turn.
2573 * nptl/tst-rwlock7.c: Likewise.
2574 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2575 thread_args structure so that the (now int) thread number, the
2576 clockid and the function name can be passed to the thread.
2577 (do_test_clock): Renamed from do_test. Pass the necessary
2578 thread_args when creating the reader and writer threads. Use
2579 xpthread_create and xpthread_join.
2580 (do_test): Call do_test_clock to test each clockid in turn.
2581 * manual/threads.texi: Add documentation for
2582 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2583
600b4be4
MC
2584 nptl: pthread_rwlock: Move timeout validation into _full functions
2585 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2586 Check validity of abstime parameter.
2587 (__pthread_rwlock_rwlock_full): Likewise.
2588 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2589 Remove check for validity of abstime parameter.
2590 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2591 Likewise.
2592
afe4de7d
MC
2593 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2594 like pthread_cond_timedwait except it always measures abstime
2595 against the supplied clockid.
2596 * nptl/Makefile: Add tst-cond26 and tst-cond27
2597 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2598 * sysdeps/nptl/pthread.h: Likewise
2599 * nptl/forward.c: Add __pthread_cond_clockwait
2600 * nptl/forward.c: Likewise
2601 * nptl/pthreadP.h: Likewise
2602 * sysdeps/nptl/pthread-functions.h: Likewise
2603 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2604 clockid parameter and comment describing why we don't need to check
2605 its value. Use that value when calling
2606 futex_abstimed_wait_cancelable rather than reading the clock from
2607 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2608 (__pthread_cond_timedwait): Read clock from flags and pass it to
2609 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2610 function with weak alias from pthread_cond_clockwait.
2611 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2612 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2613 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2614 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2615 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2616 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2617 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2618 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2619 (GLIBC_2.30): Likewise.
2620 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2621 (GLIBC_2.30): Likewise.
2622 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2623 (GLIBC_2.30): Likewise.
2624 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2625 (GLIBC_2.30): Likewise.
2626 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2627 (GLIBC_2.30): Likewise.
2628 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2630 (GLIBC_2.30): Likewise.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2632 (GLIBC_2.30): Likewise.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2634 (GLIBC_2.30): Likewise.
2635 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2636 (GLIBC_2.30): Likewise.
2637 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2638 (GLIBC_2.30): Likewise.
2639 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2640 (GLIBC_2.30): Likewise.
2641 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2642 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2643 (GLIBC_2.30): Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2645 (GLIBC_2.30): Likewise.
2646 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2647 (GLIBC_2.30): Likewise.
2648 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2649 (GLIBC_2.30): Likewise.
2650 * nptl/tst-cond11.c (run_test): Support testing
2651 pthread_cond_clockwait too by using a special magic
2652 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2653 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2654 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2655 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2656 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2657 clocks to pthread_cond_clockwait.
2658 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2659 struct timespec and pthread_cond_clockwait.
2660 * manual/threads.texi: Document pthread_cond_clockwait.
2661
6615f779
MC
2662 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2663 sem_timedwait, but measures abstime against the specified clock.
2664 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2665 clockid parameters to indicate the clock which abstime should be
2666 measured against.
2667 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2668 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2669 __new_sem_wait_slow.
2670 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2671 on sem_timedwait.c.
2672 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2673 sem_clockwait.c to match those used for sem_timedwait.c.
2674 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2675 * nptl/Versions (GLIBC_2.30): Likewise.
2676 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2677 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2678 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2679 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2680 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2681 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2682 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2683 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2684 (GLIBC_2.30): Likewise.
2685 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2686 (GLIBC_2.30): Likewise.
2687 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2688 (GLIBC_2.30): Likewise.
2689 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2690 (GLIBC_2.30): Likewise.
2691 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2692 (GLIBC_2.30): Likewise.
2693 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2695 (GLIBC_2.30): Likewise.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2697 (GLIBC_2.30): Likewise.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2699 (GLIBC_2.30): Likewise.
2700 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2701 (GLIBC_2.30): Likewise.
2702 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2703 (GLIBC_2.30): Likewise.
2704 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2705 (GLIBC_2.30): Likewise.
2706 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2707 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2708 (GLIBC_2.30): Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2710 (GLIBC_2.30): Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2712 (GLIBC_2.30): Likewise.
2713 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2714 (GLIBC_2.30): Likewise.
2715 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2716 sem_clockwait.
2717 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2718 tests to also test sem_clockwait.
2719 * manual/threads.texi: Document sem_clockwait.
2720
99d01ffc
MC
2721 nptl: Add clockid parameter to futex timed wait calls
2722 * sysdeps/nptl/lowlevellock-futex.h,
2723 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2724 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2725 takes a clockid rather than a special clockbit.
2726 * sysdeps/nptl/lowlevellock-futex.h: Add
2727 lll_futex_supported_clockid so that client functions can check
2728 whether their clockid parameter is valid even if they don't
2729 ultimately end up calling lll_futex_clock_wait_bitset.
2730 * sysdeps/nptl/futex-internal.h,
2731 sysdeps/unix/sysv/linux/futex-internal.h
2732 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2733 clockid_t parameter to indicate which clock the absolute time
2734 passed should be measured against. Pass that clockid onto
2735 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2736 returning -EINVAL.
2737 * sysdeps/nptl/futex-internal.h,
2738 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2739 futex_abstimed_supported_clockid so that client functions can check
2740 whether their clockid parameter is valid even if they don't
2741 ultimately end up calling futex_abstimed_wait.
2742 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2743 code to calculate relative timeout for
2744 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2745 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2746 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2747 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2748 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2749 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2750 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2751
a008c76b
AZ
27522019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2753
2754 [BZ #24699]
2755 * posix/tst-mmap-offset.c: Mention BZ #24699.
2756 (do_test_bz21270): Rename to do_test_large_offset and use
2757 mmap64_maximum_offset to check for maximum expected offset value.
2758 * sysdeps/generic/mmap_info.h: New file.
2759 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2760 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2761 __NR_mmap2 is used.
2762
99135114
DD
27632019-07-10 DJ Delorie <dj@redhat.com>
2764 Sergei Trofimovich <slyfox@inbox.ru>
2765
2766 [BZ #24696]
2767 [BZ #24695]
2768 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2769 mappings.
2770 * nss/tst-nss-db-endgrent.c: New.
2771 * nss/tst-nss-db-endgrent.root: New.
2772 * nss/tst-nss-db-endpwent.c: New.
2773 * nss/tst-nss-db-endpwent.root: New.
2774 * nss/Makefile: Add new tests.
2775 * support/links-dso-program-c.c: Add selinux dependency.
2776 * support/links-dso-program.cc: Add selinux dependency.
2777 * support/Makefile: Build those with -lselinux if enabled.
2778
30ba0375
SN
27792019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2780
2781 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2782 DT_AARCH64_VARIANT_PCS check.
2783 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2784 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2785 variant_pcs.
2786
32b8188a
AS
27872019-07-10 Andreas Schwab <schwab@suse.de>
2788
2789 [BZ #23352]
2790 * malloc/malloc.h (__malloc_check_init): Don't declare.
2791 * include/malloc.h (__malloc_check_init): Likewise.
2792 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2793 * manual/memory.texi (__malloc_check_init): Don't mention it.
2794
7901d4ee
MH
27952019-07-10 Mao Han <han_mao@c-sky.com>
2796
2797 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2798
b5232c9f 27992019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 2800
b5232c9f
PC
2801 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2802 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2803
6ba205b2
DD
28042019-07-08 DJ Delorie <dj@redhat.com>
2805
2806 [BZ #23501]
2807 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2808 * io/tst-ftw-lnk.c: New test.
2809 * io/Makefile: Run it.
2810
f215dbbd
AZ
28112019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2812
6ea21bfe
AZ
2813 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2814 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2815 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2816 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2817 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2818 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2820 Adjust implementation path.
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2822 Adjust implementation path.
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2824 Adjust implementation path.
2825 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2826 (libm-sysdep_routines): Add s_log* objects.
2827 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2828 CFLAGS-s_logb-power7.c): New fule.
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2830 to ...
2831 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2832 ... here.
2833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2834 to ...
2835 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2836 ... here.
2837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2838 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2840 to ...
2841 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2842 ... here.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2844 to ...
2845 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2846 ... here.
2847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2848 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2850 to ...
2851 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2852 ... here.
2853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2854 to ...
2855 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2856 ... here.
2857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2858 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2860 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2861 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2862 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2863
105f2ed3
AZ
2864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2865 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2866 powerpc32 integer 0 converting to -0.
2867
0cccd37f
AZ
2868 * benchtests/Makefile (bench-math): Add logb.
2869 * benchtests/logb-inputs: New file.
2870 * benchtests/logbf-inputs: New file.
2871
931c616e
AZ
2872 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2873 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2874 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2875 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2877 Adjust include.
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2879 Likewise.
2880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2881 sysdep_routines): Add s_modf* objects.
2882 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2883 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2885 to ...
2886 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2887 ... here.
2888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2889 to ...
2890 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2891 ... here.
2892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2893 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2895 to ...
2896 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2897 ... here.
2898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2899 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2900 ... here.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2902 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2903
69461d98
AZ
2904 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2905 twoM500, twoM600, two60factor, pdnum): Remove.
2906 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2907 (__ieee754_hypot): Replace static variables with inline definition,
2908 remove ununsed branches.
2909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2910 (libm-sysdep_routines): Remove e_hypot-* objects.
2911 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2913 file.
2914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2917 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2918 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2919
f215dbbd
AZ
2920 * benchtests/Makefile (bench-math): Add hypot.
2921 * benchtests/hypot-inputs: New file.
2922
97274b18
VC
29232019-07-08 Vincent Chen <vincentc@andestech.com>
2924
2925 * sysdeps/unix/sysv/linux/dl-vdso.h
2926 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2927
484b7af3
AS
29282019-07-04 Andreas Schwab <schwab@suse.de>
2929
2930 [BZ #24484]
2931 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2932
2b8a3c86
SN
29332019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2934
2935 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2936 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2937 * sysdeps/aarch64/sys/ifunc.h: New file.
2938 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2939 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2940
41d6f74e
FW
29412019-07-01 Florian Weimer <fweimer@redhat.com>
2942
2943 [BZ #20188]
2944 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2945 Replace __vfork with __libpthread_version_placeholder for
2946 GLIBC_2.1.2.
2947 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2948 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2949 libpthread-compat.
2950 * nptl/pt-vfork.c: Remove file.
2951 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2952 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2953 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2954 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2955 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2956 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2957 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2958 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2959 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2960 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2961 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2962 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2963 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2964 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2965 Remove vfork, __vfork.
2966 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2967 Remove vfork.
2968 (GLIBC_2.1.2): Replace __vfork with
2969 __libpthread_version_placeholder.
2970 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2971 Remove vfork, __vfork.
2972 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2973 Likewise.
2974 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2975 Remove vfork.
2976 (GLIBC_2.1.2): Replace __vfork with
2977 __libpthread_version_placeholder.
2978 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2979 Remove vfork.
2980 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2981 (GLIBC_2.4): Remove vfork, __vfork.
2982 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2983 (GLIBC_2.0): Remove vfork.
2984 (GLIBC_2.1.2): Replace __vfork with
2985 __libpthread_version_placeholder.
2986 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2987 (GLIBC_2.18): Remove vfork, __vfork.
2988 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2989 (GLIBC_2.0): Remove vfork.
2990 (GLIBC_2.2): Remove __vfork.
2991 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2992 (GLIBC_2.2): Remove vfork, __vfork.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2994 (GLIBC_2.0): Remove vfork.
2995 (GLIBC_2.1.2): Replace __vfork with
2996 __libpthread_version_placeholder.
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2998 (GLIBC_2.3): Remove vfork, __vfork.
2999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
3000 (GLIBC_2.17): Likewise.
3001 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
3002 (GLIBC_2.0): Remove vfork.
3003 (GLIBC_2.1.2): Replace __vfork with
3004 __libpthread_version_placeholder.
3005 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
3006 (GLIBC_2.2): Remove vfork, __vfork.
3007 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
3008 Likewise.
3009 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
3010 (GLIBC_2.0): Remove vfork.
3011 (GLIBC_2.1.2): Replace __vfork with
3012 __libpthread_version_placeholder.
3013 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
3014 (GLIBC_2.2): Remove vfork, __vfork.
3015 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
3016 (GLIBC_2.2.5): Likewise.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
3018 (GLIBC_2.16): Likewise.
3019 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
3020 Remove __errno_location.
3021
27cec9ae
FW
30222019-07-02 Florian Weimer <fweimer@redhat.com>
3023
3024 [BZ #24757]
3025 * malloc/Depend: Add nptl and htl, due to potential indirect
3026 libpthread dependency of memusagestat.
3027
d1bc2cbb
SL
30282019-07-02 Stefan Liebler <stli@linux.ibm.com>
3029
3030 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
3031 warning.
3032
72edea80
FW
30332019-07-01 Florian Weimer <fweimer@redhat.com>
3034
3035 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
3036 variant for arm-linux-gnueabi.
3037
d0093c5c
L
30382019-07-01 H.J. Lu <hongjiu.lu@intel.com>
3039
3040 [BZ #24259]
3041 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
3042 relocation.
3043 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
3044 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
3045 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
3046 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
3047 and tst-cet-legacy-mod-6c.
3048 (CFLAGS-tst-cet-legacy-5a.c): New.
3049 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
3050 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
3051 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
3052 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
3053 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
3054 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
3055 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
3056 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
3057 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
3058 ($(objpfx)tst-cet-legacy-5a): Likewise.
3059 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
3060 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
3061 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
3062 ($(objpfx)tst-cet-legacy-5b): Likewise.
3063 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
3064 (tst-cet-legacy-5b-ENV): Likewise.
3065 ($(objpfx)tst-cet-legacy-6a): Likewise.
3066 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
3067 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
3068 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
3069 ($(objpfx)tst-cet-legacy-6b): Likewise.
3070 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
3071 (tst-cet-legacy-6b-ENV): Likewise.
3072 * sysdeps/x86/tst-cet-legacy-5.c: New file.
3073 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
3074 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
3075 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
3076 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
3077 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
3078 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
3079 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
3080 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
3081 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
3082 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
3083 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
3084 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
3085 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
3086
3db85a98
PC
30872019-06-30 Paul A. Clarke <pc@us.ibm.com>
3088
3089 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
3090 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
3091 (__fegetround_ISA300) New.
3092 (__fegetround_ISA2) New.
3093 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
3094 (_FPU_MFFS): Move implementation...
3095 (_FPU_GETCW): Here.
3096 (_FPU_MFFSL): Move implementation....
3097 (_FPU_GET_RC_ISA300): Here. New.
3098 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
3099 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
3100 (fegetenv_status): New.
3101 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
3102 instead of fegetenv_register().
3103 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
3104
d0645912
WD
31052019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3106
3107 * benchtests/bench-math-inlines.c: Increase iterations.
3108 * benchtests/bench-memcmp.c: Likewise.
3109 * benchtests/bench-rawmemchr.c: Likewise.
3110 * benchtests/bench-strcmp.c: Likewise.
3111 * benchtests/bench-strcpy_chk.c: Likewise.
3112 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
3113 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
3114 (INNER_LOOP_ITERS_SMALL): Likewise.
3115 * benchtests/bench-strncat.c: Increase iterations.
3116 * benchtests/bench-strncmp.c: Increase iterations.
3117 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
3118 * benchtests/bench-strrchr.c: Increase iterations.
3119 * benchtests/bench-strstr.c: Keep iterations unchanged.
3120 * benchtests/bench-strtod.c: Increase iterations.
3121
afe23eb0
AY
31222019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3123
3124 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3125 with INNER_LOOP_ITERS_LARGE.
3126 * benchtests/bench-memchr.c: Likewise.
3127 * benchtests/bench-rawmemchr.c: Likewise.
3128 * benchtests/bench-strcat.c: Likewise.
3129 * benchtests/bench-strchr.c: Likewise.
3130 * benchtests/bench-string.h: Likewise.
3131 * benchtests/bench-strlen.c: Likewise.
3132 * benchtests/bench-strncpy.c: Likewise.
3133 * benchtests/bench-strnlen.c: Likewise.
3134
507f55c0
FW
31352019-06-28 Florian Weimer <fweimer@redhat.com>
3136
3137 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3138 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3139 entire allocated memory range.
3140
589787f8
TK
31412019-06-28 Tobias Klauser <tklauser@distanz.ch>
3142
3143 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3144 (prepare_version_base): New helper inline function.
3145 (prepare_version): New macro replacing PREPARE_VERSION.
3146 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3147
f0b2132b
FW
31482019-06-28 Florian Weimer <fweimer@redhat.com>
3149
3150 [BZ #24741]
3151 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3152 mismatch in a versioned symbol reference.
3153 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3154 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3155 tst-sonamemove-dlopen.
3156 (module-names): Add tst-sonamemove-linkmod1,
3157 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3158 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3159 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3160 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3161 (tst-sonamemove-runmod1.so): Link against
3162 tst-sonamemove-runmod2.so.
3163 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3164 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3165 tst-sonamemove-runmod2.so.
3166 (tst-sonamemove-dlopen): Link with -ldl.
3167 (tst-sonamemove-dlopen.out): Likewise.
3168 * elf/tst-sonamemove-link.c: New file.
3169 * elf/tst-sonamemove-dlopen.c: Likewise.
3170 * elf/tst-sonamemove-linkmod1.c: Likewise.
3171 * elf/tst-sonamemove-linkmod1.map: Likewise.
3172 * elf/tst-sonamemove-runmod1.c: Likewise.
3173 * elf/tst-sonamemove-runmod1.map: Likewise.
3174 * elf/tst-sonamemove-runmod2.c: Likewise.
3175 * elf/tst-sonamemove-runmod2.map: Likewise.
3176
17432d71
FW
31772019-06-28 Florian Weimer <fweimer@redhat.com>
3178
3179 * support/xdlfcn.h (xdlvsym): Declare function.
3180 * support/xdlfcn.c (xdlvsym): Define funciton.
3181
5a659ccc
FW
31822019-06-28 Florian Weimer <fweimer@redhat.com>
3183
3184 [BZ #24744]
3185 io: Remove the copy_file_range emulation.
3186 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3187 not define and call copy_file_range_compat.
3188 * io/Makefile (tests-static, tests-internal): Do not add
3189 tst-copy_file_range-compat.
3190 * io/copy_file_range-compat.c: Remove file.
3191 * io/copy_file_range.c (copy_file_range): Define as stub.
3192 * io/tst-copy_file_range-compat.c: Remove file.
3193 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3194 (typical_sizes): Update comment. Remove 16K sizes.
3195 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3196 Remove variables.
3197 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3198 (delayed_write_failure_beginning, delayed_write_failure_end)
3199 (cross_device_failure, enospc_failure_1, enospc_failure)
3200 (oappend_failure): Remove functions.
3201 (tests): Adjust test case list.
3202 (do_test): Remove file system search code. Check for ENOSYS from
3203 copy_file_range. Do not free xdevfile.
3204 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3205 copy_file_range. Do not document the EXDEV error, which future
3206 kernels may not report. Update the wording to reflect that
3207 further errors are possible.
3208 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3209 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3210 not undefine.
3211 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3212 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3213 Likewise.
3214 * sysdeps/unix/sysv/linux/kernel-features.h
3215 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3216 Remove definition.
3217 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3218 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3219 not undefine.
3220 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3221 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3222 Likewise.
3223
1626f499
GG
32242019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3225
3226 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3227 used as a mask for the mode argument of __vfprintf_internal.
3228 * stdio-common/printf-parse.h (printf_arg): New union member:
3229 pa_float128.
3230 * stdio-common/vfprintf-internal.c
3231 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3232 (PARSE_FLOAT_VA_ARG): Likewise.
3233 (SETUP_FLOAT128_INFO): Likewise.
3234 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3235 SETUP_FLOAT128_INFO.
3236 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3237 floating-point value to the new union member, pa_float128.
3238 (printf_positional): Zero-initialize args_value[cnt] with memset.
3239
a620bd79
FW
32402019-06-27 Florian Weimer <fweimer@redhat.com>
3241
3242 [BZ #24740]
3243 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3244 buffer size if necessary.
3245 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3246 Likewise.
3247 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3248 New function.
3249 (large_buffer_checks): Likewise.
3250 (do_test): Call large_buffer_checks.
3251
d039da1c
L
32522019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3253
3254 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3255 * sysdeps/x86/dl-lookupcfg.h: Here.
3256 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3257
9d5d214e
AZ
32582019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3259
aa32f5bf
AZ
3260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3261 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3262 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3263 file.
3264 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3265 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3266 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3267 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3269
9d5d214e
AZ
3270 * sysdeps/powerpc/powerpc32/fpu/Makefile
3271 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3272 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3273 and fctidz optimization.
3274 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3275 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3277 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3278 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3279 CFLAGS-s_lround-power5+.c): New rule.
3280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3281 New file.
3282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3283 Likewise.
3284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3285 Likewise.
3286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3287 Likewise.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3289 Likewise.
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3291 Remove file.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3293 Likewise.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3295 Likewise.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3297 Likewise.
3298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3299 Likewise.
3300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3302 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3303 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3304 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3305 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3306 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3307
a63b96fb
VC
33082019-06-26 Vincent Chen <vincentc@andestech.com>
3309
3310 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3311 specific system calls, fp_udfiex_crtl and udftrap.
3312
c78b3f55
SL
33132019-06-26 Stefan Liebler <stli@linux.ibm.com>
3314
3315 * nptl/tst-eintr1.c (tf1): Add return statement.
3316 (do_test): Remove unused th variable.
3317
9e6a7d9c
SL
33182019-06-26 Stefan Liebler <stli@linux.ibm.com>
3319
3320 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3321 Return error if get_character fails.
3322
c89e669a
SL
33232019-06-25 Stefan Liebler <stli@linux.ibm.com>
3324
3325 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3326
ab74d59f 33272019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
a55541fd
RL
3328
3329 [BZ #24652]
3330 * localedata/locales/szl_PL (day): Use the correct Unicode
3331 sequences instead of non-ASCII characters.
3332
2bd81b60
GK
33332019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3334
3335 [BZ #24652]
3336 * localedata/locales/szl_PL (abday): Spelling corrections.
3337 (day): Likewise.
3338 (abmon): Likewise.
3339 (mon): Rename to...
3340 (alt_mon): This, then apply spelling corrections.
3341 (mon): New entry, month names in the genitive case.
3342
ab74d59f 33432019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
fefa2179
RL
3344
3345 [BZ #23831]
3346 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3347 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3348 (thousands_sep): Likewise.
3349 (grouping): Set to 3;3.
3350
85c748f9
TK
33512019-06-21 Tobias Klauser <tklauser@distanz.ch>
3352
3353 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3354 PREPARE_VERSION_KNOWN.
3355 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3356 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3357 define.
3358 (VDSO_HASH_LINUX_2_6_39): Likewise.
3359 (VDSO_NAME_LINUX_4_9): Likewise.
3360 (VDSO_HASH_LINUX_4_9): Likewise.
3361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3362 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3363 (_libc_vdso_platform_setup): Likewise.
3364 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3365 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3366 Likewise.
3367 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3368 Likewise.
3369
db13e32c
MC
33702019-06-20 Mike Crowe <mac@mcrowe.com>
3371
ce5b73a7
MC
3372 * nptl/eintr.c: Use libsupport.
3373 * nptl/tst-eintr1.c: Likewise.
3374 * nptl/tst-eintr2.c: Likewise.
3375 * nptl/tst-eintr3.c: Likewise.
3376 * nptl/tst-eintr4.c: Likewise.
3377 * nptl/tst-eintr5.c: Likewise.
3378 * nptl/tst-mutex-errorcheck.c: Likewise.
3379 * nptl/tst-mutex5.c: Likewise.
3380
8bf225d5
MC
3381 * support/test-driver.h: Add verbose_printf macro.
3382
db13e32c
MC
3383 * support/xtime.h: Add xclock_now() helper function.
3384
21cc130b
DL
33852019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3386 Florian Weimer <fweimer@redhat.com>
3387
3388 [BZ #24228]
3389 * libio/genops.c (_IO_unbuffer_all)
3390 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3391 buffers and access _IO_FILE_complete members of legacy libio streams.
3392 * libio/tst-bz24228.c: New file.
3393 * libio/tst-bz24228.map: Likewise.
3394 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3395 [build-shared] (generated): Add tst-bz24228.mtrace and
3396 tst-bz24228.check.
3397 [run-built-tests && build-shared] (tests-special): Add
3398 $(objpfx)tst-bz24228-mem.out.
3399 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3400 ($(objpfx)tst-bz24228-mem.out): New rule.
3401
49bc41b6
PC
34022019-06-19 Paul A. Clarke <pc@us.ibm.com>
3403
3404 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3405 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3406 (__FPU_MFFSL): Likewise.
3407 (_FPU_SETCW): Likewise.
3408
335c1007
SS
34092019-06-19 Stan Shebs <stanshebs@google.com>
3410 Raoni Fassina Firmino <raoni@linux.ibm.com>
3411
3412 [BZ #24640]
3413 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3414 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3415 static-linking version.
3416 * sysdeps/unix/sysv/linux/powerpc/Makefile
3417 (tests-static): Add test-gettimebasefreq-static.
3418 (tests): Likewise.
3419 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3420 New file.
3421
ab74d59f 34222019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
f59a54ab
RL
3423
3424 [BZ #24614]
3425 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3426 between the currency symbol and the minus sign).
3427 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3428
f0c5a803
SL
34292019-06-19 Stefan Liebler <stli@linux.ibm.com>
3430
3431 [BZ #24556]
3432 * string/test-strcasestr.c (check_result): Add NULL check.
3433 * nss/tst-field.c (check_rewrite): Likewise.
3434 * benchtests/bench-strstr.c (do_one_test): Likewise.
3435 * string/test-strstr.c (check_result): Likewise.
3436 * argp/argp-test.c (popt): Increase size of buf to 12.
3437 * benchtests/bench-malloc-simple.c (bench):
3438 Do not initialize tests array out of bounds.
3439
fabf5e49
FW
34402019-06-19 Florian Weimer <fweimer@redhat.com>
3441
3442 [BZ #24166]
3443 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3444 dls_serpath field.
3445
2c75b545
FW
34462019-06-18 Florian Weimer <fweimer@redhat.com>
3447
3448 [BZ #24323]
3449 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3450 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3451 fail when called from dlopen.
3452 * elf/Makefile [have-fpie && build-shared] (tests): Add
3453 tst-dlopen-pie.
3454 (tst-dlopen-pie): Link with -ldl.
3455 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3456 * elf/tst-dlopen-pie.c (do_test): New file.
3457
ab74d59f 34582019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
02d8b5ab
RL
3459
3460 [BZ #24614]
3461 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3462 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3463 between the currency symbol and the minus sign).
3464 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3465 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3466
78049de0
AZ
34672019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3468
112a0ae1
AZ
3469 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3470 sysdep-rtld-routines): Remove rules.
3471 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3472 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3473 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3474 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3475 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3476 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3477 vDSO path for SHARED.
3478 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3479 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3480 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3481 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3482 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3483 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3484
dee07df1
AZ
3485 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3486 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3487 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3488 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3489 CFLAGS-s_llround-power5+.c): New rule.
3490 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3491 New file.
3492 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3493 Likewise.
3494 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3495 Likewise.
3496 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3497 Likewise.
3498 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3499 Likewise.
3500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3501 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3503 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3505 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3506 * sysdeps/powerpc/powerpc64/fpu/Makefile
3507 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3509 (libm-sysdep_routines): Remove s_llround-* objects.
3510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3511 file.
3512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3513 Likewise.
3514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3515 Likewise.
3516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3517 Likewise.
3518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3519 Likewise.
3520 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3521 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3522 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3523 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3524 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3525 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3526 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3527 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3528 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3529 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3530 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3531 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3532 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3533 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3534
2166283f
AZ
3535 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3536 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3537 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3538 * sysdeps/powerpc/powerpc32/fpu/Makefile
3539 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3540 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3541 optimization.
3542 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3543 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3544 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3546 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3547 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3548 CFLAGS-s_lrint-ppc32.c): New rule.
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3550 Remove file.
3551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3552 Likewise.
3553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3554 Likewise.
3555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3556 Likewise.
3557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3558 Likewise.
3559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3560 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3564 New file.
3565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3566 Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3568 Likewise.
3569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3570 Likewise.
3571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3572 Likewise.
3573
78049de0
AZ
3574 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3575 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3576 s_llrint-ppc64.
3577 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3578 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3579 file.
3580 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3581 Likewise.
3582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3583 Likewise.
3584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3587 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3589 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3590 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3591 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3593 (libm-sysdep_routines): Remove s_llrint-* objects.
3594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3595 file.
3596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3597 Likewise.
3598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3599 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3600 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3601 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3602 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3603 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3604 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3605 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3606 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3607 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3608
48c3c123
FW
36092019-06-14 Florian Weimer <fweimer@redhat.com>
3610
3611 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3612 argument to __glibc_has_include to inhibit macro expansion.
3613
8d141877
FW
36142019-06-14 Florian Weimer <fweimer@redhat.com>
3615
3616 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3617 function-like macro, so that __has_include can inhibit expansion
3618 of its argument.
3619
a26e2e9f
JM
36202019-06-13 Joseph Myers <joseph@codesourcery.com>
3621
cf274686
JM
3622 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3623 New macro.
3624
a26e2e9f
JM
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3626 Allow memset in libc.so.
3627
82bc69c0
SN
36282019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3629
3630 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3631 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3632 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3633 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3634 symbols at load time.
3635 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3636
55f82d32
SN
36372019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3638
3639 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3640 (DT_AARCH64_VARIANT_PCS): Define.
3641
21bd039b
AZ
36422019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3643
11926960
AZ
3644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3645 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3646 objects.
3647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3648 Remove file.
3649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3650 Likewise.
3651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3653 Likewise.
3654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3655 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3656 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3658 Remove s_finite* objects.
3659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3665 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3666 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3667 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3668 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3669
a7218676
AZ
3670 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3671 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3672
6427a6ac
AZ
3673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3674 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3675 objects.
3676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3677 Remove file.
3678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3679 Likewise.
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3682 Likewise.
3683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3684 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3685 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3687 Remove s_isinf* and s_isinf* objects.
3688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3694 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3695 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3696 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3697 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3698
a8c590f7
AZ
3699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3700 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3701
2666f963
AZ
3702 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3703 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3704 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3706 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3707 s_isnanf-* objects.
3708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3709 Remove file
3710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3711 Likewise.
3712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3713 Likewise.
3714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3715 Likewise.
3716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3718 Likewise.
3719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3720 Likewise.
3721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3722 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3723 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3724 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3725 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3726 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3727 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3729 Remove s_isnan-* and s_isnanf-* objects.
3730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3733 Likewise.
3734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3739 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3740 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3741 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3742 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3743 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3744 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3745 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3746 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3747
197dbda1
AZ
3748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3749 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3750
2731a326
AZ
3751 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3752 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3753 CFLAGS-bench-isfinite.c): New rule.
3754 * benchtests/isnan-input: New file.
3755 * benchtests/isinf-input: New file.
3756 * benchtests/isfinite-input: New file.
3757
e41d66e4
AZ
3758 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3759 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3760 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3761 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3763 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3764 s_copysign-ppc32.
3765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3766 Remove file.
3767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3768 Likewise.
3769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3770 Likewise.
3771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3772 Likewise.
3773 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3774 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3776 Remove s_copysign-power6 s_copysign-ppc64.
3777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3778 Remove file.
3779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3780 Likewise.
3781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3783 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3784 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3786 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3787
21bd039b
AZ
3788 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3789 round_to_integer_float, round_mode): Add RINT handling.
3790 (reset_fenv_mode): New symbol.
3791 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3792 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3793 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3794 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3795 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3796 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3797
cfa61144
FW
37982019-06-12 Florian Weimer <fweimer@redhat.com>
3799
3800 [BZ #24632]
3801 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3802 * libio/freopen.c (freopen): Use it.
3803
744e8296
FW
38042019-06-12 Florian Weimer <fweimer@redhat.com>
3805
3806 Linux: Deprecate sysctl.
3807 * include/sysctl.h (__sysctl): Remove declaration.
3808 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3809 check.
3810 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3811 (sysctl): Add deprecation attribute.
3812 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3813 directly, to avoid the deprecation warning. Do not include
3814 <string.h>.
3815 (__sysctl): Remove hidden alias.
3816
5dad6ffb
FW
38172019-06-12 Florian Weimer <fweimer@redhat.com>
3818
3819 Linux: Use kernel headers for statx definitions if available.
3820 * include/bits/statx-generic.h: New file.
3821 * include/bits/types/struct_statx.h: Likewise.
3822 * include/bits/types/struct_statx_timestamp.h: Likewise.
3823 * io/Makefile (headers): Add bits/statx-generic.h.
3824 * io/bits/statx-generic.h: New file. Partly copied from
3825 io/bits/statx.h.
3826 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3827 define original_statx.
3828 * io/bits/types/struct_statx.h: Likewise.
3829 * io/bits/types/struct_statx_timestamp.h: Likewise.
3830 (statx_generic): Use original_statx.
3831 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3832 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3833
4e75c2a4
FW
38342019-06-12 Florian Weimer <fweimer@redhat.com>
3835
3836 * misc/sys/cdefs.h (__glibc_has_include): Define.
3837
680942b0
WD
38382019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3839
3840 * string/memmem.c (__memmem): Rewrite to improve performance.
3841
5e0a7ecb
WD
38422019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3843
3844 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3845 warning.
3846 (two_way_long_needle): Block inlining.
3847 * string/strstr.c (strstr2): Add new function.
3848 (strstr3): Likewise.
3849 (STRSTR): Completely rewrite strstr to improve performance.
3850
80b2bfb5
WD
38512019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3852
3853 * benchtests/bench-strstr.c (test_hard_needle): New function.
3854
e6e24243
JM
38552019-06-10 Joseph Myers <joseph@codesourcery.com>
3856
3857 * malloc/tst-calloc.c: Include <libc-diag.h>.
3858 (null_test): Ignore -Wunused-result around calls to calloc.
3859 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3860 (do_test): Ignore -Wunused-result around call to malloc.
3861
51ea67d5
FW
38622019-06-07 Florian Weimer <fweimer@redhat.com>
3863
3864 Linux: Add getdents64 system call.
3865 * include/dirnent.h (getdents): Add comment and change buffer
3866 argument type to void *.
3867 (getdents64): Likewise. Add hidden prototype.
3868 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3869 getdents64.
3870 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3871 Add tst-getdents64.
3872 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3873 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3874 argument type to void *.
3875 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3876 Add hidden definition and getdents64 alias.
3877 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3878 Likewise.
3879 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3880 * manual/filesys.texi (Accessing Directories): Add Low-level
3881 Directory Access node reference.
3882 (Opening a Directory): Cross-reference it.
3883 (Low-level Directory Access): New node.
3884 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3885 getdents64.
3886 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3887 Likewise.
3888 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3889 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3890 Likewise.
3891 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3892 Likewise.
3893 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3894 Likewise.
3895 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3896 Likewise.
3897 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3898 Likewise.
3899 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3900 Likewise.
3901 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3902 Likewise.
3903 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3904 (GLIBC_2.30): Likewise.
3905 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3906 (GLIBC_2.30): Likewise.
3907 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3908 (GLIBC_2.30): Likewise.
3909 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3910 (GLIBC_2.30): Likewise.
3911 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3912 Likewise.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3914 (GLIBC_2.30): Likewise.
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3916 (GLIBC_2.30): Likewise.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3918 (GLIBC_2.30): Likewise.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3920 (GLIBC_2.30): Likewise.
3921 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3926 Likewise.
3927 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3928 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3929 Likewise.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3931 Likewise.
3932 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3933 Likewise.
3934 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3935 Likewise.
3936
de751ebc
PC
39372019-06-06 Paul A. Clarke <pc@us.ibm.com>
3938
3939 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3940 (__FPU_MFFS): New.
3941 (__FPU_MFFSL): New.
3942 (_FPU_GET_RC): New.
3943 (_FPU_GETCW): Use __FPU_MFFS().
3944 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3945
28dd3939
FW
39462019-06-06 Florian Weimer <fweimer@redhat.com>
3947
3948 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3949 internal GCC preprocessor identifier __has_include__.
3950
0158473d
PC
39512019-06-05 Paul A. Clarke <pc@us.ibm.com>
3952
3953 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3954 with call to equivalent function.
3955
e863dbf6
FW
39562019-06-04 Florian Weimer <fweimer@redhat.com>
3957
3958 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3959 (do_release_shlib): Adjust for __twalk_r.
3960 (__gconv_release_shlib): Call __twalk_r.
3961
4802be92
AS
39622019-06-04 Andreas Schwab <schwab@suse.de>
3963
3964 [BZ #18830]
3965 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3966 no irreversible characters occurred.
3967 * iconv/gconv_simple.c (internal_ucs4_loop)
3968 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3969 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3970 (ucs4_internal_loop_single, internal_ucs4le_loop)
3971 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3972 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3973 (ucs4le_internal_loop_single): Add const to outend.
3974 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3975 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3976 * iconv/Makefile (tests): Add tst-iconv7.
3977 * iconv/tst-iconv7.c: New file.
3978
dc91a19e
JM
39792019-06-03 Joseph Myers <joseph@codesourcery.com>
3980
3981 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3982
6a1a9a49 39832019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
3984
3985 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3986 * sysdeps/unix/sysv/linux/arm/Makefile
3987 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3988 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3989 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3990 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3991 compatibility symbols.
3992
0bb8f8c7
FW
39932019-05-31 Florian Weimer <fweimer@redhat.com>
3994
3995 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3996 system calls for the arm architecture: breakpoint, get_tls,
3997 set_tls, usr26, usr32.
3998
9250e661
GG
39992019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
4000
4001 * sysdeps/powerpc/Makefile
4002 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
4003 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
4004 Declare '.machine power7' to get support for ldbrx.
4005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
4006 directive based on the directory of the file.
4007 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
4008 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4009 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
4010 '.machine' directive.
4011 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
4012 (VADDUQM_V7_V8): Remove.
4013 (__STRCASECMP): Replace macros with actual instructions.
4014 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
4015 '.machine' directive.
4016 (VCLZD_V8_v7): Remove.
4017 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
4018
fbd6c928
AZ
40192019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4020
4021 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
4022 Remove file.
4023 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
4024
e47308c9
AZ
40252019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4026
4027 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4028 NEARBYINT handling.
4029 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
4030 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
4031 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
4032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
4033 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
4034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4035
157cda1f 40362019-05-28 mansayk <6688000@gmail.com>
4037
4038 [BZ #24370]
4039 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
4040
182a3746 40412019-05-28 mansayk <6688000@gmail.com>
4042
4043 [BZ #24369]
4044 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
4045 (abmon): Likewise, but remove the trailing dots.
4046
c6df1ce3
JM
40472019-05-28 Joseph Myers <joseph@codesourcery.com>
4048
4049 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
4050
85188d82
FW
40512019-05-27 Florian Weimer <fweimer@redhat.com>
4052
4053 * nptl/nptl-init.c: Add comment.
4054
5c23c821
FW
40552019-05-24 Florian Weimer <fweimer@redhat.com>
4056
4057 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
4058 struct in_addr/struct in6_addr alignment.
4059
bee1f2c4
JM
40602019-05-23 Joseph Myers <joseph@codesourcery.com>
4061
4062 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4063 (F_SEAL_FUTURE_WRITE): New macro.
4064
ab74d59f 40652019-05-23 Alexandra Hájková <ahajkova@redhat.com>
481c30cb
AH
4066
4067 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
4068 * elf/tst-ldconfig-bad-aux-cache.c: New file.
4069 * elf/tst-ldconfig_aux-cache.root: New directory.
4070 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
4071 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
4072 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
4073
cb755eed
ZW
40742019-05-22 Zack Weinberg <zackw@panix.com>
4075
4076 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
4077 host type.
4078 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
4079 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
4080
4081 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
4084 Delete.
4085
4086 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
4087 Issue an #error if used with a compiler in SPE-float mode.
4088 * sysdeps/powerpc/powerpc32/__longjmp_common.S
4089 * sysdeps/powerpc/powerpc32/setjmp_common.S
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4096 Remove code to preserve SPE register state.
4097
4098 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4099 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4100 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
4101 Remove __SPE__ ifndefs.
4102
46ae0732
WD
41032019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
4104
4105 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
4106 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
4107 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
4108 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
4109 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
4110 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
4111 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
4112 (INNER_LOOP_ITERS_MEDIUM): New define.
4113 (INNER_LOOP_ITERS_SMALL): New define.
4114 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
4115 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
4116 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
4117 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
4118 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4119
e6855a3b 41202019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
004e52fe
AZ
4121
4122 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4123 New define.
4124 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4125 (SEMTIMEDOP_IPC_ARGS): Likewise.
4126
c9c15ac3
FW
41272019-05-21 Florian Weimer <fweimer@redhat.com>
4128
4129 [BZ #24584]
4130 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4131 before updating __counter field and release it afterwards. Add
4132 overflow check.
4133 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4134 requirement for __counter member.
4135
7e740ab2
FW
41362019-05-21 Florian Weimer <fweimer@redhat.com>
4137
4138 [BZ #24583]
4139 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4140 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4141 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4142 instead of __gconv_release_step.
4143 * libio/Makefile (tests): Add tst-wfile-gconv.
4144 (tests-container): Add tst-wfile-ascii.
4145 (tst-wfile-gconv-ENV): Enable mtrace.
4146 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4147 (tests-special): Add tst-wfile-gconv-mem.out.
4148 (tst-wfile-gconv.out): Depend on locales.
4149 (tst-wfile-gconv-mem.out): Add mtrace rule.
4150 * libio/tst-wfile-ascii.c: New file.
4151 * libio/tst-wfile-gconv.c: Likewise.
4152
09e1b0e3
FW
41532019-05-20 Florian Weimer <fweimer@redhat.com>
4154
4155 [BZ #24588]
4156 libio: Remove codecvt vtable.
4157 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4158 __libio_codecvt.
4159 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4160 __libio_codecvt_encoding.
4161 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4162 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4163 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4164 * libio/iofwide.c (__libio_codecvt): Remove variable.
4165 (_IO_fwide): Do not copy __libio_codecvt.
4166 (__libio_codecvt_out): Rename from do_out and export.
4167 (do_unshift): Remove function.
4168 (__libio_codecvt_in): Rename from do_in and export.
4169 (__libio_codecvt_encoding): Rename from do_encoding and export.
4170 (do_always_noconv): Remove function.
4171 (__libio_codecvt_length): Rename from do_length and export.
4172 (do_max_length): Remove function.
4173 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4174 to libioP.h.
4175 (struct _IO_codecvt): Remove fields __codecvt_destr,
4176 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4177 __codecvt_do_encoding, __codecvt_do_always_noconv,
4178 __codecvt_do_length, __codecvt_do_max_length.
4179 * libio/libioP.h (enum __codecvt_result): Define; moved from
4180 libio.h.
4181 (__libio_codecvt_out, __libio_codecvt_in)
4182 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4183 functions.
4184 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4185 (_IO_wfile_underflow): Call __libio_codecvt_in.
4186 (_IO_wfile_underflow): Likewise.
4187 (_IO_wfile_underflow_mmap): Likewise.
4188 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4189 __libio_codecvt_length.
4190 (adjust_wide_data): Call __libio_codecvt_encoding,
4191 __libio_codecvt_in.
4192 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4193 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4194 __libio_codecvt_length.
4195
75c51570
FW
41962019-05-20 Florian Weimer <fweimer@redhat.com>
4197
4198 * support/support.h (support_sbindir_prefix): Declare.
4199 (support_install_rootsbindir): Update comment.
4200 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4201 * support/support_paths.c (support_sbindir_prefix): Define.
4202
ff6bec7d
MC
42032019-05-20 Mike Crowe <mac@mcrowe.com>
4204
b62bb3bc
MC
4205 * support/timespec.c: Add backslash to correct newline in failure
4206 message.
4207
ff6bec7d
MC
4208 * support/timespec.h: Correct confusing comment.
4209
dfba907f
AZ
42102019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4211
236c18e5
AZ
4212 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4213 define.
4214 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4215 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4216 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4217 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4218
dfba907f
AZ
4219 [BZ #24570]
4220 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4221 usage.
4222
13886008
JM
42232019-05-20 Joseph Myers <joseph@codesourcery.com>
4224
4225 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4226 (NT_ARM_PACG_KEYS): Likewise.
4227
1f50f2ad
WD
42282019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4229
4230 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4231 (tcache_put): Remove redundant assert.
4232 (tcache_get): Remove redundant asserts.
4233 (__libc_malloc): Check tcache count is not zero.
4234 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4235
fef7c63c
FW
42362019-05-17 Florian Weimer <fweimer@redhat.com>
4237
4238 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4239
5f161b23
JM
42402019-05-16 Joseph Myers <joseph@codesourcery.com>
4241
4242 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4243 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4244 0x050100].
4245 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4246 Likewise.
4247 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4248 (__ASSUME_STATX): Likewise.
4249
ec255a97
FW
42502019-05-16 Florian Weimer <fweimer@redhat.com>
4251
4252 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4253 flags argument.
4254 (LINE_PARSER): Do not map IPv4 addresses.
4255 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4256 to parse_line.
4257 (_nss_nis_gethostent_r): Always pass AF_INET to
4258 internal_nis_gethostent_r.
4259 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4260 to parse_line.
4261 (_nss_nis_gethostbyname2_r): Adjust call to
4262 internal_nis_gethostent_r.
4263 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4264 call to internal_nis_gethostent_r.
4265 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4266 from parse_line.
4267 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4268 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4269 Remove flags argument. Do not map IPv4 addresses.
4270 (internal_nisplus_gethostent_r): Adjust call to
4271 _nss_nisplus_parse_hostent.
4272 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4273 to _nss_nisplus_parse_hostent.
4274 (_nss_nisplus_gethostbyname2_r): Adjust call to
4275 internal_gethostbyname2_r.
4276 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4277 Adjust call to internal_gethostbyname2_r.
4278 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4279 _nss_nisplus_parse_hostent.
4280 (_nss_nisplus_gethostbyname4_r): Adjust call to
4281 internal_gethostbyname2_r.
4282
9c02d078
FW
42832019-05-16 Florian Weimer <fweimer@redhat.com>
4284
4285 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4286 Remove flags.
4287 (LINE_PARSER): Remove address mapping.
4288 (EXTRA_ARGS_VALUE): Remove flags argument.
4289 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4290 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4291 gethostbyname3_multi.
4292 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4293 _nss_files_gethostbyname3_r.
4294 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4295
85b0e1e8
FW
42962019-05-16 Florian Weimer <fweimer@redhat.com>
4297
4298 * support/support_test_compare_blob.c (report_blob): Report
4299 incorrect NULL blobs.
4300
11b451c8
MW
43012019-05-15 Mark Wielaard <mark@klomp.org>
4302
4303 [BZ# 24476]
4304 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4305 __libc_once_get (once) and static_buf == NULL.
4306 (__dlerror): Check we have a valid key, set result to static_buf
4307 otherwise.
4308
32ff3975
AS
43092019-05-15 Andreas Schwab <schwab@suse.de>
4310
4311 [BZ #20568]
4312 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4313 __codecvt_do_length.
4314 * libio/Makefile (tests): Add tst-wfile-sync.
4315 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4316 * libio/tst-wfile-sync.c: New file.
4317 * libio/tst-wfile-sync.input: New file.
4318
a9368c34
FW
43192019-05-15 Florian Weimer <fweimer@redhat.com>
4320
4321 nss: Turn __nss_database_lookup into a compatibility symbol.
4322 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4323 __nss_database_lookup.
4324 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4325 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4326 __nss_database_lookup.
4327 (__nss_next): Move to …
4328 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4329 unconditionally.
4330 (__nss_database_lookup): New function.
4331 * nss/Versions (GLIBC_2.0): Update comment.
4332 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4333 * grp/initgroups.c (internal_getgrouplist): Call
4334 __nss_database_lookup2 instead of __nss_database_lookup.
4335 * nscd/aicache.c (addhstaiX): Likewise.
4336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4337 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4338 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4339 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4340 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4341 Likewise.
4342 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4343 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4345
ab74d59f 43462019-05-15 Alexandra Hájková <ahajkova@redhat.com>
32ff3975 4347
d50f0918
AH
4348 * support/support.h (support_install_rootsbindir): New variable.
4349 * support/support_paths.c: Likewise.
4350 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4351
7ac6fad9
FW
43522019-05-15 Florian Weimer <fweimer@redhat.com>
4353
4354 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4355 * iconv/gconv_int.h (__gconv_transliterate): … here.
4356 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4357 * iconv/skeleton.c: Likewise.
4358
04b261bd
FW
43592019-05-14 Florian Weimer <fweimer@redhat.com>
4360
4361 Linux: Add the tgkill function.
4362 * bits/signal_ext.h: New file.
4363 * manual/signal.texi (Signaling Another Process): Document tgkill.
4364 * signal/Makefile (headers): Add bits/signal_ext.h.
4365 * signal/signal.h: Include <bits/signal_ext.h>.
4366 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4367 (tst-tgkill): Link with libpthread.
4368 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4369 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4370 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4371 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4372 tgkill.
4373 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4374 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4375 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4376 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4377 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4378 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4379 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4380 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4384 Likewise.
4385 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4387 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4389 Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4391 Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4393 Likewise.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4395 Likewise.
4396 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4399 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4403 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4404
6807f47b
CD
44052019-05-14 Carlos O'Donell <carlos@redhat.com>
4406
4407 * manual/search.texi (Tree Search Function): Adjust twalk_r
4408 documentation.
4409
fdb8a0be
AZ
44102019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4411
da2b83ef
AZ
4412 [BZ #24544]
4413 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4414 pre-defined value.
4415
c7ac9caa
AZ
4416 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4417 * support/support.h (support_bindir_prefix): New variable.
4418 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4419
91f043ae
AZ
4420 * config.make.in (bindir): New variable.
4421
c50e1c26
AZ
4422 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4423 (lll_trylock): Call __lll_trylock.
4424 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4425 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4426 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4427 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4428 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4429 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4430 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4431 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4432 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4433 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4434 lowlevellock-futex.h.
4435
959aff9f
AZ
4436 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4437 initialization for LLL_LOCK_INITIALIZER different than 0.
4438 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4439 Assume LLL_LOCK_INITIALIZER being 0.
4440 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4441 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4442 Likewise.
4443 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4444 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4445
d7e4c642
AZ
4446 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4447 Optimize futex call and add systemtap probe.
4448
fdb8a0be
AZ
4449 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4450 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4451 __libc_disable_asynccancel, __librt_enable_asynccancel,
4452 __libc_disable_asynccancel, __librt_enable_asynccancel,
4453 __librt_disable_asynccancel): Move to ...
4454 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4455 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4456 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4457 * sysdeps/generic/single-thread.h: New file.
4458 * sysdeps/unix/sysdep.h: Include single-thread.h.
4459 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4460 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4461
f6efec90
MF
44622019-05-08 Mike FABIAN <mfabian@redhat.com>
4463
4464 [BZ #24535]
4465 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4466 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4467 Unicode 12.1.0.
4468 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4469 * localedata/unicode-gen/PropList.txt: Likewise.
4470 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4471 * localedata/charmaps/UTF-8: Regenerate.
4472 * localedata/locales/i18n_ctype: Likewise.
4473 * localedata/locales/tr_TR: Likewise.
4474 * localedata/locales/translit_circle: Likewise.
4475 * localedata/locales/translit_cjk_compat: Likewise.
4476 * localedata/locales/translit_combining: Likewise.
4477 * localedata/locales/translit_compat: Likewise.
4478 * localedata/locales/translit_font: Likewise.
4479 * localedata/locales/translit_fraction: Likewise.
4480
5ad533e8
WD
44812019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4482
4483 [BZ #24531]
4484 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4485 (do_set_tcache_count): Only update if count is small enough.
4486 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4487
4aee85f9
FW
44882019-05-10 Florian Weimer <fweimer@redhat.com>
4489
4490 * nptl/sem_close.c (struct walk_closure): Define.
4491 (walker): Adjust for __twalk_r.
4492 (sem_close): Call __twalk_r.
4493
eb669ff5
AZ
44942019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4495
4496 * support/timespec.c (test_timespec_before_impl,
4497 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4498 insted of long int.
4499
51983996
MC
45002019-05-09 Mike Crowe <mac@mcrowe.com>
4501
44ac6ee9
MC
4502 * nptl/tst-abstime.c: Use libsupport.
4503
495514ee
MC
4504 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4505 small bug where only tv.tv_usec was checked which could cause an
4506 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4507 than a second.
4508
4509 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4510 libsupport.
4511
40d0816f
MC
4512 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4513 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4514
d8e0b901
MC
4515 * nptl/tst-cond11.c: Use libsupport.
4516
51983996
MC
4517 * support/timespec.h: New file. Provide timespec helper functions
4518 along with macros in the style of those in check.h.
4519 * support/timespec.c: New file. Implement check functions declared
4520 in support/timespec.h.
4521 * support/timespec-add.c: New file from gnulib containing
4522 timespec_add implementation that handles overflow.
4523 * support/timespec-sub.c: New file from gnulib containing
4524 timespec_sub implementation that handles overflow.
4525 * support/README: Mention timespec.h.
4526
18aa51ee
SN
45272019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4528
4529 [BZ #24537]
4530 * nptl/Makefile: Move tst-eintr1 to xtests.
4531
252296c6
AZ
45322019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4533
ae45cf84
AZ
4534 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4535 TRUNC handling.
4536 (round_mode): Add definition for TRUNC.
4537 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4538 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4539 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4540 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4541 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4542 Likewise.
4543 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4544 Likewise.
4545 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4546 Likewise.
4547 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4548 Likewise.
4549 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4550 file.
4551 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4552 Likewise.
4553 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4554 Likewise.
4555 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4556 Likewise.
4557 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4558 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4559 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4560 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4561 s_truncf-power5+, and s_truncf-ppc64.
4562 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4563 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4564 file.
4565 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4567 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4568 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4569 file.
4570 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4571 Likewise.
4572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4573 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4575 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4576 s_truncf-power5+, and s_truncf-ppc64.
4577 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4578 file.
4579 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4580 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4581 Likewise.
4582 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4583 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4584 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4585 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4586 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4587
a1cb1888
AZ
4588 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4589 ROUND handling.
4590 (round_mode): Add definition for ROUND.
4591 (round_to_integer_float): Likewise.
4592 * sysdeps/powerpc/fpu/s_round.c: New file.
4593 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4594 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4595 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4596 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4597 Likewise.
4598 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4599 Likewise.
4600 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4601 Likewise.
4602 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4603 Likewise.
4604 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4605 file.
4606 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4607 Likewise.
4608 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4609 Likewise.
4610 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4611 Likewise.
4612 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4613 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4614 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4615 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4616 s_roundf-power5+, and s_roundf-ppc64.
4617 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4618 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4619 file.
4620 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4622 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4623 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4624 file.
4625 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4626 Likewise.
4627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4628 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4630 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4631 s_roundf-power5+, and s_roundf-ppc64.
4632 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4633 file.
4634 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4635 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4636 Likewise.
4637 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4638 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4639 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4640 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4641 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4642
252296c6
AZ
4643 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4644 Add FLOOR option.
4645 (round_mode): Add definition for FLOOR.
4646 * sysdeps/powerpc/fpu/s_floor.c: New file.
4647 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4648 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4649 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4651 Remove file.
4652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4653 Likewise
4654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4655 Likewise.
4656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4657 Likewise.
4658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4659 New file.
4660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4661 Likewise.
4662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4663 Likewise.
4664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4665 Likewise.
4666 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4667 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4668 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4669 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4670 s_floorf-power5+, and s_floorf-ppc64.
4671 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4672 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4673 file.
4674 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4676 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4677 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4678 file.
4679 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4680 Likewise.
4681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4682 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4684 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4685 s_floorf-power5+, and s_floorf-ppc64.
4686 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4687 file.
4688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4689 file.
4690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4691 Likewise.
4692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4693 Likewise.
4694 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4695 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4696 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4697 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4698
33647a72
MC
46992019-05-08 Mike Crowe <mac@mcrowe.com>
4700
4701 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4702 clock_gettime wrapper for use in tests that fails the test rather
4703 than returning failure.
4704
4705 * support/xtime.h: New file to declare xclock_gettime.
4706
4707 * support/Makefile: Add xclock_gettime.c.
4708
4709 * support/README: Mention xtime.h.
4710
b2f601ba
FW
47112019-05-08 Florian Weimer <fweimer@redhat.com>
4712
4713 malloc/tst-mallocfork2: Use process-shared barriers.
4714 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4715 (signal_count, sigusr1_sender_pid): Remove.
4716 (iterations): Define constant.
4717 (shared): New variable.
4718 (sigusr1_received): Update comment.
4719 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4720 (signal_sender): Optional use barriers to avoid sending signals
4721 during irrelevant times.
4722 (do_it): Initialize variable shared. Use xfork for error
4723 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4724 the iteration count, independent of signal delivery. Check for
4725 deadlocks in fork. Introduce barriers for reducing signal
4726 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4727 replaced by the barriers. Count signals during fork/free/malloc
4728 and report them.
4729 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4730
c4a392cf
JM
47312019-05-07 Joseph Myers <joseph@codesourcery.com>
4732
7621676f
JM
4733 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4734 version to 5.1.
4735 (clock_adjtime64) New syscall.
4736 (clock_getres_time64) Likewise.
4737 (clock_gettime64) Likewise.
4738 (clock_nanosleep_time64) Likewise.
4739 (clock_settime64) Likewise.
4740 (futex_time64) Likewise.
4741 (io_pgetevents_time64) Likewise.
4742 (io_uring_enter) Likewise.
4743 (io_uring_register) Likewise.
4744 (io_uring_setup) Likewise.
4745 (mq_timedreceive_time64) Likewise.
4746 (mq_timedsend_time64) Likewise.
4747 (pidfd_send_signal) Likewise.
4748 (ppoll_time64) Likewise.
4749 (pselect6_time64) Likewise.
4750 (recvmmsg_time64) Likewise.
4751 (rt_sigtimedwait_time64) Likewise.
4752 (sched_rr_get_interval_time64) Likewise.
4753 (semtimedop_time64) Likewise.
4754 (timer_gettime64) Likewise.
4755 (timer_settime64) Likewise.
4756 (timerfd_gettime64) Likewise.
4757 (timerfd_settime64) Likewise.
4758 (utimensat_time64) Likewise.
4759
c4a392cf
JM
4760 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4761 version to 9 branch.
4762
32e902a9
AY
47632019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4764
4765 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4766 __memmove_thunderx2 to the list of implementations
4767 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4768 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4769 (__memmove_thunderx2): Rewritten using SIMD ld/st
4770 (__memcpy_thunderx2): Fixed handling overlapping cases.
4771 Used ldp/stp instead of ldr/str if possible. Made loops
4772 tails branchless.
4773
ac3da35d
FW
47742019-05-03 Florian Weimer <fweimer@redhat.com>
4775
4776 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4777
b2af6fb2
AZ
47782019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4779
7dfde28a 4780 [BZ #24506]
b2af6fb2
AZ
4781 * elf/tst-pldd.c (in_str_list): New function.
4782 (do_test): Add default names for ld and libc as one option.
4783
7b807a35
FW
47842019-05-02 Florian Weimer <fweimer@redhat.com>
4785
4786 misc: Add twalk_r function.
4787 * include/search.h (__twalk_r): Declare.
4788 * manual/examples/twalk.c: New file.
4789 * manual/search.texi (Tree Search Function): Document twalk_r.
4790 * misc/Versions (2.30): Export twalk_r.
4791 (GLIBC_PRIVATE): Export __twalk_r.
4792 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4793 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4794 (twalk_r): Add weak alias.
4795 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4796 (walk_trace): New variable.
4797 (struct twalk_with_twalk_r_closure): Define.
4798 (twalk_with_twalk_r_action): New function.
4799 (twalk_with_twalk_r): Likewise.
4800 (walk_action): Call walk_trace_add.
4801 (walk_tree_with): Rename from walk_tree. Add walk argument.
4802 (walk_tree): New function.
4803 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4804 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4805 Likewise.
4806 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4807 Likewise.
4808 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4809 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4810 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4811 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4812 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4813 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4814 Likewise.
4815 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4816 Likewise.
4817 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4818 Likewise.
4819 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4820 (GLIBC_2.30): Likewise.
4821 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4822 (GLIBC_2.30): Likewise.
4823 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4824 (GLIBC_2.30): Likewise.
4825 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4826 (GLIBC_2.30): Likewise.
4827 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4828 Likewise.
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4830 (GLIBC_2.30): Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4832 (GLIBC_2.30): Likewise.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4834 (GLIBC_2.30): Likewise.
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4836 (GLIBC_2.30): Likewise.
4837 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4838 Likewise.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4840 Likewise.
4841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4842 Likewise.
4843 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4844 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4845 Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4847 Likewise.
4848 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4849 Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4851 Likewise.
4852
20aa5819
PE
48532019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4854
4855 Make mktime etc. compatible with __time64_t
4856 Keep these functions compatible with Gnulib while adding
4857 __time64_t support. The basic idea is to move private API
4858 declarations from include/time.h to time/mktime-internal.h, since
4859 the former file cannot easily be shared with Gnulib whereas the
4860 latter can.
4861 Also, do some other minor cleanup while in the neighborhood.
4862 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4863 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4864 since Gnulib needs it.
4865 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4866 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4867 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4868 (in_time_t_range): New static function.
4869 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4870 so that glibc users are not tempted to use __time64_t.
4871 * time/mktime-internal.h: Rewrite so that it does both glibc
4872 and Gnulib work. Include time.h if not _LIBC.
4873 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4874 (__time64_t): New type or macro, moved here from
4875 posix/bits/types.h.
4876 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4877 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4878 from include/time.h.
4879 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4880 New macros, taken from GNulib.
4881 (__mktime_internal): New prototype, moved here from include/time.h.
4882 * time/mktime.c (mktime_min, mktime_max, convert_time)
4883 (ranged_convert, __mktime_internal, __mktime64):
4884 * time/timegm.c (__timegm64):
4885 Use __time64_t, not time_t.
4886 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4887 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4888 Rename from mktime.
4889 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4890 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4891 for libc_hidden_def.
4892 Include errno.h.
4893 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4894 Rename from timegm.
4895 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4896
87c266d7
MR
48972019-04-30 Maciej W. Rozycki <macro@wdc.com>
4898
4899 [BZ #19444]
4900 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4901 from `-Wmaybe-uninitialized'.
4902 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4903
c4c0848b
AZ
49042019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4905
6cac323c
AZ
4906 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4907 function.
4908 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4909 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4910 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4911 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4912 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4914 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4916 Remove file.
4917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4918 Likewise.
4919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4920 Likewise.
4921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4922 Likewise.
4923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4924 New file.
4925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4926 Likewise.
4927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4928 Likewise.
4929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4930 Likewise.
4931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4933 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4934 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4935 Likewise.
4936 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4937 Likewise.
4938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4939 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4940 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4941 file.
4942 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4943 Likewise.
4944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4945 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4946 * here.
4947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4948 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4949 s_ceilf-power5+, and s_ceilf-ppc64.
4950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4951 file.
4952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4955 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4956 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4957 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4958 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4959
c4c0848b
AZ
4960 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4961 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4962 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4963
f492fc99
YD
49642019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4965
4966 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4967 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4968 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4969 (sem_getvalue): Likewise.
4970
c57afec0
FW
49712019-04-26 Florian Weimer <fweimer@redhat.com>
4972
4973 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4974 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4975
a8ff215e
FW
49762019-04-26 Florian Weimer <fweimer@redhat.com>
4977
4978 Makeconfig: Move -Wl,-rpath-link options before library references.
4979 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4980 (link-libc): Remove $(link-libc-rpath-link).
4981
49822019-04-25 Florian Weimer <fweimer@redhat.com>
4983
4984 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4985 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4986 (+link-static-before-libc): Remove $(CC).
4987 (+link-static, +link-static-tests): Add $(CC).
4988 (+link-before-libc): Remove $(CC).
4989 (+link, +link-pie, +link-pie-printers): Add $(CC).
4990
e30fb31c
FW
49912019-04-26 Florian Weimer <fweimer@redhat.com>
4992
4993 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4994 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4995 (+link-static-before-libc): Remove $(CC).
4996 (+link-static, +link-static-tests): Add $(CC).
4997 (+link-before-libc): Remove $(CC).
4998 (+link, +link-pie, +link-pie-printers): Add $(CC).
4999
deacca00
DA
50002019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
5001
5002 [BZ#24484]
5003 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
5004
b5ffdc48
FW
50052019-04-25 Florian Weimer <fweimer@redhat.com>
5006
5007 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
5008 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
5009 (bench-link-targets): New variable.
5010 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
5011
94a4e9e4
FW
50122019-04-25 Florian Weimer <fweimer@redhat.com>
5013
5014 Also enable BIND_NOW for programs if --enable-bind-now.
5015 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
5016 (+link-pie): Use $(link-extra-flags).
5017 (+link-static): Likewise.
5018 [! $(build-pie-default)] (+link): Likewise.
5019 * manual/install.texi (Configuring and compiling): Update
5020 --enable-bind-now description.
5021 * INSTALL: Regenerated.
5022
fe92a91f
WD
50232019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
5024
5025 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
5026 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
5027
f9b645b4
MF
50282019-04-24 Mike Frysinger <vapier@gentoo.org>
5029
5030 [BZ #18465]
5031 * malloc/Makefile (others): Add memusagestat.
5032 ($(objpfx)memusagestat): Delete rule.
5033 (LDLIBS-memusagestat): New variable.
5034
439bf534
FW
50352019-04-24 Florian Weimer <fweimer@redhat.com>
5036
5037 * locale/Makefile (tests-special): Guard setting by
5038 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
5039 to run while cross-compiling.
5040
1a4c2735
AZ
50412019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5042
5043 [BZ #18035]
5044 * elf/Makefile (tests-container): Add tst-pldd.
5045 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
5046 (E(find_maps)): Avoid use alloca, use default read file operations
5047 instead of explicit LFS names, and fix infinite loop.
5048 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
5049 (get_process_info): Use _Static_assert instead of assert, use default
5050 directory operations instead of explicit LFS names, and free some
5051 leadek pointers.
5052 * elf/tst-pldd.c: New file.
5053
2d398aa2
L
50542019-04-23 H.J. Lu <hongjiu.lu@intel.com>
5055
5056 * malloc/arena.c (do_set_mallopt_check): Removed.
5057
e485b2b6
FW
50582019-04-23 Florian Weimer <fweimer@redhat.com>
5059
5060 locale: Add LOCPATH diagnostics to the locale program.
5061 * locale/programs/locale.c (setlocale_failed): New variable.
5062 (try_setlocale): New function.
5063 (quote_string): Likewise.
5064 (setlocale_diagnostics): Likewise.
5065 (main): Call try_setlocale instead of setlocale. Call
5066 setlocale_diagnostics.
5067 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
5068 (tst-locale-locpath.out): New target.
5069 * locale/tst-locale-locpath.sh: New file.
5070
25f7a3c9
AZ
50712019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5072
5073 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
5074 to 2.30 notes.
5075
9bf8e29c
AZ
50762019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5077
5078 [BZ #23741]
5079 * malloc/hooks.c (malloc_check, realloc_check): Use
5080 __builtin_add_overflow on overflow check and adapt to
5081 checked_request2size change.
5082 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
5083 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
5084 allocation size to PTRDIFF_MAX.
5085 (REQUEST_OUT_OF_RANGE): Remove macro.
5086 (checked_request2size): Change to inline function and limit maximum
5087 requested size to PTRDIFF_MAX.
5088 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
5089 maximum allocation size to PTRDIFF_MAX.
5090 (_mid_memalign): Use _int_memalign call for overflow check.
5091 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
5092 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
5093 limit maximum requested size to PTRDIFF_MAX.
5094 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
5095 valloc, pvalloc): Add __attribute_alloc_size__.
5096 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
5097 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
5098 larger than PTRDIFF_MAX.
5099 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
5100 around tests of malloc with negative sizes.
5101 * malloc/tst-posix_memalign.c (do_test): Likewise.
5102 * malloc/tst-pvalloc.c (do_test): Likewise.
5103 * malloc/tst-valloc.c (do_test): Likewise.
5104 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
5105 with resulting size allocation larger than PTRDIFF_MAX with
5106 reallocarray_nowarn.
5107 (reallocarray_nowarn): New function.
5108 * NEWS: Mention the malloc function semantic change.
5109
0e169691
AZ
51102019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5111
52faba65
AZ
5112 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
5113 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5114
3a16dd78
AZ
5115 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
5116 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
5117 * sysdeps/powerpc/fpu/s_fma.c: New file.
5118 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5119
1dac8bd6
AZ
5120 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5121 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5122
a3ae315a
AZ
5123 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5124 the magic flag store.
5125 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5126 Likewise.
5127 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5128 Likewise.
5129 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5130 Remove rt_sigreturn call.
5131
ffe8a9a8
AZ
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5133 Remove rt_sigreturn call.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5135 Likewise.
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5138
0e169691
AZ
5139 * support/Makefile (libsupport-routines): Add support_subprocess,
5140 xposix_spawn, xposix_spawn_file_actions_addclose, and
5141 xposix_spawn_file_actions_adddup2.
5142 (tst-support_capture_subprocess-ARGS): New rule.
5143 * support/capture_subprocess.h (support_capture_subprogram): New
5144 prototype.
5145 * support/support_capture_subprocess.c (support_capture_subprocess):
5146 Refactor to use support_subprocess and support_capture_poll.
5147 (support_capture_subprogram): New function.
5148 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5149 str_to_write_mode, test_common, parse_int, handle_restart,
5150 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5151 (do_test): Add support_capture_subprogram tests.
5152 * support/subprocess.h: New file.
5153 * support/support_subprocess.c: Likewise.
5154 * support/xposix_spawn.c: Likewise.
5155 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5156 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5157 * support/xspawn.h: Likewise.
5158
bae8cf0e
MG
51592019-04-17 Mike Gerow <gerow@google.com>
5160
5161 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5162 groups limit.
5163
e3f454ba
FW
51642019-04-11 Florian Weimer <fweimer@redhat.com>
5165
5166 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5167 domain with empty string.
5168 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5169
32d85c11
FW
51702019-04-11 Florian Weimer <fweimer@redhat.com>
5171
5172 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5173 comment.
5174 (alloc_buffer_next): Change return type to non-const. Update
5175 comment.
5176
221710af
FW
51772019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5178
5179 * manual/time.texi (Formatting Calendar Time): Add missing percent
5180 sign to conversion specifier.
5181
e621246e
CD
51822019-04-09 Carlos O'Donell <carlos@redhat.com>
5183 Kwok Cheung Yeung <kcy@codesourcery.com>
5184
5185 [BZ #16573]
5186 * malloc/mtrace.c: Define prototypes for all hooks.
5187 (set_default_hooks): New function.
5188 (set_trace_hooks): Likewise.
5189 (save_default_hooks): Likewise.
5190 (tr_freehook): Use new s*_hooks functions.
5191 (tr_mallochook): Likewise.
5192 (tr_reallochook): Likewise.
5193 (tr_memalignhook): Likewise.
5194 (mtrace): Likewise.
5195 (muntrace): Likewise.
5196
648279f4
WD
51972019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5198
5199 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5200 (generic_stpcpy): New function.
5201 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5202 (generic_stpncpy): New function.
5203 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5204 (generic_strcat): New function.
5205 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5206 (generic_strcpy): New function.
5207 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5208 (STUPID_STRNCAT): Remove function.
5209 (generic_strncat): New function.
5210 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5211 (STUPID_STRNCPY): Remove function.
5212 (generic_strncpy): New function.
5213 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5214 (generic_strnlen): New function.
5215 (memchr_strnlen): New function.
5216 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5217 (memchr_strlen): Likewise.
5218
93eebae5
WD
52192019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5220
5221 * benchtests/bench-strstr.c (input): Add realistic input text.
5222 (stupid_strstr): Remove function.
5223 (basic_strstr): Add function.
5224 (twoway_strstr): Add function.
5225 (do_one_test): Add result checking.
5226 (do_test): Use new input text. Remove accidental early matches.
5227 (test_main): Improve range of tests, reduce unaligned cases.
5228
a173d09f
WD
52292019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5230
5231 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5232 (basic_memmem): Add function.
5233 (twoway_memmem): Add function.
5234
6103c0a8
WD
52352019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5236
5237 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5238 * benchtests/bench-malloc-thread.c: Likewise.
5239 * benchtests/bench-skeleton.c: Likewise.
5240 * benchtests/bench-strtod.c: Likewise.
5241 * benchtests/bench-timing.h: Likewise.
5242
33322186
FW
52432019-04-08 Florian Weimer <fweimer@redhat.com>
5244
5245 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5246 definitions.
5247 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5248 RES_INSECURE2 security checks.
5249 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5250 RES_INSECURE2 handling.
5251
3f8b44be
FW
52522019-04-08 Florian Weimer <fweimer@redhat.com>
5253
5254 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5255 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5256 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5257 GETHOSTBYNAME.
5258 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5259 (tests-internal): Update justification for tst-resolv-res_init,
5260 tst-resolv-res_init-thread.
5261 (tst-res_use_inet6): Remove target.
5262 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5263 * resolv/res_debug.c (p_option): Remove "inet6" support.
5264 * resolv/res_init.c (res_setoptions): Likewise.
5265 * resolv/res_use_inet6.h: Remove file.
5266 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5267 definition.
5268 (res_use_inet6): Always return false.
5269 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5270 * resolv/resolv_context.h: Adjust file comment.
5271 (struct resolv_context): Update comment on __next field.
5272 (__resolv_context_put): Update comment.
5273 * resolv/tst-res_use_inet6.c: Remove file.
5274 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5275 "inet6" support.
5276 (test_cases): Adjust test case.
5277 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5278 (thread_byname2_af_inet6): Use old byname_inet6 code.
5279 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5280 (gai): Remove do_inet6 argument.
5281 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5282 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5283 (thread_gai_unspec_inet6): Remove functions.
5284 (do_test): Adjust thread_funcs.
5285 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5286 RES_USE_INET6 flag.
5287 (gaih_inet): Do not disable RES_USE_INET6 flag.
5288
6b5c8607 52892019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
5290
5291 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5292 and remove redundant code.
5293
e3fd0b0e
AZ
52942019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5295
f82ed45d
AZ
5296 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5297 New rule.
5298 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5300 Likewise.
5301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5302 Likewise.
5303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5304 Likewise.
5305 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5306 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5307 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5308 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5309 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5310 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5312 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5313 wcsrchr-power7.
5314 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5317 Remove wcsrchr optimizations.
5318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5319
662c2cc4
AZ
5320 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5321 the loop unroll.
5322
421e3005
AZ
5323 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5324 New rule.
5325 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5327 Likewise.
5328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5329 Likewise.
5330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5331 Likewise.
5332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5333 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5334 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5335 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5336 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5337 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5339 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5340 wcschr-power7.
5341 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5344 Remove wcschr optimizations.
5345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5346
7ba0100c
AZ
5347 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5348 the loop unroll.
5349
447a1306
AZ
5350 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5351 New rule.
5352 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5354 Likewise.
5355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5356 Likewise.
5357 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5358 Likewise.
5359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5360 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5361 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5362 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5363 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5364 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5366 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5367 wcscpy-power7.
5368 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5371 Remove wcscpy optimizations.
5372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5373
e3fd0b0e
AZ
5374 * include/loop_unroll.h: New file.
5375 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5376 besides generic implementation.
5377
8260f236
DD
53782019-04-03 DJ Delorie <dj@redhat.com>
5379
5380 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5381 snprintf truncating output.
5382
0bd545ee
DD
53832019-04-02 DJ Delorie <dj@redhat.com>
5384
5385 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5386 warning.
5387
466afec3
TS
53882019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5389
5390 [BZ #22964]
5391 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5392 era.
5393 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5394 (mkreftable): Add rules for the new Japanese era and the new dates.
5395
2f1d6155 53962019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
ab74d59f 5397 Rafał Lużyński <digitalfreak@lingonborough.com>
2f1d6155
TS
5398
5399 * time/tst-strftime2.c (date_t): Explicitly define the type.
5400 (dates): Use natural month and year numbers to express a date.
5401 (is_before): New function to compare dates.
5402 (mkreftable): Minor improvements to simplify maintenance.
5403 (do_test): Reflect the changes in dates array.
5404
84aea169
TS
5405 [BZ #24293]
5406 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5407 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5408 * time/tst-strftime2.c (locales): Likewise.
5409 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5410 2010-04-01, and 2011-04-01.
5411 (mkreftable): Add rules for the new locales and the new dates.
5412
62449176
CD
54132019-04-01 Carlos O'Donell <carlos@redhat.com>
5414
5415 * localedata/locales/ja_JP: Add comments to era entries.
5416
e0e4c321
DD
54172019-04-01 DJ Delorie <dj@redhat.com>
5418
5419 [BZ #24394]
5420 * time/strptime_l.c (%Ey): Fix fencepost error.
5421 * time/tst-strftime3.c: New.
5422 * time/Makefile (tests): Add tst-strftime3.
5423
ab74d59f 54242019-04-01 Uroš Bizjak <ubizjak@gmail.com>
993e3107
UB
5425
5426 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5427 conditional branch to DIVBYZERO. Fix unwind info.
5428 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5429 excb after conditional branch to $powerof2. Add missing unop
5430 instructions and .align directives and reorder instructions to
5431 match __divqu.
5432
d5ecee82
RH
54332019-04-01 Richard Henderson <rth@twiddle.net>
5434
5435 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5436 Do not redefine.
5437 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5438 Do not redefine.
5439
656dd306
MR
54402019-03-30 Maciej W. Rozycki <macro@wdc.com>
5441
5442 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5443 $libc_cv_riscv_float_abi in `test' invocation.
5444 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5445
10cce669
PC
54462019-03-29 Paul A. Clarke <pc@us.ibm.com>
5447
5448 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5449 asm with builtin.
5450 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5451 Likewise.
5452 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5453 (_GET_SI_FPSCR): Likewise.
5454 (_SET_SI_FPSCR): Likewise.
5455
5e67e4bf 54562019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
5457
5458 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5459 clang 2.8.
5460 (signbit): Use builtin for clang 3.3.
5461 (isinf): Use builtin for clang 3.7.
5462
01963891
AZ
54632019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5464
5465 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5466
67112f7a
AH
54672019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5468
5469 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5470 quote in printf.
5471
7a773abf
MC
54722019-03-25 Mike Crowe <mac@mcrowe.com>
5473
82849fde
MC
5474 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5475 pthread_rwlock_timedrdlock with calls to
5476 pthread_rwlock_timedwrlock to ensure that the latter is tested
5477 too. Use new function name in diagnostic messages too.
5478
7a773abf
MC
5479 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5480 (do_test) Use libsupport test macros rather than hand-coded
5481 conditionals and error messages. Ensure that sem_init returns zero
5482 rather than not -1. Use <support/test-driver.c> rather than
5483 test-skeleton.c.
5484
5485 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5486 test macros rather than hand-coded conditionals and error messages.
5487 Use <support/test-driver.c> rather than test-skeleton.c.
5488
9ac2de69
JM
54892019-03-25 Joseph Myers <joseph@codesourcery.com>
5490
d7563e62
JM
5491 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5492
9ac2de69
JM
5493 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5494 (NT_MIPS_MSA): Likewise.
5495
38cc11da
AZ
54962019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5497
7621e38b
WD
5498 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5499 * benchtests/README: Update description.
5500 * benchtests/bench-timing.h: Default to hp-timing.
5501 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5502 HP_TIMING_PRINT): Remove.
5503 (HP_TIMING_NOW): Add generic implementation.
5504 (hp_timing_t): Change to uint64_t.
5505
1e372ded
AZ
5506 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5507 HP_TIMING_INLINE.
5508 * nptl/descr.h: Likewise.
5509 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5510 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5511 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5512 Abstract hp-timing usage with RTLD_* macros.
5513 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5514 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5515 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5516 HP_TIMING_NONAVAIL): Likewise.
5517 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5518 Likewise.
5519 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5520 HP_SMALL_TIMING_AVAIL): Likewise.
5521 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5522 HP_SMALL_TIMING_AVAIL): Likewise.
5523 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5524 HP_SMALL_TIMING_AVAIL): Likewise.
5525 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5526 HP_SMALL_TIMING_AVAIL): Likewise.
5527 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5528 Likewise.
5529 * sysdeps/generic/hp-timing-common.h: Update comment with
5530 HP_TIMING_AVAIL removal.
5531
359653aa
AZ
5532 * include/random-bits.h: New file.
5533 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5534 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5535 random_bits.
5536 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5537 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5538 Likewise.
5539
6e8ba7fd
AZ
5540 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5541 * rt/Makefile (clock-routines): Remove get_clockfreq.
5542 * rt/get_clockfreq.c: Remove file.
5543 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5544 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5546 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5547 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5548
77b6f553
AZ
5549 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5550 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5551 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5552 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5553 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5554
38cc11da
AZ
5555 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5556 pthread_clock_settime.
5557 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5558 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5559 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5560 * elf/rtld.c (_dl_start_final): Likewise.
5561 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5562 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5563 Remove.
5564 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5565 (_dl_cpuclock_offset): Remove.
5566 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5567 cpuclock_offset_ununsed.
5568 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5569 cpuclock_offset set.
5570 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5571 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5572 * nptl/pthread_clock_gettime.c: Remove file.
5573 * nptl/pthread_clock_settime.c: Likewise.
5574 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5575 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5576 and CLOCK_PROCESS_CPUTIME_ID support.
5577 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5578 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5579 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5580 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5581 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5582 Likewise.
5583 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5584
421749d6
SL
55852019-03-22 Stefan Liebler <stli@linux.ibm.com>
5586
5587 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5588 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5589 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5590 New defines.
5591 * sysdeps/s390/memmem-arch13.S: New file.
5592 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5593 if it is only used as fallback.
5594 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5595 * sysdeps/s390/multiarch/ifunc-impl-list.c
5596 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5597
6f47401b
SL
55982019-03-22 Stefan Liebler <stli@linux.ibm.com>
5599
5600 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5601 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5602 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5603 New defines.
5604 * sysdeps/s390/multiarch/ifunc-impl-list.c
5605 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5606 * sysdeps/s390/strstr-arch13.S: New file.
5607 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5608 if it is only used as fallback.
5609 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5610
96fbb9a3
SL
56112019-03-22 Stefan Liebler <stli@linux.ibm.com>
5612
5613 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5614 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5615 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5616 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5617 ifunc selector.
5618 * sysdeps/s390/multiarch/ifunc-impl-list.c
5619 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5620 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5621 S390_IS_ARCH13_MIE3): New defines.
5622
a899a551
SL
56232019-03-22 Stefan Liebler <stli@linux.ibm.com>
5624
5625 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5626 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5627 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5628 * sysdeps/s390/configure: Regenerated.
5629
1a7df49c
SL
56302019-03-22 Stefan Liebler <stli@linux.ibm.com>
5631
5632 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5633 Add vxe2, vxp, dflt, sort flags.
5634 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5635 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5636 capabilities.
5637 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5638 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5639 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5640 HWCAP_S390_DFLT): Define.
5641
5e67e4bf 56422019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
5643
5644 [BZ #24372]
5645 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5646 of compiler warning.
5647 * locale/programs/ld-collate.c (collate_output): Likewise.
5648
ac64195c
DD
56492019-03-21 DJ Delorie <dj@redhat.com>
5650
5651 [BZ #24372]
5652 * iconv/iconvconfig.c (write_output): Replace floating point math
5653 with integer math to avoid imprecise results.
5654 * locale/programs/ld-collate.c (collate_output): Likewise.
5655
61f5e947
SL
56562019-03-21 Stefan Liebler <stli@linux.ibm.com>
5657
5658 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5659 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5660
57ada43c 56612019-03-20 mansayk <6688000@gmail.com>
5662
5663 [BZ #24296]
5664 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5665 (abday): Likewise, but remove the trailing dots.
5666
a2e57f89
JM
56672019-03-19 Joseph Myers <joseph@codesourcery.com>
5668
5669 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5670 macro.
5671 (HWCAP_PACA): Likewise.
5672 (HWCAP_PACG): Likewise.
5673 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5674 Increase to 32.
5675 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5676
e87d8ada
ST
56772019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5678
5679 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5680 should be handled.
5681
477e739b
JM
56822019-03-15 Joseph Myers <joseph@codesourcery.com>
5683
5684 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5685 version to 5.0.
5686 (old_getpagesize): New syscall.
5687
238d60a1
FY
56882019-03-15 Felix Yan <felixonmars@archlinux.org>
5689
5690 [BZ #24293]
5691 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5692 * localedata/locales/cmn_TW (era): Likewise.
5693 * localedata/locales/hak_TW (era): Likewise.
5694 * localedata/locales/lzh_TW (era): Likewise.
5695 * localedata/locales/nan_TW (era): Likewise.
5696
5dde9ef7
DD
56972019-03-14 Adam Maris <amaris@redhat.com>
5698
5699 * malloc/malloc.c (_int_malloc): Check for large bin list
5700 corruption when inserting unsorted chunk.
5701
a0a0dc83
FW
57022019-03-14 Florian Weimer <fweimer@redhat.com>
5703
5704 Remove obsolete, never-implemented XSI STREAMS declarations.
5705 * manual/terminal.texi (Allocation): Remove portability note and
5706 adjust example.
5707 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5708 _SC_STREAMS.
5709 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5710 * sysdeps/unix/inet/Subdirs (streams): Remove.
5711 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5712 (conformtest-headers-UNIX98): Likewise.
5713 (conformtest-headers-XOPEN2K): Likewise.
5714 (conformtest-headers-POSIX2008): Likewise.
5715 * posix/compat-streams.c: New file.
5716 * posix/Makefile (routines): Add it.
5717 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5718 getpmsg, isastream, putmsg, putpmsg.
5719 (GLIBC_2.30): New section.
5720 * bits/stropts.h: Remove file.
5721 * bits/xtitypes.h: Likewise.
5722 * conform/data/stropts.h-data: Likewise.
5723 * include/stropts.h: Likewise.
5724 * include/sys/stropts.h: Likewise.
5725 * include/xtitypes.h: Likewise.
5726 * streams/Makefile: Likewise.
5727 * streams/fattach.c: Likewise.
5728 * streams/fdetach.c: Likewise.
5729 * streams/getmsg.c: Likewise.
5730 * streams/getpmsg.c: Likewise.
5731 * streams/isastream.c: Likewise.
5732 * streams/putmsg.c: Likewise.
5733 * streams/putpmsg.c: Likewise.
5734 * streams/stropts.h: Likewise.
5735 * streams/sys/stropts.h: Likewise.
5736 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5737 * sysdeps/s390/bits/xtitypes.h: Likewise.
5738 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5739 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5740 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5741 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5742 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5743 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5746 * sysdeps/x86/bits/xtitypes.h: Likewise.
5747
081bdf94
FW
57482019-03-14 Florian Weimer <fweimer@redhat.com>
5749
5750 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5751 libnss_files.
5752 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5753 but not with libnss_files.
5754 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5755
97f8225d
ZW
57562019-03-14 Zack Weinberg <zackw@panix.com>
5757
5758 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5759 Specify encoding="utf-8" when opening headers to check.
5760
0c1041ee
JM
57612019-03-13 Joseph Myers <joseph@codesourcery.com>
5762
5763 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5764 version to 5.0.
5765 (Context.checkout_tar): Handle variable major version for Linux
5766 kernel.
5767
043440e7
FW
57682019-03-13 Florian Weimer <fweimer@redhat.com>
5769
5770 [BZ #24047]
5771 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5772
29218b26
ZW
57732019-03-13 Zack Weinberg <zackw@panix.com>
5774
5775 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5776 Move to stdlib.
5777 * include/inttypes.h: Adjust to match.
5778 * include/stdint.h: New wrapper.
5779
711a322a
ZW
57802019-03-13 Zack Weinberg <zackw@panix.com>
5781
5782 * scripts/check-obsolete-constructs.py: New test script.
5783 * scripts/check-installed-headers.sh: Remove tests for
5784 obsolete typedefs, superseded by check-obsolete-constructs.py.
5785 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5786 as a special test. Update commentary.
5787 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5788 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5789 Update commentary.
5790 * posix/sys/types.h (__u_intN_t): Remove.
5791 (u_int8_t): Typedef using __uint8_t.
5792 (u_int16_t): Typedef using __uint16_t.
5793 (u_int32_t): Typedef using __uint32_t.
5794 (u_int64_t): Typedef using __uint64_t.
5795
7c651308
SL
57962019-03-13 Stefan Liebler <stli@linux.ibm.com>
5797
5798 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5799 call _dl_procinfo.
5800 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5801 Ignore types other than AT_HWCAP.
5802 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5803 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5804 Likewise.
5805 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5806 in the case of falling back to generic output mechanism.
5807 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5808 Likewise.
5809
38b52865
FW
58102019-03-12 Florian Weimer <fweimer@redhat.com>
5811
5812 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5813
08504de7
FW
58142019-03-12 Florian Weimer <fweimer@redhat.com>
5815
5816 [BZ #24047]
5817 resolv: Enable full ICMP errors for UDP DNS sockets
5818 * resolv/res_enable_icmp.c: New file.
5819 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5820 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5821 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5822 socket.
5823
5fbcd763
MH
58242019-03-11 Mao Han <han_mao@c-sky.com>
5825
5826 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5827 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5828
c4e5f34b
MH
58292019-03-11 Mao Han <han_mao@c-sky.com>
5830
5831 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5832 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5833 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5834
827e30f3
MH
58352019-03-11 Mao Han <han_mao@c-sky.com>
5836
5837 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5838 directly.
5839 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5840 definition.
5841
6229c9bf
MH
58422019-03-11 Mao Han <han_mao@c-sky.com>
5843
5844 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5845 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5846 in mcontext_t
5847
86bdd49d
MF
58482019-03-08 Mike FABIAN <mfabian@redhat.com>
5849
5850 [BZ #24307]
5851 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5852 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5853 Unicode 12.0.0.
5854 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5855 * localedata/unicode-gen/PropList.txt: Likewise.
5856 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5857 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5858 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5859 * localedata/charmaps/UTF-8: Regenerate.
5860 * localedata/locales/i18n_ctype: Likewise.
5861 * localedata/locales/tr_TR: Likewise.
5862 * localedata/locales/translit_circle: Likewise.
5863 * localedata/locales/translit_cjk_compat: Likewise.
5864 * localedata/locales/translit_combining: Likewise.
5865 * localedata/locales/translit_compat: Likewise.
5866 * localedata/locales/translit_font: Likewise.
5867 * localedata/locales/translit_fraction: Likewise.
5868
c5f65462
JM
58692019-03-07 Joseph Myers <joseph@codesourcery.com>
5870
5871 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5872 than after operators.
5873 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5874 (setitimer_locked): Likewise.
5875 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5876 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5877 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5878 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5879 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5880 (PPC_CPU_SUPPORTED): Likewise.
5881 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5882 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5883 (stat_overflow): Likewise.
5884 (statfs_overflow): Likewise.
5885 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5886 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5887 (eq_ttyname_r): Likewise.
5888 (run_chroot_tests): Likewise.
5889
27a2f2f3
FW
58902019-03-07 Florian Weimer <fweimer@redhat.com>
5891
5892 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5893 header check.
5894
ae514971 58952019-03-07 Martin Liska <mliska@suse.cz>
5896
5897 * math/Makefile: Change location where math-vector-fortran.h is
5898 installed.
5899 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5900 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5901 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5902 * scripts/check-installed-headers.sh: Skip Fortran header files.
5903 * scripts/check-wrapper-headers.py: Likewise.
5904
0ddb7ea8
AZ
59052019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5906
5907 * nptl/nptl-init.c (__have_futex_clock_realtime,
5908 __have_futex_clock_realtime): Remove definition.
5909 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5910 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5911 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5912 __ASSUME_FUTEX_CLOCK_REALTIME support.
5913 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5914 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5915 * sysdeps/unix/sysv/linux/kernel-features.h
5916 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5917 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5918 Adjust comment.
5919
590675c0
GG
59202019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5921
5922 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5923 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5924 __GI___wcscpy and wcscpy.
5925
de71ee7b
FW
59262019-03-04 Florian Weimer <fweimer@redhat.com>
5927
5928 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5929 declaration.
5930 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5931 defined.
5932
ce6ddae0
SL
59332019-03-04 Stefan Liebler <stli@linux.ibm.com>
5934
5935 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5937
31efface
TS
59382019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5939
5940 [BZ #24162]
5941 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5942 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5943
f0eaf862
GG
59442019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5945
5946 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5947 tests.
5948 (do_test): Likewise.
5949 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5950 (do_test_call_varg): Likewise.
5951 (do_test_call_rarg): Likewise.
5952 * sysdeps/ieee754/ldbl-opt/Makefile
5953 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5954 tst-nldbl-error.
5955 ($(objpfx)tst-nldbl-warn.c): New rule.
5956 ($(objpfx)tst-nldbl-error.c): Likewise.
5957 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5958 New variables.
5959
d11086a9
GG
59602019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5961
5962 [BZ #23984]
5963 * include/bits/error-ldbl.h: New file.
5964 * include/error.h: Include stdarg.h. Declare internal functions
5965 __error_internal and __error_at_line_internal.
5966 * misc/Makefile (headers): Add bits/error-ldbl.h.
5967 * misc/bits/error-ldbl.h: New file.
5968 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5969 avoid the inclusion of bits/error.h.
5970 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5971 and __nldbl_error_at_line.
5972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5973 (__nldbl_error, __ndlbl_error_at_line): New functions.
5974 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5975 Redirect error and error_at_line.
5976 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5978 Likewise.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5980 Likewise.
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5982 Likewise.
5983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5984 Likewise.
5985 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5986 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5987 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5988
90188e7d
GG
59892019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5990
5991 [BZ #23984]
5992 * include/bits/err-ldbl.h: New file.
5993 * include/err.h: Add prototypes for the internal functions:
5994 __vwarnx_internal and __vwarn_internal.
5995 * misc/Makefile (headers): Add bits/err-ldbl.h.
5996 * misc/bits/err-ldbl.h: New file.
5997 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5998 defined, i.e.: when -mlong-double-64 is in use.
5999 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
6000 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
6001 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
6002 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
6003 (VA_CALL): New macro.
6004 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
6005 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
6006 functions.
6007 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
6008 declare prototypes for the new functions.
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
ea2d89d0
GG
60222019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6023
6024 * sysdeps/ieee754/ldbl-opt/Makefile
6025 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
6026 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
6027 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
6028
6e1f6440
GG
60292019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6030
6031 [BZ #23983]
6032 * argp/Makefile (headers): Add bits/argp-ldbl.h.
6033 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
6034 * argp/bits/argp-ldbl.h: New file.
6035 * include/argp.h: Include stdarg.h. Add prototypes for internal
6036 functions: __argp_error_internal and __argp_failure_internal.
6037 * include/bits/argp-ldbl.h: New file.
6038 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
6039 __nldbl_argp_error and __nldbl_argp_failure.
6040 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
6041 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
6042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
6043 Redirect argp_error and argp_failure calls.
6044 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6046 Likewise.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6048 Likewise.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6050 Likewise.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6052 Likewise.
6053 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6054 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6055 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6056
c259196b
FW
60572019-03-01 Florian Weimer <fweimer@redhat.com>
6058
6059 [BZ #20419]
6060 * elf/tst-big-note-lib.S: Create a syntactically valid note.
6061 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
6062 code, to avoid creating an ABI tag note.
6063 (modules-names-nobuild): Add tst-big-note-lib.
6064
928b305d
SL
60652019-03-01 Stefan Liebler <stli@linux.ibm.com>
6066
6067 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
6068 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
6069
36f30c10
FW
60702019-03-01 Florian Weimer <fweimer@redhat.com>
6071
6072 [BZ #20271]
6073 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6074 (__netlink_assert_response): Add additional missing newlines.
6075
462e83a4
JM
60762019-02-28 Joseph Myers <joseph@codesourcery.com>
6077
6078 * sysdeps/powerpc/powerpc32/dl-machine.c
6079 (__elf_machine_fixup_plt): Use space before '('.
6080 (__process_machine_rela): Likewise.
6081 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
6082 Likewise.
6083 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
6084 Likewise.
6085 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
6086 Likewise.
6087 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
6088 (pattern): Likewise.
6089 (delta): Likewise.
6090 (check_result): Likewise.
6091 (check_excepts): Likewise.
6092 (check_op): Likewise.
6093 (fail_xr): Likewise.
6094 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
6095 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
6096 (SCNHSZ): Likewise.
6097 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
6098 Likewise.
6099 (ARGS): Likewise.
6100 (__makecontext): Likewise.
6101 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
6102 Likewise.
6103
cc3e573c
FW
61042019-02-28 Florian Weimer <fweimer@redhat.com>
6105
6106 [BZ #23937]
6107 elf: Add test with a local IFUNC resolver.
6108 * elf/ifuncmain9.c: New file.
6109 * elf/ifuncmain9pic.c: Likewise.
6110 * elf/ifuncmain9picstatic.c: Likewise.
6111 * elf/ifuncmain9pie.c: Likewise.
6112 * elf/ifuncmain9static.c: Likewise.
6113 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
6114 ifuncmain9static, ifuncmain9picstatic.
6115 * elf/Makefile [multi-arch && build-shared] (tests-internal):
6116 Add ifuncmain9, ifuncmain9pic.
6117 * elf/Makefile [multi-arch && build-shared && have-fpie]
6118 (ifunc-pie-tests): Add ifuncmain9pie.
6119 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6120 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6121 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6122
92ad88fe
L
61232019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6124
6125 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6126 * configure: Regenerated.
6127 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6128
6bd4d02e
AZ
61292019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6130
6131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6132 symbol as __wcspcy instead of wcscpy.
6133
1b218417
ST
61342019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6135
6136 * include/stdio.h (__renameat2): New hidden prototype.
6137 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6138 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6139 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6140 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6141
c4f50205
JM
61422019-02-27 Joseph Myers <joseph@codesourcery.com>
6143
f627dd4d
JM
6144 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6145 if statement.
6146
c4f50205
JM
6147 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6148 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6149 * benchtests/bench-strlen.c (do_test): Likewise.
6150 (test_main): Likewise.
6151 * catgets/gencat.c (read_old): Likewise.
6152 * elf/cache.c (load_aux_cache): Likewise.
6153 * iconvdata/bug-iconv8.c (do_test): Likewise.
6154 * math/test-tgmath-ret.c (do_test): Likewise.
6155 * nis/nis_call.c (rec_dirsearch): Likewise.
6156 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6157 * nptl/tst-audit-threads.c (do_test): Likewise.
6158 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6159 * nss/nss_test1.c (init): Likewise.
6160 * nss/test-netdb.c (test_hosts): Likewise.
6161 * posix/execvpe.c (maybe_script_execute): Likewise.
6162 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6163 * stdio-common/tst-printf.c (do_test): Likewise.
6164 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6165 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6166 * stdlib/qsort.c (STACK_SIZE): Likewise.
6167 * stdlib/test-canon.c (do_test): Likewise.
6168 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6169 * string/memcmp.c (OPSIZ): Likewise.
6170 * string/test-strcpy.c (do_test): Likewise.
6171 (do_random_tests): Likewise.
6172 * string/test-strlen.c (do_test): Likewise.
6173 (test_main): Likewise.
6174 * string/test-strrchr.c (do_test): Likewise.
6175 (do_random_tests): Likewise.
6176 * string/tester.c (test_memrchr): Likewise.
6177 (test_memchr): Likewise.
6178 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6179 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6180 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6181 (read_encoded_value_with_base): Likewise.
6182 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6183 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6184 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6185 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6186 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6187 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6188 Likewise.
6189 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6190 Likewise.
6191 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6192 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6193 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6194 Likewise.
6195 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6196 Likewise.
6197 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6198 Likewise.
6199 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6200 Likewise.
6201 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6202 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6203 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6204 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6205 * time/test_time.c (main): Likewise.
6206
7b3fb620
AZ
62072019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6208
457208b1
AZ
6209 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6210
30a7e208
AZ
6211 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6212 wmemcpy.
6213
ddf21ec7
AZ
6214 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6215 wmemcpy.
6216
4d801563
AZ
6217 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6218
81a14439
AZ
6219 * include/wchar.h (__wcscpy): New prototype.
6220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6221 (__wcscpy): Route internal symbol to generic implementation.
6222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6223 Add internal __wcscpy alias.
6224 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6225 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6226 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6227 * wcsmbs/wcscpy.c (wcscpy): Add
6228 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6229 use generic implementation.
6230 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6231
39ef0744
AZ
6232 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6233 wmemset.
6234
7b3fb620
AZ
6235 * sysdeps/m68k/wcpcpy.c: Remove file.
6236 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6237
e0cb7b61
JM
62382019-02-26 Joseph Myers <joseph@codesourcery.com>
6239
aa0e4663
JM
6240 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6241 than after operators.
6242 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6243 * sysdeps/mach/hurd/getcwd.c
6244 (__hurd_canonicalize_directory_name_internal): Likewise.
6245 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6246 (pthread_mutex_consistent): Likewise.
6247 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6248 Likewise.
6249 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6250 (__pthread_mutex_transfer_np): Likewise.
6251 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6252 (__pthread_mutex_unlock): Likewise.
6253 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6254 (mtx_owned_p): Likewise.
6255 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6256 (pthread_mutexattr_getrobust): Likewise.
6257 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6258 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6259 Likewise.
6260 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6261 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6262 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6263 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6264 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6265 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6267 Likewise.
6268 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6269 Likewise.
6270 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6271 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6272 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6273 (____longjmp_chk): Likewise.
6274 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6275 Likewise.
6276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6277 (INTERNAL_SYSCALL): Likewise.
6278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6279 (INTERNAL_SYSCALL): Likewise.
6280 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6281 (__get_clockfreq_via_cpuinfo): Likewise.
6282
e0cb7b61
JM
6283 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6284 comments.
6285 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6286 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6287 (WORD_COPY_BWD): Likewise.
6288 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6290 Likewise.
6291 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6292 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6293 comment.
6294 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6295
a04549c1
JM
62962019-02-25 Joseph Myers <joseph@codesourcery.com>
6297
6298 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6299 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6300 rather than after operators.
6301 * elf/cache.c (print_cache): Likewise.
6302 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6303 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6304 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6305 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6306 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6307 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6308 (reauth_proc): Likewise.
6309 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6310 (__file_name_split_at): Likewise.
6311 (__directory_name_split_at): Likewise.
6312 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6313 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6314 * iconv/gconv_dl.c (do_print): Likewise.
6315 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6316 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6317 * locale/setlocale.c (new_composite_name): Likewise.
6318 * malloc/memusagestat.c (main): Likewise.
6319 * misc/fstab.c (fstab_convert): Likewise.
6320 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6321 Likewise.
6322 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6323 (getgrent_next_file): Likewise.
6324 (internal_getgrnam_r): Likewise.
6325 (internal_getgrgid_r): Likewise.
6326 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6327 Likewise.
6328 (internal_getgrent_r): Likewise.
6329 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6330 (getpwent_next_nss): Likewise.
6331 (getpwent_next_file): Likewise.
6332 (internal_getpwnam_r): Likewise.
6333 (internal_getpwuid_r): Likewise.
6334 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6335 Likewise.
6336 (getspent_next_nss): Likewise.
6337 (internal_getspnam_r): Likewise.
6338 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6339 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6340 * string/strchr.c (STRCHR): Likewise.
6341 * string/strchrnul.c (STRCHRNUL): Likewise.
6342 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6343 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6344 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6345 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6346 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6347 Likewise.
6348 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6349 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6350 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6351 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6352 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6353 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6354 (open_file): Likewise.
6355 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6356 (pthread_mutexattr_setprotocol): Likewise.
6357 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6358 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6359 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6360 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6361 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6362 Likewise.
6363 (elf_machine_rela): Likewise.
6364 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6365 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6366 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6367 * sysdeps/posix/rename.c (rename): Likewise.
6368 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6369 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6370 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6371 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6372 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6373 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6374 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6375 Likewise.
6376 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6377 Likewise.
6378 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6379 * time/tzfile.c (__tzfile_compute): Likewise.
6380
34a5a146
JM
63812019-02-22 Joseph Myers <joseph@codesourcery.com>
6382
6383 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6384 rather than after operators.
6385 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6386 * crypt/md5.c (md5_finish_ctx): Likewise.
6387 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6388 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6389 * elf/cache.c (load_aux_cache): Likewise.
6390 * elf/dl-load.c (open_verify): Likewise.
6391 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6392 * elf/readelflib.c (process_elf_file): Likewise.
6393 * elf/rtld.c (dl_main): Likewise.
6394 * elf/sprof.c (generate_call_graph): Likewise.
6395 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6396 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6397 * hurd/dtable.c (reauth_dtable): Likewise.
6398 * hurd/getdport.c (__getdport): Likewise.
6399 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6400 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6401 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6402 Likewise.
6403 * hurd/hurdioctl.c (fioctl): Likewise.
6404 * hurd/hurdselect.c (_hurd_select): Likewise.
6405 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6406 (STOPSIGS): Likewise.
6407 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6408 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6409 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6410 * hurd/msgportdemux.c (msgport_server): Likewise.
6411 * hurd/setauth.c (_hurd_setauth): Likewise.
6412 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6413 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6414 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6415 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6416 * login/tst-utmp.c (do_check): Likewise.
6417 (simulate_login): Likewise.
6418 * mach/lowlevellock.h (lll_lock): Likewise.
6419 (lll_trylock): Likewise.
6420 * math/test-fenv.c (ALL_EXC): Likewise.
6421 * math/test-fenvinline.c (ALL_EXC): Likewise.
6422 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6423 * nis/nis_call.c (__do_niscall3): Likewise.
6424 * nis/nis_callback.c (cb_prog_1): Likewise.
6425 * nis/nis_defaults.c (searchaccess): Likewise.
6426 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6427 * nis/nis_ismember.c (internal_ismember): Likewise.
6428 * nis/nis_local_names.c (nis_local_principal): Likewise.
6429 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6430 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6431 Likewise.
6432 * nis/ypclnt.c (yp_match): Likewise.
6433 (yp_first): Likewise.
6434 (yp_next): Likewise.
6435 (yp_master): Likewise.
6436 (yp_order): Likewise.
6437 * nscd/hstcache.c (cache_addhst): Likewise.
6438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6439 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6440 (internal_getpwuid_r): Likewise.
6441 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6442 * posix/glob.h (__GLOB_FLAGS): Likewise.
6443 * posix/regcomp.c (peek_token): Likewise.
6444 (peek_token_bracket): Likewise.
6445 (parse_expression): Likewise.
6446 * posix/regexec.c (sift_states_iter_mb): Likewise.
6447 (check_node_accept_bytes): Likewise.
6448 * posix/tst-spawn3.c (do_test): Likewise.
6449 * posix/wordexp-test.c (testit): Likewise.
6450 * posix/wordexp.c (parse_tilde): Likewise.
6451 (exec_comm): Likewise.
6452 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6453 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6454 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6455 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6456 * stdio-common/tst-fileno.c (do_test): Likewise.
6457 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6458 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6459 * stdlib/strtod_l.c (round_and_return): Likewise.
6460 (____STRTOF_INTERNAL): Likewise.
6461 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6462 * string/strcspn.c (STRCSPN): Likewise.
6463 * string/test-memmem.c (simple_memmem): Likewise.
6464 * termios/tcsetattr.c (tcsetattr): Likewise.
6465 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6466 * time/asctime.c (asctime_internal): Likewise.
6467 * time/strptime_l.c (__strptime_internal): Likewise.
6468 * time/sys/time.h (timercmp): Likewise.
6469 * time/tzfile.c (__tzfile_compute): Likewise.
6470
b0b50fe0
PF
64712019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6472
b39d961c
TS
6473 [BZ #21915]
6474 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 6475
f43b8dd5
GG
64762019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6477
6478 * argp/argp-help.c (__argp_error_internal): New function,
6479 renamed from __argp_error, but that takes a 'mode_flags'
6480 parameter to control the format of long double parameters.
6481 (__argp_error): Converted into a call __argp_error_internal.
6482 (__argp_failure_internal): New function, renamed from
6483 __argp_failure, but that takes a 'mode_flags' parameter.
6484 (__argp_failure): Converted into a call __argp_failure_internal.
6485 * misc/err.c (__vwarnx_internal): New function, renamed from
6486 vwarnx, but that takes a 'mode_flags' parameter.
6487 (vwarnx): Converted into a call to __vwarnx_internal.
6488 (__vwarn_internal): New function, renamed from vwarn, but that
6489 takes a 'mode_flags' parameter.
6490 (vwarn): Converted into a call to __vwarn_internal.
6491 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6492 call to __vfxprintf with 'mode_flags'.
6493 (__error_internal): New function, renamed from error, but that
6494 takes a 'mode_flags' parameter.
6495 (error): Converted into a call to __error_internal.
6496 (__error_at_line_internal): New function, renamed from
6497 error_at_line, but that takes a 'mode_flags' parameter.
6498 (error_at_line): Converted into a call to
6499 __error_at_line_internal.
6500 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6501 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6502 Likewise.
6503
dc0afac3 65042019-02-20 Martin Liska <mliska@suse.cz>
6505
6506 * math/Makefile: Install math-vector-fortran.h.
6507 * bits/math-vector-fortran.h: New file.
6508 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6509
4a2dd41c
GG
65102019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6511
6512 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6513 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6514
04de9302
WS
65152019-02-19 Wolfram Sang <wsa@the-dreams.de>
6516
6517 * nptl/pthread_mutex_trylock.c: Fix comment.
6518
b026ce1e
CD
65192019-02-19 Carlos O'Donell <carlos@redhat.com>
6520
6521 * nptl/pthread_tryjoin.c: Fix comment.
6522
8c9289b6
JM
65232019-02-18 Joseph Myers <joseph@codesourcery.com>
6524
6525 [BZ #24231]
6526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6527 after R_SPARC_H34 case.
6528
308e022f
FW
65292019-02-18 Florian Weimer <fweimer@redhat.com>
6530
6531 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6532 (getanswer): Do not call Dprintf.
6533 (res_gethostbyname2_context): Likewise.
6534 (res_gethostbyaddr_context): Likewise.
6535
a5406364
FW
65362019-02-18 Florian Weimer <fweimer@redhat.com>
6537
6538 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6539 declaration.
6540 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6541 Remove definitions.
6542 * libio/stdfiles.c: Update comment.
6543 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6544 set _IO_stdin, _IO_stdout, _IO_stderr.
6545 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6546 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6547 inline function.
6548 (_IO_deallocate_file): New inline function.
6549 * libio/iolibio.h (_IO_vprintf): Remove definition.
6550 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6551 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6552 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6553 _IO_legacy_file.
6554 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6555 __builtin_expect. Use _IO_legacy_file.
6556
6c29942c
SL
65572019-02-18 Stefan Liebler <stli@linux.ibm.com>
6558
6559 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6560 Initialize ctid with a known value and remove update of ctid
6561 after clone.
6562 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6563 as assumed current value of ctid_ptr.
6564
225d9445 65652019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
6566
6567 Check that non-sysdeps headers have wrapper headers.
6568 * scripts/check-wrapper-headers.py: New file.
6569 * Makefile (tests-special): Add check-wrapper-headers.out.
6570 (check-wrapper-headers.out): New target.
6571 * Rules (tests-special): Add check-wrapper-headers.out.
6572 (check-wrapper-headers.out): New target.
6573
225d9445 65742019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
6575
6576 Add missing header wrappers under include/.
6577 * include/ar.h: New file.
6578 * include/bits/mqueue2.h: Likewise.
6579 * include/bits/stdio.h: Likewise.
6580 * include/bits/stdio2.h: Likewise.
6581 * include/fstab.h: Likewise.
6582 * include/fts.h: Likewise.
6583 * include/lastlog.h: Likewise.
6584 * include/netinet/icmp6.h: Likewise.
6585 * include/netinet/igmp.h: Likewise.
6586 * include/netinet/ip6.h: Likewise.
6587 * include/re_comp.h: Likewise.
6588 * include/regexp.h: Likewise.
6589 * include/rpcsvc/bootparam.h: Likewise.
6590 * include/rpcsvc/yp_prot.h: Likewise.
6591 * include/sys/random.h: Likewise.
6592 * include/sys/stropts.h: Likewise.
6593 * include/sys/ttychars.h: Likewise.
6594 * include/sys/vfs.h: Likewise.
6595 * include/wait.h: Likewise.
6596
225d9445 65972019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
6598
6599 * nptl_db/proc_service.h: Move to ...
6600 * sysdeps/nptl/proc_service.h: ... here.
6601 * nptl_db/thread_db.h: Move to ...
6602 * sysdeps/nptl/thread_db.h: ... here.
6603 * nptl/descr.h: Include <thread_db.h>.
6604
e442e40d
AZ
66052019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6606
6607 * io/Makefile (tests): Add tst-lockf.
6608 * io/lockf.c (lockf): Use __fcntl and only define for
6609 !__OFF_T_MATCHES_OFF64_T.
6610 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6611 __OFF_T_MATCHES_OFF64_T case.
6612 * io/tst-lockf.c: New file.
6613 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6614 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6615 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6616 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6617 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6619 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6620 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6621 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6622
bc10e22c
FW
66232019-02-15 Florian Weimer <fweimer@redhat.com>
6624
6625 [BZ #24211]
6626 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6627 pd->result after the thread descriptor has been freed.
6628
365f05c7
JM
66292019-02-15 Joseph Myers <joseph@codesourcery.com>
6630
8a11f970
JM
6631 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6632 from function return type.
6633
365f05c7
JM
6634 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6635
6b5c8607 66362019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
6637
6638 * scripts/test_printers_common.py: Set TERM to a known harmless
6639 value.
6640
712182c8
JM
66412019-02-14 Joseph Myers <joseph@codesourcery.com>
6642
6643 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6644 (xdr_u_int): Likewise.
6645 (xdr_enum): Likewise.
6646 (xdr_bytes): Reword fall-through comment.
6647 (xdr_string): Likewise.
6648
eb76e5b4
AZ
66492019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6650
6651 [BZ #2421]
6652 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6653 (tests): Add tst-join8 tst-join9.
6654 * nptl/lll_timedwait_tid.c: Remove file.
6655 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6656 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6657 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6658 * nptl/pthread_join_common.c (timedwait_tid): New function.
6659 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6660 is set.
6661 * nptl/tst-join5.c (thread_join): New function.
6662 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6663 check.
6664 * nptl/tst-join8.c: New file.
6665 * nptl/tst-join9.c: Likewise.
6666 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6667 lll_futex_timed_wait_cancel): Add generic macros.
6668 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6669 Remove definitions.
6670 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6671 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6672 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6673 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6674 Remove function.
6675 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6676 Likewise.
6677 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6678 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6679 (lll_futex_timed_wait_cancel): New macro.
6680
3904fd85
WD
66812019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6682
6683 * benchtests/Makefile: Add malloc-simple benchmark.
6684 * benchtests/bench-malloc-simple.c: New benchmark.
6685
24ca04fe
SP
66862019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6687
6688 * benchtests/bench-memmove.c (do_one_test): Remove unused
6689 ORIG_SRC.
6690 (do_test): Adjust.
6691 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6692 ORIG_SRC.
6693 (do_test): Adjust.
6694
85bd1ddb
JW
66952019-01-13 Jim Wilson <jimw@sifive.com>
6696
6697 [BZ #24040]
6698 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6699 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6700 (func): New.
6701 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6702 call func directly.
6703 * nptl/Makefile (tests): Add tst-unwind-thread.
6704 (CFLAGS-tst-unwind-thread.c): Define.
6705 * nptl/tst-unwind-thread.c: New file.
6706 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6707 as undefined.
6708
86140c62
JM
67092019-02-13 Joseph Myers <joseph@codesourcery.com>
6710
10756268
JM
6711 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6712 comment wording.
6713 * nis/nis_call.c (__do_niscall3): Likewise.
6714
05383720
JM
6715 * catgets/gencat.c (normalize_line): Use braces around empty
6716 'else' body.
6717 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6718 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6719 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6720 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6721 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6722 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6723 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6724 definition.
6725
86140c62
JM
6726 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6727 execlp returns.
6728
16f87cfd
WD
67292019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6730
6731 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6732 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6733 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6734 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6735 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6736 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6737 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6738 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6739 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6740 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6741 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6742 * benchtests/bench-bcopy.c: Delete file.
6743 * benchtests/bench-bzero.c: Likewise.
6744 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6745 (simple_memccpy): Remove.
6746 (generic_memccpy): Add function.
6747 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6748 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6749 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6750 (generic_mempcpy): Add new function.
6751 * benchtests/bench-memset.c (simple_bzero): Remove.
6752 (builtin_bzero): Remove.
6753 (builtin_memset): Remove.
6754 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6755 (generic_rawmemchr): Add new function.
6756
0c6d82e9
FW
67572019-02-12 Florian Weimer <fweimer@redhat.com>
6758
6759 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6760
b3fbfe81
AZ
67612019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6762
6763 [BZ #24122]
6764 * elf/Makefile (tests): Add tst-audit13.
6765 (modules-names): Add tst-audit13mod1.
6766 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6767 rule.
6768 * elf/tst-audit13.c: New file.
6769 * elf/tst-audit13mod1.c: Likewise.
6770
3b856d09
FW
67712019-02-12 Florian Weimer <fweimer@redhat.com>
6772
6773 [BZ #24122]
6774 * elf/rtld.c (unload_audit_module): New function.
6775 (report_audit_module_load_error): Likewise.
6776 (load_audit_module): Likewise. Extracted from dl_main. Call
6777 _dl_close if the laversion symbol cannot be found. Use early
6778 returns for error handling. Add malloc error check. Check for a
6779 zero return value from la_version. Remove spurious comment about
6780 static TLS initialization. Remove useless casts.
6781 (notify_audit_modules_of_loaded_object): New function. Extracted
6782 from dl_main.
6783 (load_audit_module): Likewise.
6784 (dl_main): Call load_audit_modules.
6785
32db86d5
JM
67862019-02-12 Joseph Myers <joseph@codesourcery.com>
6787
6788 * elf/dl-exception.c (_dl_exception_create_format): Add
6789 fall-through comments.
6790 * elf/ldconfig.c (parse_conf_include): Likewise.
6791 * elf/rtld.c (print_statistics): Likewise.
6792 * locale/programs/charmap.c (parse_charmap): Likewise.
6793 * misc/mntent_r.c (__getmntent_r): Likewise.
6794 * posix/wordexp.c (parse_arith): Likewise.
6795 (parse_backtick): Likewise.
6796 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6797 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6799
a51bc4fe
PC
68002019-02-11 Paul A. Clarke <pc@us.ibm.com>
6801
6802 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6803 Use float instead of double.
6804
fb25b135
TS
68052019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6806
6807 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6808
32ea7299
JM
68092019-02-08 Joseph Myers <joseph@codesourcery.com>
6810
6811 * sysdeps/powerpc/bits/mathinline.h: Remove.
6812
eef4d4f8
FW
68132019-02-08 Florian Weimer <fweimer@redhat.com>
6814
6815 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6816 * math/bits/math-finite.h: Move to ...
6817 * bits/math-finite.h: ... here.
6818
fdfbd47d
FW
68192019-02-08 Florian Weimer <fweimer@redhat.com>
6820
6821 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6822 * bits/unistd_ext.h: here.
6823
11eb21c4
PF
68242019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6825
6826 [BZ #21915]
6827 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6828 * nss/tst-nss-files-hosts-long.c: New file.
6829 * nss/tst-nss-files-hosts-long.root: New directory.
6830 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6831 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6832
e47d82c9
FW
68332019-02-08 Florian Weimer <fweimer@redhat.com>
6834
6835 * include/bits/unistd_ext.h: Remove file.
6836 * posix/bits/unistd_ext.h: Move to ...
6837 * sysdeps/generic/bits/unistd_ext.h: ... here.
6838
8f89ab21
FW
68392019-02-08 Florian Weimer <fweimer@redhat.com>
6840
6841 * include/bits/unistd_ext.h: New file.
6842
144a794e
TS
68432019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6844
6845 * time/tst-strftime2.c: Use array_length macros instead of magic
6846 numbers.
6847
669ff911
FW
68482019-02-08 Florian Weimer <fweimer@redhat.com>
6849
6850 [BZ #24161]
6851 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6852 argument.
6853 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6854 locking if the new do_locking argument is true.
6855 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6856 __run_fork_handlers.
6857
d0bd87d4 68582019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
6859
6860 [BZ #6399]
6861 Linux: Add gettid system call wrapper.
6862 * posix/Makefile (headers): Add bits/unistd_ext.h.
6863 * posix/bits/unistd_ext.h: New file.
6864 * posix/unistd.h: Include it.
6865 * manual/process.texi (Process Identification): Document gettid.
6866 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6867 tst-gettid, tst-gettid-kill.
6868 (tst-gettid): Link with $(shared-thread-library).
6869 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6870 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6871 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6872 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6873 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6874 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6875 Add gettid.
6876 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6877 Likewise.
6878 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6879 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6880 Likewise.
6881 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6882 Likewise.
6883 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6884 Likewise.
6885 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6886 Likewise.
6887 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6888 Likewise.
6889 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6890 Likewise.
6891 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6892 Likewise.
6893 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6894 (GLIBC_2.30): Likewise.
6895 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6896 (GLIBC_2.30): Likewise.
6897 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6898 (GLIBC_2.30): Likewise.
6899 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6900 (GLIBC_2.30): Likewise.
6901 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6902 Likewise.
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6904 (GLIBC_2.30): Likewise.
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6906 (GLIBC_2.30): Likewise.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6908 (GLIBC_2.30): Likewise.
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6910 (GLIBC_2.30): Likewise.
6911 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6912 Likewise.
6913 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6914 Likewise.
6915 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6916 Likewise.
6917 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6919 Likewise.
6920 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6921 Likewise.
6922 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6923 Likewise.
6924 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6925 Likewise.
6926 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6927
225d9445 69282019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
6929
6930 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6931 compatibility symbols.
6932
823624bd
SL
69332019-02-07 Stefan Liebler <stli@linux.ibm.com>
6934
6935 [BZ #24180]
6936 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6937 Add compiler barriers and comments.
6938
8311c83f
FW
69392019-02-07 Florian Weimer <fweimer@redhat.com>
6940
6941 * include/array_length.h (array_length): Do not use a statement
6942 expression and _Static_assert, so that array_length can be used at
6943 file scope and as a constant expression.
6944
94b63e66
FW
69452019-02-07 Florian Weimer <fweimer@redhat.com>
6946
6947 * support/xdlfcn.h (xdlmopen): Declare.
6948 * support/xdlmopen.c: New file.
6949 * support/Makefile (libsupport-routines): Add xdlmopen.
6950
c2d8f0b7
JM
69512019-02-06 Joseph Myers <joseph@codesourcery.com>
6952
6953 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6954 before return type, without separate inline.
6955 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6956 * elf/dl-tunables.h (tunable_is_name): Likewise.
6957 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6958 (do_set_top_pad): Likewise.
6959 (do_set_mmap_threshold): Likewise.
6960 (do_set_mmaps_max): Likewise.
6961 (do_set_mallopt_check): Likewise.
6962 (do_set_perturb_byte): Likewise.
6963 (do_set_arena_test): Likewise.
6964 (do_set_arena_max): Likewise.
6965 (do_set_tcache_max): Likewise.
6966 (do_set_tcache_count): Likewise.
6967 (do_set_tcache_unsorted_limit): Likewise.
6968 * nis/nis_subr.c (count_dots): Likewise.
6969 * nptl/allocatestack.c (advise_stack_range): Likewise.
6970 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6971 (do_sin): Likewise.
6972 (reduce_sincos): Likewise.
6973 (do_sincos): Likewise.
6974 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6975 (do_set_elision_enable): Likewise.
6976 (TUNABLE_CALLBACK_FNDECL): Likewise.
6977
3b935595
FW
69782019-02-06 Florian Weimer <fweimer@redhat.com>
6979
6980 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6981 (xdlsym): Use dlerror to detect a NULL symbol.
6982
b4333340
FW
69832019-02-06 Florian Weimer <fweimer@redhat.com>
6984
6985 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6986 <stap-probe.h>.
6987 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6988
b6d8a999
SL
69892019-02-06 Stefan Liebler <stli@linux.ibm.com>
6990
6991 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6992
94eeeec0
SL
69932019-02-06 Stefan Liebler <stli@linux.ibm.com>
6994
6995 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6996 __wmemcmp and weak alias to wmemcmp.
6997
bc79db3f
SL
69982019-02-06 Stefan Liebler <stli@linux.ibm.com>
6999
7000 [BZ #23403]
7001 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
7002 TLS_TCB_AT_TP tls variant.
7003 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
7004 Add alignment checks.
7005 * support/Makefile (libsupport-routines): Add xposix_memalign and
7006 xpthread_setstack.
7007 * support/support.h: Add xposix_memalign.
7008 * support/xthread.h: Add xpthread_attr_setstack.
7009 * support/xposix_memalign.c: New File.
7010 * support/xpthread_attr_setstack.c: Likewise.
7011
f1ac7455
FW
70122019-02-05 Florian Weimer <fweimer@redhat.com>
7013
7014 [BZ #24164]
7015 arm: Use "nr" constraint for Systemtap probes, to avoid the
7016 compiler using memory operands for constants, due to the "o"
7017 alternative in the default "nor" constraint.
7018 * include/stap-probe.h [USE_STAP_PROBE]: Include
7019 <stap-probe-machine.h>
7020 * sysdeps/generic/stap-probe-machine.h: New file.
7021 * sysdeps/arm/stap-probe-machine.h: Likewise.
7022
7a0dcfc6
JM
70232019-02-04 Joseph Myers <joseph@codesourcery.com>
7024
77dc0d86
JM
7025 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
7026 with 0, not tcache->entries[tc_idx].
7027
7a0dcfc6
JM
7028 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
7029 once.
7030
65f7767a
AS
70312019-02-04 Andreas Schwab <schwab@suse.de>
7032
7033 [BZ #16976]
7034 [BZ #17396]
7035 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
7036 looking up collating elements match against (wide) character
7037 sequence instead of name. Correct alignment adjustment.
7038 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
7039 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
7040 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
7041 (LOCALES): Add cs_CZ.ISO-8859-2.
7042 * posix/tst-fnmatch4.c: New file.
7043 * posix/tst-fnmatch5.c: New file.
7044 * include/wchar.h (__wmemcmp): Declare.
7045 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
7046 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7047 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
7048 * sysdeps/s390/wmemcmp.c: Likewise.
7049
3f635fb4
L
70502019-02-04 H.J. Lu <hongjiu.lu@intel.com>
7051
7052 [BZ #24155]
7053 CVE-2019-7309
7054 * NEWS: Updated for CVE-2019-7309.
7055 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7056 upper 32 bits of RDX register for x32. Use unsigned Jcc
7057 instructions, instead of signed.
7058 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
7059 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
7060
2ab5741b
FW
70612019-02-04 Florian Weimer <fweimer@redhat.com>
7062
7063 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
7064 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
7065 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
7066 Likewise.
7067 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
7068 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
7069 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
7070 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
7071 Likewise.
7072 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
7073 Likewise.
7074 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
7075 Likewise.
7076 (posix_spawn_file_actions_addopen): Likewise.
7077 (posix_spawn_file_actions_addclose): Likewise.
7078 (posix_spawn_file_actions_adddup2): Likewise.
7079 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
7080 qualifiers.
7081 (posix_spawn_file_actions_addfchdir_np): Likewise.
7082
8692ebdb
DN
70832019-02-04 David Newall <glibc@davidnewall.com>
7084
7085 elf: Implement --preload option for the dynamic linker.
7086 * elf/rtld.c (preloadarg): New variable.
7087 (handle_preload_list): Pass through “where” argument to
7088 do_preload.
7089 (dl_main): Handle "--preload" and add second call to
7090 handle_preload_list.
7091 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
7092 (tst-rtld-preload-OBJS): Set variable.
7093 (tst-rtld-preload.out): New target.
7094 * elf/tst-rtld-preload.sh: New file.
7095
5e10136b
MM
70962019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
7097
7098 * Makefile (testrun.sh): Exit in case of incorrect argument.
7099
221baae0
FW
71002019-02-04 Florian Weimer <fweimer@redhat.com>
7101
7102 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
7103 alignment gaps.
7104
b8c72381
FW
71052019-02-03 Florian Weimer <fweimer@redhat.com>
7106
7107 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
7108 implicit overflow checks.
7109
11f382ee
AJ
71102019-02-03 Aurelien Jarno <aurelien@aurel32.net>
7111
7112 * stdlib/isomac.c: Include <unistd.h>.
7113
77c7d55e
FW
71142019-02-03 Florian Weimer <fweimer@redhat.com>
7115
7116 * include/time.h (__tzfile_default): Use int, not long int, for
7117 the GMT offsets.
7118 * time/tzfile.c (struct ttinfo): Change type of the offset member
7119 to int.
7120 (__tzfile_read): Remove useless cast.
7121 (__tzfile_default): Adjust prototype.
7122 * time/tzset.c (tz_rule): Change type of the offset member to int.
7123 (parse_offset): Change the type of the sign variable to int.
7124
ee9941f9
FW
71252019-02-03 Florian Weimer <fweimer@redhat.com>
7126
7127 [BZ #24153]
7128 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7129 * libio/getchar.c (getchar): Likewise.
7130 * libio/getchar_u.c (getchar_unlocked): Likewise.
7131 * libio/getwchar.c (getwchar): Likewise.
7132 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7133 * libio/iogets.c (_IO_gets): Likewise.
7134 * libio/vscanf.c (_IO_vscanf): Likewise.
7135 * libio/vwscanf.c (__vwscanf): Likewise.
7136 * libio/tst-bz24153.c: New file.
7137 * libio/Makefile (tests): Add it.
7138
c70824b9
FW
71392019-02-02 Florian Weimer <fweimer@redhat.com>
7140
7141 [BZ #14829]
7142 * manual/resource.texi (Basic Scheduling Functions): Add
7143 portability note. Change process to task throughout the section.
7144 Remove incorrect comment about sched_yield as it affects
7145 tasks/threads, not entire processes.
7146 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7147 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7148
4dcbbc3b
JM
71492019-02-01 Joseph Myers <joseph@codesourcery.com>
7150
7151 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7152 * configure: Regenerated.
7153 * manual/install.texi (Tools for Compilation): Update minimum GCC
7154 version.
7155 * INSTALL: Regenerated.
7156
6175507c
FW
71572019-02-01 Florian Weimer <fweimer@redhat.com>
7158
7159 * support/support_test_compare_string.c
7160 (support_test_compare_string): Use "string" in error message.
7161 * support/tst-test_compare_string.c (do_test): Adjust.
7162
baef1943
FW
71632019-02-01 Florian Weimer <fweimer@redhat.com>
7164
7165 * support/support_format_address_family.c
7166 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7167
395599f0
FW
71682019-02-01 Florian Weimer <fweimer@redhat.com>
7169
7170 * manual/socket.texi (Internet Address Formats): Clarify the byte
7171 order of struct sockaddr_in, struct sockaddr_in6. Document
7172 sin6_flowinfo and sin6_scope_id.
7173
b06f4c00
WD
71742019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7175
7176 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7177 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7178 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7179 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7180 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7181 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7182
83d1cc42
FX
71832019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7184
7185 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7186 [!MEMCHR](MEMCHR): Set to __memchr.
7187 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7188 Add memchr_generic and memchr_nosimd.
7189 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7190 (__libc_ifunc_impl_list): Add memchr ifuncs.
7191 * sysdeps/aarch64/multiarch/memchr.c: New file.
7192 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7193 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7194
c7d3890f
FX
71952019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7196
7197 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7198 Add memset_emag.
7199 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7200 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7201 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7202 Add IS_EMAG check for ifunc dispatch.
7203 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7204 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7205
07c3d1ec
FX
72062019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7207
7208 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7209 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7210 Add emag.
7211 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7212 New macro.
7213
114f792e
SL
72142019-02-01 Stefan Liebler <stli@linux.ibm.com>
7215
7216 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7217
d5627550
VG
72182019-01-31 Vineet Gupta <vgupta@synopsys.com>
7219
7220 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7221 syscall-template file.
7222
5fc9ed4c
CD
72232019-01-31 Carlos O'Donell <carlos@redhat.com>
7224 Torvald Riegel <triegel@redhat.com>
7225 Rik Prohaska <prohaska7@gmail.com>
7226
7227 [BZ# 23844]
7228 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7229 tst-rwlock-trywrlock-stall.
7230 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7231 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7232 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7233 Set __wrphase_fute to 1 only if we started the write phase.
7234 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7235 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7236 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7237 * support/xpthread_rwlock_destroy.c: New file.
7238 * support/xthread.h: Declare xpthread_rwlock_destroy.
7239
932329a5
JM
72402019-02-01 Joseph Myers <joseph@codesourcery.com>
7241
7242 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7243 version to 4.0.2.
7244
5f10701f
PP
72452019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7246
7247 [BZ #24051]
7248 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7249 * libio/fileops.c (_IO_new_file_underflow): Likewise
7250 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7251 * libio/putchar.c (putchar): Likewise.
7252 * libio/putchar_u.c (putchar_unlocked): Likewise.
7253 * libio/putwchar.c (putchar): Likewise.
7254 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7255 * libio/tst-bz24051.c: New test.
7256 * libio/Makefile (tests): Add tst-bz24051
7257
583dd860
PE
72582019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7259
b626c5aa 7260 CVE-2019-9169
583dd860
PE
7261 regex: fix read overrun [BZ #24114]
7262 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7263 https://debbugs.gnu.org/34140
7264 * posix/regexec.c (proceed_next_node):
7265 Do not read past end of input buffer.
7266
2bac7daa
FW
72672019-01-31 Florian Weimer <fweimer@redhat.com>
7268
7269 [BZ #24059]
7270 * nss/nss_files/files-alias.c (get_next_alias): Handle
7271 continuation line without newline at the end.
7272 * nss/tst-nss-files-alias-truncated.c: New file.
7273 * nss/Makefile [$(build-shared)] (tests): Add
7274 tst-nss-files-alias-truncated.
7275 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7276 * support/namespace.h (struct support_chroot_configuration): Add
7277 aliases member.
7278 (struct support_chroot): Add path_aliases member.
7279 * support/support_chroot.c (support_chroot_create): Handle
7280 aliases.
7281 (support_chroot_free): Free path_aliases.
7282
330c9d0d
SP
72832019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7284
de44ab67
SP
7285 * version.h (RELEASE): Set to "development".
7286 (VERSION): Set to "2.29.9000".
7287 * NEWS: Add section for 2.30.
7288
56c86f5d
SP
7289 * version.h (RELEASE): Set to "stable".
7290 (VERSION): Set to "2.29".
7291 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7292
330c9d0d
SP
7293 * NEWS: Add the list of bugs fixed in 2.29.
7294 * manual/contrib.texi: Update contributors list with some more
7295 names.
7296 * manual/install.texi: Update latest versions of packages
7297 tested.
7298 * INSTALL: Regenerated.
7299
e1e47c91
SP
73002019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7301
7302 * po/be.po: Update translations.
7303 * po/bg.po: Likewise.
7304 * po/ca.po: Likewise.
7305 * po/cs.po: Likewise.
7306 * po/da.po: Likewise.
7307 * po/de.po: Likewise.
7308 * po/el.po: Likewise.
7309 * po/eo.po: Likewise.
7310 * po/es.po: Likewise.
7311 * po/fi.po: Likewise.
7312 * po/fr.po: Likewise.
7313 * po/gl.po: Likewise.
7314 * po/hr.po: Likewise.
7315 * po/hu.po: Likewise.
7316 * po/ia.po: Likewise.
7317 * po/id.po: Likewise.
7318 * po/it.po: Likewise.
7319 * po/ja.po: Likewise.
7320 * po/ko.po: Likewise.
7321 * po/lt.po: Likewise.
7322 * po/nb.po: Likewise.
7323 * po/nl.po: Likewise.
7324 * po/pl.po: Likewise.
7325 * po/pt_BR.po: Likewise.
7326 * po/ru.po: Likewise.
7327 * po/rw.po: Likewise.
7328 * po/sk.po: Likewise.
7329 * po/sl.po: Likewise.
7330 * po/sv.po: Likewise.
7331 * po/tr.po: Likewise.
7332 * po/uk.po: Likewise.
7333 * po/vi.po: Likewise.
7334 * po/zh_CN.po: Likewise.
7335 * po/zh_TW.po: Likewise.
7336
8d016826
UB
73372019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7338
7339 [BZ #24130]
7340 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7341 of $f3 register on $y_is_neg path.
7342
a0bb5abd
ST
73432019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7344
b96e22d0 7345 [BZ #24110]
a0bb5abd
ST
7346 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7347 sigaltstack.ss_flags.
7348
b22eed37
TS
73492019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7350
7351 [BZ #23758]
7352 * manual/time.texi (strftime): Document "%Ey".
7353 * time/strftime_l.c (__strftime_internal): Set the default width
7354 padding with zero of "%Ey" to 2.
7355
32f600a2
TS
7356 [BZ #24096]
7357 * manual/time.texi (strftime): Document "%EC" and "%EY".
7358 * time/Makefile (tests): Add tst-strftime2.
7359 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7360 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7361 override padding for "%Ey".
7362 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7363 "%Ey" in the subformat as if decorated with that flag.
7364 * time/tst-strftime2.c: New file.
7365
8e889c5d
AZ
73662019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7367
3367acdb
AZ
7368 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7369 are not defined.
7370
8e889c5d
AZ
7371 [BZ #24122]
7372 * elf/Makefile (tests): Add tst-audit13.
7373 (modules-names): Add tst-audit13mod1.
7374 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7375 rule.
7376 * elf/rtld.c (dl_main): Handle invalid audit module version.
7377 * elf/tst-audit13.c: New file.
7378 * elf/tst-audit13mod1.c: Likewise.
7379
a95dc01c
ST
73802019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7381
7382 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7383 returned by __hurd_at_flags.
ee4d7902
ST
7384 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7385 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7386 directly instead of __hurd_file_name_lookup.
a95dc01c 7387
712f1167
JM
73882019-01-21 Joseph Myers <joseph@codesourcery.com>
7389
7390 * scripts/build-many-glibcs.py (Context.checkout): Default
7391 binutils version to 2.32 branch.
7392
108bc404
FW
73932019-01-21 Florian Weimer <fweimer@redhat.com>
7394
7395 [BZ #20018]
7396 CVE-2016-10739
7397 resolv: Reject trailing characters in host names
7398 * include/arpa/inet.h (__inet_aton_exact): Declare.
7399 (inet_aton): Remove hidden prototype. No longer used internally.
7400 * nscd/gai.c (__inet_aton): Do not define.
7401 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7402 * nss/digits_dots.c (__inet_aton): Likewise.
7403 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7404 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7405 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7406 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7407 (tst-resolv-trailing): Likewise.
7408 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7409 libc.
7410 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7411 Make static. Add endp parameter.
7412 (__inet_aton_exact): New function.
7413 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7414 (__inet_addr): Call inet_aton_end.
7415 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7416 not just IPv6. Call __inet_aton_exact.
7417 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7418 (tests): Make const. Add additional test cases with trailing
7419 characters.
7420 (do_test): Use array_length.
7421 * resolv/tst-inet_aton_exact.c: New file.
7422 * resolv/tst-resolv-trailing.c: Likewise.
7423 * resolv/tst-resolv-nondecimal.c: Likewise.
7424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7425
5165de69
L
74262019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 [BZ# 24097]
7429 CVE-2019-6488
7430 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7431 Clear the upper 32 bits of RSI register.
7432 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7433 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7434 and tst-size_t-wcsnlen.
7435 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7436 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7437
c7c54f65
L
74382019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7439
7440 [BZ# 24097]
7441 CVE-2019-6488
7442 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7444 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7445 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7446 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7447
ee915088
L
74482019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7449
7450 [BZ# 24097]
7451 CVE-2019-6488
7452 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7454 * sysdeps/x86_64/strcmp.S: Likewise.
7455 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7456 tst-size_t-strncmp and tst-size_t-wcsncmp.
7457 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7458 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7459 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7460
82d0b4a4
L
74612019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 [BZ# 24097]
7464 CVE-2019-6488
7465 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7466 RDX_LP for length. Clear the upper 32 bits of RDX register.
7467 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7468 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7469 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7470 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7471
ecd8b842
L
74722019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7473
7474 [BZ# 24097]
7475 CVE-2019-6488
7476 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7477 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7478 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7479 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7480
231c5676
L
74812019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7482
7483 [BZ# 24097]
7484 CVE-2019-6488
7485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7486 length. Clear the upper 32 bits of RDX register.
7487 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7488 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7489 Likewise.
7490 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7491 Likewise.
7492 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7493 tst-size_t-wmemchr.
7494 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7495
b304fc20
L
74962019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7497
7498 [BZ# 24097]
7499 CVE-2019-6488
7500 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7501 length. Clear the upper 32 bits of RDX register.
7502 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7503 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7504 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7505 tst-size_t-wmemcmp.
7506 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7507 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7508
97700a34
L
75092019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7510
7511 [BZ# 24097]
7512 CVE-2019-6488
7513 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7514 upper 32 bits of RDX register.
7515 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7516 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7517 tst-size_t-wmemchr.
7518 * sysdeps/x86_64/x32/test-size_t.h: New file.
7519 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7520 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7521
6ca53a24
FW
75222019-01-18 Florian Weimer <fweimer@redhat.com>
7523
7524 [BZ #24112]
7525 resolv: Do not send queries for non-host-names in nss_dns.
7526 * resolv/nss_dns/dns-host.c (check_name): New function.
7527 (_nss_dns_gethostbyname2_r): Use it.
7528 (_nss_dns_gethostbyname_r): Likewise.
7529 (_nss_dns_gethostbyname4_r): Likewise.
7530
5e30b8ef
FW
75312019-01-21 Florian Weimer <fweimer@redhat.com>
7532
7533 * resolv/inet_addr.c: Reformat to GNU style.
7534 (__inet_addr, __inet_aton): Update comment.
7535
71effcea
FW
75362019-01-18 Florian Weimer <fweimer@redhat.com>
7537
7538 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7539 ("malloc: Use current (C11-style) atomics for fastbin access").
7540 This commit introduces a substantial performance regression on
7541 POWER and Aarch64.
7542 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7543 (REMOVE_FB): Define.
7544 (_int_malloc): Use it and reindent.
7545 (_int_free): Use CAS loop with
7546 catomic_compare_and_exchange_val_rel.
7547 (malloc_consolidate): Use atomic_exchange_acq.
7548
7549
562f4362
L
75502019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7551
7552 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7553 -Wl,-z,now.
7554 (LDFLAGS-tst-minsigstksz-2): Likewise.
7555 (LDFLAGS-tst-minsigstksz-3): Likewise.
7556 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7557 (LDFLAGS-tst-minsigstksz-4): Likewise.
7558
80dfa298
TS
75592019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7560
7561 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7562 than "alternate".
7563
008b598e
PC
75642019-01-16 Paul A. Clarke <pc@us.ibm.com>
7565
7566 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7567
fbbc9a4e
ZW
75682019-01-16 Zack Weinberg <zackw@panix.com>
7569
6b5c8607
TS
7570 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7571 (xget_sigstack_location): New test support functions.
7572 * support/xsigstack.c: New file, implementing them.
7573 * support/tst-xsigstack.c: New test for them.
7574 * support/Makefile: Update.
fbbc9a4e 7575
6b5c8607
TS
7576 * signal/tst-minsigstksz-1.c
7577 * signal/tst-minsigstksz-2.c
7578 * signal/tst-minsigstksz-3.c
7579 * signal/tst-minsigstksz-3a.c
7580 * signal/tst-minsigstksz-4.c: New tests.
7581 * signal/Makefile: Run them.
fbbc9a4e 7582
5f1135e4
SP
75832019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7584
7585 * po/libc.pot: Regenerate.
7586
ecdacd34
TMQMF
75872019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7588
7589 * math/libm-test-fma.inc (fma_test_data): Set
7590 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7591
56054664
RA
75922019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7593
7594 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7595 (do_test): Changed __vector __int128_t to __vector unsigned int.
7596
1a153e47
LS
75972019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7598
7599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7600 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7601 stpcpy-avx2 and stpncpy-avx2.
7602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7603 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7604 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7605 and __stpncpy_avx2.
7606 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7607 ifunc-strcpy.h}: rename header for a more generic name.
7608 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7609 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7610 AVX unaligned load is fast and vzeroupper is preferred.
7611 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7612 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7613 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7614 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7615 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7616 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7617
a1b02ae7
DL
76182019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7619
7620 * argp/argp-help.c: Fix typo in comment.
7621 * misc/sys/cdefs.h: Likewise.
7622 * posix/regexec.c (sift_states_iter_mb): Likewise.
7623 * socket/sockatmark.c: Likewise.
7624 * socket/sys/socket.h: Likewise.
7625 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7626 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7627 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7629 * sysdeps/unix/sockatmark.c: Likewise.
7630 * time/strptime_l.c: Likewise.
7631
5cbbf01e
TS
76322019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7633
7634 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7635 missing space after the cast of "_NL_CURRENT".
7636
0bc9bdf1
RA
76372019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7638
7639 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7640 ifdef to fix read of VSCR.
7641 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7642 tst-ucontext-ppc64-vscr.c to test list.
7643 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7644
5494af04
AH
76452019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7646
7647 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7648 fall-through.
7649
e17f63ff
JW
76502019-01-09 Jim Wilson <jimw@sifive.com>
7651
7652 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7653
02f440c1
WD
76542019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7655
7656 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7657 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7658 __memcpy_falkor for ares.
7659 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7660 Add new define.
7661 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7662 Add ares cpu.
7663
69da3c9e
L
76642019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7665
7666 [BZ #24066]
7667 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7668 4_FP_W_TYPEs are used for IEEE quad precision.
7669 * soft-fp/extendhftf2.c: Likewise.
7670 * soft-fp/extendsftf2.c: Likewise.
7671 * soft-fp/extendxftf2.c: Likewise.
7672 * soft-fp/trunctfdf2.c: Likewise.
7673 * soft-fp/trunctfhf2.c: Likewise.
7674 * soft-fp/trunctfsf2.c: Likewise.
7675 * soft-fp/trunctfxf2.c: Likewise.
7676 * sysdeps/alpha/ots_cvttx.c: Likewise.
7677 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7678 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7679 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7680 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7681 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7682 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7683 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7684 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7685 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7686 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7687 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7688 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7689 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7690 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7691 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7692 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7693 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7694
2ef42716
AJ
76952019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7696
7697 [BZ #24024]
7698 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7699 code with -fmath-errno.
7700 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7701 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7702 * string/test-strerror-errno.c: New file.
7703
7395f3a0
AJ
77042019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7705
7706 [BZ #24046]
7707 * localedata/locales/en_US (date_fmt): Add, set to
7708 "%a %d %b %Y %r %Z".
7709
010fe231
FW
77102019-01-07 Florian Weimer <fweimer@redhat.com>
7711
7712 [BZ #24063]
7713 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7714 instead of @var{errno}.
7715 (Parsing of Integers): Likewise.
7716 (Parsing of Floats): Likewise.
7717 * manual/filesys.texi (Working with Directory Trees): Likewise.
7718 (Temporary Files): Likewise.
7719 * manual/job.texi (Terminal Access Functions): Likewise.
7720 * manual/llio.texi (Synchronizing I/O): Likewise.
7721 * manual/math.texi (SVID Random): Likewise.
7722 * manual/message.texi (The catgets Functions): Likewise.
7723 (Translation with gettext): Likewise.
7724 (Locating gettext catalog): Likewise.
7725 (Charset conversion in gettext): Likewise.
7726 * manual/nss.texi (NSS Module Function Internals): Likewise.
7727 * manual/search.texi (Hash Search Function): Likewise.
7728 * manual/setjmp.texi (System V contexts): Likewise.
7729 * manual/time.texi (Sleeping): Likewise.
7730 * manual/users.texi (Lookup User): Likewise.
7731 (Lookup Group): Likewise.
7732
b79dc8d0
AZ
77332019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7734
7735 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7736 fix typo.
7737
890461fe 77382019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
7739
7740 [BZ #19444]
7741 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7742 __builtin_unreachable for default case in switch.
7743 (__ieee754_yn): Likewise.
7744 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7745 (__ieee754_ynl): Likewise.
7746 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7747 (__ieee754_ynl): Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7749 (__ieee754_ynl): Likewise.
7750
8b18d418
SN
77512019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7752
7753 * manual/maint.texi: Use @{ and @}.
7754
4392898d
FW
77552019-01-04 Florian Weimer <fweimer@redhat.com>
7756
7757 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7758 function.
7759 (do_in_chroot_1): Call it.
7760 (run_chroot_tests):
7761 Improve error reporting in case it is not possible to create a
7762 collision for the PTY name required by the test.
7763
17cc27d5
AZ
77642019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7765
ce7eb0e9
AZ
7766 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7767 lll_wait_tid with timeout.
7768 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7769 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7770 futex_reltimed_wait_cancelable for cancelabla mode.
7771 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7772 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7773 macros.
7774 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7775 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7776 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7777 SYSCALL_CANCEL_NCS): New macro.
7778 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7779 (lll_timedwait_tid): Remove macro.
7780 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7781 Likewise.
7782 (lll_timedwait_tid): Likewise.
7783 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7784 Likewise.
7785 (lll_timedwait_tid): Likewise.
7786 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7787 Likewise.
7788 (lll_timedwait_tid): Likewise.
7789 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7790 Use INTERNAL_SYSCALL_CANCEL.
7791 * sysdeps/unix/sysv/linux/futex-internal.h
7792 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7793 instead of __pthread_{enable,disable}_asynccancel.
7794 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7795 (lll_futex_wait_cancel): New macro.
7796
0b13e255
AZ
7797 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7798 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7799
85c828a4
AZ
7800 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7801 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7802
d0d7f85f
AZ
7803 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7804 in backtrace analysis.
7805 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7806 side-effects.
7807 (tf_send): Likewise.
7808
17cc27d5
AZ
7809 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7810 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7811 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7812 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7813 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7814 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7815 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7816 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7817 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7818 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7819 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7820 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7821 Likewise.
7822 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7823 tst-cancel-wrappers.sh.
7824 (generated): Remove tst-cancel-wrappers.out.
7825 (tst-cancel-wrappers.out): Remove rule.
7826 * nptl/tst-cancel-wrappers.sh: Remove file.
7827
7d7af8f1
SN
78282019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7829
7830 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7831 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7832 Update.
7833
805334b2
AZ
78342019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7835
7836 [BZ #23640]
7837 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7838 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7839 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7840 close-on-exec reset for adddup2 file action.
7841 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7842
03992356
ZW
78432019-01-03 Zack Weinberg <zackw@panix.com>
7844
7845 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7846 parameter. Only use deprecated scanf when __USE_GNU is defined
7847 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7848 than 201103L, whichever is relevant for the language being compiled.
7849
7850 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7851 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7852 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7853 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7854 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7855
7856 * libio/iovsscanf.c
7857 * libio/fwscanf.c
7858 * libio/iovswscanf.c
7859 * libio/swscanf.c
7860 * libio/vscanf.c
7861 * libio/vwscanf.c
7862 * libio/wscanf.c
7863 * stdio-common/fscanf.c
7864 * stdio-common/scanf.c
7865 * stdio-common/vfscanf.c
7866 * stdio-common/vfwscanf.c
7867 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7868 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7869 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7870 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7871 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7872 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7873 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7874 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7875 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7876 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7877 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7878 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7879 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7880 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7881 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7882
7883 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7884 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7885 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7886 not sscanf.
7887 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7888 with a preprocessor macro.
7889
7890 * stdio-common/bug21.c, stdio-common/scanf14.c:
7891 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7892 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7893 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7894 to xscanf, xfscanf, xsscanf.
7895
7896 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7897 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7898 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7899 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7900 xfscanf, xsscanf.
7901 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7902 override feature selection macros or provide definitions of u_char etc.
7903 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7904 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7905 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7906 with -std=gnu89.
7907
8083afa5
AZ
79082019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7909
6f343c1f
AZ
7910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7911 bits/termios-misc.h.
7912 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7913 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7914 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7916 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7917 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7918
51f4beb0
AZ
7919 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7920 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7921 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7922 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7923 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7924 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7925 termios-misc.h.
7926 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7927 (sysdep_headers): Add termios-misc.h.
7928
f69c5cb2
AZ
7929 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7930 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7931 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7932
3aa4a07e
AZ
7933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7934 termios-tcflow.h.
7935 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7936 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7937 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7938 TCSAFLUSH): Move to termios-tcflow.h.
7939 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7940 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7943
22679ddf
AZ
7944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7945 termios-c_lflag.h.
7946 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7947 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7948 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7949 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7950 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7951 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7952 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7953 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7954 Likewise.
7955 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7956 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7957 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7958 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7959
72eb6ecc
AZ
7960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7961 termios-c_cflag.h.
7962 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7963 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7964 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7965 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7966 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7967 termios-c_cflag.h.
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
9c5d0d02
AZ
7973 [BZ #23783]
7974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7975 termios-baud.h.
7976 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7977 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7978 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7980 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7981 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7982 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7983 __MAX_BAUD): Move to termios-baud.h.
7984 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7985 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7986 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7987 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7989
7b832018
AZ
7990 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7991 termios-c_oflag.h.
7992 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7993 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7995 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7996 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7997 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7998 termios-c_oflag.h.
7999 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
8000 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
8001 FFR1): Likewise.
8002 [USE_MISC] (XTABS): Likewise.
8003 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8004 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
8007
3127003e
AZ
8008 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8009 termios-c_iflag.h.
8010 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
8011 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
8012 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
8013 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
8014 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
8015 IUTF8): Move to termios-c_iflag.h.
8016 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8017 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8018 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8020
48c1dd96
AZ
8021 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
8022 termios-cc.h.
8023 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
8024 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
8025 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
8026 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
8027 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
8028 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
8029 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
8030 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
8031 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8032 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8033 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8035
e5a50db3
AZ
8036 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
8037 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
8038 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
8040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8041 termios-struct.h.
8042 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
8043 termios-struct.h.
8044 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
8045 Likewise.
8046 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
8047 Likewise.
8048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
8049 Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
8051 Likewise.
8052 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
8053 _HAVE_C_OSPEED): Define.
8054 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
8055 _HAVE_C_OSPEED): Likewise.
8056 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
8057 _HAVE_C_OSPEED): Likewise.
8058 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
8059 (cfsetospeed): Check for define value instead of existence.
8060 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
8061 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8062 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
8063 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
8064 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
8065
8083afa5
AZ
8066 [BZ #17783]
8067 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
8068 Define.
8069 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
8070 (TIOCSER_TEMT): Likewise.
8071 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
8072 (TEOCSER_TEMT): Likewise.
8073
4d7d7dc6
P
80742019-01-02 PanderMusubi <pander@users.sourceforge.net>
8075
8076 [BZ #24011]
8077 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
8078
8e291a29
JM
80792019-01-02 Joseph Myers <joseph@codesourcery.com>
8080
8081 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8082
55137f7d
ST
80832019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8084
8085 * sysdeps/htl/pt-barrierattr-setpshared.c
8086 (pthread_barrierattr_setpshared): Add stub warning.
8087 * sysdeps/htl/pt-condattr-setpshared.c
8088 (pthread_condattr_setpshared): Likewise.
8089 * sysdeps/htl/pt-mutexattr-setpshared.c
8090 (pthread_mutexattr_setpshared): Likewise.
8091 * sysdeps/htl/pt-rwlockattr-setpshared.c
8092 (pthread_rwlockattr_setpshared): Likewise.
8093 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
8094 (pthread_mutexattr_setpshared): Likewise.
8095
2ce09e01
JM
80962019-01-02 Joseph Myers <joseph@codesourcery.com>
8097
acb55dcb
JM
8098 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
8099 constants to match with Linux 4.20.
8100
2ce09e01
JM
8101 * sysdeps/mips/mips32/libm-test-ulps: Update.
8102 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8103
fe20bb1d
AJ
81042019-01-02 Aurelien Jarno <aurelien@aurel32.net>
8105
8106 [BZ #24034]
8107 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
8108 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
8109 than __typeof (...) for the a_ptr variable.
8110
2d9837c1
GG
81112019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8112
8113 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
8114 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
8115 * libio/Makefile (tests): Add tst-sprintf-ub and
8116 tst-sprintf-chk-ub.
8117 (CFLAGS-tst-sprintf-ub.c): New variable.
8118 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8119 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8120 destination buffer and check for overflows in fortified mode.
8121 * libio/libioP.h (PRINTF_CHK): New macro.
8122 * libio/tst-sprintf-chk-ub.c: New file.
8123 * libio/tst-sprintf-ub.c: Likewise.
8124
d5c6df0b 81252019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
8126
8127 [BZ #24018]
8128 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8129 failure.
8130
66081e38
FW
81312019-01-02 Florian Weimer <fweimer@redhat.com>
8132
8133 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8134
04277e02
JM
81352019-01-01 Joseph Myers <joseph@codesourcery.com>
8136
6ef3d225
JM
8137 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8138 macro.
8139
e3d4e292
JM
8140 * sysdeps/unix/sysv/linux/netpacket/packet.h
8141 (PACKET_IGNORE_OUTGOING): New macro.
8142
f4507797
JM
8143 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8144 macro.
8145
47ad5e1a
JM
8146 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8147 version to 4.20.
8148 (riscv_flush_icache): New syscall.
8149
7628a1b0
JM
8150 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8151 trailing whitespace removed.
8152 * scripts/config.guess: Update to version 2019-01-01.
8153 * scripts/config.sub: Update to version 2019-01-01.
8154 * scripts/move-if-change: Update from gnulib.
8155
c9123888
JM
8156 * NEWS: Update copyright dates.
8157 * catgets/gencat.c (print_version): Likewise.
8158 * csu/version.c (banner): Likewise.
8159 * debug/catchsegv.sh: Likewise.
8160 * debug/pcprofiledump.c (print_version): Likewise.
8161 * debug/xtrace.sh (do_version): Likewise.
8162 * elf/ldconfig.c (print_version): Likewise.
8163 * elf/ldd.bash.in: Likewise.
8164 * elf/pldd.c (print_version): Likewise.
8165 * elf/sotruss.sh: Likewise.
8166 * elf/sprof.c (print_version): Likewise.
8167 * iconv/iconv_prog.c (print_version): Likewise.
8168 * iconv/iconvconfig.c (print_version): Likewise.
8169 * locale/programs/locale.c (print_version): Likewise.
8170 * locale/programs/localedef.c (print_version): Likewise.
8171 * login/programs/pt_chown.c (print_version): Likewise.
8172 * malloc/memusage.sh (do_version): Likewise.
8173 * malloc/memusagestat.c (print_version): Likewise.
8174 * malloc/mtrace.pl: Likewise.
8175 * manual/libc.texinfo: Likewise.
8176 * nptl/version.c (banner): Likewise.
8177 * nscd/nscd.c (print_version): Likewise.
8178 * nss/getent.c (print_version): Likewise.
8179 * nss/makedb.c (print_version): Likewise.
8180 * posix/getconf.c (main): Likewise.
8181 * scripts/test-installation.pl: Likewise.
8182 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8183
04277e02
JM
8184 * All files with FSF copyright notices: Update copyright dates
8185 using scripts/update-copyrights.
8186 * locale/programs/charmap-kw.h: Regenerated.
8187 * locale/programs/locfile-kw.h: Likewise.
8188
e740e5b1
JM
81892018-12-31 Joseph Myers <joseph@codesourcery.com>
8190
8191 * timezone/zdump.c: Update from tzcode 2018i.
8192 * timezone/zic.c: Likewise.
8193
9b7f98b3
PE
81942018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8195
8196 regex: improve Gnulib port to AIX
8197 From the glibc point of view, this removes duplicate macro
8198 definitions and is obviously safe.
8199 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8200 * posix/regex_internal.h:
8201 (__attribute__, __attribute_warn_unused_result__):
8202 Remove; already defined elsewhere.
8203
b50dd3bc
FW
82042018-12-31 Florian Weimer <fw@deneb.enyo.de>
8205
8206 [BZ #24027]
8207 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8208 copying operation. (ncopies had the wrong type, resulting in an
8209 integer wraparound and too few elements being copied.)
8210
0b9c8490
L
82112018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8212
8213 [BZ #24022]
8214 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8215 <asm/syscalls.h> exists with __has_include__ before including it.
8216
01047fa6
JM
82172018-12-31 Joseph Myers <joseph@codesourcery.com>
8218
8219 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8220 version to 4.20.
8221
6b5c8607 82222018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
8223
8224 * hurd/lookup-retry: Include <unistd.h>.
8225 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8226 Release it on return. Handle "pid" magical lookup retry.
8227
ab74d59f 82282018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
989182c4
RL
8229
8230 [BZ #10496]
8231 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8232 (t_fmt_ampm): Likewise.
8233 * localedata/locales/aa_ER (t_fmt): Likewise.
8234 (t_fmt_ampm): Likewise.
8235 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8236 (t_fmt_ampm): Likewise.
8237 * localedata/locales/aa_ET (t_fmt): Likewise.
8238 (t_fmt_ampm): Likewise.
8239 * localedata/locales/am_ET (t_fmt): Likewise.
8240 (t_fmt_ampm): Likewise.
8241 * localedata/locales/byn_ER (t_fmt): Likewise.
8242 (t_fmt_ampm): Likewise.
8243 * localedata/locales/om_ET (t_fmt): Likewise.
8244 (t_fmt_ampm): Likewise.
8245 * localedata/locales/sid_ET (t_fmt): Likewise.
8246 (t_fmt_ampm): Likewise.
8247 * localedata/locales/so_DJ (t_fmt): Likewise.
8248 (t_fmt_ampm): Likewise.
8249 * localedata/locales/so_ET (t_fmt): Likewise.
8250 (t_fmt_ampm): Likewise.
8251 * localedata/locales/so_SO (t_fmt): Likewise.
8252 (t_fmt_ampm): Likewise.
8253 * localedata/locales/ti_ER (t_fmt): Likewise.
8254 (t_fmt_ampm): Likewise.
8255 * localedata/locales/ti_ET (t_fmt): Likewise.
8256 (t_fmt_ampm): Likewise.
8257 * localedata/locales/tig_ER (t_fmt): Likewise.
8258 (t_fmt_ampm): Likewise.
8259 * localedata/locales/wal_ET (t_fmt): Likewise.
8260 (t_fmt_ampm): Likewise.
8261
8262 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8263 * localedata/locales/ar_IN (t_fmt): Likewise.
8264 * localedata/locales/bhb_IN (t_fmt): Likewise.
8265 * localedata/locales/bho_IN (t_fmt): Likewise.
8266 * localedata/locales/bi_VU (t_fmt): Likewise.
8267 * localedata/locales/bn_BD (t_fmt): Likewise.
8268 * localedata/locales/bn_IN (t_fmt): Likewise.
8269 * localedata/locales/brx_IN (t_fmt): Likewise.
8270 * localedata/locales/doi_IN (t_fmt): Likewise.
8271 * localedata/locales/en_HK (t_fmt): Likewise.
8272 (t_fmt_ampm): Likewise.
8273 * localedata/locales/en_IN (t_fmt): Likewise.
8274 * localedata/locales/en_PH (t_fmt): Likewise.
8275 * localedata/locales/gu_IN (t_fmt): Likewise.
8276 * localedata/locales/hi_IN (t_fmt): Likewise.
8277 * localedata/locales/hif_FJ (t_fmt): Likewise.
8278 * localedata/locales/hne_IN (t_fmt): Likewise.
8279 * localedata/locales/kn_IN (t_fmt): Likewise.
8280 * localedata/locales/kok_IN (t_fmt): Likewise.
8281 * localedata/locales/ks_IN (t_fmt): Likewise.
8282 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8283 * localedata/locales/mag_IN (t_fmt): Likewise.
8284 * localedata/locales/mai_IN (t_fmt): Likewise.
8285 * localedata/locales/mjw_IN (t_fmt): Likewise.
8286 * localedata/locales/ml_IN (t_fmt): Likewise.
8287 * localedata/locales/mni_IN (t_fmt): Likewise.
8288 * localedata/locales/mr_IN (t_fmt): Likewise.
8289 * localedata/locales/ms_MY (t_fmt): Likewise.
8290 * localedata/locales/pa_IN (t_fmt): Likewise.
8291 * localedata/locales/raj_IN (t_fmt): Likewise.
8292 * localedata/locales/sa_IN (t_fmt): Likewise.
8293 * localedata/locales/sat_IN (t_fmt): Likewise.
8294 * localedata/locales/sd_IN (t_fmt): Likewise.
8295 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8296 * localedata/locales/tcy_IN (t_fmt): Likewise.
8297 * localedata/locales/the_NP (t_fmt): Likewise.
8298 * localedata/locales/to_TO (t_fmt): Likewise.
8299 * localedata/locales/ur_IN (t_fmt): Likewise.
8300
8301 * localedata/locales/hif_FJ (d_t_fmt): Set to
8302 "%A %d %b %Y %I:%M:%S %p".
8303 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8304
8305 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8306 * localedata/locales/ar_BH (t_fmt): Likewise.
8307 * localedata/locales/ar_DZ (t_fmt): Likewise.
8308 * localedata/locales/ar_EG (t_fmt): Likewise.
8309 * localedata/locales/ar_IQ (t_fmt): Likewise.
8310 * localedata/locales/ar_JO (t_fmt): Likewise.
8311 * localedata/locales/ar_KW (t_fmt): Likewise.
8312 * localedata/locales/ar_LB (t_fmt): Likewise.
8313 * localedata/locales/ar_LY (t_fmt): Likewise.
8314 * localedata/locales/ar_OM (t_fmt): Likewise.
8315 * localedata/locales/ar_QA (t_fmt): Likewise.
8316 * localedata/locales/ar_SD (t_fmt): Likewise.
8317 * localedata/locales/ar_SS (t_fmt): Likewise.
8318 * localedata/locales/ar_SY (t_fmt): Likewise.
8319 * localedata/locales/ar_TN (t_fmt): Likewise.
8320 * localedata/locales/ar_YE (t_fmt): Likewise.
8321
8322 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8323 (t_fmt_ampm): Likewise.
8324 * localedata/locales/gez_ET (t_fmt): Likewise.
8325 (t_fmt_ampm): Likewise.
8326
8327 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8328 (t_fmt_ampm): Likewise.
8329 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8330
8331 * localedata/locales/zh_HK (t_fmt):
8332 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8333
8334 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8335 because this locale does not use the 12-hour clock.
8336 (t_fmt): Set to "%Z %H:%M:%S".
8337 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8338
8339 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8340 because this locale does not use the 12-hour clock.
8341 (t_fmt): Set to "%H:%M:%S %Z".
8342 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8343
8344 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8345 because this locale does not use the 12-hour clock.
8346 (t_fmt): Set to "%T".
8347 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8348 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8349
8350 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8351 because this locale does not use the 12-hour clock.
8352 (t_fmt): Set to "%H:%M:%S %Z".
8353 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8354
8355 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8356 because this locale does not use the 12-hour clock.
8357 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8358 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8359
ab74d59f 83602018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
27841a7d
RL
8361
8362 [BZ #10496]
8363 [BZ #23724]
8364 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8365 (t_fmt_ampm): Likewise.
8366 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8367 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8368 (d_fmt): Set to "%-d.%-m.%y".
8369
0253580a
AZ
83702018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8371
8372 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8373 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8374 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8375 Likewise.
8376 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8377 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8378 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8379 function.
8380 * support/blob_repeat.c (check_mul_overflow_size_t,
8381 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8382
09104e5b
AJ
83832018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8384
8385 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8386
c0feb731
PE
83872018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8388
8389 regex: simplify Gnulib port
8390 This simplifies the code, by removing stuff intended for porting
8391 to Gnulib but no longer needed there.
8392 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8393 uses of libc_hidden_def, weak_alias.
8394 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8395 _Restrict_ except for public-facing headers.
8396 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8397 Remove; already defined elsewhere.
8398 * posix/regex.c, posix/regex_internal.h:
8399 Use __GNUC_PREREQ instead of rolling our own.
8400 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8401
5289f1f5
WD
84022018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8403
8404 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 8405 (memchr_strlen): New function.
5289f1f5 8406
ba4b8fab
L
84072018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8408
8409 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8410 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8411 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8412
9412979a
L
84132018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8414
8415 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8416
8700a785
L
84172018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8420 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8421 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8422 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8423 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8424 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8425 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8426
57b3ff8e
JM
84272018-12-21 Joseph Myers <joseph@codesourcery.com>
8428
8429 [BZ #24023]
8430 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8431 PLT reference in libc.so.
8432 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8433 _Q_lltoq and _Q_qtod PLT references in libc.so.
8434
90d3320d
WD
84352018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8436
8437 * benchtests/bench-memchr.c: Cleanup defines.
8438 * benchtests/bench-memcmp.c: Likewise.
8439 * benchtests/bench-memset.c: Likewise.
8440 * benchtests/bench-memset-large.c: Likewise.
8441 * benchtests/bench-memset-walk.c: Likewise.
8442 * benchtests/bench-stpcpy.c: Likewise.
8443 * benchtests/bench-stpncpy.c: Likewise.
8444 * benchtests/bench-strcat.c: Likewise.
8445 * benchtests/bench-strchr.c: Likewise.
8446 * benchtests/bench-strcmp.c: Likewise.
8447 * benchtests/bench-strcpy.c: Likewise.
8448 * benchtests/bench-strcspn.c: Likewise.
8449 * benchtests/bench-string.h: Likewise.
8450 * benchtests/bench-strlen.c: Likewise.
8451 * benchtests/bench-strncat.c: Likewise.
8452 * benchtests/bench-strncmp.c: Likewise.
8453 * benchtests/bench-strncpy.c: Likewise.
8454 * benchtests/bench-strnlen.c: Likewise.
8455 * benchtests/bench-strpbrk.c: Likewise.
8456 * benchtests/bench-strrchr.c: Likewise.
8457 * benchtests/bench-strspn.c: Likewise.
8458
192963be
JM
84592018-12-21 Joseph Myers <joseph@codesourcery.com>
8460
5d025ea6
JM
8461 * stdlib/longlong.h: Update from GCC.
8462
192963be
JM
8463 [BZ #23993]
8464 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8465 * configure: Regenerated.
8466 * manual/install.texi (Tools for Compilation): Update minimum GCC
8467 version.
8468 * INSTALL: Regenerated.
8469
6b5c8607 84702018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
8471
8472 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8473
6b5c8607 84742018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
8475
8476 * malloc/malloc.c (mremap_chunk): Additional checks.
8477
5f72b005
MH
84782018-12-21 Mao Han <han_mao@c-sky.com>
8479
8480 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8481 * scripts/build-many-glibcs.py: Add C-SKY targets.
8482 * sysdeps/csky/Implies: New file.
8483 * sysdeps/csky/Makefile: Likewise.
8484 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8485 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8486 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8487 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8488 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8489 * sysdeps/csky/abiv2/memmove.S: Likewise.
8490 * sysdeps/csky/abiv2/memset.S: Likewise.
8491 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8492 * sysdeps/csky/abiv2/start.S: Likewise.
8493 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8494 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8495 * sysdeps/csky/abiv2/strlen.S: Likewise.
8496 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8497 * sysdeps/csky/abort-instr.h: Likewise.
8498 * sysdeps/csky/atomic-machine.h: Likewise.
8499 * sysdeps/csky/bits/endian.h: Likewise.
8500 * sysdeps/csky/bits/fenv.h: Likewise.
8501 * sysdeps/csky/bits/link.h: Likewise.
8502 * sysdeps/csky/bits/setjmp.h: Likewise.
8503 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8504 * sysdeps/csky/bsd-setjmp.S: Likewise.
8505 * sysdeps/csky/configure: Likewise.
8506 * sysdeps/csky/configure.ac: Likewise.
8507 * sysdeps/csky/dl-machine.h: Likewise.
8508 * sysdeps/csky/dl-procinfo.c: Likewise.
8509 * sysdeps/csky/dl-procinfo.h: Likewise.
8510 * sysdeps/csky/dl-sysdep.h: Likewise.
8511 * sysdeps/csky/dl-tls.h: Likewise.
8512 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8513 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8514 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8515 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8516 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8517 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8518 * sysdeps/csky/fpu/fegetround.c: Likewise.
8519 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8520 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8521 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8522 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8523 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8524 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8525 * sysdeps/csky/fpu/fesetround.c: Likewise.
8526 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8527 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8528 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8529 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8530 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8531 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8532 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8533 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8534 * sysdeps/csky/fpu_control.h: Likewise.
8535 * sysdeps/csky/gccframe.h: Likewise.
8536 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8537 * sysdeps/csky/ldsodefs.h: Likewise.
8538 * sysdeps/csky/libc-tls.c: Likewise.
8539 * sysdeps/csky/linkmap.h: Likewise.
8540 * sysdeps/csky/machine-gmon.h: Likewise.
8541 * sysdeps/csky/memusage.h: Likewise.
8542 * sysdeps/csky/nofpu/Implies: Likewise.
8543 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8544 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8545 * sysdeps/csky/nptl/Makefile: Likewise.
8546 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8547 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8548 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8549 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8550 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8551 * sysdeps/csky/nptl/tls.h: Likewise.
8552 * sysdeps/csky/preconfigure: Likewise.
8553 * sysdeps/csky/sfp-machine.h: Likewise.
8554 * sysdeps/csky/sotruss-lib.c: Likewise.
8555 * sysdeps/csky/stackinfo.h: Likewise.
8556 * sysdeps/csky/sysdep.h: Likewise.
8557 * sysdeps/csky/tininess.h: Likewise.
8558 * sysdeps/csky/tst-audit.h: Likewise.
8559 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8560 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8561 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8562 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8563 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8564 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8565 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8566 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8567 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8568 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8569 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8570 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8571 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8572 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8573 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8574 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8575 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8576 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8577 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8578 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8579 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8580 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8581 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8582 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8583 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8584 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8585 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8586 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8587 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8588 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8589 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8590 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8591 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8592 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8593 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8594 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8595 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8596 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8597 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8598 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8599 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8600 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8601 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8602 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8603
6b5c8607 86042018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
8605
8606 * include/time.h (__difftime64): Add.
8607 * time/difftime.c (subtract): convert to 64-bit time.
8608 * time/difftime.c (__difftime64): Add.
8609 * time/difftime.c (__difftime): Wrap around __difftime64.
8610
ab416931
L
86112018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8612
8613 * manual/examples/add.c: Remove redundant "if not".
8614 * manual/examples/argp-ex1.c: Likewise.
8615 * manual/examples/argp-ex2.c: Likewise.
8616 * manual/examples/argp-ex3.c: Likewise.
8617 * manual/examples/argp-ex4.c: Likewise.
8618 * manual/examples/atexit.c: Likewise.
8619 * manual/examples/db.c: Likewise.
8620 * manual/examples/dir.c: Likewise.
8621 * manual/examples/dir2.c: Likewise.
8622 * manual/examples/execinfo.c: Likewise.
8623 * manual/examples/filecli.c: Likewise.
8624 * manual/examples/filesrv.c: Likewise.
8625 * manual/examples/fmtmsgexpl.c: Likewise.
8626 * manual/examples/genpass.c: Likewise.
8627 * manual/examples/inetcli.c: Likewise.
8628 * manual/examples/inetsrv.c: Likewise.
8629 * manual/examples/isockad.c: Likewise.
8630 * manual/examples/longopt.c: Likewise.
8631 * manual/examples/memopen.c: Likewise.
8632 * manual/examples/memstrm.c: Likewise.
8633 * manual/examples/mkdirent.c: Likewise.
8634 * manual/examples/mkfsock.c: Likewise.
8635 * manual/examples/mkisock.c: Likewise.
8636 * manual/examples/mygetpass.c: Likewise.
8637 * manual/examples/pipe.c: Likewise.
8638 * manual/examples/popen.c: Likewise.
8639 * manual/examples/rprintf.c: Likewise.
8640 * manual/examples/search.c: Likewise.
8641 * manual/examples/select.c: Likewise.
8642 * manual/examples/setjmp.c: Likewise.
8643 * manual/examples/sigh1.c: Likewise.
8644 * manual/examples/sigusr.c: Likewise.
8645 * manual/examples/stpcpy.c: Likewise.
8646 * manual/examples/strdupa.c: Likewise.
8647 * manual/examples/strftim.c: Likewise.
8648 * manual/examples/subopt.c: Likewise.
8649 * manual/examples/swapcontext.c: Likewise.
8650 * manual/examples/termios.c: Likewise.
8651 * manual/examples/testopt.c: Likewise.
8652 * manual/examples/testpass.c: Likewise.
8653 * manual/examples/timeval_subtract.c: Likewise.
8654
515f463f
JM
86552018-12-19 Joseph Myers <joseph@codesourcery.com>
8656
da75c1b1
JM
8657 * sysdeps/x86/fpu/math_private.h: New file.
8658 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8659
515f463f
JM
8660 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8661 definition.
8662 (cosh): Likewise.
8663 (tanh): Likewise.
8664
1616d034
TMQMF
86652018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8666
8667 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8668 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8669 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8670 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8671 fields.
8672 (_dl_show_auxv): Give a special treatment to
8673 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8674 and AT_L3_CACHEGEOMETRY.
8675 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8676 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8677 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8678 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8679
61595e3d
AS
86802018-12-19 Andreas Schwab <schwab@suse.de>
8681
8682 * nscd/connections.c (check_use): Don't abort on invalid len.
8683
bbb7dc84
ST
86842018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8685
8686 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8687 values in the 64bit value cases.
8688
6b5c8607 86892018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 8690
c4c2836a
AA
8691 * include/time.h
8692 (__ctime64_r): Add.
8693 * time/ctime_r.c
8694 (__ctime64_r): Add.
8695 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8696
7755e504
AA
8697 * include/time.h
8698 (__ctime64): Add.
8699 * time/gmtime.c
8700 (__ctime64): Add.
8701 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8702
a1d346ce
AA
8703 * include/time.h
8704 (__gmtime64_r): Add.
8705 * time/gmtime.c
8706 (__gmtime64_r): Add.
8707 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8708
131db8b0
AA
8709 * include/time.h
8710 (__gmtime64): Add.
8711 * time/gmtime.c
8712 (__gmtime64): Add.
8713 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8714
64c2277d
AA
8715 * include/time.h
8716 (__localtime64_r): Add.
8717 * time/localtime.c
8718 (__localtime64_r): Add.
8719 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8720
56b98bf1
AZ
87212018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8722
64dd7a16
AZ
8723 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8724 kernel_sigction definition.
8725
8b1d5da5
AZ
8726 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8727
f9eabb19
AZ
8728 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8729
56b98bf1
AZ
8730 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8731 __syscall_rt_sigaction.
8732 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8733 (kernel_sigaction): Use Linux generic defintion.
8734 (STUB): Define.
8735 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8736 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8737 (__syscall_rt_sigaction): Remove implementation.
8738 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8739 hidden.
8740 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8741 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8742 INTERNAL_SYSCALL): Remove definitions.
8743 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8744 action and signal set size.
8745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8746 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8747
43a45c2d
AZ
87482018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8749 James Clarke <jrtc27@jrtc27.com>
8750
dfa6216f 8751 [BZ #23967]
43a45c2d
AZ
8752 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8753 Define if SA_RESTORER is defined.
8754 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8755 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8756 already defined.
8757 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8758 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8759 definitions.
8760 (HAS_SA_RESTORER): Define.
8761 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8762 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8763 (HAS_SA_RESTORER): Define.
8764 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8765 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8766 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8767 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8768 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8769
646ce7e0
JM
87702018-12-18 Joseph Myers <joseph@codesourcery.com>
8771
8772 * sysdeps/unix/sysv/linux/kernel-features.h
8773 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8774 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8775 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8776 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8777 (__ASSUME_ST_INO_64_BIT): Likewise.
8778 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8779 <kernel-features.h>.
8780 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8781 Remove conditional code.
8782 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8783 <kernel-features.h>.
8784 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8785 Remove conditional code.
8786 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8787 <kernel-features.h>.
8788 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8789 Remove conditional code.
8790 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8791 <kernel-features.h>.
8792 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8793 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8794
80190d2b
SL
87952018-12-18 Stefan Liebler <stli@linux.ibm.com>
8796
8797 * sysdeps/s390/multiarch/ifunc-resolve.h
8798 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8799 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8800 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8801 Delete macro definition.
8802 (s390_libc_ifunc_init): Rename to
8803 s390_libc_ifunc_expr_stfle_init.
8804 * sysdeps/s390/bzero: Use
8805 s390_libc_ifunc_expr_stfle_init instead of
8806 s390_libc_ifunc_init.
8807 * sysdeps/s390/memcmp.c: Likewise.
8808 * sysdeps/s390/memcpy.c: Likewise.
8809 * sysdeps/s390/mempcpy.c: Likewise.
8810 * sysdeps/s390/memset.c: Likewise.
8811
12f0dcb8
SL
88122018-12-18 Stefan Liebler <stli@linux.ibm.com>
8813
8814 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8815 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8816
25654a8c
SL
88172018-12-18 Stefan Liebler <stli@linux.ibm.com>
8818
8819 * sysdeps/s390/multiarch/Makefile
8820 (sysdep_routines): Remove wmemcmp variants.
8821 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8822 * sysdeps/s390/multiarch/ifunc-impl-list.c
8823 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8824 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8825 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8826 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8827 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8828 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8829 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8830 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8831
d2a7436c
SL
88322018-12-18 Stefan Liebler <stli@linux.ibm.com>
8833
8834 * sysdeps/s390/multiarch/Makefile
8835 (sysdep_routines): Remove wmemset variants.
8836 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8837 * sysdeps/s390/multiarch/ifunc-impl-list.c
8838 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8839 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8840 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8841 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8842 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8843 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8844 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8845 * sysdeps/s390/ifunc-wmemset.h: New file.
8846
c62534ae
SL
88472018-12-18 Stefan Liebler <stli@linux.ibm.com>
8848
8849 * sysdeps/s390/multiarch/Makefile
8850 (sysdep_routines): Remove wmemchr variants.
8851 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8852 * sysdeps/s390/multiarch/ifunc-impl-list.c
8853 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8854 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8855 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8856 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8857 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8858 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8859 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8860 * sysdeps/s390/ifunc-wmemchr.h: New file.
8861
79b44cf6
SL
88622018-12-18 Stefan Liebler <stli@linux.ibm.com>
8863
8864 * sysdeps/s390/multiarch/Makefile
8865 (sysdep_routines): Remove wcscspn variants.
8866 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8867 * sysdeps/s390/multiarch/ifunc-impl-list.c
8868 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8869 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8870 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8871 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8872 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8873 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8874 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8875 * sysdeps/s390/ifunc-wcscspn.h: New file.
8876
8e87c1f6
SL
88772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8878
8879 * sysdeps/s390/multiarch/Makefile
8880 (sysdep_routines): Remove wcspbrk variants.
8881 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8882 * sysdeps/s390/multiarch/ifunc-impl-list.c
8883 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8884 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8885 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8886 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8887 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8888 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8889 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8890 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8891
8507e831
SL
88922018-12-18 Stefan Liebler <stli@linux.ibm.com>
8893
8894 * sysdeps/s390/multiarch/Makefile
8895 (sysdep_routines): Remove wcsspn variants.
8896 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8897 * sysdeps/s390/multiarch/ifunc-impl-list.c
8898 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8899 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8900 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8901 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8902 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8903 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8904 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8905 * sysdeps/s390/ifunc-wcsspn.h: New file.
8906
4753713a
SL
89072018-12-18 Stefan Liebler <stli@linux.ibm.com>
8908
8909 * sysdeps/s390/multiarch/Makefile
8910 (sysdep_routines): Remove wcsrchr variants.
8911 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8912 * sysdeps/s390/multiarch/ifunc-impl-list.c
8913 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8914 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8915 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8916 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8917 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8918 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8919 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8920 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8921
c09c1b6f
SL
89222018-12-18 Stefan Liebler <stli@linux.ibm.com>
8923
8924 * sysdeps/s390/multiarch/Makefile
8925 (sysdep_routines): Remove wcschrnul variants.
8926 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8927 * sysdeps/s390/multiarch/ifunc-impl-list.c
8928 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8929 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8930 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8931 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8932 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8933 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8934 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8935 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8936
cf3ccc31
SL
89372018-12-18 Stefan Liebler <stli@linux.ibm.com>
8938
8939 * sysdeps/s390/multiarch/Makefile
8940 (sysdep_routines): Remove wcschr variants.
8941 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8942 * sysdeps/s390/multiarch/ifunc-impl-list.c
8943 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8944 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8945 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8946 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8947 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8948 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8949 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8950 * sysdeps/s390/ifunc-wcschr.h: New file.
8951
e9873e1d
SL
89522018-12-18 Stefan Liebler <stli@linux.ibm.com>
8953
8954 * sysdeps/s390/multiarch/Makefile
8955 (sysdep_routines): Remove wcsncmp variants.
8956 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8957 * sysdeps/s390/multiarch/ifunc-impl-list.c
8958 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8959 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8960 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8961 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8962 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8963 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8964 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8965 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8966
3459e23d
SL
89672018-12-18 Stefan Liebler <stli@linux.ibm.com>
8968
8969 * sysdeps/s390/multiarch/Makefile
8970 (sysdep_routines): Remove wcscmp variants.
8971 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8972 * sysdeps/s390/multiarch/ifunc-impl-list.c
8973 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8974 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8975 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8976 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8977 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8978 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8979 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8980 * sysdeps/s390/ifunc-wcscmp.h: New file.
8981
814a76e1
SL
89822018-12-18 Stefan Liebler <stli@linux.ibm.com>
8983
8984 * sysdeps/s390/multiarch/Makefile
8985 (sysdep_routines): Remove wcsncat variants.
8986 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8987 * sysdeps/s390/multiarch/ifunc-impl-list.c
8988 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8989 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8990 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8991 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8992 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8993 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8994 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8995 * sysdeps/s390/ifunc-wcsncat.h: New file.
8996
3389cae4
SL
89972018-12-18 Stefan Liebler <stli@linux.ibm.com>
8998
8999 * sysdeps/s390/multiarch/Makefile
9000 (sysdep_routines): Remove wcscat variants.
9001 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
9002 * sysdeps/s390/multiarch/ifunc-impl-list.c
9003 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
9004 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
9005 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
9006 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
9007 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
9008 * sysdeps/s390/multiarch/wcscat.c: Move to ...
9009 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
9010 * sysdeps/s390/ifunc-wcscat.h: New file.
9011
c3081bcb
SL
90122018-12-18 Stefan Liebler <stli@linux.ibm.com>
9013
9014 * sysdeps/s390/multiarch/Makefile
9015 (sysdep_routines): Remove wcpncpy variants.
9016 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
9017 * sysdeps/s390/multiarch/ifunc-impl-list.c
9018 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
9019 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
9020 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
9021 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
9022 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
9023 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
9024 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
9025 * sysdeps/s390/ifunc-wcpncpy.h: New file.
9026
0966dd86
SL
90272018-12-18 Stefan Liebler <stli@linux.ibm.com>
9028
9029 * sysdeps/s390/multiarch/Makefile
9030 (sysdep_routines): Remove wcsncpy variants.
9031 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
9032 * sysdeps/s390/multiarch/ifunc-impl-list.c
9033 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
9034 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
9035 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
9036 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
9037 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
9038 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
9039 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
9040 * sysdeps/s390/ifunc-wcsncpy.h: New file.
9041
0582e428
SL
90422018-12-18 Stefan Liebler <stli@linux.ibm.com>
9043
9044 * sysdeps/s390/multiarch/Makefile
9045 (sysdep_routines): Remove wcpcpy variants.
9046 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
9047 * sysdeps/s390/multiarch/ifunc-impl-list.c
9048 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
9049 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
9050 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
9051 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
9052 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
9053 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
9054 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
9055 * sysdeps/s390/ifunc-wcpcpy.h: New file.
9056
804f2e5c
SL
90572018-12-18 Stefan Liebler <stli@linux.ibm.com>
9058
9059 * sysdeps/s390/multiarch/Makefile
9060 (sysdep_routines): Remove wcscpy variants.
9061 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
9062 * sysdeps/s390/multiarch/ifunc-impl-list.c
9063 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
9064 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
9065 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
9066 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
9067 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
9068 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
9069 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
9070 * sysdeps/s390/ifunc-wcscpy.h: New file.
9071
c7e7cd26
SL
90722018-12-18 Stefan Liebler <stli@linux.ibm.com>
9073
9074 * sysdeps/s390/multiarch/Makefile
9075 (sysdep_routines): Remove wcsnlen variants.
9076 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
9077 * sysdeps/s390/multiarch/ifunc-impl-list.c
9078 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
9079 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
9080 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
9081 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
9082 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
9083 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
9084 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
9085 * sysdeps/s390/ifunc-wcsnlen.h: New file.
9086
2e02d0b7
SL
90872018-12-18 Stefan Liebler <stli@linux.ibm.com>
9088
9089 * sysdeps/s390/multiarch/Makefile
9090 (sysdep_routines): Remove wcslen variants.
9091 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
9092 * sysdeps/s390/multiarch/ifunc-impl-list.c
9093 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
9094 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
9095 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
9096 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
9097 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
9098 * sysdeps/s390/multiarch/wcslen.c: Move to ...
9099 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
9100 * sysdeps/s390/ifunc-wcslen.h: New file.
9101
89bfcbdf
SL
91022018-12-18 Stefan Liebler <stli@linux.ibm.com>
9103
9104 * sysdeps/s390/multiarch/Makefile
9105 (sysdep_routines): Remove memrchr variants.
9106 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
9107 * sysdeps/s390/multiarch/ifunc-impl-list.c
9108 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
9109 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
9110 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
9111 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
9112 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
9113 * sysdeps/s390/multiarch/memrchr.c: Move to ...
9114 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
9115 * sysdeps/s390/ifunc-memrchr.h: New file.
9116
196655ba
SL
91172018-12-18 Stefan Liebler <stli@linux.ibm.com>
9118
9119 * sysdeps/s390/multiarch/Makefile
9120 (sysdep_routines): Remove memccpy variants.
9121 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9122 * sysdeps/s390/multiarch/ifunc-impl-list.c
9123 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9124 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9125 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9126 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9127 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9128 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9129 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9130 * sysdeps/s390/ifunc-memccpy.h: New file.
9131
4c7b3cec
SL
91322018-12-18 Stefan Liebler <stli@linux.ibm.com>
9133
9134 * sysdeps/s390/multiarch/Makefile
9135 (sysdep_routines): Remove rawmemchr variants.
9136 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9137 * sysdeps/s390/multiarch/ifunc-impl-list.c
9138 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9139 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9140 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9141 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9142 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9143 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9144 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9145 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9146
581a051c
SL
91472018-12-18 Stefan Liebler <stli@linux.ibm.com>
9148
9149 * sysdeps/s390/multiarch/Makefile
9150 (sysdep_routines): Remove memchr variants.
9151 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9152 * sysdeps/s390/multiarch/ifunc-impl-list.c
9153 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9154 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9155 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9156 * sysdeps/s390/multiarch/memchr.c: Move to ...
9157 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9158 * sysdeps/s390/ifunc-memchr.h: New file.
9159 * sysdeps/s390/s390-64/memchr.S: Move to ...
9160 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9161 for 31/64bit and ifunc handling.
9162 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9163 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9164 * sysdeps/s390/s390-32/memchr.S: Likewise.
9165
5d2ec20a
SL
91662018-12-18 Stefan Liebler <stli@linux.ibm.com>
9167
9168 * sysdeps/s390/multiarch/Makefile
9169 (sysdep_routines): Remove strcspn variants.
9170 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9171 * sysdeps/s390/multiarch/ifunc-impl-list.c
9172 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9173 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9174 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9175 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9176 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9177 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9178 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9179 * sysdeps/s390/ifunc-strcspn.h: New file.
9180
572cca93
SL
91812018-12-18 Stefan Liebler <stli@linux.ibm.com>
9182
9183 * sysdeps/s390/multiarch/Makefile
9184 (sysdep_routines): Remove strpbrk variants.
9185 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9186 * sysdeps/s390/multiarch/ifunc-impl-list.c
9187 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9188 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9189 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9190 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9191 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9192 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9193 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9194 * sysdeps/s390/ifunc-strpbrk.h: New file.
9195
483fc569
SL
91962018-12-18 Stefan Liebler <stli@linux.ibm.com>
9197
9198 * sysdeps/s390/multiarch/Makefile
9199 (sysdep_routines): Remove strspn variants.
9200 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9201 * sysdeps/s390/multiarch/ifunc-impl-list.c
9202 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9203 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9204 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9205 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9206 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9207 * sysdeps/s390/multiarch/strspn.c: Move to ...
9208 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9209 * sysdeps/s390/ifunc-strspn.h: New file.
9210
26ea8760
SL
92112018-12-18 Stefan Liebler <stli@linux.ibm.com>
9212
9213 * sysdeps/s390/multiarch/Makefile
9214 (sysdep_routines): Remove strrchr variants.
9215 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9216 * sysdeps/s390/multiarch/ifunc-impl-list.c
9217 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9218 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9219 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9220 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9221 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9222 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9223 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9224 * sysdeps/s390/ifunc-strrchr.h: New file.
9225
a1361e65
SL
92262018-12-18 Stefan Liebler <stli@linux.ibm.com>
9227
9228 * sysdeps/s390/multiarch/Makefile
9229 (sysdep_routines): Remove strchrnul variants.
9230 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9231 * sysdeps/s390/multiarch/ifunc-impl-list.c
9232 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9233 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9234 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9235 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9236 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9237 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9238 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9239 * sysdeps/s390/ifunc-strchrnul.h: New file.
9240
32f12653
SL
92412018-12-18 Stefan Liebler <stli@linux.ibm.com>
9242
9243 * sysdeps/s390/multiarch/Makefile
9244 (sysdep_routines): Remove strchr variants.
9245 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9246 * sysdeps/s390/multiarch/ifunc-impl-list.c
9247 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9248 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9249 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9250 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9251 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9252 * sysdeps/s390/multiarch/strchr.c: Move to ...
9253 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9254 * sysdeps/s390/ifunc-strchr.h: New file.
9255
316b8842
SL
92562018-12-18 Stefan Liebler <stli@linux.ibm.com>
9257
9258 * sysdeps/s390/multiarch/Makefile
9259 (sysdep_routines): Remove strncmp variants.
9260 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9261 * sysdeps/s390/multiarch/ifunc-impl-list.c
9262 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9263 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9264 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9265 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9266 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9267 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9268 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9269 * sysdeps/s390/ifunc-strncmp.h: New file.
9270
cdab85fe
SL
92712018-12-18 Stefan Liebler <stli@linux.ibm.com>
9272
9273 * sysdeps/s390/multiarch/Makefile
9274 (sysdep_routines): Remove strcmp variants.
9275 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9276 * sysdeps/s390/multiarch/ifunc-impl-list.c
9277 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9278 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9279 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9280 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9281 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9282 * sysdeps/s390/ifunc-strcmp.h: New file.
9283 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9284 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9285 for 31/64bit and ifunc handling.
9286 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9287 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9288 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9289
b9353351
SL
92902018-12-18 Stefan Liebler <stli@linux.ibm.com>
9291
9292 * sysdeps/s390/multiarch/Makefile
9293 (sysdep_routines): Remove strncat variants.
9294 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9295 * sysdeps/s390/multiarch/ifunc-impl-list.c
9296 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9297 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9298 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9299 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9300 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9301 * sysdeps/s390/multiarch/strncat.c: Move to ...
9302 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9303 * sysdeps/s390/ifunc-strncat.h: New file.
9304
8e5a0afb
SL
93052018-12-18 Stefan Liebler <stli@linux.ibm.com>
9306
9307 * sysdeps/s390/multiarch/Makefile
9308 (sysdep_routines): Remove strcat variants.
9309 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9310 * sysdeps/s390/multiarch/ifunc-impl-list.c
9311 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9312 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9313 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9314 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9315 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9316 * sysdeps/s390/multiarch/strcat.c: Move to ...
9317 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9318 * sysdeps/s390/ifunc-strcat.h: New file.
9319
25218822
SL
93202018-12-18 Stefan Liebler <stli@linux.ibm.com>
9321
9322 * sysdeps/s390/multiarch/Makefile
9323 (sysdep_routines): Remove stpncpy variants.
9324 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9325 * sysdeps/s390/multiarch/ifunc-impl-list.c
9326 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9327 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9328 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9329 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9330 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9331 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9332 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9333 * sysdeps/s390/ifunc-stpncpy.h: New file.
9334
d1bdbf38
SL
93352018-12-18 Stefan Liebler <stli@linux.ibm.com>
9336
9337 * sysdeps/s390/multiarch/Makefile
9338 (sysdep_routines): Remove strncpy variants.
9339 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9340 * sysdeps/s390/multiarch/ifunc-impl-list.c
9341 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9342 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9343 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9344 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9345 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9346 * sysdeps/s390/ifunc-strncpy.h: New file.
9347 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9348 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9349 and adjust ifunc handling.
9350 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9351 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9352 and adjust ifunc handling.
9353 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9354 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9355
97044931
SL
93562018-12-18 Stefan Liebler <stli@linux.ibm.com>
9357
9358 * sysdeps/s390/multiarch/Makefile
9359 (sysdep_routines): Remove stpcpy variants.
9360 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9361 * sysdeps/s390/multiarch/ifunc-impl-list.c
9362 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9363 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9364 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9365 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9366 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9367 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9368 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9369 * sysdeps/s390/ifunc-stpcpy.h: New file.
9370
914a4e05
SL
93712018-12-18 Stefan Liebler <stli@linux.ibm.com>
9372
9373 * sysdeps/s390/multiarch/Makefile
9374 (sysdep_routines): Remove strcpy variants.
9375 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9376 * sysdeps/s390/multiarch/ifunc-impl-list.c
9377 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9378 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9379 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9380 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9381 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9382 * sysdeps/s390/ifunc-strcpy.h: New file.
9383 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9384 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9385 for 31/64bit and ifunc handling.
9386 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9387 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9388 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9389
de10e44d
SL
93902018-12-18 Stefan Liebler <stli@linux.ibm.com>
9391
9392 * sysdeps/s390/multiarch/Makefile
9393 (sysdep_routines): Remove strnlen variants.
9394 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9395 * sysdeps/s390/multiarch/ifunc-impl-list.c
9396 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9397 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9398 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9399 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9400 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9401 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9402 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9403 * sysdeps/s390/ifunc-strnlen.h: New file.
9404
ff3ca374
SL
94052018-12-18 Stefan Liebler <stli@linux.ibm.com>
9406
9407 * sysdeps/s390/multiarch/Makefile
9408 (sysdep_routines): Remove strlen variants.
9409 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9410 * sysdeps/s390/multiarch/ifunc-impl-list.c
9411 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9412 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9413 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9414 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9415 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9416 * sysdeps/s390/multiarch/strlen.c: Move to ...
9417 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9418 * sysdeps/s390/ifunc-strlen.h: New file.
9419
d2c4c403
SL
94202018-12-18 Stefan Liebler <stli@linux.ibm.com>
9421
9422 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9423 * sysdeps/s390/multiarch/ifunc-impl-list.c
9424 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9425 * sysdeps/s390/ifunc-memmem.h: New file.
9426 * sysdeps/s390/memmem.c: Likewise.
9427 * sysdeps/s390/memmem-c.c: Likewise.
9428 * sysdeps/s390/memmem-vx.c: Likewise.
9429
8c25dddd
SL
94302018-12-18 Stefan Liebler <stli@linux.ibm.com>
9431
9432 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9433 * sysdeps/s390/multiarch/ifunc-impl-list.c
9434 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9435 * sysdeps/s390/ifunc-strstr.h: New file.
9436 * sysdeps/s390/strstr.c: Likewise.
9437 * sysdeps/s390/strstr-c.c: Likewise.
9438 * sysdeps/s390/strstr-vx.c: Likewise.
9439
cdd927d9
SL
94402018-12-18 Stefan Liebler <stli@linux.ibm.com>
9441
9442 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9443 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9444 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9445 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9446 New defines.
9447 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9448 * sysdeps/s390/memmove-c.c: New file.
9449 * sysdeps/s390/memmove.c: Likewise.
9450 * sysdeps/s390/multiarch/ifunc-impl-list.c
9451 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9452
2ee1bc57
SL
94532018-12-18 Stefan Liebler <stli@linux.ibm.com>
9454
9455 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9456 * sysdeps/s390/configure.ac: Add check for z13 support.
9457 * sysdeps/s390/configure: Regenerated.
9458
d097d976
SL
94592018-12-18 Stefan Liebler <stli@linux.ibm.com>
9460
9461 * sysdeps/s390/memcopy.h: New file.
9462
e099aab0
SL
94632018-12-18 Stefan Liebler <stli@linux.ibm.com>
9464
9465 * sysdeps/s390/s390-32/bcopy.S: Remove.
9466 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9467
18eb862d
SL
94682018-12-18 Stefan Liebler <stli@linux.ibm.com>
9469
9470 * sysdeps/s390/ifunc-memcpy.h: New File.
9471 * sysdeps/s390/memcpy.S: Move to ...
9472 * sysdeps/s390/memcpy-z900.S ... here.
9473 Move implementations from memcpy-s390x.s to here.
9474 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9475 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9476 Remove memcpy/mempcpy variants.
9477 * sysdeps/s390/Makefile (sysdep_routines):
9478 Add memcpy/mempcpy variants.
9479 * sysdeps/s390/multiarch/ifunc-impl-list.c
9480 (__libc_ifunc_impl_list): Adjust ifunc variants for
9481 memcpy and mempcpy.
9482 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9483 to ...
9484 * sysdeps/s390/memcpy.c: ... here.
9485 Adjust ifunc variants for memcpy.
9486 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9487 * sysdeps/s390/mempcpy.c: ... here.
9488 Adjust ifunc variants for mempcpy.
9489 * sysdeps/s390/mempcpy.S: Delete file.
9490
df3eb8de
SL
94912018-12-18 Stefan Liebler <stli@linux.ibm.com>
9492
9493 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9494 * sysdeps/s390/memcpy.S: ... here.
9495 Adjust to be usable for 31/64bit.
9496 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9497 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9498 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9499 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9500 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9501 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9502 Adjust to be usable for 31/64bit.
9503 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9504 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9505 * sysdeps/s390/multiarch/memcpy.c: ... here.
9506 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9507
b7e024a8
SL
95082018-12-18 Stefan Liebler <stli@linux.ibm.com>
9509
9510 * sysdeps/s390/ifunc-memcmp.h: New File.
9511 * sysdeps/s390/memcmp.S: Move to ...
9512 * sysdeps/s390/memcmp-z900.S ... here.
9513 Move implementations from memcmp-s390x.s to here.
9514 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9515 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9516 Remove memcmp variants.
9517 * sysdeps/s390/Makefile (sysdep_routines):
9518 Add memcmp variants.
9519 * sysdeps/s390/multiarch/ifunc-impl-list.c
9520 (__libc_ifunc_impl_list): Adjust ifunc variants for
9521 memcmp.
9522 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9523 to ...
9524 * sysdeps/s390/memcmp.c: ... here.
9525 Adjust ifunc variants for memcmp.
9526
6c6b8c74
SL
95272018-12-18 Stefan Liebler <stli@linux.ibm.com>
9528
9529 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9530 * sysdeps/s390/memcmp.S: ... here.
9531 Adjust to be usable for 31/64bit.
9532 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9533 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9534 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9535 Remove memcmp.
9536 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9537 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9538 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9539 Adjust to be usable for 31/64bit.
9540 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9541 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9542 * sysdeps/s390/multiarch/memcmp.c: ... here.
9543 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9544
07be3928
SL
95452018-12-18 Stefan Liebler <stli@linux.ibm.com>
9546
9547 * sysdeps/s390/s390-32/bzero.S: Delete file.
9548 * sysdeps/s390/s390-64/bzero.S: Likewise.
9549 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9550 * sysdeps/s390/bzero.c: New file.
9551 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9552 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9553 * sysdeps/s390/multiarch/ifunc-impl-list.c
9554 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9555
712a254a
SL
95562018-12-18 Stefan Liebler <stli@linux.ibm.com>
9557
9558 * sysdeps/s390/ifunc-memset.h: New File.
9559 * sysdeps/s390/memset.S: Move to ...
9560 * sysdeps/s390/memset-z900.S ... here.
9561 Move implementations from memset-s390x.s to here.
9562 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9563 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9564 Remove memset variants.
9565 * sysdeps/s390/Makefile (sysdep_routines):
9566 Add memset variants.
9567 * sysdeps/s390/multiarch/ifunc-impl-list.c
9568 (__libc_ifunc_impl_list): Adjust ifunc variants for
9569 memset.
9570 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9571 to ...
9572 * sysdeps/s390/memset.c: ... here.
9573 Adjust ifunc variants for memset.
9574
5f1743d1
SL
95752018-12-18 Stefan Liebler <stli@linux.ibm.com>
9576
9577 * sysdeps/s390/s390-64/memset.S: Move to ...
9578 * sysdeps/s390/memset.S: ... here.
9579 Adjust to be usable for 31/64bit.
9580 * sysdeps/s390/s390-32/memset.S: Delete File.
9581 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9582 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9583 Remove memset.
9584 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9585 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9586 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9587 Adjust to be usable for 31/64bit.
9588 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9589 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9590 * sysdeps/s390/multiarch/memset.c: ... here.
9591 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9592
e8023f26
SL
95932018-12-18 Stefan Liebler <stli@linux.ibm.com>
9594
9595 * sysdeps/s390/multiarch/ifunc-resolve.h
9596 (s390_libc_ifunc_init, s390_libc_ifunc,
9597 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9598
b8686c0d
SL
95992018-12-18 Stefan Liebler <stli@linux.ibm.com>
9600
9601 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9602 * sysdeps/s390/configure.ac: Add check for z10 support.
9603 * sysdeps/s390/configure: Regenerated.
9604
cd815050
L
96052018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 * sysdeps/i386/atomic-machine.h: Merged with ...
9608 * sysdeps/x86_64/atomic-machine.h: To ...
9609 * sysdeps/x86/atomic-machine.h: This. New file.
9610
053c52b1
FW
96112018-12-18 Florian Weimer <fweimer@redhat.com>
9612
9613 Rewrite locale/gen-translit.pl in Python.
9614 * locale/Makefile (generated): Add C-translit.h.
9615 (before-compile): Add $(objpfx)C-translit.h.
9616 (C-translit.h): Move to $(objpfx). Create target directory.
9617 Build using Python script.
9618 * locale/gen-translit.py: New file.
9619 * locale/gen-translit.pl: Remove file.
9620 * locale/C-translit.h.in: Change comment character to '#' for
9621 easier parsing without a C preprocessor.
9622 * locale/C-translit.h: Remove generated file.
9623 * manual/install.texi (Tools for Compilation): Do not mention
9624 C-translit.h.
9625 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9626 Remove locale/C-translit.h.
9627 * scripts/update-copyrights: Likewise.
9628 * INSTALL: Regenerate.
9629
40e6c1ec
FW
96302018-12-18 Florian Weimer <fweimer@redhat.com>
9631
9632 [BZ #23995]
9633 * localedata/locales/bi_VU: Remove executable bit from file.
9634
6b5c8607 96352018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
9636
9637 * include/time.h
9638 (__localtime64): Add.
9639 * manual/maint.texi: Document Y2038 symbol handling.
9640 * time/localtime.c
9641 (__localtime64): Add.
bfb79db4 9642 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 9643
df648905
JM
96442018-12-17 Joseph Myers <joseph@codesourcery.com>
9645
551e81d9
JM
9646 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9647 Do not clobber r12.
9648
df648905
JM
9649 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9650 to allow extra macros from first or second sources.
9651 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9652 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9653 (tests-special): Add $(objpfx)tst-mman-consts.out.
9654 ($(objpfx)tst-mman-consts.out): New makefile target.
9655
6bbfc5c0
MH
96562018-12-17 Mao Han <han_mao@c-sky.com>
9657
9658 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9659 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9660 without stat64 system call support.
9661 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9662 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9663 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9664 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9665 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9666 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9667 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9668 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9669 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9670 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9671 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9672
ef202e53
PE
96732018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9674
9675 regex: fix storage-exhaustion error
9676 [BZ #18040]
9677 * posix/regexec.c (get_subexp):
9678 Do not continue if storage is exhausted.
9679
077caf61
AG
96802018-12-15 Assaf Gordon <assafgordon@gmail.com>
9681
9682 regex: fix heap-use-after-free error
9683 [BZ #18040]
9684 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9685 https://debbugs.gnu.org/32592
9686 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9687 call extend_buffers which reallocates the re_string_t internal buffer.
9688 Local variable 'buf' was not updated in such case, resulting in
9689 use-after-free.
9690 * posix/regexec.c (get_subexp): Update 'buf' after call to
9691 get_subexp_sub.
9692
0c1719e6
FW
96932018-12-15 Florian Weimer <fweimer@redhat.com>
9694
9695 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9696 (minimum_stride_size): Use it.
9697 (support_blob_repeat_allocate): Likewise.
9698
033a2c0a
JM
96992018-12-14 Joseph Myers <joseph@codesourcery.com>
9700
9701 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9702 definition.
9703 (acosh): Likewise.
9704 (atanh): Likewise.
9705
e361dc04
FW
97062018-12-14 Florian Weimer <fweimer@redhat.com>
9707
9708 * manual/process.texi (Process Creation Concepts): Remove
9709 documentation of process (ID) lifetime. List more process
9710 creation functions. Reference Process Identification section.
9711 (Process Identification): Add information about process ID
9712 lifetime. Describe Linux thread/task IDs.
9713 * manual/signal.texi (Signaling Another Process): Mention that the
9714 signal is always sent to the process.
9715
bd51ff5e
GG
97162018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9717
9718 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9719 and tst-ldbl-efgcvt.
9720 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9721 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9722 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9723 (fcvt_tests, output_error, output_r_error, do_test): Use the
9724 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9725 select the type of floating-point variables and arguments; to
9726 produce extra tests for double and conversion specifiers for
9727 printf; and to set the names of called functions.
9728 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9729 in tst-efgcvt-template.c.
9730 * misc/tst-ldbl-efgcvt.c: Likewise.
9731
268bb71e
SL
97322018-12-14 Stefan Liebler <stli@linux.ibm.com>
9733
9734 * nss/Makefile (tst-nss-test3.out): New rule.
9735
db6df070
JM
97362018-12-13 Joseph Myers <joseph@codesourcery.com>
9737
9738 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9739 clobber sp.
9740
ade8b817
CD
97412018-12-13 fanjinke <fanjinke@hygon.cn>
9742
9743 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9744 "HygonGenuine".
9745
3d265911
AS
97462018-12-13 Andreas Schwab <schwab@suse.de>
9747
f21e8f8c 9748 [BZ #23861]
3d265911 9749 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
9750 (__pthread_rwlock_rdlock_full): Update expected value for
9751 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9752 * nptl/tst-rwlock-pwn.c: New file.
9753 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 9754
bf8ae8c0
JM
97552018-12-12 Joseph Myers <joseph@codesourcery.com>
9756
9757 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9758 definition.
9759
de099757
LS
97602018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9761
9762 * benchtests/scripts/compare_bench.py (do_compare): write to
9763 stderr in casestat is not present.
9764 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9765 stderr in case timings field is not present. Also string showing
9766 the output filename goes into the stderr.
9767
1990185f
LS
97682018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9769
9770 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9771 and ZeroDivisorError exceptions.
9772 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9773 argument to loop through user provided statistics.
9774 * benchtests/scripts/compare_bench.py (main): Include the --stats
9775 argument.
9776
587426d4
LS
97772018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9778
9779 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9780 instead of return.
9781
46703efa
FW
97822018-12-12 Florian Weimer <fweimer@redhat.com>
9783
9784 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9785 clause to copyright header.
9786
1d880d4a
TMQMF
97872018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9788
9789 [BZ #23614]
9790 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9791 registers saved in the stack frame.
9792 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9793 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9794
1a502f52
GG
97952018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9796
9797 * include/bits/monetary-ldbl.h: New file.
9798 * include/bits/printf-ldbl.h: Likewise.
9799 * include/bits/stdio-ldbl.h: Likewise.
9800 * include/bits/stdlib-ldbl.h: Likewise.
9801 * include/bits/syslog-ldbl.h: Likewise.
9802 * include/bits/wchar-ldbl.h: Likewise.
9803
df682d1d
GG
98042018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9805
9806 * libio/libio.h: Remove redirection for _IO_vfprintf.
9807
c2c082c1
AS
98082018-12-11 Andreas Schwab <schwab@suse.de>
9809
9810 * Makerules: Remove all references to abilist-pattern.
9811 (update-all-abi): Simplify find expression.
9812
505b5b29
SN
98132018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9814
9815 [BZ #23961]
9816 * math/auto-libm-test-in: Add new test case.
9817 * math/auto-libm-test-out-pow: Regenerated.
9818 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9819
304c61a2
DD
98202018-12-10 DJ Delorie <dj@redhat.com>
9821
9822 [BZ #23948]
9823 * support/test-container.c: Move postclean step to before we
9824 change namespaces.
9825
a8110b72
JM
98262018-12-10 Joseph Myers <joseph@codesourcery.com>
9827
cb7be159
JM
9828 * scripts/gen-as-const.py (main): Handle --python option.
9829 * scripts/gen-py-const.awk: Remove.
9830 * Makerules (py-const-script): Use gen-as-const.py.
9831 ($(py-const)): Likewise.
9832 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9833 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9834 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9835 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9836 ~PTHREAD_MUTEX_NO_ELISION_NP.
9837 * manual/README.pretty-printers: Update reference to
9838 gen-py-const.awk.
9839
a8110b72
JM
9840 * scripts/glibcextract.py: New file.
9841 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9842 or tempfile. Import glibcexctract.
9843 (compute_c_consts): Remove. Moved to glibcextract.py.
9844 (gen_test): Update reference to compute_c_consts.
9845 (main): Likewise.
9846 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9847 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9848 * sysdeps/unix/sysv/linux/Makefile
9849 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9850 Redirect stderr as well as stdout.
9851
f9ba9eb8
RÁE
98522018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9853
9854 [BZ #19767]
9855 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
9856 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9857 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 9858 ALWAYS_USE_VSYSCALL.
b39d961c 9859 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
9860 ALWAYS_USE_VSYSCALL.
9861 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9862 ALWAYS_USE_VSYSCALL.
9863
8d20a2f4
FW
98642018-12-10 Florian Weimer <fweimer@redhat.com>
9865
9866 [BZ #23972]
9867 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9868 offset instead of count for clarity. Fix typo in comment.
9869 (__old_getdents64): Keep track of previous offset. Use it to call
9870 handle_overflow.
9871 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9872 that d_off is never zero.
9873
80472e2f
AS
98742018-12-10 Andreas Schwab <schwab@suse.de>
9875
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9877 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9879 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9880 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9881
0afcb29d
JM
98822018-12-10 Joseph Myers <joseph@codesourcery.com>
9883
9884 * timezone/private.h: Update from tzcode 2018g.
9885 * timezone/tzfile.h: Likewise.
9886 * timezone/tzselect.ksh: Likewise.
9887 * timezone/zdump.c: Likewise.
9888 * timezone/zic.c: Likewise.
9889
b93f4052
PP
98902018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9891
9892 [BZ #23490]
9893 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9894 (do_test): Adjust buffer size and fix format.
9895
7c9a7c68
DD
98962018-12-07 DJ Delorie <dj@redhat.com>
9897
9898 [BZ #23907]
9899 * malloc/tst-tcfree3.c: New.
9900 * malloc/Makefile: Add it.
9901
37caec3a
L
99022018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9905
10446f5d
GG
99062018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9907
9908 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9909 used as a mask for the mode argument of __vfscanf_internal and
9910 __vfwscanf_internal.
9911 * stdio-common/vfscanf-internal.c
9912 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9913 (__strtof128_internal): Define to __wcstof128_internal.
9914 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9915 __strtof128_internal or __wcstof128_internal when the format of
9916 long double is the same as _Float128.
9917
45f33aac
ST
99182018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9919
9920 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9921 * posix/confstr.c (confstr): Rename to __confstr.
9922 (__confstr): Add hidden def.
9923 (confstr): Add weak alias for __confstr.
9924 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9925 confstr.
9926
a092ca94
L
99272018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9928
9929 * NEWS: Mention getcpu.
9930 * include/sched.h (__getcpu): New libc_hidden_proto.
9931 * manual/resource.texi: Document getcpu.
9932 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9933 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9934 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9935 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9944 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9945 Likewise.
9946 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9947 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9948 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9950 Likewise.
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9952 Likewise.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9954 Likewise.
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9956 Likewise.
9957 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9958 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9959 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9960 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9961 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9962 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9963 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9964 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9965 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9966 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9967 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9968 Also check getcpu.
9969
7c857b6f
ST
99702018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9971
9972 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9973 functions.
9974 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9975
3a3fb755
FW
99762018-12-07 Florian Weimer <fweimer@redhat.com>
9977
9978 [BZ #17405]
9979 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9980 * posix/Versions (GLIBC_2.29): Export
9981 posix_spawn_file_actions_addfchdir_np.
9982 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9983 * posix/spawn_faction_destroy.c
9984 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9985 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9986 and the field action.fchdir_action.
9987 * posix/tst-spawn-chdir.c (add_chdir): New function.
9988 (do_test): Add do_fchdir loop. Call add_chdir.
9989 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9990 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9991 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9992 posix_spawn_file_actions_addfchdir_np.
9993 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9994 Likewise.
9995 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9996 Likewise.
9997 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9998 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9999 Likewise.
10000 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10001 Likewise.
10002 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10003 Likewise.
10004 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10005 Likewise.
10006 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10007 Likewise.
10008 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10009 Likewise.
10010 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10011 (GLIBC_2.29): Likewise.
10012 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10013 (GLIBC_2.29): Likewise.
10014 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10015 (GLIBC_2.29): Likewise.
10016 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10017 (GLIBC_2.29): Likewise.
10018 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10019 Likewise.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10021 (GLIBC_2.29): Likewise.
10022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10023 (GLIBC_2.29): Likewise.
10024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10025 (GLIBC_2.29): Likewise.
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10027 (GLIBC_2.29): Likewise.
10028 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10029 Likewise.
10030 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10031 Likewise.
10032 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10033 Likewise.
10034 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10035 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10036 Likewise.
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10038 Likewise.
10039 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10040 Likewise.
10041 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10042 Likewise.
10043
c37cd439
JM
100442018-12-06 Joseph Myers <joseph@codesourcery.com>
10045
10046 * manual/texinfo.tex: Update to version 2018-09-21.20 with
10047 trailing whitespace removed.
10048 * scripts/config.guess: Update to version 2018-11-28.
10049 * scripts/config.sub: Update to version 2018-11-28.
10050 * scripts/install-sh: Update to version 2018-03-11.20.
10051 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
10052 * scripts/move-if-change: Update to version 2018-03-07 03:47.
10053
899478c2
FW
100542018-12-07 Florian Weimer <fweimer@redhat.com>
10055
10056 [BZ #23927]
10057 CVE-2018-19591
10058 * inet/tst-if_index-long.c: New file.
10059 * inet/Makefile (tests): Add tst-if_index-long.
10060
f255336a
FW
100612018-12-07 Florian Weimer <fweimer@redhat.com>
10062
10063 * support/check.h (support_record_failure_is_failed): Declare.
10064 * support/descriptors.h: New file.
10065 * support/support_descriptors.c: Likewise.
10066 * support/tst-support_descriptors.c: Likewise.
10067 * support/support_record_failure.c
10068 (support_record_failure_is_failed): New function.
10069 * support/Makefile (libsupport-routines): Add support_descriptors.
10070 (tests): Add tst-support_descriptors.
10071
35caceb1
ZW
100722018-12-05 Zack Weinberg <zackw@panix.com>
10073 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10074
10075 * stdio-common/vfprintf-internal.c
10076 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
10077 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
10078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
10079 and __no_long_double.
10080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
10081 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
10082 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
10083 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
10084 and __nldbl_*syslog* functions.
10085 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
10086 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
10087 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
10088 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
10089 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
10090 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
10091 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
10092 (__nldbl_vwprintf, __nldbl_wprintf):
10093 Directly call the appropriate __v*printf_internal routine, passing
10094 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
10095 variable names.
10096 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
10097 (__nldbl___printf_chk, __nldbl___snprintf_chk)
10098 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
10099 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
10100 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
10101 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10102 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
10103 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
10104 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
10105 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
10106 Likewise, and also pass PRINTF_FORTIFY when appropriate.
10107 (__nldbl_syslog, __nldbl_vsyslog):
10108 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
10109 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10110 appropriate.
10111 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
10112 appropriate.
10113
4e2f43f8
ZW
101142018-12-05 Zack Weinberg <zackw@panix.com>
10115 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10116
10117 [BZ #11319]
10118 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10119 Moved here from debug/vsprintf_chk.c.
10120 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10121 and completion logic for the strfile to match exactly what
10122 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10123 _IO_str_init_static_internal instead of maxlen-1.
10124 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10125 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10126 __vsprintf_internal.
10127
10128 * debug/vsprintf_chk.c (__vsprintf_chk)
10129 * debug/sprintf_chk.c (__sprintf_chk):
10130 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10131 'flags' argument is positive, and slen as maxlen. No need to lock
10132 the FILE and/or construct a temporary FILE. Minimize and normalize
10133 header inclusions and variable names. Do not libc_hidden_def anything.
10134
10135 * debug/asprintf_chk.c (__asprintf_chk)
10136 * debug/dprintf_chk.c (__dprintf_chk)
10137 * debug/fprintf_chk.c (__fprintf_chk)
10138 * debug/fwprintf_chk.c (__fwprintf_chk)
10139 * debug/printf_chk.c (__printf_chk)
10140 * debug/snprintf_chk.c (__snprintf_chk)
10141 * debug/swprintf_chk.c (__swprintf_chk)
10142 * debug/vasprintf_chk.c (__vasprintf_chk)
10143 * debug/vdprintf_chk.c (__vdprintf_chk)
10144 * debug/vfprintf_chk.c (__vfprintf_chk)
10145 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10146 * debug/vprintf_chk.c (__vprintf_chk)
10147 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10148 * debug/vswprintf_chk.c (__vswprintf_chk)
10149 * debug/vwprintf_chk.c (__vwprintf_chk)
10150 * debug/wprintf_chk.c (__wprintf_chk):
10151 Directly call the corresponding vxxprintf_internal function, passing
10152 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10153 the FILE and/or construct a temporary FILE. Minimize and normalize
10154 header inclusions and variable names. Do not libc_hidden_def anything.
10155
10156 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10157 __obstack_vprintf_internal.
10158 (__obstack_vprintf_chk): Convert into a wrapper that calls
10159 __obstack_vprintf_internal (these two functions already had the
10160 same code) and move to new file...
10161 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10162 file.
10163 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10164 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10165 * debug/Makefile (routines): Add vobprintf_chk.
10166
10167 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10168 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10169 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10170 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10171 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10172 (__nldbl___obstack_vfprintf_chk):
10173 Directly call the corresponding vxxprintf_internal function,
10174 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10175 duplicate comparison of slen with 0 or maxlen from the corresponding
10176 non-__nldbl function.
10177
10178 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10179 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10180 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10181 Remove libc_hidden_proto.
10182
10183 * stdio-common/vfprintf-internal.c
10184 (__vfprintf_internal, __vfwprintf_internal):
10185 Do not check _IO_FLAGS2_FORTIFY.
10186 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10187 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10188 a comment explaining why it has the maxlen argument.
10189 (_IO_acquire_lock_clear_flags2_fct): Remove.
10190 (_IO_acquire_lock_clear_flags2): Remove.
10191 (_IO_release_lock): Remove conditional statement which will
10192 now never execute.
10193 (_IO_acquire_lock): Remove variable which is now unused.
10194 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10195 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10196
10197 * stdio-common/Makefile (tests): Add tst-bz11319 and
10198 tst-bz11319-fortify2.
10199 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10200 * stdio-common/tst-bz11319-fortify2.c: New file.
10201 * stdio-common/tst-bz11319.c: Likewise.
10202
124fc732
ZW
102032018-12-05 Zack Weinberg <zackw@panix.com>
10204 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10205
10206 * misc/syslog.c: Include libioP.h, not iolibio.h.
10207 (__vsyslog_internal): New function with the former body of
10208 __vsyslog_chk; takes mode_flags argument same as
10209 __v*printf_internal. Call __vfprintf_internal directly.
10210
10211 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10212 Remove libc_hidden_def.
10213 (__syslog, __syslog_chk): Use __vsyslog_internal.
10214 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10215
10216 * include/sys/syslog.h: Add multiple inclusion guard.
10217 Add prototype for __vsyslog_internal.
10218 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10219
10220 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10221 Use __vsyslog_internal.
10222
698fb75b
ZW
102232018-12-05 Zack Weinberg <zackw@panix.com>
10224 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10225
10226 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10227 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10228 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10229 New functions.
10230 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10231 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10232
10233 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10234 Include wctype.h here if COMPILE_WPRINTF is defined.
10235 Define __vfprintf_internal or __vfwprintf_internal, depending
10236 on COMPILE_WPRINTF.
10237 Temporarily, on entry to this function, update mode_flags
10238 according to the environmental settings corresponding to
10239 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10240 Throughout, check mode_flags instead of __ldbl_is_dbl and
10241 _IO_FLAGS2_FORTIFY on the destination FILE.
10242 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10243 Include vfprintf-internal.c. Don't include wctype.h.
10244 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10245 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10246 and vfprintf.
10247 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10248 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10249 and vfwprintf.
10250 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10251
10252 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10253 and add mode_flags argument; use __vfprintf_internal.
10254 (__vdprintf): New function. Alias vdprintf to this.
10255 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10256 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10257 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10258 (__obstack_printf): Use __obstack_printf_internal.
10259 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10260 public aliases __vsnprintf and vsnprintf.
10261 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10262 called internally.
10263 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10264 public aliases _IO_vsprintf and vsprintf.
10265 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10266 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10267 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10268 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10269 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10270
10271 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10272 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10273 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10274 * stdio-common/printf.c: Use __vfprintf_internal.
10275
10276 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10277 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10278 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10279
10280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10281 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10282 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10283 __vfwprintf_internal.
10284
10285 * libio/libio.h: Remove libc_hidden_proto and declaration for
10286 _IO_vfprintf.
10287 Remove declaration of _IO_vfwprintf.
10288 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10289 _IO_vsprintf.
10290 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10291 _IO_obstack_printf.
10292 * include/stdio.h: Add prototype for __vasprintf.
10293 (__vsnprintf): Remove declaration, because there are no more
10294 internal calls.
10295 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10296 declaration, because there are no more internal calls.
10297
10298 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10299 __vsnprintf_internal, instead of _IO_vsnprintf.
10300 * argp/argp-help.c (__argp_error, __argp_failure): Use
10301 __vasprintf_internal, instead of _IO_vasprintf.
10302 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10303 redefine, because there are no more internal calls.
10304
d91798b3
ZW
103052018-12-05 Zack Weinberg <zackw@panix.com>
10306 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10307
10308 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10309 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10310 Include libio/strfile.h instead of libioP.h.
10311 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10312 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10313 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10314 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10315 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10316 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10317 necessary. Do not set __no_long_double. Normalize variable names.
10318 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10319 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10320 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10321 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10322 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10323 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10324 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10325 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10326 Do not set __no_long_double. Normalize variable names.
10327
b87eb3f8
ZW
103282018-12-05 Zack Weinberg <zackw@panix.com>
10329 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10330
10331 * stdio-common/isoc99_scanf.c
10332 * stdio-common/isoc99_fscanf.c
10333 * stdio-common/isoc99_sscanf.c
10334 * stdio-common/isoc99_vscanf.c
10335 * stdio-common/isoc99_vfscanf.c
10336 * stdio-common/isoc99_vsscanf.c
10337 * wcsmbs/isoc99_wscanf.c
10338 * wcsmbs/isoc99_fwscanf.c
10339 * wcsmbs/isoc99_swscanf.c
10340 * wcsmbs/isoc99_vwscanf.c
10341 * wcsmbs/isoc99_vfwscanf.c
10342 * wcsmbs/isoc99_vswscanf.c:
10343 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10344 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10345 No need to lock and unlock the FILE passed to that function.
10346
10347 * stdio-common/vfscanf-internal.c
10348 (__vfscanf_internal, __vfwscanf_internal):
10349 Don't look at _IO_FLAGS2_SCANF_STD.
10350 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10351 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10352 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10353
349718d4
ZW
103542018-12-05 Zack Weinberg <zackw@panix.com>
10355 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10356
10357 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10358 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10359 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10360 * libio/strfile.h: Add multiple inclusion guard.
10361 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10362
10363 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10364 consistency with the other version of this file.
10365 (ldbl_compat_symbol): New macro.
10366 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10367 New macro.
10368
10369 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10370 Define __vfscanf_internal or __vfwscanf_internal, depending on
10371 COMPILE_WSCANF; don't define any other public symbols.
10372 Remove errval and code to set errp.
10373 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10374 as the mode_flags argument.
10375 (encode_error, conv_error, input_error): Don't set errval.
10376 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10377 Include vfscanf-internal.c.
10378 * stdio-common/vfscanf.c: New file defining the public entry
10379 point vfscanf, which calls __vfscanf_internal.
10380 * stdio-common/vfwscanf.c: New file defining the public entry
10381 point vfwscanf, which calls __vfwscanf_internal.
10382
10383 * stdio-common/iovfscanf.c: New file.
10384 * stdio-common/iovfwscanf.c: Likewise.
10385
10386 * stdio-common/Makefile (routines): Add vfscanf-internal,
10387 vfwscanf-internal, iovfscanf, iovfwscanf.
10388 * stdio-common/Versions: Mention GLIBC_2.29, so that
10389 it can be used in SHLIB_COMPAT expressions.
10390 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10391 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10392 Call __vfscanf_internal, instead of _IO_vfscanf.
10393 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10394 _IO_vfscanf.
10395 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10396 _IO_vfwscanf.
10397
10398 * libio/iovsscanf.c: Clean up includes, when possible. Use
10399 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10400 __vfscanf_internal or __vfwscanf_internal directly.
10401 * libio/iovswscanf.c: Likewise.
10402 * libio/swscanf.c: Likewise.
10403 * libio/vscanf.c: Likewise.
10404 * libio/vwscanf.c: Likewise.
10405 * libio/wscanf.c: Likewise.
10406 * stdio-common/isoc99_fscanf.c: Likewise.
10407 * stdio-common/isoc99_scanf.c: Likewise.
10408 * stdio-common/isoc99_sscanf.c: Likewise.
10409 * stdio-common/isoc99_vfscanf.c: Likewise.
10410 * stdio-common/isoc99_vscanf.c: Likewise.
10411 * stdio-common/isoc99_vsscanf.c: Likewise.
10412 * stdio-common/scanf.c: Likewise.
10413 * stdio-common/sscanf.c: Likewise.
10414 * wcsmbs/isoc99_fwscanf.c: Likewise.
10415 * wcsmbs/isoc99_swscanf.c: Likewise.
10416 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10417 * wcsmbs/isoc99_vswscanf.c: Likewise.
10418 * wcsmbs/isoc99_vwscanf.c: Likewise.
10419 * wcsmbs/isoc99_wscanf.c: Likewise.
10420
6b5c8607 104212018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
10422
10423 * include/time.h
10424 (__tz_compute): Replace time_t with __time64_t.
10425 (__tz_convert): Replace time_t* with __time64_t.
10426 (__offtime): Replace time_t* with __time64_t.
10427 * time/gmtime.c
10428 (__gmtime_r): Adjust call to __tz_convert.
10429 (gmtime): Likewise.
10430 * time/localtime.c
10431 (__localtime_r): Likewise.
10432 (localtime): Likewise.
10433 * time/offtime.c: Replace time_t with __time64_t.
10434 * time/tzset.c: Likewise.
10435
bd598da9
JM
104362018-12-04 Joseph Myers <joseph@codesourcery.com>
10437
10438 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10439 dynamic linker unless [$(run-built-tests) = yes].
10440
b2e93de0
DD
104412018-12-03 DJ Delorie <dj@delorie.com>
10442
10443 * support/test-container.c (check_for_unshare_hints): New.
10444 (main): Call it if unshare fails. Add support for "su" scriptlet
10445 command.
10446
477a02f6
JM
104472018-12-03 Joseph Myers <joseph@codesourcery.com>
10448
10449 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10450 'START' to indicate that start text should be output.
10451 (gen_test): Likewise.
10452 (main): Generate 'START' for first symbol or '--' line, or at end
10453 of input if not previously generated.
10454
6af956e5
RÁE
104552018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10456
10457 [BZ #19767]
10458 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10459 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10460 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10461 ALWAYS_USE_VSYSCALL.
10462
f5ec0ea9
AZ
104632018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10464
10465 [BZ #23913]
10466 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10467 new_argv by one.
10468
8cebd4ff
CD
104692018-12-03 Carlos O'Donell <carlos@redhat.com>
10470
10471 [BZ #23923]
10472 * locale/programs/localedef.c: Declare boolean hard_links default true.
10473 (options): Add --no-hard-links option.
10474 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10475 * locale/programs/localedef.h: Declare prototype for hard_links.
10476 * locale/programs/locfile.c (write_locale_data): Don't use hard
10477 links if hard_links is false.
10478
c22e4c2a
L
104792018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10480
10481 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10482 cpu_features_basic.
10483 (__cache_sysconf): Likewise.
10484 (init_cacheinfo): Likewise.
10485 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10486 populate COMMON_CPUID_INDEX_80000007 and
10487 COMMON_CPUID_INDEX_80000008.
10488 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10489 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10490 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10491 (init_cpu_features): Use _Static_assert on
10492 index_arch_Fast_Unaligned_Load.
10493 __get_cpuid_registers and __get_arch_feature. Updated for
10494 cpu_features_basic. Set stepping in cpu_features.
10495 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10496 (FEATURE_INDEX_2): New.
10497 (FEATURE_INDEX_MAX): Changed to enum.
10498 (COMMON_CPUID_INDEX_D_ECX_1): New.
10499 (COMMON_CPUID_INDEX_80000007): Likewise.
10500 (COMMON_CPUID_INDEX_80000008): Likewise.
10501 (cpuid_registers): Likewise.
10502 (cpu_features_basic): Likewise.
10503 (CPU_FEATURE_USABLE): Likewise.
10504 (bit_arch_XXX_Usable): Likewise.
10505 (cpu_features): Use cpuid_registers and cpu_features_basic.
10506 (bit_arch_XXX): Reweritten.
10507 (bit_cpu_XXX): Likewise.
10508 (index_cpu_XXX): Likewise.
10509 (reg_XXX): Likewise.
10510 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10511 <support/check.h>.
10512 (CHECK_CPU_FEATURE): New.
10513 (CHECK_CPU_FEATURE_USABLE): Likewise.
10514 (cpu_kinds): Likewise.
10515 (do_test): Print vendor, family, model and stepping. Check
10516 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10517 (TEST_FUNCTION): Removed.
10518 Include <support/test-driver.c> instead of
10519 "../../test-skeleton.c".
10520 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10521 Check POPCNT instead of POPCOUNT.
10522 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10523
7b36d26b
ST
105242018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10525
10526 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10527 there is no element in `consts'.
10528
02cd5c1a
FW
105292018-12-01 Florian Weimer <fweimer@redhat.com>
10530
10531 * support/support_capture_subprocess.c
10532 (support_capture_subprocess): Check that pipe descriptors have
10533 expected values. Close original pipe descriptors in subprocess.
10534
fc493bc9
ST
105352018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10536
10537 [BZ #23032]
10538 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10539 attr with __pthread_default_barrierattr.
10540 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10541 attr with __pthread_default_condattr.
10542 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10543 attr with __pthread_default_mutexattr.
10544 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10545 attr with __pthread_default_rwlockattr.
10546
6310e6be
KW
105472018-12-01 Kemi Wang <kemi.wang@intel.com>
10548
10549 * manual/tunables.texi (POSIX Thread Tunables): New node.
10550 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10551 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10552 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10553 __pthread_tunables_init.
10554 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10555 (max_adaptive_count): Define.
10556 * nptl/pthread_mutex_conf.c: New file.
10557 * nptl/pthread_mutex_conf.h: New file.
10558 * sysdeps/generic/adaptive_spin_count.h: New file.
10559 * sysdeps/nptl/dl-tunables.list: New file.
10560 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10561 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10562 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10563 Likewise.
10564
8e67b39e
PP
105652018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10566
10567 [BZ #20544]
10568 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10569 * stdlib/on_exit.c (__on_exit): Likewise.
10570 * stdlib/Makefile (tests): Add tst-bz20544.
10571 * stdlib/tst-bz20544.c: New test.
10572
15b8d67e
RÁE
105732018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10574
10575 [BZ #19767]
10576 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10577 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10578 New.
10579
5e63c240
FW
105802018-11-30 Florian Weimer <fweimer@redhat.com>
10581
10582 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10583 Extend error logging.
10584 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10585 symbol.
10586
71058602 105872018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 10588
5fb7fc96
AZ
10589 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10590 __sigismember instead of sigismember.
10591 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10592 cancel_handler): New definitions.
10593 (do_system): Use posix_spawn instead of fork and execl and remove
10594 reentracy code.
10595 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10596 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10597 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10598 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10599 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10600 * sysdeps/unix/sysv/linux/system.c: Likewise.
10601
14d0e87d
AZ
10602 [BZ #22834]
10603 [BZ #17490]
10604 * NEWS: Add new semantic for atfork with popen and system.
10605 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10606 fork and execl.
10607
e5d262ef
TMQMF
106082018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10609
10610 [BZ #23690]
10611 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10612 modification order when accessing reloc_result->addr.
10613 * include/link.h (reloc_result): Add field init.
10614 * nptl/Makefile (tests): Add tst-audit-threads.
10615 (modules-names): Add tst-audit-threads-mod1 and
10616 tst-audit-threads-mod2.
10617 Add rules to build tst-audit-threads.
10618 * nptl/tst-audit-threads-mod1.c: New file.
10619 * nptl/tst-audit-threads-mod2.c: Likewise.
10620 * nptl/tst-audit-threads.c: Likewise.
10621 * nptl/tst-audit-threads.h: Likewise.
10622
7e1d4240
JM
106232018-11-30 Joseph Myers <joseph@codesourcery.com>
10624
10625 * scripts/gen-as-const.py: New file.
10626 * scripts/gen-as-const.awk: Remove.
10627 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10628 gen-as-const.py.
10629 ($(objpfx)test-as-const-%.c): Likewise.
10630
ce7387cc
L
106312018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10632
10633 * elf/dl-exception.c: Include <_itoa.h>.
10634
c6a5bdc1
ST
106352018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10636
10637 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10638 returned by __f_setlk.
10639
a5275ba5
L
106402018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10641 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10642
10643 * elf/Makefile (tests-internal): Add tst-create_format1.
10644 * elf/dl-exception.c (_dl_exception_create_format): Support
10645 %x, %lx and %zx.
10646 * elf/tst-create_format1.c: New file.
10647
3a67e81d
CAC
106482018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10649
10650 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10651 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10652 gnulib.)
10653 * argp/argp-help.c (__argp_failure): Likewise.
10654
4975f0c3
MH
106552018-11-29 Mao Han <han_mao@c-sky.com>
10656
10657 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10658 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10659 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10660 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10661 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10662 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10663 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10664 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10665 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10666 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10667 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10668 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10669 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10670 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10671 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10672 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10673 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10674 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10675 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10676 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10677 (R_CKCORE_TLS_TPOFF32): New defines.
10678
250102c8
FW
106792018-11-29 Florian Weimer <fweimer@redhat.com>
10680
10681 * posix/Makefile (before-compile): Remove testcases.h and
10682 ptestcases.h.
10683 (generated): Add testcases.h and ptestcases.h.
10684 (testcases.h, ptestcases.h): Move to $(objpfx).
10685 (runtests.o): Add dependency on testcases.h.
10686 (runptests.o): Add dependency on ptestcases.h.
10687 * posix/testcases.h, posix/ptestcases.h: Remove files.
10688 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10689 not touch posix/testcases.h and posix/ptestcases.h.
10690
96cd0558
FW
106912018-11-28 Florian Weimer <fweimer@redhat.com>
10692
10693 support: Add signal support to support_capture_subprocess_check.
10694 * support/capture_subprocess.h (support_capture_subprocess_check):
10695 Adjust comment and rename parameter.
10696 * support/support_capture_subprocess_check.c
10697 (print_actual_status): New function.
10698 (support_capture_subprocess_check): Support negative
10699 status_or_signal. Call print_actual_status.
10700 * support/tst-support_capture_subprocess.c (do_test): Call
10701 support_capture_subprocess_check.
10702 * libio/tst-vtables-common.c (termination_status)
10703 (init_termination_status): Remove.
10704 (check_for_termination): Adjust support_capture_subprocess_check
10705 call.
10706 (do_test): Remove call to init_termination_status.
10707
530504e3
JM
107082018-11-28 Joseph Myers <joseph@codesourcery.com>
10709
10710 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10711 source directory instead of a copy.
10712 (CommandList.create_copy_dir): Remove.
10713
9a0b6970
SL
107142018-11-28 Stefan Liebler <stli@linux.ibm.com>
10715
10716 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10717
47d8d9a2
FW
107182018-11-28 Florian Weimer <fweimer@redhat.com>
10719
10720 * support/support.h (support_quote_string): Do not use str
10721 parameter name.
10722
b473b7d8
JM
107232018-11-27 Joseph Myers <joseph@codesourcery.com>
10724
10725 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10726 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10727
c74a91de
FW
107282018-11-27 Florian Weimer <fweimer@redhat.com>
10729
10730 * support/support.h (support_quote_string): Declare.
10731 * support/support_quote_string.c: New file.
10732 * support/tst-support_quote_string.c: Likewise.
10733 * support/Makefile (libsupport-routines): Add
10734 support_quote_string.
10735 (tests): Add tst-support_quote_string.
10736
d527c860
FW
107372018-11-27 Florian Weimer <fweimer@redhat.com>
10738
10739 [BZ #23927]
10740 CVE-2018-19591
10741 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10742 descriptor leak in case of ENODEV error.
10743
979cfed0
RÁE
107442018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10745
10746 [BZ #19767]
10747 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10748 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10750
ce035c6e
CD
107512018-11-26 Carlos O'Donell <carlos@redhat.com>
10752
10753 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10754 Error for unknown lines.
10755
2bd0bfcc
JM
107562018-11-26 Joseph Myers <joseph@codesourcery.com>
10757
10758 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10759 Touch additional files.
10760
affec03b
FW
107612018-11-26 Florian Weimer <fweimer@redhat.com>
10762
10763 [BZ #23907]
10764 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10765 double-frees.
10766
8ae74ead
RÁE
107672018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10768
10769 [BZ #19767]
10770 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10771 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10772 SHARED. Include sysdep.h.
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10774 ALWAYS_USE_VSYSCALL.
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10776 ALWAYS_USE_VSYSCALL.
10777
1e8bdc3a
RÁE
107782018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10779
10780 [BZ #19767]
10781 * nptl/Makefile (tests-static): Add tst-cond11-static.
10782 (tests): Likewise.
10783 * nptl/tst-cond11-static.c: New File.
10784 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10785 tst-affinity-static.
10786 (tests): Likewise.
10787 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10788 instead of SHARED.
10789 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10790 (USE_VSYSCALL): Likewise.
10791 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10792 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10793 instead of SHARED.
10794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10795 SHARED.
10796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10797 New.
10798
1283c478
JM
107992018-11-23 Joseph Myers <joseph@codesourcery.com>
10800
10801 [BZ #23915]
10802 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10803 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10804 Undefine.
10805
c089fd80
L
108062018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10807
10808 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10809 (tst-cet-legacy-1a-ARGS): New.
10810 ($(objpfx)tst-cet-legacy-1a): New target.
10811 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10812
cc6c89fa
JM
108132018-11-22 Joseph Myers <joseph@codesourcery.com>
10814
95edd05c
JM
10815 * conform/conformtest.py (CompileSubTest.__init__): Set
10816 self.run_early to False.
10817 (ExecuteSubTest.__init__): Likewise.
10818 (HeaderTests.run): Try running all non-optional, non-XFAILed
10819 compilation tests in a single execution of the compiler.
10820
cc6c89fa
JM
10821 * conform/conformtest.py (CompileSubTest): New class.
10822 (ExecuteSubTest): Likewise.
10823 (ElementTest.run): Rename to gen_subtests. Append tests to
10824 self.subtests instead of running them.
10825 (ConstantTest.run): Likewise.
10826 (SymbolTest.run): Likewise.
10827 (TypeTest.run): Likewise.
10828 (TagTest.run): Likewise.
10829 (FunctionTest.run): Likewise.
10830 (VariableTest.run): Likewise.
10831 (MacroFunctionTest.run): Likewise.
10832 (MacroStrTest.run): Likewise.
10833 (HeaderTests.handle_test_line): Generate subtests for tests.
10834 (HeaderTests.run): Run subtests for tests.
10835
a502c529
SN
108362018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10837
10838 * math/Versions (GLIBC_2.29): Add pow.
10839 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10840 symbol.
10841 * math/w_pow.c: New file.
10842 * sysdeps/i386/fpu/w_pow.c: New file.
10843 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10845 and add necessary aliases.
10846 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10847 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10848 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10849 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10850 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10851 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10852 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10853 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10854 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10855 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10856 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10857 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10858 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10859 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10860 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10865 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10866 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10867 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10868 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10869 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10870 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10871 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10872 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10873 __pow.
10874 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10875 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10876 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10877
718d6542
SN
108782018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10879
10880 * math/Versions (GLIBC_2.29): Add log2.
10881 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10882 symbol.
10883 * math/w_log2.c: New file.
10884 * sysdeps/i386/fpu/w_log2.c: New file.
10885 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10886 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10887 and add necessary aliases.
10888 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10889 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10890 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10891 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10892 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10893 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10894 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10895 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10896 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10897 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10898 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10899 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10900 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10901 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10902 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10907 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10909 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10910 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10912 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10913 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10914
f29b7c49
SN
109152018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10916
10917 * math/Versions (GLIBC_2.29): Add log.
10918 * math/w_log_compat.c (__log_compat): Change to versioned compat
10919 symbol.
10920 * math/w_log.c: New file.
10921 * sysdeps/i386/fpu/w_log.c: New file.
10922 * sysdeps/ia64/fpu/e_log.S: Update.
10923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10924 and add necessary aliases.
10925 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10926 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10927 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10928 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10929 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10930 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10931 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10932 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10933 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10934 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10935 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10936 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10937 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10938 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10939 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10944 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10945 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10946 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10947 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10948 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10949 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10950 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10951 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10952 __log.
10953 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10954 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10955 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10956 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10957
c20a1056
SN
109582018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10959
10960 * math/Versions (GLIBC_2.29): Add exp and exp2.
10961 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10962 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10963 * math/w_exp_compat.c (__exp_compat): Likewise.
10964 * math/w_exp.c: New file.
10965 * math/w_exp2.c: New file.
10966 * sysdeps/i386/fpu/w_exp.c: New file.
10967 * sysdeps/i386/fpu/w_exp2.c: New file.
10968 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10969 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10971 and add necessary aliases.
10972 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10973 and add necessary aliases.
10974 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10975 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10976 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10977 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10978 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10979 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10980 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10981 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10982 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10983 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10984 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10985 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10986 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10987 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10988 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10989 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10990 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10995 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10996 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10997 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10998 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10999 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
11000 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
11001 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
11002 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
11003 (__ieee754_exp): Rename to __exp.
11004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
11005 (__ieee754_exp): Rename to __exp.
11006 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
11007 (__ieee754_exp): Rename to __exp.
11008 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
11009 __exp.
11010 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
11011
bcdaad21
DD
110122018-11-20 DJ Delorie <dj@redhat.com>
11013
11014 * malloc/malloc.c (tcache_entry): Add key field.
11015 (tcache_put): Set it.
11016 (tcache_get): Likewise.
11017 (_int_free): Check for double free in tcache.
11018 * malloc/tst-tcfree1.c: New.
11019 * malloc/tst-tcfree2.c: New.
11020 * malloc/Makefile: Run the new tests.
11021 * manual/probes.texi: Document memory_tcache_double_free probe.
11022
11023 * dlfcn/dlerror.c (check_free): Prevent double frees.
11024
5770c0ad
WD
110252018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
11026
11027 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
11028
9a62a939
JM
110292018-11-20 Joseph Myers <joseph@codesourcery.com>
11030
11031 * conform/conformtest.py (ElementTest.run): Use unique identifiers
11032 in tests. Use names for format arguments.
11033 (ConstantTest.run): Likewise.
11034 (SymbolTest.run): Likewise.
11035 (TypeTest.run): Likewise.
11036 (TagTest.run): Likewise.
11037 (FunctionTest.run): Likewise.
11038 (VariableTest.run): Likewise.
11039 (MacroFunctionTest.run): Likewise.
11040 (MacroStrTest.run): Likewise.
11041 (HeaderTests.__init__): Set self.num_tests.
11042 (HeaderTests.handle_test_line): Set test.num. Increment
11043 self.num_tests.
11044
b15b1a95
ST
110452018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11046
11047 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
11048 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
11049 SEEK_SET.
11050
0c7f97ae
MH
110512018-11-19 Mao Han <han_mao@c-sky.com>
11052
11053 * scripts/config.guess: Update to version 2018-08-29.
11054 * scripts/config.sub: Update to version 2018-08-29.
11055
35e3fbc4
FW
110562018-11-19 Florian Weimer <fweimer@redhat.com>
11057
11058 support: Print timestamps in timeout handler.
11059 * support/support_test_main.c (print_timestamp): New function.
11060 (signal_handler): Use it to print the termination time and the
11061 time of the last write to standard output.
11062
c75772e3
ZW
110632018-11-16 Zack Weinberg <zackw@panix.com>
11064 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11065
11066 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
11067 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
11068 argument.
11069 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
11070 and add flags argument. Check flags instead of __ldbl_is_dbl when
11071 deciding whether to set is_long_double.
11072 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
11073 passing zero for flags argument.
11074 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
11075
11076 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
11077 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
11078 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
11079 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
11080 variable names. Remove libc_hidden_def/libc_hidden_proto from
11081 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
11082 longer called from within the library.
11083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
11084 for __nldbl___vstrfmon_l, declare it explicitly.
11085
11086 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
11087
346ef23f
ST
110882018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11089
11090 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
11091 macros
11092 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
11093 F_SETLK64, F_SETLKW64, respectively.
11094 * sysdeps/mach/hurd/f_setlk.c: New file.
11095 * sysdeps/mach/hurd/f_setlk.h: New file.
11096 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
11097 f_setlk.
11098 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
11099 (__libc_fcntl): Move non-flock operations to...
11100 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
11101 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
11102
de20b81a
PE
111032018-11-15 Paul Eggert <eggert@cs.ucla.edu>
11104
5d8af156
PE
11105 mktime: DEBUG_MKTIME cleanup
11106 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
11107 And it’s no longer needed now that glibc and Gnulib both have
11108 their own testing mechanisms for mktime.
11109 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
11110
86aece3b
PE
11111 mktime: fix non-EOVERFLOW errno handling
11112 [BZ#23789]
11113 mktime was not properly reporting failures when the underlying
11114 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
11115 them like EOVERFLOW failures, and set errno to EOVERFLOW.
11116 The problem could happen on non-glibc platforms, with Gnulib.
11117 * time/mktime.c (guess_time_tm): Remove, replacing with ...
11118 (tm_diff): ... this simpler function, which does not change errno.
11119 All callers changed to deal with errno themselves.
11120 (ranged_convert, __mktime_internal): Return failure immediately if
11121 the underlying function reports any failure other than EOVERFLOW.
11122 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11123 gap code fails.
11124
f6b3331b
PE
11125 mktime: fix bug with Y2038 DST transition
11126 [BZ#23789]
11127 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
11128 mishandle a DST transition that jumps over the Y2038 boundary.
11129 No such DST transitions are known so this is only a theoretical
11130 bug, but we might as well do things right.
11131
efbdddc3
PE
11132 mktime: make more room for overflow
11133 [BZ#23789]
11134 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
11135 This is so that we can add tm_diff results to a previous guess,
11136 which will be useful in a later patch.
11137
6c90d759
PE
11138 mktime: simplify offset guess
11139 [BZ#23789]
11140 * time/mktime.c (__mktime_internal): Omit excess precision.
11141
32c12f3f
PE
11142 mktime: new test for mktime failure
11143 [BZ#23789]
11144 Based on a test suggested by Albert Aribaud in:
11145 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11146 * time/Makefile (tests): Add bug-mktime4.
11147 * time/bug-mktime4.c: New file.
11148
de20b81a
PE
11149 mktime: fix EOVERFLOW bug
11150 [BZ#23789]
11151 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11152 Include libc-config.h, not config.h, for __set_errno.
11153 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11154
8c6c3fb0
ST
111552018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11156
11157 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11158 __attribute_copy__ to copy attributes from name. Drop static qualifier
11159 to avoid warnings about leaf attribute not having effect on static
11160 functions.
11161
6923f6db
FW
111622018-11-13 Florian Weimer <fweimer@redhat.com>
11163
11164 * malloc/malloc.c (fastbin_push_entry): New function.
11165 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11166 (REMOVE_FB): Remove macro.
11167 (_int_malloc): Use fastbin_pop_entry and reindent.
11168 (_int_free): Use fastbin_push_entry.
11169 (malloc_consolidate): Use atomic_exchange_acquire.
11170
53f5c659
JM
111712018-11-13 Joseph Myers <joseph@codesourcery.com>
11172
0c096dcf
JM
11173 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11174 alias attribute, not with strong_alias.
11175
9c4b457e
JM
11176 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11177 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11178 with additional parameter thread.
11179 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11180 in terms of __hidden_ver2.
11181 (hidden_tls_def): New macro.
11182 (libc_hidden_tls_def): Likewise.
11183 (rtld_hidden_tls_def): Likewise.
11184 (libm_hidden_tls_def): Likewise.
11185 (libmvec_hidden_tls_def): Likewise.
11186 (libresolv_hidden_tls_def): Likewise.
11187 (librt_hidden_tls_def): Likewise.
11188 (libdl_hidden_tls_def): Likewise.
11189 (libnss_files_hidden_tls_def): Likewise.
11190 (libnsl_hidden_tls_def): Likewise.
11191 (libnss_nisplus_hidden_tls_def): Likewise.
11192 (libutil_hidden_tls_def): Likewise.
11193 (libutil_hidden_tls_def): Likweise.
11194 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11195 libc_hidden_tls_def.
11196 (__sim_disabled_exceptions_thread): Likewise.
11197 (__sim_round_mode_thread): Likewise.
11198
53f5c659
JM
11199 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11200 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11201 copy attributes from name.
11202
092dfde6
JM
112032018-11-12 Joseph Myers <joseph@codesourcery.com>
11204
f578f97b
JM
11205 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11206 Use __attribute_copy__ to copy attributes from name.
11207
9a7c643a
JM
11208 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11209 with __hidden_ver1 call.
11210 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11211 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11212 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11213 (__cosf): Do not declare here.
11214 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11215 (__sincosf): Do not declare here.
11216 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11217 (__sinf): Do not declare here.
11218
092dfde6
JM
11219 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11220 (__BIG_ENDIAN): Likewise.
11221 (__BYTE_ORDER): Likewise.
11222 (strong_alias): Likewise.
11223 (_strong_alias): Likewise.
11224
1ecba1fa
FW
112252018-11-12 Florian Weimer <fweimer@redhat.com>
11226
11227 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11228 function. Move after the definition of in_smallbin_range. Do not
11229 use __builtin_expect for paths that lead to a noreturn function.
11230 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11231 because it is unclear whether this is in fact an unlikely
11232 condition.
11233 (_int_malloc, _int_free): Adjust.
11234 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11235 variables.
11236 * malloc/arena.c (heap_trim): Likewise.
11237
434c34bd
ST
112382018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11239
11240 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11241 it, free it if needed.
11242 (reauthenticate): Test and use ccwdir.
11243 (child_init_port): In non-resetids case, test and use ccwdir.
11244 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
11245 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11246 * hurd/hurd/port.h (_hurd_port_move): New function.
11247 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11248 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
11249 * hurd/Versions (_hurd_port_move): Export function.
11250 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11251 symbol.
58bb655a
ST
11252 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11253 of dtablesize for allocating dtable_cloexec.
434c34bd 11254
1626a1cf
MS
112552018-11-09 Martin Sebor <msebor@redhat.com>
11256
11257 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11258 it's already defined.
11259 (_strong_alias): Use __attribute_copy__.
11260 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11261 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11262 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11263 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11264 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11265 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11266 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11267 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11268 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11269 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11270 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11271 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11272 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11273 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11274 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11275 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11276 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11277 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11278 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11279
968ed530
GG
112802018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11281
11282 * misc/tst-efgcvt.c: Include support/check.h and
11283 support/test-driver.c. Do not include test-skeleton.c.
11284 (error_count): Remove.
11285 (output_error): Replace increments to error_count with calls to
11286 support_record_failure.
11287 (output_r_error): Likewise.
11288 (special): Likewise.
11289 (do_test): Unconditionally return zero.
11290 (TEST_FUNCTION): Remove.
11291
c3ec0972
JM
112922018-11-09 Joseph Myers <joseph@codesourcery.com>
11293
91faaa93
JM
11294 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11295 not $(@D)/scratch.
11296 ($(linknamespace-header-tests)): Likewise.
11297
c3ec0972
JM
11298 * conform/conformtest.py: New file.
11299 * conform/conformtest.pl: Remove.
11300 * conform/GlibcConform.pm: Likewise.
11301 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11302 (KEYWORDS_C99): Likewise.
11303 (KEYWORDS): Likewise.
11304 * conform/Makefile ($(conformtest-header-tests)): Use
11305 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11306 option. Use --header instead of --headers.
11307 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11308 function entries.
11309 * conform/data/spawn.h-data: Likewise.
11310 * conform/data/fcntl.h-data (openat): Add space after function
11311 name.
11312 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11313 (wcscasecmp_l): Likewise.
11314 * conform/data/termios.h-data (c_cc): Add space after element
11315 name.
11316
43257c33
GG
113172018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11318
11319 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11320 instead of manually comparing and reporting mismatching strings.
11321 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11322 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11323
e5de3b5b
JM
113242018-11-08 Joseph Myers <joseph@codesourcery.com>
11325
11326 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11327 __ASSUME_SOCKETCALL.
11328 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11329 (__ASSUME_SOCKETCALL): Remove.
11330 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11331 (__ASSUME_SOCKETCALL): Likewise.
11332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11333 (__ASSUME_SOCKETCALL): Likewise.
11334 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11335 (__ASSUME_SOCKETCALL): Likewise.
11336 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11337 (__ASSUME_SOCKETCALL): Likewise.
11338 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11339 (__ASSUME_SOCKETCALL): Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11341 (__ASSUME_SOCKETCALL): Likewise.
11342
d524fa6c
L
113432018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11344
11345 [BZ #23509]
11346 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11347 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11348 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11349 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11350 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11351 lc_unknown.
11352
ac806026
AH
113532018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11354
11355 [BZ #17630]
11356 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11357
596cc360
JM
113582018-11-07 Joseph Myers <joseph@codesourcery.com>
11359
11360 [BZ #23867]
11361 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11362 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11364 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11365
00c86a37
AZ
113662018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11367
11368 * support/support_test_compare_string.c
11369 (support_test_compare_string): Fix printf format.
11370
1df872fd
FW
113712018-11-07 Florian Weimer <fweimer@redhat.com>
11372
11373 Implement TEST_COMPARE_STRING.
11374 * support/check.h (TEST_COMPARE_STRING): Define.
11375 (support_test_compare_string): Declare.
11376 * support/Makefile (libsupport-routines): Add
11377 support_test_compare_string.
11378 (tests): Add tst-test_compare_string.
11379 * support/support_test_compare_string.c: New file.
11380 * support/tst-test_compare_string.c: Likewise.
11381
295132ff
AS
113822018-11-07 Andreas Schwab <schwab@suse.de>
11383
11384 [BZ #23864]
11385 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11386 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11387 Undef.
11388
e143ceba
JM
113892018-11-06 Joseph Myers <joseph@codesourcery.com>
11390
11391 [BZ #23862]
11392 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11393 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11394 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11395 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11396 Likewise.
11397
4a938cb2
FW
113982018-11-06 Florian Weimer <fweimer@redhat.com>
11399
11400 [BZ #17405]
11401 * posix/Makefile (routines): Add spawn_faction_addchdir.
11402 (tests): Add tst-spawn-chdir.
11403 * posix/Versions (GLIBC_2.29): Add
11404 posix_spawn_file_actions_addchdir_np.
11405 * posix/spawn_faction_addchdir.c: New file.
11406 * posix/spawn_faction_destroy.c
11407 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11408 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11409 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11410 chdir_action.
11411 * posix/tst-spawn-chdir.c: New file.
11412 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11413 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11414 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11415 posix_spawn_file_actions_addchdir_np.
11416 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11417 Likewise.
11418 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11419 Likewise.
11420 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11421 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11422 Likewise.
11423 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11424 Likewise.
11425 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11426 Likewise.
11427 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11428 Likewise.
11429 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11430 Likewise.
11431 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11432 Likewise.
11433 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11434 (GLIBC_2.29): Likewise.
11435 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11436 (GLIBC_2.29): Likewise.
11437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11438 (GLIBC_2.29): Likewise.
11439 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11440 (GLIBC_2.29): Likewise.
11441 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11442 Likewise.
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11444 (GLIBC_2.29): Likewise.
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11446 (GLIBC_2.29): Likewise.
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11448 (GLIBC_2.29): Likewise.
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11450 (GLIBC_2.29): Likewise.
11451 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11452 Likewise.
11453 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11454 Likewise.
11455 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11456 Likewise.
11457 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11458 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11459 Likewise.
11460 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11461 Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11463 Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11465 Likewise.
11466
7597b0c7
GG
114672018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11468
11469 * misc/Makefile (tests): Add tst-ldbl-error.
11470 * misc/tst-ldbl-error.c: New file.
11471
9771e6cb
GG
114722018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11473
11474 * misc/Makefile (tests): Add tst-ldbl-warn.
11475 * misc/tst-ldbl-warn.c: New file.
11476
2c03961f
GG
114772018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11478
11479 * argp/Makefile (tests): Add tst-ldbl-argp.
11480 * argp/tst-ldbl-argp.c: New file.
11481
6d6ee046
AS
114822018-11-05 Arjun Shankar <arjun@redhat.com>
11483
11484 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11485 __gconv_path_elem and call __gconv_get_path unconditionally.
11486
bd3b0fba
AS
114872018-11-05 Andreas Schwab <schwab@suse.de>
11488
11489 [BZ #22927]
11490 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11491 creating the first helper thread failed.
11492
2e96e980
ST
114932018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11494
11495 * sysdeps/mach/hurd/msync.c: New file.
11496
6e36266c
FW
114972018-11-02 Florian Weimer <fweimer@redhat.com>
11498
11499 * support/shell-container.c (copy_func): Call
11500 support_copy_file_range instead of copy_file_range to support
11501 cross-device copies.
11502
599f7bee
FW
115032018-11-02 Florian Weimer <fweimer@redhat.com>
11504
11505 * support/test-container.c: Include <libc-pointer-arith.h> for
11506 ALIGN_UP.
11507
ff48ea67
ZL
115082018-11-01 Zong Li <zong@andestech.com>
11509
af1d5782
ZL
11510 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11511 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11512 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11513 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11514
ff48ea67
ZL
11515 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11516 variable to avoid overlap arguments.
11517
daea71c2
JM
115182018-11-01 Joseph Myers <joseph@codesourcery.com>
11519
eac4405a
JM
11520 * posix/bug-regex22.c (main): Use puts with distinct error
11521 messages for unexpected success of re_compile_pattern, not printf
11522 with NULL argument to %s.
11523
6f30e59f
JM
11524 * stdio-common/bug22.c: Include <libc-diag.h>.
11525 (do_test): Disable -Wformat-overflow= warnings around fprintf
11526 calls outputting more than INT_MAX characters.
11527 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11528 around printf call with NULL %s argument.
11529
daea71c2
JM
11530 [BZ #23848]
11531 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11532 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11533 Undefine.
11534 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11535 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11536 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11537 (__ASSUME_SENDTO_SYSCALL): Likewise.
11538 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11539 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11540 [!__arch64__].
11541 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11542 (__ASSUME_CONNECT_SYSCALL): Likewise.
11543 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11544 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11545 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11546 Define.
11547 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11548 Likewise.
11549 [__LINUX_KERNEL_VERSION >= 0x040400]
11550 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11551 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11552 Remove.
11553 (listen): Likewise.
11554 (setsockopt): Likewise.
11555
8e3c00db
FN
115562018-11-01 Fredrik Noring <noring@nocrew.org>
11557
11558 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11559 with the ISA override.
11560
ab74d59f 115612018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
9c3dbdbe
RAE
11562
11563 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11564 #endif.
11565
e3a88b3e
ST
115662018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11567
a67377e7 11568 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 11569 translate the error message.
a67377e7
ST
11570 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11571 printing trailing whitespaces refused by git.
11572 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11573 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 11574 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 11575
3ca235ed
JM
115762018-10-30 Joseph Myers <joseph@codesourcery.com>
11577
11578 * conform/linknamespace.py: New file.
11579 * conform/linknamespace.pl: Remove file.
11580 * conform/Makefile ($(linknamespace-header-tests)): Use
11581 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11582 option.
11583
60708030
FW
115842018-10-30 Florian Weimer <fweimer@redhat.com>
11585
11586 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11587 memory leaks.
11588
a91e9301
FW
115892018-10-30 Florian Weimer <fweimer@redhat.com>
11590
11591 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11592
07da99aa
FW
115932018-10-30 Florian Weimer <fweimer@redhat.com>
11594
11595 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11596 support_blob_repeat.
11597
f5e7e959
FW
115982018-10-30 Florian Weimer <fweimer@redhat.com>
11599
11600 Avoid spurious test failures in stdlib/test-bz22786.
11601 * support/Makefile (libsupport-routines): Add blob_repeat.
11602 (tests): Add tst-support_blob_repeat.
11603 * support/blob_repeat.h: New file.
11604 * support/blob_repeat.c: Likewise.
11605 * support/tst-support_blob_repeat.c: Likewise.
11606 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11607 support_blob_repeat_allocate.
11608
2dd12baa
AS
116092018-10-30 Andreas Schwab <schwab@suse.de>
11610
11611 [BZ #23125]
11612 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11613 Don't use tail call.
11614 * elf/tst-unwind-main.c: New file.
11615 * elf/Makefile (tests): Add tst-unwind-main.
11616 (CFLAGS-tst-unwind-main.c): Define.
11617
6b5c8607 116182018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
11619
11620 [BZ #23791]
11621 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11622 n_cs_precedes to 0.
11623 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11624
c6982f7e
JM
116252018-10-29 Joseph Myers <joseph@codesourcery.com>
11626
954cf3c2
JM
11627 * conform/glibcconform.py: Do not import shutil.
11628 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11629 of mkdtemp.
11630
c6982f7e
JM
11631 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11632 critic_missing for versions before 3.4.
11633 * configure: Regenerated.
11634 * manual/install.texi (Tools for Compilation): Document
11635 requirement for Python to build glibc.
11636 * INSTALL: Regenerated.
11637 * Rules [PYTHON]: Make code unconditional.
11638 * benchtests/Makefile [PYTHON]: Likewise.
11639 * conform/Makefile [PYTHON]: Likewise.
11640 * manual/Makefile [PYTHON]: Likewise.
11641 * math/Makefile [PYTHON]: Likewise.
11642
46a7f24c
ST
116432018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11644
11645 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 11646 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 11647 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
11648 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11649 _hurd_intr_rpc_msg_about_to global point to start of controlled
11650 assembly snippet. Make it check canceled flag.
11651 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11652 the _hurd_intr_rpc_msg_about_to point.
11653 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11654 issue, remove cancel flag check.
46a7f24c 11655
e5b8756d
JM
116562018-10-26 Joseph Myers <joseph@codesourcery.com>
11657
11658 * scripts/build-many-glibcs.py: Remove compatibility for missing
11659 os.cpu_count and re.fullmatch.
11660
ba5b14c7
SN
116612018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11662
11663 [BZ #23822]
11664 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11665 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11666 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11667
fe61f17c
JM
116682018-10-25 Joseph Myers <joseph@codesourcery.com>
11669
11670 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11671 macro.
11672
7c5e34d7
FW
116732018-10-25 Florian Weimer <fweimer@redhat.com>
11674
11675 [BZ #23562]
11676 [BZ #23821]
11677 XFAIL siginfo_t si_band conform test on sparc64.
11678 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11679 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11680 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11681 (conformtest-xfail-conds): Add sparc64-linux.
11682 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11683 sparc64.
11684 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11685
5b784e88
JM
116862018-10-25 Joseph Myers <joseph@codesourcery.com>
11687
11688 * elf/elf.h (NT_MIPS_DSP): New macro.
11689 (NT_MIPS_FP_MODE): Likewise.
11690
41432ebe
ZL
116912018-10-25 Zong Li <zong@andestech.com>
11692
11693 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11694 name by adding the file extension (.so).
11695
d026efea
ST
116962018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11697
11698 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11699 (test-xfail-ISO11/threads.h/linknamespace,
11700 test-xfail-ISO11/threads.h/conform): Add.
11701
b71ac2b9
JM
117022018-10-24 Joseph Myers <joseph@codesourcery.com>
11703
11704 * math/gen-libm-test.py: Import os.
11705 (ALL_FLOATS_MANUAL): New constant.
11706 (ALL_FLOATS_SUFFIX): Likewise.
11707 (Ulps.all_functions): New function.
11708 (real_all_ulps): Likewise.
11709 (generate_err_table_sub): Likewise.
11710 (generate_err_table): Likewise.
11711 (main): Handle -s and -m options.
11712 * manual/libm-err-tab.pl: Remove.
11713 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11714 instead of libm-err-tab.pl.
11715 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11716 != no].
11717 * manual/install.texi (Tools for Compilation): Document
11718 requirement for Python to build manual.
11719 * INSTALL: Regenerated.
11720
6b5c8607 117212018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
11722
11723 * bits/time64.h: New file.
11724 * include/time.h: Replace internal_time_t with __time64_t.
11725 * posix/bits/types (__time64_t): Add.
11726 * stdlib/Makefile: Add bits/time64.h to includes.
11727 * time/tzfile.c: Replace internal_time_t with __time64_t.
11728
97d91fcc 117292018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
11730
11731 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11732 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11733 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11734 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11735 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11736 prototype.
11737 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11738 * posix/spawn_faction_addclose.c
11739 (__posix_spawn_file_actions_addclose): Add hidden definition.
11740 * posix/spawn_faction_adddup2.c
11741 (__posix_spawn_file_actions_adddup2): Likewise.
11742 * posix/spawn_faction_destroy.c
11743 (__posix_spawn_file_actions_destroy): Likewise.
11744 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11745 Likewise.
11746 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11747 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11748 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11749 Likewise.
11750 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11751 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11752 Likewise.
11753
2954daf0
AS
117542018-10-24 Andreas Schwab <schwab@suse.de>
11755
11756 [BZ #18093]
11757 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11758 format cache.
11759 * elf/cache.c (print_cache): Likewise.
11760
6b5c8607 117612018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
11762
11763 * bits/timesize.h: New file.
11764 * stdlib/Makefile (headers): Add bits/timesize.h.
11765 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11766 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11767 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11768 (__SEM_PAD_AFTER_TIME): Likewise.
11769 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11770 (__SHM_PAD_AFTER_TIME): Likewise.
11771 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11772 (__MSQ_PAD_BEFORE_TIME): Likewise.
11773 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11774 (__SEM_PAD_BEFORE_TIME): Likewise.
11775 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11776 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11777 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
11778 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11779 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11780 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
11781 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11782 (__SEM_PAD_BEFORE_TIME): Likewise.
11783 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11784 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11785 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11786 (__MSQ_PAD_BEFORE_TIME): Likewise.
11787 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11788 (__SEM_PAD_BEFORE_TIME): Likewise.
11789 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11790 (__SHM_PAD_BEFORE_TIME): Likewise.
11791 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11792 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11793 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11794
7cc65773
L
117952018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11796
11797 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11798 USE_RDTSCP is defined.
11799 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11800 USE_RDTSCP is defined.
11801
c3d8dc45
AZ
118022018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11803
18ad0de6
AZ
11804 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11805 defined.
11806
c3d8dc45
AZ
11807 [BZ #23709]
11808 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11809 independently of other flags.
11810
f1034472
FW
118112018-10-23 Florian Weimer <fweimer@redhat.com>
11812
11813 * time/tst-mktime2.c (N_STRINGS): Remove.
11814 (set_timezone): New function.
11815 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11816 (mktime_test1): Report localtime failure and check errno value.
11817 Use TEST_COMPARE.
11818 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11819 (do_test): Remove alarm call. Use set_timezone and array_length.
11820
367d7cc2
AS
118212018-10-23 Andreas Schwab <schwab@suse.de>
11822
11823 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11824 (__start_context): Use END instead of PSEUDO_END.
11825
be8ff03f
JM
118262018-10-22 Joseph Myers <joseph@codesourcery.com>
11827
029ad711
JM
11828 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11829 version to 4.19.
11830
8190520f
JM
11831 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11832 version to 4.19.
11833
be8ff03f
JM
11834 [BZ #23793]
11835 * wcsmbs/c32rtomb.c: New file.
11836 * wcsmbs/mbrtoc32.c: Likewise.
11837 * wcsmbs/tst-c32-state.c: Likewise.
11838 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11839 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11840 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11841 (tests): Add tst-c32-state.
11842 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11843 $(gen-locales).
11844
2dd8e58c
L
118452018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11846
11847 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11848 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11849
d0a74159
JM
118502018-10-19 Joseph Myers <joseph@codesourcery.com>
11851
11852 [BZ #23794]
11853 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11854 pair and return 0 in that case, and use saved character to
11855 interpret following character.
11856 * wcsmbs/tst-c16-surrogate.c: New file.
11857 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11858 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11859 Depend on $(gen-locales)
11860
f997b4be
IYM
118612018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11862
11863 [BZ #23562]
11864 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11865 (struct siginfo_t): Use correct type for si_band.
11866
53b2bb87
FW
118672018-10-19 Florian Weimer <fweimer@redhat.com>
11868
11869 [BZ #23689]
11870 * resource/bits/types/struct_rusage.h (struct rusage): Update
11871 comment on struct. Remove extraneous field comment.
11872
0a271c8f
DM
118732018-10-18 David S. Miller <davem@davemloft.net>
11874
94a3a27f
DM
11875 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11876 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11877 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11878 sysdep_routines in subdir elf.
11879 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11880 version for __vdso_clock_gettime.
11881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11882 Define.
11883 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11884 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11885
0a271c8f
DM
11886 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11887
72771e53
L
118882018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 * sysdeps/i386/init-arch.h: Removed.
11891 * sysdeps/i386/i586/init-arch.h: Likewise.
11892 * sysdeps/i386/i686/init-arch.h: Likewise.
11893 * sysdeps/i386/i686/hp-timing.h: Likewise.
11894 * sysdeps/x86_64/hp-timing.h: Likewise.
11895 * sysdeps/i386/isa.h: New file.
11896 * sysdeps/i386/i586/isa.h: Likewise.
11897 * sysdeps/i386/i686/isa.h: Likewise.
11898 * sysdeps/x86_64/isa.h: Likewise.
11899 * sysdeps/x86/hp-timing.h: New file.
11900 * sysdeps/x86/init-arch.h: Include <isa.h>.
11901
c2b7ccad
JM
119022018-10-17 Joseph Myers <joseph@codesourcery.com>
11903
11904 * math/libm-test-pow.inc (pow_test_data): Do not allow
11905 divide-by-zero exception for pow(+/- 0, -Inf).
11906
26756e57
ZW
119072018-10-17 Zack Weinberg <zackw@panix.com>
11908
11909 * manual/job.texi (Job Control is Optional): Remove node, as
11910 job control has not been optional in quite some time.
11911 (Job Control): Mention briefly that systems older than
11912 POSIX.1-2001 might not support job control.
11913 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11914 defined on systems conforming to POSIX.1-2001.
11915
c5288d37
AS
119162018-10-17 Arjun Shankar <arjun@redhat.com>
11917
11918 [BZ #22062]
11919 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11920 indentation.
11921 * (__gconv_read_conf): Mark function static.
11922 * (once): New static variable.
11923 * (__gconv_load_conf): New function.
11924 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11925 * iconv/gconv_db.c (once): Remove static variable.
11926 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11927 __gconv_read_conf.
11928 * (__gconv_find_transform): Likewise.
11929 * iconv/tst-iconv-mt.c: New test.
11930 * iconv/Makefile: Add tst-iconv_mt.
11931
8c8d2a8a
JM
119322018-10-17 Joseph Myers <joseph@codesourcery.com>
11933
11934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
11935 bits/shm-pad.h.
11936 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11937 (shmatt_t): Define as __syscall_ulong_t.
11938 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11939 and [__SHM_PAD_AFTER_TIME].
11940 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11941 Define shm_segsz and associated padding based on
11942 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11943 Use __syscall_ulong_t instead of unsigned long int.
11944 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11945 unsigned long int.
11946 [__USE_MISC] (struct shm_info): Likewise.
11947 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11948 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11949 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11950 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11951 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11952 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11953 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11954 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11955 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11956 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11958
11959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
11960 bits/shmlba.h.
11961 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11962 (SHMLBA): Remove macro.
11963 (__getpagesize): Remove function declaration.
11964 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11965 <bits/shmlba.h>.
11966 (SHMLBA): Remove macro.
11967 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11968 <bits/shmlba.h>.
11969 (SHMLBA): Remove macro.
11970 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11971 <bits/shmlba.h>.
11972 (SHMLBA): Remove macro.
11973 (__getpagesize): Remove function declaration.
11974 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11975 <bits/shmlba.h>.
11976 (SHMLBA): Remove macro.
11977 (__getshmlba): Remove function declaration.
11978 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11979 (SHMLBA): Remove macro.
11980 (__getpagesize): Remove function declaration.
11981 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11982 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11983 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11984 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11985 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11986 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11987 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11988 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11989 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11991
403b4feb
SL
119922018-10-17 Stefan Liebler <stli@linux.ibm.com>
11993
11994 [BZ #23275]
11995 * nptl/tst-mutex10.c: New File.
11996 * nptl/Makefile (tests): Add tst-mutex10.
11997 (tst-mutex10-ENV): New variable.
11998 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11999 Ensure that elision path is used if elision is available.
12000 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
12001 Likewise.
12002 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
12003 Likewise.
12004 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
12005 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
12006 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
12007 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
12008 Likewise.
12009 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
12010 (__pthread_mutex_cond_lock_adjust): Likewise.
12011 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12012 Likewise.
12013 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
12014 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12015 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12016 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
12017 Add comments.
12018 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12019 Use atomic_load_relaxed and atomic_store_relaxed.
12020 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
12021 Use atomic_store_relaxed.
12022
ce5a7de6
AS
120232018-10-17 Andreas Schwab <schwab@suse.de>
12024
12025 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
12026 * crypt/badsalttest.c (TIMEOUT): Likewise.
12027 * crypt/sha256c-test.c (TIMEOUT): Likewise.
12028 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
12029 * io/test-lfs.c (TIMEOUT): Likewise.
12030 * libio/tst-atime.c (TIMEOUT): Likewise.
12031 * localedata/tst-leaks.c (TIMEOUT): Likewise.
12032 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
12033 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
12034 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
12035 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
12036 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
12037 * nptl/tst-cond11.c (TIMEOUT): Likewise.
12038 * nptl/tst-cond14.c (TIMEOUT): Likewise.
12039 * nptl/tst-cond15.c (TIMEOUT): Likewise.
12040 * nptl/tst-cond24.c (TIMEOUT): Likewise.
12041 * nptl/tst-cond25.c (TIMEOUT): Likewise.
12042 * nptl/tst-kill2.c (TIMEOUT): Likewise.
12043 * nptl/tst-kill3.c (TIMEOUT): Likewise.
12044 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
12045 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
12046 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
12047 * nptl/tst-once2.c (TIMEOUT): Likewise.
12048 * nptl/tst-once3.c (TIMEOUT): Likewise.
12049 * nptl/tst-once4.c (TIMEOUT): Likewise.
12050 * nptl/tst-robust8.c (TIMEOUT): Likewise.
12051 * nptl/tst-robust9.c (TIMEOUT): Likewise.
12052 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
12053 * nptl/tst-sem14.c (TIMEOUT): Likewise.
12054 * nptl/tst-sem6.c (TIMEOUT): Likewise.
12055 * nptl/tst-signal3.c (TIMEOUT): Likewise.
12056 * nptl/tst-spin4.c (TIMEOUT): Likewise.
12057 * nptl/tst-tls3.c (TIMEOUT): Likewise.
12058 * nptl/tst-tls4.c (TIMEOUT): Likewise.
12059 * posix/tst-chmod.c (TIMEOUT): Likewise.
12060 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
12061 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
12062 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
12063 * posix/tst-regex2.c (TIMEOUT): Likewise.
12064 * posix/tst-waitid.c (TIMEOUT): Likewise.
12065 * rt/tst-aio.c (TIMEOUT): Likewise.
12066 * rt/tst-aio10.c (TIMEOUT): Likewise.
12067 * rt/tst-aio4.c (TIMEOUT): Likewise.
12068 * rt/tst-aio5.c (TIMEOUT): Likewise.
12069 * rt/tst-aio6.c (TIMEOUT): Likewise.
12070 * rt/tst-aio64.c (TIMEOUT): Likewise.
12071 * rt/tst-aio7.c (TIMEOUT): Likewise.
12072 * rt/tst-aio9.c (TIMEOUT): Likewise.
12073 * rt/tst-clock.c (TIMEOUT): Likewise.
12074 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
12075 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
12076 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
12077 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
12078 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
12079 * rt/tst-timer4.c (TIMEOUT): Likewise.
12080 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
12081 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
12082 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
12083 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
12084 * time/tst-ftime.c (TIMEOUT): Likewise.
12085 * timezone/tst-tzset.c (TIMEOUT): Likewise.
12086
6b5c8607 120872018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
12088
12089 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
12090 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
12091 for thunderX2.
12092
bcdb1bfa
JM
120932018-10-15 Joseph Myers <joseph@codesourcery.com>
12094
12095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12096 bits/sem-pad.h.
12097 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
12098 instead of <bits/wordsize.h>.
12099 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
12100 and [__SEM_PAD_AFTER_TIME].
12101 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
12102 __syscall_ulong_t instead of unsigned long int.
12103 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
12104 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
12105 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
12106 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
12107 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
12108 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
12109 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
12110 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
12111 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12112 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12113 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12114
f4efbdfb
PE
121152018-10-14 Paul Eggert <eggert@cs.ucla.edu>
12116
620a5d4c
PE
12117 regex: simplify by using intprops.h
12118 [BZ#23744]
12119 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12120 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12121 intprops.h defines them.
12122
f4efbdfb
PE
12123 regex: __builtin_expect → __glibc_unlikely
12124 [BZ#23744]
12125 This refactoring was prompted by a problem when the regex code is
12126 used as part of Gnulib and when the builder’s compiler does not grok
12127 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12128 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12129 Although this refactoring does not fix the problem directly,
12130 we might as well have Gawk use the now-preferred glibc style for when
12131 __builtin_expect is unavailable.
12132 * posix/regex_internal.h (BE): Remove.
12133 All uses replaced by __glibc_unlikely or __glibc_likely.
12134
9f9feb6d
JM
121352018-10-11 Joseph Myers <joseph@codesourcery.com>
12136
12137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12138 bits/msq-pad.h.
12139 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12140 instead of <bits/wordsize.h>.
12141 (msgqnum_t): Define as __syscall_ulong_t.
12142 (msglen_t): Likewise.
12143 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12144 and [__MSQ_PAD_AFTER_TIME].
12145 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12146 __syscall_ulong_t instead of unsigned long int.
12147 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12148 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12149 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12150 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12151 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12152 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12153 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12154 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12156 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12157 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12158
b9c0f6c1
JM
121592018-10-10 Joseph Myers <joseph@codesourcery.com>
12160
2a4b25fa
JM
12161 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12162 (struct shmid_ds): Condition padding after time fields on
12163 [__WORDSIZE == 32].
12164 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12165 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12166 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12167
19e62f26
JM
12168 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12169 (struct semid_ds): Condition padding after time fields on
12170 [__WORDSIZE == 32].
12171 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12172 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12173 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12174 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12175
b9c0f6c1
JM
12176 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12177 (struct msqid_ds): Condition padding after time fields on
12178 [__WORDSIZE == 32].
12179 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12180 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12181 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12182 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12183
97785a61
SN
121842018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12185
12186 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12187
ed643089
SN
121882018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12189
12190 * libio/tst-readline.c (TIMEOUT): Define.
12191
5a580643
PE
121922018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12193
12194 mktime fix for Gnulib + coreutils
12195 [BZ#23745]
12196 This fix affects only Gnulib. Problem discovered when
12197 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12198 * time/mktime.c:
12199 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12200 Do not define since it is not used. Defining an unused static
12201 function prompts a warning from GCC when Coreutils is configured
12202 with --enable-gcc-warnings.
12203
c892ae04
LS
122042018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12205
12206 * benchtests/scripts/compare_bench.py (main): set float type on
12207 threshold argument.
12208
ab74d59f 122092018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
a68ec8ea
RL
12210
12211 [BZ #23740]
12212 * localedata/locales/kl_GL (mon): Update, the relative case.
12213 (alt_mon): Add, fill with month names in the nominative case.
12214 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12215 (d_fmt): Set to "%b %d %Y".
12216
a1987621
JM
122172018-10-04 Joseph Myers <joseph@codesourcery.com>
12218
47c49251
JM
12219 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12220 <bits/mman-linux.h>.
12221 (PROT_READ): Don't define here.
12222 (PROT_WRITE): Likewise.
12223 (PROT_EXEC): Likewise.
12224 (PROT_NONE): Likewise.
12225 (PROT_GROWSDOWN): Likewise.
12226 (PROT_GROWSUP): Likewise.
12227 (MAP_SHARED): Likewise.
12228 (MAP_PRIVATE): Likewise.
12229 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12230 [__USE_MISC] (MAP_FILE): Likewise.
12231 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12232 [__USE_MISC] (MAP_ANON): Likewise.
12233 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12234 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12235 (MCL_CURRENT): Likewise.
12236 (MCL_FUTURE): Likewise.
12237 (MCL_ONFAULT): Likewise.
12238 [__USE_MISC] (MADV_NORMAL): Likewise.
12239 [__USE_MISC] (MADV_RANDOM): Likewise.
12240 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12241 [__USE_MISC] (MADV_WILLNEED): Likewise.
12242 [__USE_MISC] (MADV_DONTNEED): Likewise.
12243 [__USE_MISC] (MADV_FREE): Likewise.
12244 [__USE_MISC] (MADV_REMOVE): Likewise.
12245 [__USE_MISC] (MADV_DONTFORK): Likewise.
12246 [__USE_MISC] (MADV_DOFORK): Likewise.
12247 [__USE_MISC] (MADV_HWPOISON): Likewise.
12248 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12249 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12250 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12251 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12252 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12253 (__MAP_ANONYMOUS): New macro.
12254 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12255 <bits/mman-linux.h> inclusion.
12256 (MAP_FIXED): Likewise.
12257 (MS_SYNC): Likewise.
12258 (MS_ASYNC): Likewise.
12259 (MS_INVALIDATE): Likewise.
12260 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12261 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12262 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12263 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12264 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12265 [__USE_MISC] (MADV_DODUMP): Likewise.
12266 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12267 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12268
a1987621
JM
12269 [BZ #23735]
12270 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12271 Define.
12272 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12273 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12274 Add test-nldbl-redirect.
12275 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12276 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12277 $(objpfx)libnldbl_nonshared.a.
12278
e7624d70
SL
122792018-10-04 Stefan Liebler <stli@linux.ibm.com>
12280
12281 * support/support.h (support_objdir_elf_ldso): New variable.
12282 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12283 * support/Makefile (CFLAGS-support_paths.c): Add definition
12284 for OBJDIR_ELF_LDSO_PATH.
12285 * support/test-container.c (main): Search for the ld.so
12286 which is also used by the testsuite.
12287
ab74d59f 122882018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
dae3ed95
RL
12289
12290 [BZ #20209]
12291 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12292 should be "sap" rather than "sab".
12293 (day): Fix spelling of Sunday, should be "sapaat" rather than
12294 "sabaat".
12295
f346b5b3
JM
122962018-10-02 Joseph Myers <joseph@codesourcery.com>
12297
12298 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12299
4a06ceea
MJ
123002018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12301
12302 [BZ #19444]
12303 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12304 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12305 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12306
a06fc4a5
AZ
123072018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12308
12309 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12310
a1ccc065
L
123112018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12312
12313 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12314 Add -mrtm.
12315 (CFLAGS-elision-unlock.c): Likewise.
12316 (CFLAGS-elision-timed.c): Likewise.
12317 (CFLAGS-elision-trylock.c): Likewise.
12318 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12319
0b727ed4
AZ
123202018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12321
12322 [BZ #21037]
12323 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12324 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12325 new fd_to_filename interface.
12326 * libio/freopen64.c (freopen64): Likewise.
12327 * libio/tst-memstream.h: New file.
12328 * libio/tst-memstream4.c: Likewise.
12329 * libio/tst-wmemstream4.c: Likewise.
12330 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12331 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12332 and remove internal dynamic allocation.
12333
d0e91e8c
JM
123342018-10-01 Joseph Myers <joseph@codesourcery.com>
12335
12336 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12337 (MREMAP_MAYMOVE): Do not define here.
12338 [__USE_GNU] (MREMAP_FIXED): Likewise.
12339 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12340 (MREMAP_MAYMOVE): Define here instead.
12341 [__USE_GNU] (MREMAP_FIXED): Likewise.
12342 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12343 (MREMAP_MAYMOVE): Remove.
12344 [__USE_GNU] (MREMAP_FIXED): Likewise.
12345
c52944e8
JM
123462018-09-28 Joseph Myers <joseph@codesourcery.com>
12347
12348 * math/fromfp.h: Do not include <math_private.h>.
12349 * math/s_cacosh_template.c: Likewise.
12350 * math/s_casin_template.c: Likewise.
12351 * math/s_casinh_template.c: Likewise.
12352 * math/s_ccos_template.c: Likewise.
12353 * math/s_cproj_template.c: Likewise.
12354 * math/s_fdim_template.c: Likewise.
12355 * math/s_fmaxmag_template.c: Likewise.
12356 * math/s_fminmag_template.c: Likewise.
12357 * math/s_iseqsig_template.c: Likewise.
12358 * math/s_ldexp_template.c: Likewise.
12359 * math/s_nextdown_template.c: Likewise.
12360 * math/w_log1p_template.c: Likewise.
12361 * math/w_scalbln_template.c: Likewise.
12362 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12363 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12364 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12365 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12366 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12367 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12368 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12369 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12370 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12371 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12372 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12373 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12374 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12375 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12376 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12377 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12378 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12381 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12383 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12384 * sysdeps/ieee754/k_standardf.c: Likewise.
12385 * sysdeps/ieee754/k_standardl.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12388 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12394 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12395 * sysdeps/ieee754/s_signgam.c: Likewise.
12396 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12397 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12398 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12399 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12400 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12401 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12402 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12403 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12404 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12405 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12406 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12407 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12408 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12409 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12410 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12411 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12412 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12413 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12414 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12415 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12416 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12417 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12418 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12419 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12420 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12421 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12422 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12423 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12424 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12425 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12426 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12427 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12428 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12429 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12430 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12431 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12432 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12433 <math_private.h>.
12434 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12435
7b1f9406
L
124362018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 [BZ #23716]
12439 * sysdeps/i386/dl-cet.c: Removed.
12440 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12441 prototype.
12442 (_dl_runtime_profile_shstk): Likewise.
12443 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12444 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12445
7a16bdbb
AZ
124462018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12447
12448 [BZ #23579]
12449 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12450 do_test_with_invalid_iov): New tests.
12451 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12452 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12453 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12454 errno is ENOSYS.
12455 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12456 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12457 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12458
9755bc46
JM
124592018-09-27 Joseph Myers <joseph@codesourcery.com>
12460
81dca813
JM
12461 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12462 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12463 (MATH_REDIRECT_BINARY_ARGS): New macro.
12464 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12465 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12466 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12467 header inclusion.
12468 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12470 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12471 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12476 Likewise.
12477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12478 Likewise.
12479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12481 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12482 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12484 Likewise.
12485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12486 Likewise.
12487 * sysdeps/generic/math_private_calls.h
12488 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12489 Do not declare and define as an inline function.
12490 * math/divtc3.c (__divtc3): Use copysign functions instead of
12491 __copysign variants.
12492 * math/multc3.c (__multc3): Likewise.
12493 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12494 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12495 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12496 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12497 Likewise.
12498 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12499 (__ieee754_yn): Likewise.
12500 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12501 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12502 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12503 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12504 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12505 (__sin): Likewise.
12506 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12507 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12508 Likewise.
12509 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12510 Likewise.
12511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12512 Likewise.
12513 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12514 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12515 Likewise.
12516 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12517 (__ieee754_ynf): Likewise.
12518 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12519 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12520 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12521 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12522 Likewise.
12523 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12524 (__ieee754_ynl): Likewise.
12525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12526 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12527 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12528 Likewise.
12529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12530 (__ieee754_ynl): Likewise.
12531 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12535 Likewise.
12536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12537 (__ieee754_ynl)
12538 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12539 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12540 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12541 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12542 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12543
9755bc46
JM
12544 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12545 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12546 using MATH_REDIRECT.
12547 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12548 header inclusion.
12549 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12552 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12553 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12560 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12561 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12563 (round): Redirect to __round.
12564 (__roundl): Call round instead of __round.
12565 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12566 Remove macro.
12567 [_ARCH_PWR5X] (__roundf): Likewise.
12568 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12569 functions instead of __round variants.
12570 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12572 Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12574 Likewise.
12575 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12576 Likewise.
12577 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12579 __lroundl.
12580 (__ieee754_expl): Call roundl instead of __roundl.
12581
f841c97e
AS
125822018-09-27 Andreas Schwab <schwab@suse.de>
12583
12584 [BZ #23717]
12585 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12586 (do_test): Make st1 static.
12587
6ca8284e
AS
125882018-09-26 Andreas Schwab <schwab@suse.de>
12589
12590 [BZ #23707]
12591 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12592 * elf/Makefile (tests): Add tst-unwind-ctor.
12593 (modules-names): Add tst-unwind-ctor-lib.
12594 ($(objpfx)tst-unwind-ctor): Depend on
12595 $(objpfx)tst-unwind-ctor-lib.so.
12596
61d8b5fe
JM
125972018-09-26 Joseph Myers <joseph@codesourcery.com>
12598
12599 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12600 file. Most contents moved from ....
12601 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12602 and include <bits/mman-map-flags-generic.h>.
12603 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12604 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12605 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12606 <bits/mman-map-flags-generic.h>.
12607 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12608 macros defined in <bits/mman-map-flags-generic.h>.
12609 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12610 <bits/mman-map-flags-generic.h>.
12611 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12612 defined in <bits/mman-map-flags-generic.h>.
12613
46341286
AS
126142018-09-26 Andreas Schwab <schwab@suse.de>
12615
12616 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12617 output.
12618
b5c45e83
AZ
126192018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12620 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12621 Fangrui Song <maskray@google.com>
12622
12623 [BZ #20480]
12624 * config.make.in (have-textrel_ifunc): New define.
12625 * configure.ac: Add check if linker supports textrel relocation with
12626 ifunc.
12627 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12628 tst-ifunc-textrel.
12629 (CFLAGS-tst-ifunc-textrel.c): New rule.
12630 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12631 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12632 * elf/tst-ifunc-textrel.c: New file.
12633
8ea4d2b7
JM
126342018-09-25 Joseph Myers <joseph@codesourcery.com>
12635
d62f9ec0
JM
12636 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12637 <bits/procfs-prregset.h>.
12638 (prgregset_t): Define using __prgregset_t.
12639 (prfpregset_t): Define using __prfpregset_t.
12640 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12641 (sysdep_headers): Add bits/procfs-prregset.h.
12642 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12643 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12644 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12645 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12646
d0d8eb43
JM
12647 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12648 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12649 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12650 pr_uid and pr_gid.
12651 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12652 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12653 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12654 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12655 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12656 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12657 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12658 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12659 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12660 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12661 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12662 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12663 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12667 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12668 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12669 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12670 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12671 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12672 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12673 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12674 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12675
8ea4d2b7
JM
12676 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12677 AArch64 version. Include <bits/procfs.h>.
12678 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12679 (sysdep_headers): Add bits/procfs.h.
12680 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12681 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12682 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12683 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12684 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12685 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12686 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12687 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12688 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12689 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12690 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12691 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12692 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12693 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12694 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12696 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12697
c7027166
AZ
126982018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12699
12700 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12701 Use libsupport.
12702
335a3b0a
AS
127032018-09-25 Arjun Shankar <arjun@redhat.com>
12704
12705 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12706 (__gconv_max_path_elem_len): Likewise.
12707 (__gconv_nmodules): Likewise.
12708 (__gconv_get_path): Likewise.
12709 (path_elem): Move to ...
12710 * iconv/gconv_conf.c: ... here.
12711 (__gconv_get_path): Mark function static.
12712 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12713 * iconv/gconv_open.c: ... here.
12714
462d348c
AS
127152018-09-24 Andreas Schwab <schwab@suse.de>
12716
12717 * scripts/haveversions.awk: New file.
12718 * Makerules ($(common-objpfx)Versions.def)
12719 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12720 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12721 Move rules ...
12722 * Makeconfig ($(common-objpfx)Versions.def)
12723 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12724 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12725 ... here.
12726 ($(common-objpfx)Versions.mk): New rule. Include it.
12727 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12728 Emit error if build-obsolete-nsl = yes.
12729 * manual/install.texi (Configuring and compiling): Describe
12730 --enable-obsolete-nsl as unavaiable after version 2.28.
12731 * INSTALL: Regenerate.
12732
f0458cf4
AZ
127332018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12734
12735 * NEWS: Add note about new TLE support on powerpc64le.
12736 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12737 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12738 __ununsed1.
12739 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12740 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12741 * sysdeps/powerpc/powerpc32/sysdep.h,
12742 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12743 ABORT_TRANSACTION): Remove macros.
12744 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12745 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12746 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12748 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12749 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12750 usage.
12751 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12752
ab74d59f 127532018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
434d45fd
RL
12754
12755 [BZ #10425]
12756 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12757 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12758 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12759 which is the same as in it_IT.
12760 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12761 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12762
d90c9b1a
JM
127632018-09-20 Joseph Myers <joseph@codesourcery.com>
12764
7abf97be
JM
12765 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12766 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12767 using MATH_REDIRECT.
12768 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12769 header inclusion.
12770 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12772 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12774 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12780 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12781 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12782 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12783 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12784 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12785 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12786 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12788 (ceil): Redirect to __ceil.
12789 (floor): Redirect to __floor.
12790 (trunc): Redirect to __trunc.
12791 (__truncl): Call trunc instead of __trunc.
12792 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12793 Remove macro.
12794 [_ARCH_PWR5X] (__truncf): Likewise.
12795 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12796 trunc functions instead of __trunc variants.
12797 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12798 Likewise.
12799 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12800 Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12802 Likewise.
12803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12804 Likewise.
12805
d90c9b1a
JM
12806 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12807 [__i586__ || __pentium__].
12808 [__i486__]: Handle explicitly.
12809 (HAS_CPUID): Define to 1 if above macros are undefined.
12810 (HAS_I586): Likewise.
12811 (HAS_I686): Likewise.
12812
db9a8ad4
FW
128132018-09-20 Florian Weimer <fweimer@redhat.com>
12814
12815 * misc/tst-gethostid.c: New file.
12816 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12817 (tst-gethostid): Link with -ldl.
12818
1214ba06
MY
128192018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12820
12821 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12822 value from gethostbyname_r.
12823
791b350d
CD
128242018-09-19 Carlos O'Donell <carlos@redhat.com>
12825
12826 * stdlib/tst-setcontext9.c (f1): Rename to...
12827 (f1a): ... this.
12828 (f1b): New function implementing lower half of f1 in alternate stack.
12829
8e6fd2bd
PE
128302018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12831
e1080e7e
PE
12832 Fix mktime localtime offset confusion
12833 [BZ #23603]
12834 * include/time.h (__mktime_internal): The localtime offset is now
12835 of type long int instead of time_t. This is the longstanding type
12836 in glibc, and it is more than enough to represent difference
12837 between localtime and gmtime even if it is 32 bits and time_t is
12838 64. Changing it now will let us avoid an unnecessary change when
12839 time_t is widened to 64 bits on 32-bit platforms.
12840 * time/mktime-internal.h (mktime_offset_t): Now long int.
12841
8e6fd2bd
PE
12842 Merge mktime, timegm from upstream Gnulib
12843 [BZ #23603][BZ #16346]
12844 This fixes some obscure problems with integer overflow.
12845 Although it looks scary, it is almost all a byte-for-byte copy
12846 from Gnulib, and the Gnulib code has been tested reasonably well.
12847 * include/intprops.h: New file, copied from Gnulib.
12848 * include/verify.h, time/mktime-internal.h:
12849 New tiny files, simplified from Gnulib.
12850 * time/mktime.c: Copy from Gnulib. This has the following changes:
12851 Do not include config.h if DEBUG_MKTIME is nonzero.
12852 Include stdbool.h, intprops.h, verify.h.
12853 Include string.h only if needed.
12854 Include stdlib.h on MS-Windows.
12855 Include mktime-internal.h.
12856 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12857 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12858 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12859 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12860 simplify later conditionals; default the others to zero. Use
12861 these conditionals to express only the code needed on the current
12862 platform. In uses of these conditionals, explicitly spell out how
12863 _LIBC affects things, so it’s easier to review from a glibc
12864 viewpoint.
12865 (WRAPV): Remove; no longer needed now that we have
12866 systematic overflow checking.
12867 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12868 compartmentalize tzset issues. Move system-dependent tzsettish
12869 code here from mktime.
12870 (verify): Remove; now done by verify.h. All uses changed.
12871 (long_int): Use a more-conservative definition, to avoid
12872 integer overflow.
12873 (SHR): Remove, replacing with ...
12874 (shr): New function, which means we needn’t worry about side
12875 effects in args, and conversion analysis is simpler.
12876 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12877 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12878 (time_t_avg, time_t_add_ok): Remove.
12879 (mktime_min, mktime_max): New constants.
12880 (leapyear, isdst_differ): Use bool for booleans.
12881 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12882 Use long_int, not time_t, for mktime differences.
12883 (long_int_avg): New function, replacing time_t_avg.
12884 INT_ADD_WRAPV replaces time_t_add_ok.
12885 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12886 All uses changed.
12887 (convert_time): New function.
12888 (ranged_convert): Use it.
12889 (__mktime_internal): Last arg now points to mktime_offset_t, not
12890 time_t. All uses changed. This is a no-op on glibc, where
12891 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12892 offset guess. Directly check for integer overflow instead of
12893 using a heuristic that works only 99.9...% of the time.
12894 Access *OFFSET only once, to avoid an unlikely race if the
12895 compiler delays a load and if this cascades into a signed integer
12896 overflow.
12897 (mktime): Move tzsettish code to my_tzset, and move
12898 localtime_offset to within mktime so that it doesn’t
12899 need a separate ifdef.
12900 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12901 instead of localtime.
12902 * time/timegm.c: Copy from Gnulib. This has the following changes:
12903 Include mktime-internal.h.
12904 [!_LIBC]: Include config.h and time.h. Do not include
12905 timegm.h or time_r.h. Make __mktime_internal a macro,
12906 and include mktime-internal.h to get its declaration.
12907 (timegm): Temporary is now mktime_offset_t, not time_t.
12908 This affects only Gnulib.
12909
83a552b0
WD
129102018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12911
12912 [BZ #23637]
12913 * string/test-strstr.c (pr23637): New function.
12914 (test_main): Add tests with longer needles.
12915 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12916 * string/strstr.c (AVAILABLE): Likewise.
12917
d7347278
SN
129182018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12919
12920 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12921
424c4f60
SN
129222018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12923
12924 * NEWS: Mention pow improvements.
12925 * math/Makefile (type-double-routines): Add e_pow_log_data.
12926 * sysdeps/generic/math_private.h (__exp1): Remove.
12927 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12928 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12929 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12930 contraction.
12931 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12932 (exp_inline): Remove.
12933 (__ieee754_exp): Only single double input is handled.
12934 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12935 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12936 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12937 (__pow_log_data): Define.
12938 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12939 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12940 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12941 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12942 contraction.
12943 (CFLAGS-e_pow-fma4.c): Likewise.
12944
e4e4fde5
PE
129452018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12946
dab9c348
PE
12947 Simplify tzfile fstat failure code
12948 [BZ #21716]
12949 * time/tzfile.c (__tzfile_read): Simplify slightly.
12950
e4e4fde5
PE
12951 Fix tzfile low-memory assertion failure
12952 [BZ #21716]
12953 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12954 when registering time zone abbreviations.
12955
50bc59ca
JM
129562018-09-18 Joseph Myers <joseph@codesourcery.com>
12957
d3a43e49
JM
12958 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12959 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12960 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12961 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12962 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12963 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12964 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12965 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12966 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12967
50bc59ca
JM
12968 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12969 __ceil.
12970 (__ceill): Call ceil instead of __ceil.
12971 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12972 __floor.
12973 (__floorl): Call floor instead of __floor.
12974
89983cb3
JM
129752018-09-17 Joseph Myers <joseph@codesourcery.com>
12976
71223ef9
JM
12977 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12978 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12979 using MATH_REDIRECT.
12980 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12981 header inclusion.
12982 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12983 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12984 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12985 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12986 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12989 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12994 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12995 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12998 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12999 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
13000 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
13001 Remove macro.
13002 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
13003 functions instead of __ceil variants.
13004 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13005 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
13006 Likewise.
13007 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
13008 Likewise.
13009 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
13011 Likewise.
13012 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13013 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13014
89983cb3
JM
13015 [BZ #21286]
13016 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
13017 constant.
13018 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
13019 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
13020 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
13021 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
13022 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
13023 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
13024 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
13025 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
13026 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
13027 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
13028 (ILL_BADIADDR): Remove constant.
13029 (TRAP_BRANCH): Likewise.
13030 (TRAP_HWBKPT): Likewise.
13031
e44acb20
JM
130322018-09-14 Joseph Myers <joseph@codesourcery.com>
13033
3f7f1d18
JM
13034 [BZ #23656]
13035 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
13036 Remove [_MIPS_SIM = _ABIN32] conditional case.
13037 (struct elf_prpsinfo): Likewise.
13038
d59f3e5e
JM
13039 [BZ #23649]
13040 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
13041 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
13042 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
13043 Likewise.
13044 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
13045 elf_prpsinfo): Likewise.
13046 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
13047 elf_prpsinfo): Likewise.
13048 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
13049 Likewise.
13050
f29b6f17
JM
13051 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13052 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
13053 using MATH_REDIRECT.
13054 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
13055 header inclusion.
13056 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
13057 * sysdeps/alpha/fpu/s_rint.c: Likewise.
13058 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
13059 * sysdeps/i386/fpu/s_rintl.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13062 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
13063 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13064 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13065 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13066 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
13067 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
13068 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
13069 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13070 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13071 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13072 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13073 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13074 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
13076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
13077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13079 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
13080 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
13081 * sysdeps/x86_64/fpu/math_private.h: Remove file.
13082 * math/e_scalb.c (invalid_fn): Use rint functions instead of
13083 __rint variants.
13084 * math/e_scalbf.c (invalid_fn): Likewise.
13085 * math/e_scalbl.c (invalid_fn): Likewise.
13086 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13087 Likewise.
13088 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13089 Likewise.
13090 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
13091 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
13092 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13093 Likewise.
13094 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13095 Likewise.
13096 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13097 Likewise.
13098 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
13099 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
13100
e44acb20
JM
13101 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
13102 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
13103 New macro.
13104 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13105 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
13106 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13107 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
13108 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13109 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
13110 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13111 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
13112 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
13113 && !NO_MATH_REDIRECT] (floor): Likewise.
13114 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
13115 header inclusion.
13116 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13119 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13120 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13123 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13128 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13129 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13132 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13133 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13134 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13135 Remove macro.
13136 [_ARCH_PWR5X] (__floorf): Likewise.
13137 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13138 inline function.
13139 [__SSE4_1__] (__floorf): Likewise.
13140 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13141 instead of __floor variants.
13142 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13143 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13144 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13145 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13146 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13147 * math/w_tgamma_compat.c (__tgamma): Likewise.
13148 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13149 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13150 * math/w_tgammal_compat.c (__tgammal): Likewise.
13151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13153 Likewise.
13154 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13155 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13156 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13157 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13158 Likewise.
13159 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13160 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13161 Likewise.
13162 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13163 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13164 Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13166 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13167 Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13169 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13170 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13171 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13172 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13173 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13174
221e4bab
JM
131752018-09-12 Joseph Myers <joseph@codesourcery.com>
13176
13177 * elf/Makefile (modules-names-tests): New variable.
13178
3e08ff54
SN
131792018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13180
13181 * NEWS: Mention log2 improvements.
13182 * math/Makefile (type-double-routines): Add e_log2_data.
13183 * sysdeps/i386/fpu/e_log2_data.c: New file.
13184 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13185 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13186 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13187 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13189 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13190
f41b0a43
SN
131912018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13192
13193 * NEWS: Mention log improvement.
13194 * math/Makefile (type-double-routines): Add e_log_data.
13195 * sysdeps/i386/fpu/e_log_data.c: New file.
13196 * sysdeps/ia64/fpu/e_log_data.c: New file.
13197 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13198 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13199 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13200 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13201 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13202 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13203
5a274db4
L
132042018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13205 Xuepeng Guo <xuepeng.guo@intel.com>
13206
13207 [BZ #23606]
13208 * sysdeps/i386/start.S: Include <sysdep.h>
13209 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13210 enabled. Add cfi_undefined (eip).
13211
b1176270
JM
132122018-09-11 Joseph Myers <joseph@codesourcery.com>
13213
4e7fbdd7
JM
13214 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13215 (MOVQ): Likewise.
13216 (EXTRACT_WORDS64): Likewise.
13217 (INSERT_WORDS64): Likewise.
13218 (GET_FLOAT_WORD): Likewise.
13219 (SET_FLOAT_WORD): Likewise.
13220
b1176270
JM
13221 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13222 argument.
13223 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13224 build, but not for second build if --full-gcc. Use
13225 --enable-languages=all for second build if --full-gcc.
13226 (get_parser): Add --full-gcc option.
13227 (main): Update call to Context.
13228
ab74d59f 132292018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
527f355e
RL
13230
13231 [BZ #10797]
13232 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13233 Single Quotation Mark).
13234 (thousands_sep): Likewise.
13235 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13236 * localedata/locales/it_IT (thousands_sep): Use ".".
13237 (grouping): Use "3;3".
13238
7244f13d
JM
132392018-09-10 Joseph Myers <joseph@codesourcery.com>
13240
13241 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13242 x86_64 and i686 configs using --enable-obsolete-rpc
13243 --enable-obsolete-nsl.
13244
38245425
SL
132452018-09-06 Stefan Liebler <stli@linux.ibm.com>
13246
13247 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13248
28669f86
SL
132492018-09-06 Stefan Liebler <stli@linux.ibm.com>
13250
13251 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13252 Increment size of new_argv by one.
13253
ab74d59f 132542018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
a33650d1
RL
13255
13256 [BZ #17426]
13257 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13258 * localedata/locales/ar_IN (d_fmt): Likewise.
13259 * localedata/locales/bhb_IN (d_fmt): Likewise.
13260 * localedata/locales/bho_IN (d_fmt): Likewise.
13261 * localedata/locales/bn_BD (d_fmt): Likewise.
13262 * localedata/locales/bn_IN (d_fmt): Likewise.
13263 * localedata/locales/doi_IN (d_fmt): Likewise.
13264 * localedata/locales/gu_IN (d_fmt): Likewise.
13265 * localedata/locales/hi_IN (d_fmt): Likewise.
13266 * localedata/locales/hne_IN (d_fmt): Likewise.
13267 * localedata/locales/kn_IN (d_fmt): Likewise.
13268 * localedata/locales/mag_IN (d_fmt): Likewise.
13269 * localedata/locales/mai_IN (d_fmt): Likewise.
13270 * localedata/locales/mjw_IN (d_fmt): Likewise.
13271 * localedata/locales/ml_IN (d_fmt): Likewise.
13272 * localedata/locales/mni_IN (d_fmt): Likewise.
13273 * localedata/locales/mr_IN (d_fmt): Likewise.
13274 * localedata/locales/pa_IN (d_fmt): Likewise.
13275 * localedata/locales/raj_IN (d_fmt): Likewise.
13276 * localedata/locales/sat_IN (d_fmt): Likewise.
13277 * localedata/locales/sd_IN (d_fmt): Likewise.
13278 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13279 * localedata/locales/ta_IN (d_fmt): Likewise.
13280 * localedata/locales/ta_LK (d_fmt): Likewise.
13281 * localedata/locales/tcy_IN (d_fmt): Likewise.
13282 * localedata/locales/ur_IN (d_fmt): Likewise.
13283
13284 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13285 * localedata/locales/ks_IN (d_fmt): Likewise.
13286 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13287
13288 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13289 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13290 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13291 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13292
d114e6a7
SN
132932018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13294
13295 * NEWS: Mention exp and exp2 improvements.
13296 * math/Makefile (libm-support): Remove t_exp.
13297 (type-double-routines): Add math_err and e_exp_data.
13298 * sysdeps/aarch64/libm-test-ulps: Update.
13299 * sysdeps/arm/libm-test-ulps: Update.
13300 * sysdeps/i386/fpu/e_exp_data.c: New file.
13301 * sysdeps/i386/fpu/math_err.c: New file.
13302 * sysdeps/i386/fpu/t_exp.c: Remove.
13303 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13304 * sysdeps/ia64/fpu/math_err.c: New file.
13305 * sysdeps/ia64/fpu/t_exp.c: Remove.
13306 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13307 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13308 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13310 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13311 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13312 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13313 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13314 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13315 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13316 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13317 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13318 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13319 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13322
b9d8c474
JM
133232018-09-05 Joseph Myers <joseph@codesourcery.com>
13324
b7cdc2ae
JM
13325 * sysdeps/alpha/fpu/math_private.h: Remove.
13326
b9d8c474
JM
13327 * sysdeps/generic/math_private.h
13328 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13329 Move this inline function ....
13330 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13331 * include/math.h [!_ISOMAC]: To here....
13332
418d99e6
JM
133332018-09-04 Joseph Myers <joseph@codesourcery.com>
13334
13335 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13336 code ....
13337 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13338 * include/fenv.h [!_ISOMAC]: ... to here.
13339 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13340 (feraiseexcept): Likewise.
13341 * math/fromfp.h: Do not include <fenv_private.h>.
13342 * math/s_cexp_template.c: Likewise.
13343 * math/s_csin_template.c: Likewise.
13344 * math/s_csinh_template.c: Likewise.
13345 * math/s_ctan_template.c: Likewise.
13346 * math/s_ctanh_template.c: Likewise.
13347 * math/s_iseqsig_template.c: Likewise.
13348 * math/w_acos_compat.c: Likewise.
13349 * math/w_acosf_compat.c: Likewise.
13350 * math/w_acosl_compat.c: Likewise.
13351 * math/w_asin_compat.c: Likewise.
13352 * math/w_asinf_compat.c: Likewise.
13353 * math/w_asinl_compat.c: Likewise.
13354 * math/w_j0_compat.c: Likewise.
13355 * math/w_j0f_compat.c: Likewise.
13356 * math/w_j0l_compat.c: Likewise.
13357 * math/w_j1_compat.c: Likewise.
13358 * math/w_j1f_compat.c: Likewise.
13359 * math/w_j1l_compat.c: Likewise.
13360 * math/w_jn_compat.c: Likewise.
13361 * math/w_jnf_compat.c: Likewise.
13362 * math/w_log10_compat.c: Likewise.
13363 * math/w_log10f_compat.c: Likewise.
13364 * math/w_log10l_compat.c: Likewise.
13365 * math/w_log2_compat.c: Likewise.
13366 * math/w_log2f_compat.c: Likewise.
13367 * math/w_log2l_compat.c: Likewise.
13368 * math/w_log_compat.c: Likewise.
13369 * math/w_logf_compat.c: Likewise.
13370 * math/w_logl_compat.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13376 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13377 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13378 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13379 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13380 * sysdeps/ieee754/k_standardl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13393 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13398 * math/w_ilogb_template.c: Include <fenv.h> instead of
13399 <fenv_private.h>.
13400 * math/w_llogb_template.c: Likewise.
13401 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13402 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13403
70e2ba33
JM
134042018-09-03 Joseph Myers <joseph@codesourcery.com>
13405
13406 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13407 * math/fromfp.h: Include <fenv_private.h>.
13408 * math/math-narrow.h: Likewise.
13409 * math/s_cexp_template.c: Likewise.
13410 * math/s_csin_template.c: Likewise.
13411 * math/s_csinh_template.c: Likewise.
13412 * math/s_ctan_template.c: Likewise.
13413 * math/s_ctanh_template.c: Likewise.
13414 * math/s_iseqsig_template.c: Likewise.
13415 * math/w_acos_compat.c: Likewise.
13416 * math/w_acosf_compat.c: Likewise.
13417 * math/w_acosl_compat.c: Likewise.
13418 * math/w_asin_compat.c: Likewise.
13419 * math/w_asinf_compat.c: Likewise.
13420 * math/w_asinl_compat.c: Likewise.
13421 * math/w_ilogb_template.c: Likewise.
13422 * math/w_j0_compat.c: Likewise.
13423 * math/w_j0f_compat.c: Likewise.
13424 * math/w_j0l_compat.c: Likewise.
13425 * math/w_j1_compat.c: Likewise.
13426 * math/w_j1f_compat.c: Likewise.
13427 * math/w_j1l_compat.c: Likewise.
13428 * math/w_jn_compat.c: Likewise.
13429 * math/w_jnf_compat.c: Likewise.
13430 * math/w_llogb_template.c: Likewise.
13431 * math/w_log10_compat.c: Likewise.
13432 * math/w_log10f_compat.c: Likewise.
13433 * math/w_log10l_compat.c: Likewise.
13434 * math/w_log2_compat.c: Likewise.
13435 * math/w_log2f_compat.c: Likewise.
13436 * math/w_log2l_compat.c: Likewise.
13437 * math/w_log_compat.c: Likewise.
13438 * math/w_logf_compat.c: Likewise.
13439 * math/w_logl_compat.c: Likewise.
13440 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13441 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13442 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13443 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13468 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13469 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13470 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13471 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13472 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13473 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13474 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13475 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13476 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13477 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13478 * sysdeps/ieee754/k_standardl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13515 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13516 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13517 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13518 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13519 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13520 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13521 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13522 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13523 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13524 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13525 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13526 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13527 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13528 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13529 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13530 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13531 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13532 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13533 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13534 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13535 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13536 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13537 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13538 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13539 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13540 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13541 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13542 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13543 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13544 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13545 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13546 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13547 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13548 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13549 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13550
a6e8926f
PP
135512018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13552
13553 [BZ #20271]
13554 * include/stdio.h (__libc_fatal): Mention newline in comment.
13555 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13556 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13558 * nss/nsswitch.c (__nss_next2): Likewise.
13559 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13560 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13561 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13562 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13563 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13564 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13565 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13566 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13567 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13568 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13569 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13570 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13571 (__netlink_assert_response): Likewise.
13572
2bbd06bc
JM
135732018-08-31 Joseph Myers <joseph@codesourcery.com>
13574
13575 * conform/glibcconform.py: New file.
13576 * conform/list-header-symbols.py: Likewise.
13577 * conform/list-header-symbols.pl: Remove.
13578 * conform/Makefile (tests-special): Only add linknamespace tests
13579 if [PYTHON].
13580 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13581
81b9d87b
L
135822018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13583
13584 [BZ #23597]
13585 * support/Makefile (libsupport-routines): Add
13586 support_copy_file_range and xcopy_file_range.
13587 * support/support.h: Include <sys/types.h>.
13588 (support_copy_file_range): New prototype.
13589 * support/support_copy_file_range.c: New file. Copied and
13590 modified from io/copy_file_range-compat.c.
13591 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13592 instead of copy_file_range.
13593 * support/xcopy_file_range.c: New file.
13594 * support/xunistd.h (xcopy_file_range): New prototype.
13595
d330f31a
CD
135962018-08-30 Carlos O'Donell <carlos@redhat.com>
13597
13598 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13599 xpthread_create and xpthread_join.
13600
2bda273a
FW
136012018-08-30 Florian Weimer <fweimer@redhat.com>
13602
13603 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13604
3bad2358
SL
136052018-08-30 Stefan Liebler <stli@linux.ibm.com>
13606
13607 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13608 if malloc fails.
13609
09c12efc
JM
136102018-08-29 Joseph Myers <joseph@codesourcery.com>
13611
13612 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13613 and minus_oflow as non-finite.
13614
ff6b2450
JM
136152018-08-28 Joseph Myers <joseph@codesourcery.com>
13616
13617 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13618 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13619 moved to fenv_private.h except for ...
13620 (TOINT_INTRINSICS): Kept in math_private.h.
13621 (roundtoint): Likewise.
13622 (converttoint): Likewise.
13623 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13624 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13625 * sysdeps/arm/math_private.h: Remove.
13626 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13627 ....
13628 * sysdeps/generic/math_private.h: ... this file. Include
13629 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13630 Include <fenv_private.h>. Remove functions and macros moved to
13631 fenv_private.h.
13632 * sysdeps/i386/fpu/math_private.h: Remove.
13633 * sysdeps/mips/math_private.h: Move to ....
13634 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13635 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13636 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13637 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13638 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13639 * sysdeps/powerpc/fpu/math_private.h: Do not include
13640 <fenv_private.h>.
13641 * sysdeps/riscv/rvf/math_private.h: Move to ....
13642 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13643 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13644 <fenv_private.h>.
13645 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13646 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13647 * sysdeps/sparc/fpu/math_private.h: Remove.
13648 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13649 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13650 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13651 <fenv_private.h>.
13652 * sysdeps/x86_64/fpu/math_private.h: Do not include
13653 <sysdeps/i386/fpu/fenv_private.h>.
13654
761404b7
FW
136552018-08-28 Florian Weimer <fweimer@redhat.com>
13656
13657 [BZ #23578]
13658 * posix/tst-regcomp-truncated.c: New file.
13659 * posix/Makefile (tests): Add it.
13660 (tst-regcomp-truncated.out): Depend on generated locales.
13661
d6c44c3d
FW
136622018-08-28 Florian Weimer <fweimer@redhat.com>
13663
13664 * support/test-container.c (main): Treat unshare failure with
13665 EPERM as an unsupported test.
13666
745664bd
FW
136672018-08-28 Florian Weimer <fweimer@redhat.com>
13668
13669 [BZ #23520]
13670 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13671 * nscd/netgroupcache.c
13672 (addgetnetgrentX): Add tofreep parameter. Do not free
13673 heap-allocated buffer.
13674 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13675 (addgetnetgrentX_ignore): New function.
13676 (addgetnetgrent): Call it.
13677 (readdgetnetgrent): Likewise.
13678
c8dd67e7
RS
136792018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13680
13681 * string/memmem.c: Use memcmp for first match.
13682
ab74d59f 136832018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
5abedf97
RL
13684
13685 [BZ #17426]
13686 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13687
86de0499
DD
136882018-08-27 DJ Delorie <dj@redhat.com>
13689
13690 * support/Makefile (others): Don't list programs explicitly as a
13691 dependency of "others".
13692
c3ab2110
JM
136932018-08-27 Joseph Myers <joseph@codesourcery.com>
13694
13695 * sysdeps/generic/math-tests-trap-force.h: New file.
13696 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13697 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13698 * sysdeps/powerpc/math-tests.h: Remove file.
13699 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13700
6b5c8607
TS
137012018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13702 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
13703
13704 [BZ #23538]
13705 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13706 Update r to include the set wake-request flag if waiters are
13707 remaining after spinning.
13708
4061791f
JM
137092018-08-27 Joseph Myers <joseph@codesourcery.com>
13710
13711 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13712
bc680b33
PE
137132018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13714
761404b7 13715 [BZ #23578]
bc680b33
PE
13716 regex: fix uninitialized memory access
13717 I introduced this bug into gnulib in commit
13718 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13719 eventually it was merged into glibc. The bug was found by
13720 project-repo <bugs@feusi.co> and reported here:
13721 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13722 Diagnosis and draft fix reported by Assaf Gordon here:
13723 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13724 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13725 * posix/regex_internal.c (build_wcs_upper_buffer):
13726 Fix bug when mbrtowc returns 0.
13727
02458a52
CD
137282018-08-24 Carlos O'Donell <carlos@redhat.com>
13729
13730 * po/be.po: Update translation.
13731
acc2842a
DD
137322018-08-24 DJ Delorie <dj@delorie.com>
13733
13734 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13735 $(libunwind).
13736
6c3a8a9d
PP
137372018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13738
b39d961c
TS
13739 [BZ #23400]
13740 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13741 create temporary files in source tree.
6c3a8a9d 13742
895ef79e
JM
137432018-08-24 Joseph Myers <joseph@codesourcery.com>
13744
13745 * sysdeps/generic/math-tests-trap.h: New file.
13746 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13747 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13748 * sysdeps/aarch64/math-tests.h: Remove file.
13749 * sysdeps/arm/math-tests.h: Likewise.
13750 * sysdeps/riscv/math-tests.h: Likewise.
13751 * sysdeps/aarch64/math-tests-trap.h: New file.
13752 * sysdeps/arm/math-tests-trap.h: Likewise.
13753 * sysdeps/riscv/math-tests-trap.h: Likewise.
13754
ca3aac57
WD
137552018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13756
13757 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13758 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13759 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13760 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13761 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13762 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13766 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13767 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13769 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13770 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13771 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13772 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13773 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13774 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13775
60bcac09
JM
137762018-08-23 Joseph Myers <joseph@codesourcery.com>
13777
13778 * sysdeps/generic/math-tests-exceptions.h: New file.
13779 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13780 (EXCEPTION_TESTS_float): Do not define here.
13781 (EXCEPTION_TESTS_double): Likewise.
13782 (EXCEPTION_TESTS_long_double): Likewise.
13783 (EXCEPTION_TESTS_float128): Likewise.
13784 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13785 Likewise.
13786 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13787 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13788 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13789 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13790 * sysdeps/mips/math-tests.h: Likewise.
13791 * sysdeps/nios2/math-tests.h: Likewise.
13792 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13793 (EXCEPTION_TESTS_float): Do not define here.
13794 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13795 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13796 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13797
3bded567
WD
137982018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13799
13800 * NEWS: Move optimized sinf entry to 2.29.
13801
900fb446
WD
138022018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13803
13804 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13805
561b0bec
DD
138062018-08-22 DJ Delorie <dj@redhat.com>
13807
13808 * Makefile (testroot.pristine): New rules to initialize the
13809 test-in-container "testroot".
13810 * Makerules (all-testsuite): Add tests-container.
13811 * Rules (tests-expected): Add tests-container.
13812 (binaries-all-tests): Likewise.
13813 (tests-container): New, run these tests in the testroot container.
13814 * support/Makefile (others): Add *-container, support_paths.c,
13815 xmkdirp, and links-dso-program.
13816 * support/links-dso-program-c.c: New.
13817 * support/links-dso-program.cc: New.
13818 * support/test-container.c: New.
13819 * support/shell-container.c: New.
13820 * support/echo-container.c: New.
13821 * support/true-container.c: New.
13822 * support/xmkdirp.c: New.
13823 * support/xsymlink.c: New.
13824 * support/support_paths.c: New.
13825 * support/support.h: Add support paths prototypes.
13826 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13827
13828 * nss/tst-nss-test3.c: Convert to test-in-container.
13829 * nss/tst-nss-test3.root/: New.
13830
b35d3509
PE
138312018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13832
13833 regex: port Gnulib code to z/OS POSIX environment
13834 Problem reported by Arnold Robbins in:
13835 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13836 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13837 Undef.
13838
16a25138
JM
138392018-08-22 Joseph Myers <joseph@codesourcery.com>
13840
debc4c98
JM
13841 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13842 (ROUNDING_TESTS_double): Remove.
13843 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13844 (ROUNDING_TESTS_double): Remove.
13845 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13846 (ROUNDING_TESTS_double): Remove.
13847 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13848 (ROUNDING_TESTS_float): Remove.
13849 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13850 (ROUNDING_TESTS_float): Remove.
13851 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13852 (ROUNDING_TESTS_float): Remove.
13853 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13854 !TEST_MATHVEC here.
13855 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13856 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13857
16a25138
JM
13858 * sysdeps/generic/math-tests-rounding.h: New file.
13859 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13860 (ROUNDING_TESTS_float): Do not define here.
13861 (ROUNDING_TESTS_double): Likewise.
13862 (ROUNDING_TESTS_long_double): Likewise.
13863 (ROUNDING_TESTS_float128): Likewise.
13864 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13865 (ROUNDING_TESTS_double): Undefine before defining.
13866 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13867 (ROUNDING_TESTS_double): Undefine before defining.
13868 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13869 (ROUNDING_TESTS_double): Undefine before defining.
13870 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13871 (ROUNDING_TESTS_float): Undefine before defining.
13872 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13873 (ROUNDING_TESTS_float): Undefine before defining.
13874 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13875 (ROUNDING_TESTS_float): Undefine before defining.
13876 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13877 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13878 not define here.
13879 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13880 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13881 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13882 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13883 (ROUNDING_TESTS_float): Do not define here.
13884 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13885 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13886 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13887 (ROUNDING_TESTS_float): Likewise.
13888 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13889 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13890 * sysdeps/mips/math-tests.h [__mips_soft_float]
13891 (ROUNDING_TESTS_float): Likewise.
13892 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13893 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13894 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13895 (ROUNDING_TESTS_double): Likewise.
13896 (ROUNDING_TESTS_long_double): Likewise.
13897
38b0593e
TK
138982018-08-21 Tobias Klauser <tklauser@distanz.ch>
13899
13900 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13901 (PF_XDP): New macro.
13902 (AF_XDP): New macro.
13903 (SOL_XDP): New macro.
13904
5cd7dbde
JM
139052018-08-21 Joseph Myers <joseph@codesourcery.com>
13906
13907 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13908 (TCP_INQ): Likewise.
13909 (TCP_CM_INQ): Likewise.
13910 (TCP_REPAIR_ON): Likewise.
13911 (TCP_REPAIR_OFF): Likewise.
13912 (TCP_REPAIR_OFF_NO_WP): Likewise.
13913 (struct tcp_zerocopy_receive): New type.
13914
aa42b3db
FW
139152018-08-21 Florian Weimer <fweimer@redhat.com>
13916
13917 * support/support.h (support_descriptor_supports_holes): Declare.
13918 * support/Makefile (libsupport-routines): Add
13919 support_descriptor_supports_holes.
13920 * support/support_descriptor_supports_holes.c: New file.
13921 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13922 and stop testing if holes are not supported.
13923 * io/test-lfs.c (do_prepare): Likewise.
13924 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13925 Likewise.
13926 * timezone/tst-tzset.c (create_tz_file): Likewise.
13927 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13928 variable.
13929 (do_prepare): Set it.
13930 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13931
c7627f41
FW
139322018-08-21 Florian Weimer <fweimer@redhat.com>
13933
13934 [BZ #17248]
13935 * Makeconfig (+cflags): Do not sort (and deduplicate).
13936
ef939d92
FW
139372018-08-21 Florian Weimer <fweimer@redhat.com>
13938
13939 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13940 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13941
88ffb39d
FW
139422018-08-20 Florian Weimer <fweimer@redhat.com>
13943
13944 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13945 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13946
17419540
JM
139472018-08-20 Joseph Myers <joseph@codesourcery.com>
13948
e6edd40d
JM
13949 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13950 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13951 and ssi_arch members.
13952
17419540
JM
13953 * elf/elf.c (NT_VMCOREDD): New macro.
13954 (AT_MINSIGSTKSZ): Likewise.
13955
fa78896b
RS
139562018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13957
13958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13959 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13960 s_cosf-ppc64 and s_cosf-power8.
13961 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13962 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13963 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13964 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13971 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13972 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13973
86a6c75a
FW
139742018-08-17 Florian Weimer <fweimer@redhat.com>
13975
13976 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13977
35cfefd9
FW
139782018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13979
13980 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13981
6413fcde
FW
139822018-08-16 Florian Weimer <fweimer@redhat.com>
13983
13984 * configure.ac: Add --with-nonshared-cflags option.
13985 * config.make.in (extra-nonshared-cflags): Set variable.
13986 * Makeconfig (CFLAGS-.oS): Use it.
13987 * manual/install.texi (Configuring and compiling): Document
13988 --with-nonshared-cflags.
13989 * configure: Regenerate.
13990 * INSTALL: Likewise.
13991
93a2584c
FW
139922018-08-16 Florian Weimer <fweimer@redhat.com>
13993
13994 * Makeconfig (ASFLAGS): Always append required assembler flags.
13995
f6f275d2 139962018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
13997
13998 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13999 (malloc_consolidate): Likewise.
14000
30a17d8c
PC
140012018-08-16 Pochang Chen <johnchen902@gmail.com>
14002
14003 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
14004
953a5a4a
SP
140052018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14006
34f86d61
SP
14007 * benchtests/bench-strlen.c (do_test): Allocate buffers before
14008 every strlen call.
14009
953a5a4a
SP
14010 * benchtests/bench-strlen.c: Print performance numbers in json.
14011
7793ad7a
RS
140122018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14013
14014 * sysdeps/powerpc/powerpc64/multiarch/Makefile
14015 (sysdep_routines): Build strcmp-power9 and strncmp-power9
14016 only for little endian.
14017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14018 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
14019 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
14020 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
14021 Add check for little endian.
14022 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
14023 (__strcmp_power9): Add check for little endian.
14024 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
14025 Add check for little endian.
14026 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
14027 (__strncmp_power9): Add check for little endian.
14028 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
14029 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
14030 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
14031 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
14032 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
14033
436e4d5b
SP
140342018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14035
14036 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
14037 [!STRLEN](STRLEN): Set to __strlen.
14038 * sysdeps/aarch64/multiarch/strlen.c: New file.
14039 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
14040 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
14041 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14042 (__libc_ifunc_impl_list): Add strlen.
14043 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14044 strlen_generic and strlen_asimd.
14045
126c4e3f
WD
140462018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14047
14048 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
14049 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
14050 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14051
49acec17
WD
140522018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
14053
14054 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
14055
fdb16de3
FW
140562018-08-14 Florian Weimer <fweimer@redhat.com>
14057
14058 [BZ #23519]
14059 * include/stdio.h (__vfxprintf): Declare.
14060 * stdio-common/fxprintf.c (__vfxprintf): New function.
14061 (__fxprintf): Call it.
14062 * misc/err.c (convert_and_print): Remove function.
14063 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
14064 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
14065 * misc/Makefile (tests): Add tst-warn-wide.
14066 * misc/tst-warn-wide.c: New file.
14067
599cf397
WD
140682018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
14069 Szabolcs Nagy <szabolcs.nagy@arm.com>
14070
14071 * NEWS: Mention sinf, cosf, sincosf.
14072 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
14073 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
14074 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
14075 constants rather than including generic sincosf.h.
14076 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
14077 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
14078 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
14079 (reduced_cos): Remove.
14080 (sinf_poly): New function.
14081 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
14082
e95c6f61
FW
140832018-08-14 Florian Weimer <fweimer@redhat.com>
14084
14085 [BZ #23521]
14086 [BZ #23522]
14087 * nss/nss_files/files-alias.c (get_next_alias): During :include:
14088 processing, bail out if no room, and close the stream before
14089 returning ERANGE.
14090 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
14091 (tst-nss-files-alias-leak): Link with libdl.
14092 (tst-nss-files-alias-leak.out): Depend on nss_files.
14093
14094 * nss/tst-nss-files-alias-leak.c: New file.
14095
2d7acfac
FW
140962018-08-14 Florian Weimer <fweimer@redhat.com>
14097
14098 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
14099 server_user, stat_user.
14100
f3cd0904
JM
141012018-08-13 Joseph Myers <joseph@codesourcery.com>
14102
17b26500
JM
14103 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14104 version to 4.18.
14105 (io_pgetevents): New syscall.
14106 (rseq): Likewise.
14107
3c1622eb
JM
14108 * manual/install.texi (Configuring and compiling): Do not list
14109 tools used for testing pretty printers here.
14110 (Tools for Compilation): List Python, PExpect and GDB here.
14111 Update descriptions of uses of Perl and Python.
14112 * INSTALL: Regenerate.
14113
f3cd0904
JM
14114 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14115 version to 4.18.
14116
b7b52b9d
FW
141172018-08-13 Florian Weimer <fweimer@redhat.com>
14118
14119 * misc/error.c (error): Add missing va_end call.
14120 (error_at_line): Likewise.
14121
01780188
FW
141222018-08-13 Florian Weimer <fweimer@redhat.com>
14123
14124 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14125
44727aec
SP
141262018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14127
8cac1f26
SP
14128 * benchtests/scripts/benchout.schema.json (properties): Add
14129 new properties.
14130
44727aec
SP
14131 * benchtests/bench-skeleton.c (main): Add duration and
14132 iterations attributes.
14133
c77bf91b
PE
141342018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14135
14136 regex: Gnulib unibyte RRI uses bytes not chars
14137 Adjust the non-glibc code to agree with what Gawk needs for
14138 rational range interpretation (RRI) for regular expression ranges.
14139 In unibyte locales, Gawk wants ranges to use the underlying byte
14140 rather than the character code point. This change does not affect
14141 glibc proper.
14142 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14143 In unibyte locales, use the byte value rather than
14144 running it through btowc.
14145
2ce7ba7d
JM
141462018-08-10 Joseph Myers <joseph@codesourcery.com>
14147
14148 * sysdeps/generic/math-tests-snan.h: New file.
14149 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14150 (SNAN_TESTS_float): Do not define here.
14151 (SNAN_TESTS_double): Likewise.
14152 (SNAN_TESTS_long_double): Likewise.
14153 (SNAN_TESTS_float128): Likewise.
14154 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14155 * sysdeps/i386/fpu/math-tests.h: Remove file.
14156 * sysdeps/ia64/math-tests-snan.h: New file.
14157 * sysdeps/ia64/math-tests.h: Remove file.
14158 * sysdeps/x86/math-tests.h: Likewise.
14159 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14160
ea5c662c
WD
141612018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14162 Szabolcs Nagy <szabolcs.nagy@arm.com>
14163
14164 * math/Makefile: Add s_sincosf_data.c.
14165 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14166 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14167 (sincosf_poly): Likewise.
14168 (reduce_small): Likewise.
14169 (reduce_large): Likewise.
14170 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14171 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14172 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14173 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14174
43cfdf8f
SN
141752018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14176 Szabolcs Nagy <szabolcs.nagy@arm.com>
14177
14178 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14179 (converttoint): Use lround.
14180 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14181 document the semantics when TOINT_INTRINSICS is set.
14182 (converttoint): Likewise.
14183 (TOINT_RINT): Remove.
14184 (TOINT_SHIFT): Remove.
14185 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14186 path.
14187
69065288
FW
141882018-08-10 Florian Weimer <fweimer@redhat.com>
14189
14190 [BZ #23497]
14191 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14192 function.
14193 (__old_getdents64): Use getdents64. Convert entries without
14194 moving them.
14195 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14196 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14197 tst-readdir64-compat.
14198
8f135efc
IL
141992018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14200
14201 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14202 Fix unwind.
14203
71c01af5
IL
142042018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14205
14206 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14207 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14208 code to s390x-mcount.h and #include it.
14209 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14210 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14211 (__fentry__): Add.
14212
8d997d22
IL
142132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14214
14215 * stdlib/Versions: Remove __fentry__.
14216 * sysdeps/i386/Versions: Add __fentry__.
14217 * sysdeps/x86_64/Versions: Add __fentry__.
14218
69e2444a
IL
142192018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14220
14221 * sysdeps/s390/Makefile: Register the new tests.
14222 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14223 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14224 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14225 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14226 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14227 * sysdeps/s390/tst-dl-runtime.c: New file.
14228
bde6320f
IL
142292018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14230
14231 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14232 Do not clobber R0.
14233
5755f5e4
IL
142342018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14235
14236 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14237 Do not clobber R0.
14238
c8ad8522
IL
142392018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14240
14241 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14242 Do not clobber R0.
14243
b215eee1
IL
142442018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14245
14246 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14247 Do not clobber R0.
14248
329c6fec
IL
142492018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14250
14251 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14252 Use symbolic offsets for stack variables.
14253
0fb7afa2
IL
142542018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14255
14256 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14257 Use symbolic offsets for stack variables.
14258
6954059a
IL
142592018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14260
14261 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14262 Use symbolic offsets for stack variables.
14263
c7099673
IL
142642018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14265
14266 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14267 Use symbolic offsets for stack variables.
14268
2813e41e
JM
142692018-08-09 Joseph Myers <joseph@codesourcery.com>
14270
14271 * math/gen-libm-test.py: New file.
14272 * math/gen-libm-test.pl: Remove.
14273 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14274 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14275 gen-libm-test.pl.
14276 ($(libm-test-c-noauto-obj)): Likewise.
14277 ($(libm-test-c-auto-obj)): Likewise.
14278 ($(libm-test-c-narrow-obj)): Likewise.
14279 (regen-ulps): Likewise.
14280 * math/README.libm-test: Update references to gen-libm-test.pl.
14281 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14282 referencing gen-libm-test.pl.
14283 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14284 * math/libm-test-support.c: Likewise.
14285 * math/libm-test-support.h: Likewise.
14286 * sysdeps/generic/libm-test-ulps: Likewise.
14287
be64b194
SP
142882018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14289
14290 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14291 Fix value.
14292
140137fb
JM
142932018-08-08 Joseph Myers <joseph@codesourcery.com>
14294
14295 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14296 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14297
b5403eca
ST
142982018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14299
14300 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14301 symbols.
8ac0f9e6
ST
14302 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14303 __pthread_setspecific): Add hidden proto.
14304 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14305 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 14306
014efdd7
SP
143072018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14308
14309 * benchtests/bench-string.h (buf1_size, buf2_size): New
14310 variables.
14311 (init_sizes): New function.
14312 (test_init): Use it.
14313 (alloc_buf, exit_error): New functions.
14314 (alloc_bufs): Use ALLOC_BUF.
14315 (realloc_bufs): Remove.
14316 * benchtests/bench-memcmp.c (do_test): Adjust.
14317 * benchtests/bench-memset-large.c (do_test): Likewise.
14318 * benchtests/bench-memset-walk.c (do_test): Likewise.
14319 * benchtests/bench-memset.c (do_test): Likewise.
14320 * benchtests/bench-strncmp.c (do_test): Likewise.
14321
92a4cba7
AS
143222018-08-06 Andreas Schwab <schwab@suse.de>
14323
14324 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14325 of CONST_THREAD_AREA.
14326
fb4c32ae
L
143272018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14328
14329 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14330 (STATE_SAVE_MASK): Likewise.
14331 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14332 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14333 (STATE_SAVE_MASK): Likewise.
14334 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14335 instead of <cpu-features.h>.
14336
bf418187
DD
143372018-08-03 DJ Delorie <dj@redhat.com>
14338
14339 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 14340 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 14341
bb17621a
DD
14342 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14343
ea705eb5
JM
143442018-08-03 Joseph Myers <joseph@codesourcery.com>
14345
14346 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14347 after TEST_* calls.
14348 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14349 * math/libm-test-logb.inc (logb_test_data): Likewise.
14350
284f42bc
WD
143512018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14352
14353 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14354 * string/strstr.c (AVAILABLE): Likewise.
14355
430388d5
L
143562018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14359 <init-arch.h>.
14360 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14361 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14362 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14363
c5760aa9
CD
143642018-08-03 Carlos O'Donell <carlos@redhat.com>
14365
14366 * po/be.po: Update translation.
14367
6b535b84
CD
14368 * po/be.po: Update translation.
14369
ae67f2e5
L
143702018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14371
14372 * sysdeps/x86/cpu-features-offsets.sym
14373 (rtld_global_ro_offsetof): Removed.
14374 (CPU_FEATURES_SIZE): Likewise.
14375 (CPUID_OFFSET): Likewise.
14376 (CPUID_SIZE): Likewise.
14377 (CPUID_EAX_OFFSET): Likewise.
14378 (CPUID_EBX_OFFSET): Likewise.
14379 (CPUID_ECX_OFFSET): Likewise.
14380 (CPUID_EDX_OFFSET): Likewise.
14381 (FAMILY_OFFSET): Likewise.
14382 (MODEL_OFFSET): Likewise.
14383 (FEATURE_OFFSET): Likewise.
14384 (FEATURE_SIZ): Likewise.
14385 (COMMON_CPUID_INDEX_1): Likewise.
14386 (COMMON_CPUID_INDEX_7): Likewise.
14387 (FEATURE_INDEX_1): Likewise.
14388 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14389
6b5c8607 143902018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
14391
14392 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14393 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14394 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14395 (install-locales): Depend on install-locale-archive.
14396 (install-locale-archive): Define.
7b7adbd8 14397 (install-locale-files): Define.
08a5ee14
CD
14398 (build-one-locale): Define macro.
14399 * manual/install.texi (Running make install): Document.
14400 * manual/INSTALL: Regenerate.
14401
525691bd
SP
144022018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14403
d67d634b
SP
14404 * benchtests/scripts/compare_strings.py: Import traceback.
14405 (parse_file): Pretty-print error.
14406
525691bd
SP
14407 * NEWS: Mention the change.
14408 * elf/dl-tunables.list: Rename tune namespace to cpu.
14409 * sysdeps/powerpc/dl-tunables.list: Likewise.
14410 * sysdeps/x86/dl-tunables.list: Likewise.
14411 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14412 cpu.name.
14413 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14414 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14415 * manual/README.tunables: Likewise.
14416 * manual/tunables.texi: Likewise.
14417 * sysdeps/powerpc/cpu-features.c: Likewise.
14418 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14419 (init_cpu_features): Likewise.
14420 * sysdeps/x86/cpu-features.c: Likewise.
14421 * sysdeps/x86/cpu-features.h: Likewise.
14422 * sysdeps/x86/cpu-tunables.c: Likewise.
14423 * sysdeps/x86_64/Makefile: Likewise.
14424 * sysdeps/x86/dl-cet.c: Likewise.
14425
506d7fb1
JM
144262018-08-02 Joseph Myers <joseph@codesourcery.com>
14427
14428 [BZ #23479]
14429 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14430 [__mips_hard_float].
14431 (FE_UNDERFLOW): Likewise.
14432 (FE_OVERFLOW): Likewise.
14433 (FE_DIVBYZERO): Likewise.
14434 (FE_INVALID): Likewise.
14435 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14436 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14437 (FE_UPWARD): Likewise.
14438 (FE_DOWNWARD): Likewise.
14439 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14440 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14441 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14442 [__mips_hard_float].
14443 (FP_ROUNDMODE): Likewise.
14444 (FP_RND_NEAREST): Likewise.
14445 (FP_RND_ZERO): Likewise.
14446 (FP_RND_PINF): Likewise.
14447 (FP_RND_MINF): Likewise.
14448 (FP_EX_INVALID): Likewise.
14449 (FP_EX_OVERFLOW): Likewise.
14450 (FP_EX_UNDERFLOW): Likewise.
14451 (FP_EX_DIVZERO): Likewise.
14452 (FP_EX_INEXACT): Likewise.
14453 (FP_INIT_ROUNDMODE): Likewise.
14454 * sysdeps/mips/nofpu/fesetenv.c: New file.
14455 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14456
f6dcefbe
JM
144572018-08-01 Joseph Myers <joseph@codesourcery.com>
14458
14459 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14460 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14461 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14462 conditional on [FE_UPWARD].
14463
fa67ba06
PE
144642018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14465
14466 regex: fix memory leak in Gnulib
14467 Problem and fix reported by Assaf Gordon in:
14468 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14469 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14470 range_ends members too, as they are defined in 'struct
14471 re_charset_t' even if not _LIBC. This affects only Gnulib.
14472
82c80ac2
L
144732018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14474
14475 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14476 ...
14477 (get_common_indices): This.
14478 (init_cpu_features): Updated.
14479
c0e7e2c1
JM
144802018-08-01 Joseph Myers <joseph@codesourcery.com>
14481
46f8cf57
JM
14482 * sysdeps/generic/math-tests-snan-payload.h: New file.
14483 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14484 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14485 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14486 * sysdeps/generic/math-tests.h: Include
14487 <math-tests-snan-payload.h>.
14488 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14489 * sysdeps/hppa/math-tests.h: Remove file.
14490 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14491 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14492 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14493 Likewise.
14494
c0e7e2c1
JM
14495 * sysdeps/generic/math-tests-snan-cast.h: New file.
14496 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14497 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14498 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14499 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14500
e6855a3b 145012018-08-01 Carlos O'Donell <carlos@redhat.com>
74939c83 14502
b029723b
CD
14503 * version.h (RELEASE): Set to "development".
14504 (VERSION): Set to "2.28.9000".
14505 * NEWS (2.29): New section.
14506
3c03baca
CD
14507 * version.h (RELEASE): Set to "stable".
14508 (VERSION): Set to "2.28".
14509 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14510 * NEWS: Add the list of bugs fixed in 2.28.
14511
74939c83
CD
14512 * po/ca.po: Update to latest version.
14513 * po/cs.po: Likewise
14514 * po/da.po: Likewise
14515 * po/el.po: Likewise
14516 * po/eo.po: Likewise
14517 * po/es.po: Likewise
14518 * po/fi.po: Likewise
14519 * po/fr.po: Likewise
14520 * po/gl.po: Likewise
14521 * po/hu.po: Likewise
14522 * po/ia.po: Likewise
14523 * po/id.po: Likewise
14524 * po/it.po: Likewise
14525 * po/ja.po: Likewise
14526 * po/ko.po: Likewise
14527 * po/lt.po: Likewise
14528 * po/nb.po: Likewise
14529 * po/nl.po: Likewise
14530 * po/pt_BR.po: Likewise
14531 * po/ru.po: Likewise
14532 * po/rw.po: Likewise
14533 * po/sk.po: Likewise
14534 * po/sl.po: Likewise
14535 * po/tr.po: Likewise
14536 * po/zh_CN.po: Likewise
14537 * po/zh_TW.po: Likewise
14538
d4b54bdf
ST
145392018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14540
14541 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14542 initialization...
14543 (init): ... before initializing libpthread.
14544
42fc12ef
ST
14545 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14546 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14547 (__mach_setup_tls): ... new function.
14548 (mach_setup_tls): New alias.
14549 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14550 __mach_setup_thread.
14551 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14552 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14553 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14554 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14555
6cca855e
CD
145562018-07-31 Carlos O'Donell <carlos@redhat.com>
14557
f650932b
CD
14558 * manual/install.texi: Update versions.
14559 * INSTALL: Regenerate.
14560
6cca855e
CD
14561 * manual/contrib.texi (Contributors): Update contributions.
14562
07fdea47
CD
145632018-07-31 Carlos O'Donell <carlos@redhat.com>
14564
14565 * po/be.po: Update translations.
14566
63d5fad4
AZ
145672018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14568
14569 * sysdeps/sh/libm-test-ulps: Update.
14570
1ff712a6
CD
145712018-07-30 Carlos O'Donell <carlos@redhat.com>
14572
14573 * po/bg.po: Update translations.
14574 * po/de.po: Likewise.
14575 * po/hr.po: Likewise.
14576 * po/pt_BR.po: Likewise.
14577 * po/sv.po: Likewise.
14578 * po/vi.po: Likewise.
14579
98864ed0
L
145802018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14581
14582 [BZ #23467]
14583 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14584 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14585 (CFLAGS-tst-cet-property-1.o): New.
14586 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14587 ($(objpfx)tst-cet-property-2): Likewise.
14588 ($(objpfx)tst-cet-property-2.out): Likewise.
14589 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14590 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14591 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14592 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14593 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14594
c92a00d8
L
145952018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14596
14597 [BZ #23458]
14598 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14599
99bc6241
ST
146002018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14601
14602 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14603 __sbrk): Do not set attribute_hidden.
af86087f 14604 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
14605 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14606 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14607
bcb1c4af
CD
146082018-07-27 Carlos O'Donell <carlos@redhat.com>
14609
14610 * po/uk.po: Update translations.
14611 * po/cs.po: Likewise.
14612 * po/pl.po: Likewise.
14613
4591b7db
L
146142018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14615
14616 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14617 parse beyond the note end.
14618
2c6da2f4
AZ
146192018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14620
14621 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14622 kernel does not support OFD locks.
14623 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14624
20365a31
ST
146252018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14626
14627 * sysdeps/mach/hurd/Versions (libc): Make __access and
14628 __access_noerrno external so they can override the ld symbols.
14629 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14630 __writev, __open64, __access_noerrno extern so they can be overrided.
14631 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14632 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14633
cb1a43db
CD
146342018-07-26 Carlos O'Donell <carlos@redhat.com>
14635
14636 * po/libc.pot: Regenerate.
14637
74759ae5
JM
146382018-07-26 Joseph Myers <joseph@codesourcery.com>
14639
14640 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14641
da80612d
L
146422018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14643
14644 [BZ #23459]
14645 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14646 function.
14647 (init_cpu_features): Call get_extended_indices for both Intel
14648 and AMD CPUs.
14649 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14650 Remove "for AMD" comment.
14651
65d87ade
L
146522018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 [BZ # 23456]
14655 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14656 COMMON_CPUID_INDEX_80000001.
14657
c9dc4d51
SL
146582018-07-26 Stefan Liebler <stli@linux.ibm.com>
14659
14660 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14661 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14662
cfba5dbb
FW
146632018-07-26 Florian Weimer <fweimer@redhat.com>
14664
14665 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14666 aliases for symbols not in the implementation namespace.
14667
6b5c8607 146682018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
14669
14670 [BZ #23393]
14671 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14672 lowercase in LATIN script.
14673 * localedata/Makefile (test-input): Add en_US.UTF-8.
14674 * localedata/en_US.UTF-8.in: New file.
14675 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14676 and restore old tests.
14677 * posix/tst-regexloc.c (do_test): Add back range expression test.
14678
3fb455b3
L
146792018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14680
14681 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14682
d6499b70
AZ
146832018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14684
14685 * nptl/threads.h: Move to ...
14686 * sysdeps/nptl/threads.h: ... here.
14687 * sysdeps/hurd/stdc-predef.h: New file.
14688
08ac6bed
L
146892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14690
14691 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14692 tst-cet-setcontext-1 if CET is enabled.
14693 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14694 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14695
9faaf938
AZ
146962018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14697
14698 * include/threads.h: Move to ...
14699 * sysdeps/nptl/threads.h: ... here.
14700 * sysdeps/htl/threads.h: New file.
14701 * conform/Makefile (linknamespace-libs-ISO11): Use
14702 static-thread-library instead of linking libpthread.
14703 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14704
d6b8f847
FW
147052018-07-25 Florian Weimer <fweimer@redhat.com>
14706
14707 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14708 nanoseconds into seconds.
14709 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14710 (do_test): Likewise.
14711 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14712 (do_test): Likewise. Avoid nanosecond overflow and spurious
14713 timeouts due to system load.
14714 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14715 (child_wait): Increment it.
14716 (do_test): Wait as long as necessary until all expected threads
14717 have arrived.
14718
25123a1c
L
147192018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14720 H.J. Lu <hongjiu.lu@intel.com>
14721
14722 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14723 __ssp.
14724 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14725 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14726 (__push___start_context): New.
14727 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14728 <asm/prctl.h>.
14729 (__getcontext): Record the current shadow stack base. Save the
14730 caller's shadow stack pointer and base.
14731 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14732 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14733 (__push___start_context): New prototype.
14734 (__makecontext): Call __push___start_context to allocate a new
14735 shadow stack, push __start_context onto the new stack as well
14736 as the new shadow stack.
14737 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14738 <asm/prctl.h>.
14739 (__setcontext): Restore the target shadow stack.
14740 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14741 <asm/prctl.h>.
14742 (__swapcontext): Record the current shadow stack base. Save
14743 the caller's shadow stack pointer and base. Restore the target
14744 shadow stack.
14745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14746 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14747 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14748
375a4844
L
147492018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14750
14751 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14752 tst-setcontext8 and tst-setcontext9.
14753 * stdlib/tst-setcontext6.c: New file.
14754 * stdlib/tst-setcontext7.c: Likewise.
14755 * stdlib/tst-setcontext8.c: Likewise.
14756 * stdlib/tst-setcontext9.c: Likewise.
14757
bd4f7903
L
147582018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14759
14760 * stdlib/Makefile ((tests): Add tst-setcontext5.
14761 * stdlib/tst-setcontext5.c: New file.
14762
7e28f203
L
147632018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14764
14765 * stdlib/Makefile (tests): Add tst-setcontext4.
14766 * stdlib/tst-setcontext4.c: New file.
14767
8516ad2d
L
147682018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14769
14770 * stdlib/Makefile (tests): Add tst-swapcontext1.
14771 * stdlib/tst-swapcontext1.c: New test.
14772
fddcd003
L
147732018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14776 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14777 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14778 and tst-cet-legacy-4c.
14779 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14780 and tst-cet-legacy-mod-4.
14781 (CFLAGS-tst-cet-legacy-2.c): New.
14782 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14783 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14784 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14785 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14786 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14787 ($(objpfx)tst-cet-legacy-1): Likewise.
14788 ($(objpfx)tst-cet-legacy-2): Likewise.
14789 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14790 ($(objpfx)tst-cet-legacy-2a): Likewise.
14791 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14792 ($(objpfx)tst-cet-legacy-4): Likewise.
14793 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14794 ($(objpfx)tst-cet-legacy-4a): Likewise.
14795 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14796 (tst-cet-legacy-4a-ENV): Likewise.
14797 ($(objpfx)tst-cet-legacy-4b): Likewise.
14798 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14799 (tst-cet-legacy-4b-ENV): Likewise.
14800 ($(objpfx)tst-cet-legacy-4c): Likewise.
14801 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14802 (tst-cet-legacy-4c-ENV): Likewise.
14803 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14804 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14805 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14806 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14807 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14808 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14809 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14810 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14811 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14812 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14813 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14814
9aa3113a
L
148152018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14816
14817 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14818 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14819 with ssp_base.
14820 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14821 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14822 with ssp_base.
14823
9c79cec8
AS
148242018-07-25 Andreas Schwab <schwab@suse.de>
14825
14826 [BZ #23442]
14827 * locale/weightwc.h (findidx): Handle the case where usrc is a
14828 prefix of cp but one character too short.
14829
969c3355
AZ
148302018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14831
14832 * NEWS: Add ISO C threads addition.
14833
e0f9c462
FW
148342018-07-24 Florian Weimer <fweimer@redhat.com>
14835
14836 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14837 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14838 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14839 4.13.
14840
394df381
L
148412018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14842
14843 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14844 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14845 <sys/prctl.h> and <asm/prctl.h>.
14846 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14847 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14848 and <asm/prctl.h>.
14849 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14850 ARCH_CET_LEGACY_BITMAP.
14851 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14852 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14853 * sysdeps/x86/libc-start.c: Include <startup.h>.
14854
46545530
FW
148552018-07-24 Florian Weimer <fweimer@redhat.com>
14856
14857 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14858 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14859
6b5c8607 148602018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 14861 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
14862 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14863
14864 [BZ #14092]
9d0a979e
RJ
14865 * manual/debug.texi: Update adjacent chapter name.
14866 * manual/probes.texi: Likewise.
14867 * manual/threads.texi (ISO C Threads): New section.
14868 (POSIX Threads): Convert to a section.
14869
148702018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14871 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14872
14873 [BZ# 14092]
0a07288b
AZ
14874 * nptl/Makefile (tests): Add new test files.
14875 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14876 * nptl/tst-cnd-basic.c: Likewise.
14877 * nptl/tst-cnd-broadcast.c: Likewise.
14878 * nptl/tst-cnd-timedwait.c: Likewise.
14879 * nptl/tst-mtx-basic.c: Likewise.
14880 * nptl/tst-mtx-recursive.c: Likewise.
14881 * nptl/tst-mtx-timedlock.c: Likewise.
14882 * nptl/tst-mtx-trylock.c: Likewise.
14883 * nptl/tst-thrd-basic.c: Likewise.
14884 * nptl/tst-thrd-detach.c: Likewise.
14885 * nptl/tst-thrd-sleep.c: Likewise.
14886 * nptl/tst-tss-basic.c: Likewise.
14887
ce7528f6
AZ
148882018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14889
c6dd669b
AZ
14890 [BZ #14092]
14891 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14892 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14893 symbols.
14894 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14907 Likewise.
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14909 Likewise.
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14911 Likewise.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14922 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14923 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14924 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14925 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14926 Likewise.
14927 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14939 ikewise.
14940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14942 Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14944 Likewise.
14945 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14953
78d40132
AZ
14954 [BZ #14092]
14955 * conform/data/threads.h-data (thread_local): New macro.
14956 (TSS_DTOR_ITERATIONS): Likewise.
14957 (tss_t): New type.
14958 (tss_dtor_t): Likewise.
14959 (tss_create): New function.
14960 (tss_get): Likewise.
14961 (tss_set): Likewise.
14962 (tss_delete): Likewise.
14963 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14964 tss_get, and tss_set objects.
14965 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14966 * nptl/tss_create.c: New file.
14967 * nptl/tss_delete.c: Likewise.
14968 * nptl/tss_get.c: Likewise.
14969 * nptl/tss_set.c: Likewise.
14970 * sysdeps/nptl/threads.h (thread_local): New define.
14971 (TSS_DTOR_ITERATIONS): Likewise.
14972 (tss_t): New typedef.
14973 (tss_dtor_t): Likewise.
14974 (tss_create): New prototype.
14975 (tss_get): Likewise.
14976 (tss_set): Likewise.
14977 (tss_delete): Likewise.
14978
918311a3
AZ
14979 [BZ #14092]
14980 * conform/data/threads.h-data (cnd_t): New type.
14981 (cnd_init): New function.
14982 (cnd_signal): Likewise.
14983 (cnd_broadcast): Likewise.
14984 (cnd_wait): Likewise.
14985 (cnd_timedwait): Likewise.
14986 (cnd_destroy): Likewise.
14987 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14988 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14989 object.
14990 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14991 * nptl/cnd_broadcast.c: New file.
14992 * nptl/cnd_destroy.c: Likewise.
14993 * nptl/cnd_init.c: Likewise.
14994 * nptl/cnd_signal.c: Likewise.
14995 * nptl/cnd_timedwait.c: Likewise.
14996 * nptl/cnd_wait.c: Likewise.
14997 * sysdeps/nptl/threads.h (cnd_t): New type.
14998 (cnd_init): New prototype.
14999 (cnd_signa): Likewise.
15000 (cnd_broadcast): Likewise.
15001 (cnd_wait): Likewise.
15002 (cnd_timedwait): Likewise.
15003 (cnd_destroy): Likewise.
15004
3c20a679
AZ
15005 [BZ #14092]
15006 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
15007 (once_flag): New type.
15008 (call_once): New function.
15009 * nptl/Makefile (libpthread-routines): Add call_once object.
15010 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
15011 * nptl/call_once.c: New file.
15012 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
15013 (once_flag): New type.
15014 (call_once): New prototype.
15015
18d59c1b
AZ
15016 [BZ #14092]
15017 * conform/data/threads.h-data (mtx_plain): New constant.
15018 (mtx_recursive): Likewise.
15019 (mtx_timed): Likewise.
15020 (mtx_t): New type.
15021 (mtx_init): New function.
15022 (mtx_lock): Likewise.
15023 (mtx_timedlock): Likewise.
15024 (mtx_trylock): Likewise.
15025 (mtx_unlock): Likewise.
15026 (mtx_destroy): Likewise.
15027 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
15028 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
15029 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
15030 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
15031 * nptl/mtx_destroy.c: New file.
15032 * nptl/mtx_init.c: Likewise.
15033 * nptl/mtx_lock.c: Likewise.
15034 * nptl/mtx_timedlock.c: Likewise.
15035 * nptl/mtx_trylock.c: Likewise.
15036 * nptl/mtx_unlock.c: Likewise.
15037 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
15038 (mtx_recursive): Likewise.
15039 (mtx_timed): Likewise.
15040 (mtx_t): New type.
15041 (mtx_init): New prototype.
15042 (mtx_lock): Likewise.
15043 (mtx_timedlock): Likewise.
15044 (mtx_trylock): Likewise.
15045 (mtx_unlock): Likewise.
15046 (mtx_destroy): Likewise.
15047
ce7528f6
AZ
15048 [BZ #14092]
15049 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
15050 (linknamespace-libs-ISO11): Add libpthread.a.
15051 * conform/data/threads.h-data: New file: add C11 thrd_* types and
15052 functions.
15053 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
15054 * nptl/Makefile (headers): Add threads.h.
15055 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
15056 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
15057 thrd_yield.
15058 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
15059 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
15060 thrd_join, thrd_sleep, and thrd_yield symbols.
15061 * nptl/descr.h (struct pthread): Add c11 field.
15062 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
15063 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
15064 routine with expected function prototype.
15065 (__pthread_create_2_1): Add C11 threads check based on attribute
15066 value.
15067 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
15068 * nptl/thrd_create.c: New file.
15069 * nptl/thrd_current.c: Likewise.
15070 * nptl/thrd_detach.c: Likewise.
15071 * nptl/thrd_equal.c: Likewise.
15072 * nptl/thrd_exit.c: Likewise.
15073 * nptl/thrd_join.c: Likewise.
15074 * nptl/thrd_priv.h: Likewise.
15075 * nptl/thrd_sleep.c: Likewise.
15076 * nptl/thrd_yield.c: Likewise.
15077 * include/threads.h: Likewise.
15078
e27f41ba
L
150792018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15080
15081 * bits/indirect-return.h: New file.
15082 * misc/sys/cdefs.h (__glibc_has_attribute): New.
15083 * sysdeps/x86/bits/indirect-return.h: Likewise.
15084 * stdlib/Makefile (headers): Add bits/indirect-return.h.
15085 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
15086 (swapcontext): Add __INDIRECT_RETURN.
15087 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
15088 (prepare_test_buffer): Use it.
15089
21526a50
AS
150902018-07-24 Andreas Schwab <schwab@suse.de>
15091
15092 [BZ #23448]
15093 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
15094 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
15095
3650e1d9
L
150962018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15097
15098 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
15099 Redefine if shadow stack is enabled.
15100 (SYSCALL_ERROR_LABEL): Likewise.
15101 (__vfork): Pop shadow stack and jump back to to caller directly
15102 when shadow stack is in use.
15103 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
15104 Redefine if shadow stack is enabled.
15105 (SYSCALL_ERROR_LABEL): Likewise.
15106 (__vfork): Pop shadow stack and jump back to to caller directly
15107 when shadow stack is in use.
15108
ca027e0f
L
151092018-07-24 H.J. Lu <hongjiu.lu@intel.com>
15110
15111 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
15112 enabled.
15113 (foo): Likewise.
15114 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
15115 (foo): Likewise.
15116
b99f1c95
JM
151172018-07-20 Joseph Myers <joseph@codesourcery.com>
15118
15119 * scripts/build-many-glibcs.py (Context.checkout): Default
15120 binutils version to 2.31 branch.
15121
c8fabb84
ZL
151222018-07-20 Zong Li <zong@andestech.com>
15123
15124 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15125 URL of gcc's tarball.
15126
786658a0
FW
151272018-07-20 Florian Weimer <fweimer@redhat.com>
15128
15129 [BZ #23396]
15130 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15131 not compare an extra byte after the end of the weights.
15132
46f2474e
ST
151332018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15134
15135 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15136 to 1.
8ba1520e
ST
15137 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15138 hidden prototypes.
15139 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15140 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
15141 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15142 list of libraries whose stack executability is expected.
15143 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15144 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15145 variable.
15146 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15147 libc.so libpthread.so.
46f2474e 15148
60088242
TS
151492018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15150
15151 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15152 SOCK_NONBLOCK.
75d5e4a0
TS
15153 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15154 and SOCK_NONBLOCK.
de195be0
TS
15155 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15156 implement __pipe2.
15157 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 15158
1cf4ae7f
LS
151592018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15160
15161 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15162 library to improve command line parsing.
15163 (__main__): make schema file as optional parameter (--schema),
15164 defaulting to benchtests/scripts/benchout.schema.json.
15165 (main): move out of the parsing stuff to __main_  and leave it
15166 only as caller of main comparison functions.
15167
e84bd851
L
151682018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15169
15170 * NEWS: Add a note for Intel CET status.
15171 * manual/install.texi: Likewise.
15172 * INSTALL: Regenerated.
15173
df467d22
QP
151742018-07-18 Quentin PAGÈS <provaires@quentino.fr>
15175
15176 [BZ #23140]
15177 * localedata/locales/oc_FR (mon): Rename to...
15178 (alt_mon): This, then update October (typo fix).
15179 (mon): New content (genitive case, month names preceded by
15180 "de" or "d’").
15181
15182 [BZ #23422]
15183 * localedata/locales/oc_FR (abday): Update all items.
15184 (day): Update Wednesday and Saturday (typo fixes).
15185 (abmon): Update all items, except May.
15186 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15187 (LC_IDENTIFICATION): Bump the revision number and date.
15188 Keep the "category" entries in alphabetic order.
15189 (LC_ADDRESS): Remove no longer needed comment.
15190 (LC_COLLATE): Use “copy "ca_ES"”.
15191 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15192 "name_mrs".
15193
5c112f1b
JM
151942018-07-18 Joseph Myers <joseph@codesourcery.com>
15195
15196 * grp/tst_fgetgrent.c: Include <unistd.h>.
15197 (main): Use mkstemp instead of tmpnam.
15198 * io/test-utime.c (main): Likewise.
15199 * posix/annexc.c (macrofile): Change to modifiable array.
15200 (main): Remove macrofile here.
15201 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15202 macrofile here.
15203 (check_header): Do not remove macrofile here.
15204 * posix/bug-getopt1.c: Include <stdlib.h>.
15205 (do_test): Use mkstemp instead of tmpnam.
15206 * posix/bug-getopt2.c: Include <stdlib.h>.
15207 (do_test): Use mkstemp instead of tmpnam.
15208 * posix/bug-getopt3.c: Include <stdlib.h>.
15209 (do_test): Use mkstemp instead of tmpnam.
15210 * posix/bug-getopt4.c: Include <stdlib.h>.
15211 (do_test): Use mkstemp instead of tmpnam.
15212 * posix/bug-getopt5.c: Include <stdlib.h>.
15213 (do_test): Use mkstemp instead of tmpnam.
15214 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15215 (main): Use mkstemp instead of tmpnam.
15216 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15217 (main): Use mkstemp instead of tmpnam.
15218 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15219 (main): use mkstemp instead of tmpnam.
15220 * stdlib/isomac.c (macrofile): Change to modifiable array.
15221 (main): Remove macrofile here.
15222 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15223 macrofile here.
15224 (check_header): Do not remove macrofile here.
15225
6d90776d
L
152262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15227
15228 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15229 glibc.tune.x86_shstk.
15230
e6c69509
L
152312018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15232
15233 * NEWS: Mention --enable-cet.
15234 * manual/install.texi: Document --enable-cet.
15235 * INSTALL: Regenerated.
15236
e2d40a88
L
152372018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15238
15239 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15240 Add _CET_NOTRACK before indirect jump to jump table.
15241
77a8ae09
L
152422018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15243
15244 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15245 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15246 to jump table.
15247
90d15dc5
L
152482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15249
15250 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15251 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15252 to jump table.
15253
f1574581
L
152542018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15255
15256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15257 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15258 to jump table.
15259
7fb61336
L
152602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15261
15262 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15263 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15264 to jump table.
15265
0a899af0
L
152662018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15267
15268 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15269 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15270 to jump table.
15271 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15272
177824e2
L
152732018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15274
15275 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15276 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15277 to jump table.
15278
00e7b76a
L
152792018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15280
15281 * sysdeps/i386/i686/multiarch/memset-sse2.S
15282 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15283 to jump table.
15284
7e119cd5
L
152852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15286
15287 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15288 indirect jump to jump table.
15289
03aaf49b
L
152902018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15291
15292 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15293 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15294 to jump table.
15295 (MEMCPY): Likewise.
15296
811e9e52
L
152972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15300 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15301 to jump table.
15302 (MEMCPY): Likewise.
15303
8817df42
L
153042018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15305
15306 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15307 _CET_NOTRACK before indirect jump to jump table.
15308
921595d1
L
153092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15310
15311 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15312 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15313 to jump table.
15314
4ef60d95
L
153152018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15316
15317 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15318 indirect jump to jump table.
15319
61c4aad7
VT
153202018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15321
15322 [BZ #22241]
15323 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15324 (LOCALES): Likewise.
15325 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15326 * localedata/locales/sah_RU: New file.
15327 * localedata/sah_RU.UTF-8.in: New file.
15328
be9ccd27
L
153292018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15330
15331 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15332 "sysdep.h".
15333 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15334 _CET_ENDBR to indirect jump targets and adjust jump destination
15335 for _CET_ENDBR.
15336 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15337 "sysdep.h".
15338 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15339 _CET_ENDBR to indirect jump targets and adjust jump destination
15340 for _CET_ENDBR.
15341 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15342 "sysdep.h".
15343 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15344 _CET_ENDBR to indirect jump targets and adjust jump destination
15345 for _CET_ENDBR.
15346
5efc6777
L
153472018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15348
15349 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15350 _CET_ENDBR.
15351
562837c0
L
153522018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15353
15354 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15355 _CET_ENDBR.
15356 (_dl_tlsdesc_undefweak): Likewise.
15357 (_dl_tlsdesc_dynamic): Likewise.
15358 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15359 (_dl_tlsdesc_resolve_rel): Likewise.
15360 (_dl_tlsdesc_resolve_rela): Likewise.
15361 (_dl_tlsdesc_resolve_hold): Likewise.
15362 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15363 (_dl_tlsdesc_undefweak): Likewise.
15364 (_dl_tlsdesc_dynamic): Likewise.
15365 (_dl_tlsdesc_resolve_rela): Likewise.
15366 (_dl_tlsdesc_resolve_hold): Likewise.
15367
124bcde6
L
153682018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15369
15370 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15371 (_fini): Likewise.
15372 * sysdeps/x86_64/crti.S (_init): Likewise.
15373 (_fini): Likewise.
15374
ab74d59f 153752018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9145f033
RL
15376
15377 [BZ #23140]
15378 * localedata/locales/os_RU (mon): Rename to...
15379 (alt_mon): This.
15380 (mon): Import from CLDR (genitive case).
15381
ba2ea23d
L
153822018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15383
15384 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15385 cet-tunables.h> when CET is enabled.
15386
f753fa7d
L
153872018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15388
6b5c8607 15389 [BZ #21598]
f753fa7d
L
15390 * configure.ac: Add --enable-cet.
15391 * configure: Regenerated.
15392 * elf/Makefille (all-built-dso): Add a comment.
15393 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15394 Include <dl-prop.h>.
15395 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15396 segment.
15397 * elf/dl-open.c: Include <dl-prop.h>.
15398 (dl_open_worker): Call _dl_open_check.
15399 * elf/rtld.c: Include <dl-prop.h>.
15400 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15401 _rtld_main_check.
15402 * sysdeps/generic/dl-prop.h: New file.
15403 * sysdeps/i386/dl-cet.c: Likewise.
15404 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15405 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15406 * sysdeps/x86/cet-tunables.h: Likewise.
15407 * sysdeps/x86/check-cet.awk: Likewise.
15408 * sysdeps/x86/configure: Likewise.
15409 * sysdeps/x86/configure.ac: Likewise.
15410 * sysdeps/x86/dl-cet.c: Likewise.
15411 * sysdeps/x86/dl-procruntime.c: Likewise.
15412 * sysdeps/x86/dl-prop.h: Likewise.
15413 * sysdeps/x86/libc-start.h: Likewise.
15414 * sysdeps/x86/link_map.h: Likewise.
15415 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15416 _CET_ENDBR.
15417 (_dl_runtime_profile): Likewise.
15418 (_dl_runtime_resolve_shstk): New.
15419 (_dl_runtime_profile_shstk): Likewise.
15420 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15421 if CET is enabled.
15422 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15423 (CFLAGS-.os): Likewise.
15424 (CFLAGS-.op): Likewise.
15425 (CFLAGS-.oS): Likewise.
15426 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15427 is enabled.
15428 (tests-special): Add $(objpfx)check-cet.out.
15429 (cet-built-dso): New.
15430 (+$(cet-built-dso:=.note)): Likewise.
15431 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15432 ($(objpfx)check-cet.out): New.
15433 (generated): Add check-cet.out.
15434 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15435 <cet-tunables.h>.
15436 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15437 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15438 (init_cpu_features): Call get_cet_status to check CET status
15439 and update dl_x86_feature_1 with CET status. Call
15440 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15441 (set_x86_shstk). Disable and lock CET in libc.a.
15442 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15443 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15444 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15445 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15446 (_CET_ENDBR): Define if not defined.
15447 (ENTRY): Add _CET_ENDBR.
15448 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15449 x86_shstk.
15450 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15451 _CET_ENDBR.
15452 (_dl_runtime_profile): Likewise.
15453
52b2a80f
RA
154542018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15455
15456 [BZ #21895]
15457 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15458 restore r2 on longjmp.
15459 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15460 test list.
15461 Added rules to build test tst-setjmp-bug21895-static.
15462 Added module setjmp-bug21895 and rules to build a shared object from it.
15463 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15464 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15465
3ae725df
WD
154662018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15467
15468 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15469 * benchtests/bench-strstr.c: Likewise.
15470 * string/memmem.c (FASTSEARCH): Define.
15471 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15472 Add support for FASTSEARCH.
15473 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15474 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15475 (FASTSEARCH): Define.
15476 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15477 * string/test-strstr.c: Likewise.
15478
31e422ca
L
154792018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15480
15481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15482 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15483
faaee1f0
L
154842018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15485 H.J. Lu <hongjiu.lu@intel.com>
15486
15487 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15488 (__longjmp): Restore shadow stack pointer if shadow stack is
15489 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15490 isn't defined for __longjmp_cancel.
15491 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15492 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15493 and SHADOW_STACK_POINTER_OFFSET is defined.
15494 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15495 (setjmp): Save shadow stack pointer if shadow stack is enabled
15496 and SHADOW_STACK_POINTER_OFFSET is defined.
15497 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15498 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15499 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15500 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15501 <jmp_buf-ssp.h>.
15502 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15503 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15504 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15505 Remove jmp_buf-ssp.sym.
15506 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15507 <jmp_buf-ssp.h>.
15508 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15509 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15510 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15511 jmp_buf-ssp.sym.
15512 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15513 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15514 (__longjmp): Restore shadow stack pointer if shadow stack is
15515 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15516 isn't defined for __longjmp_cancel.
15517 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15518 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15519 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15520
ebff9c5c
L
155212018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15522
15523 [BZ #22563]
15524 * nptl/pthread_create.c: Include <tls-setup.h>.
15525 (__pthread_create_2_1): Call tls_setup_tcbhead.
15526 * sysdeps/generic/tls-setup.h: New file.
15527 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15528 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15529 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15530 Likewise.
15531 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15532 to feature_1.
15533 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15534 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15535 (X86_FEATURE_1_SHSTK): Likewise.
15536 (CET_ENABLED): Likewise.
15537 (IBT_ENABLED): Likewise.
15538 (SHSTK_ENABLED): Likewise.
15539
ab74d59f 155402018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
0a83bad2
RL
15541
15542 [BZ #23208]
15543 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15544 (LOCALES): Likewise.
15545 * localedata/dsb_DE.UTF-8.in: New file.
15546 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15547
046bfed9
FW
155482018-07-12 Florian Weimer <fweimer@redhat.com>
15549
15550 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15551 __mprotect, not mprotect.
15552
93304f5f
FW
155532018-07-11 Florian Weimer <fweimer@redhat.com>
15554
15555 * io/Makefile (headers): Add bits/statx.h.
15556
4beefeeb
MF
155572018-07-10 Mike FABIAN <mfabian@redhat.com>
15558
15559 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15560 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15561 and headers.
15562 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15563 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15564 for utf8_gen.py
15565
fd70af45
FW
155662018-07-10 Florian Weimer <fweimer@redhat.com>
15567
15568 * io/Makefile (routines): Add statx.
15569 (tests-internal): Add tst-statx.
15570 * io/Versions (GLIBC_2.28): Export statx.
15571 * io/bits/statx.h: New file.
15572 * io/sys/stat.h [__USE_GNU]: Include it.
15573 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15574 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15575 Define.
15576 * io/statx.c: New file.
15577 * io/statx_generic.: Likewise.
15578 * io/tst-statx.: Likewise.
15579 * include/bits/statx.h: Likewise.
15580 * sysdeps/unix/sysv/linux/kernel-features.h
15581 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15582 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15583 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15584 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15585 Undefine.
15586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15587 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15588 * sysdeps/unix/sysv/linux/statx.c: New file.
15589 * manual/filesys.texi: Note that statx is undocumented.
15590 * sysdeps/**/libc*.abilist: Update.
15591
b444e8f7
AZ
155922018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15593
15594 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15595 a kernel issue which lead to test failure in some cases.
15596
7b2f4ced
FW
155972018-07-10 Florian Weimer <fweimer@redhat.com>
15598
15599 [BZ #23036]
15600 * posix/regexec.c (check_node_accept_bytes): When comparing
15601 weights, do not compare an extra byte after the end of the
15602 weights.
15603
4fa34da6
FW
156042018-07-10 Florian Weimer <fweimer@redhat.com>
15605
15606 * libio/readline.c: Fix copyright year.
15607 * libio/tst-readline.c Likewise.
15608 * nss/tst-nss-files-hosts-getent.c: Likewise.
15609
916124ed
FW
156102018-07-06 Florian Weimer <fweimer@redhat.com>
15611
15612 [BZ #18991]
15613 * nss/nss_files/files-XXX.c (internal_getent): Use
15614 __libc_readline_unlocked. Seek back to the start of the line if
15615 parsing failes with ERANGE.
15616 (get_contents_ret, get_contents): Remove.
15617 * nss/tst-nss-files-hosts-getent.c: New file.
15618 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15619 (tst-nss-files-hosts-getent): Link with -ldl.
15620
3f5e3f5d
FW
156212018-07-06 Florian Weimer <fweimer@redhat.com>
15622
15623 * include/stdio.h (__libc_readline_unlocked): Declare.
15624 (__ftello64, __fseeko64): Declare aliases.
15625 * libio/readline.c: New file.
15626 * libio/tst-readline.c: Likewise.
15627 (routines): Add readline.
15628 (tests-internal): Add tst-readlime.
15629 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15630 __libc_readline_unlocked.
15631 * libio/fseeko.c (__fseeko): Rename from fseeko.
15632 (fseeko): Add alias.
15633 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15634 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15635 (fseeko64): Add alias.
15636 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15637 * libio/ftello64.c (__ftello64): Rename from ftello64.
15638 (ftello64): Add alias.
15639
397c54c1
SN
156402018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15641
15642 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15643 HWCAP_ATOMICS.
15644
d0cd7980
SN
156452018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15646
15647 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15648 Use dl_hwcap without masking.
15649 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15650 Remove HWCAP_CPUID.
15651
ddb3c626
FW
156522018-07-06 Florian Weimer <fweimer@redhat.com>
15653
15654 * conform/conformtest.pl (checknamespace): Escape literal braces
15655 in regular expressions.
15656
bce5911b
AP
156572018-07-06 Amit Pawar <amit.pawar@amd.com>
15658
15659 * sysdeps/x86/cpu-features.c (get_common_indeces):
15660 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15661 * sysdeps/x86/cpu-features.c (init_cpu_features):
15662 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15663
3a885c1f
FW
156642018-07-05 Florian Weimer <fweimer@redhat.com>
15665
15666 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15667 protector.
15668 (CFLAGS-elf-init.oS): Likewise.
15669
38cade0c
FW
156702018-07-05 Florian Weimer <fweimer@redhat.com>
15671 Carlos O'Donell <carlos@redhat.com>
15672
15673 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15674 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15675 with stack protector enabled because there is no risk of infinite
15676 recursion.
15677
9449a295
MR
156782018-07-05 Maciej W. Rozycki <macro@mips.com>
15679
15680 [BZ #19818]
15681 [BZ #23307]
15682 * libc-abis (ABSOLUTE): New ABI.
15683 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15684 * NEWS: Mention the new ABI.
15685
d6da5cb6
FW
156862018-07-05 Florian Weimer <fweimer@redhat.com>
15687
15688 [BZ # 17662]
15689 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15690 (RENAME_WHITEOUT): Define.
15691 [__USE_GNU] (renameat2): Declare.
15692 * stdio-common/Makefile (routines): Add renameat2.
15693 (tests): Add tst-renameat2.
15694 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15695 * stdio-common/renameat2.c: New file.
15696 * stdio-common/tst-renameat2.c: Likewise.
15697 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15698 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15699 undocumented.
15700 * sysdeps/unix/sysv/linux/kernel-features.h
15701 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15702 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15703 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15705 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15706 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15707 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15708 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15709 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15710 * include/stdio.h (__renameat): Add alias for renameat.
15711 * stdio-common/renameat.c (__renameat): Rename from renameat.
15712 Add hidden definition and alias.
15713 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15714 * sysdeps/mach/hurd/renameat.c: Likewise.
15715 * sysdeps/**/libc*.abilist: Add renameat2.
15716
1002d708
AZ
157172018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15718
15719 * posix/bug-regex33.c: Fix build after regex sync.
15720
34fdb893
CD
157212018-07-04 Carlos O'Donell <carlos@redhat.com>
15722
15723 [BZ #23164]
15724 * localedata/tst-langinfo-setlocale.c: New file.
15725 * localedata/tst-langinfo-setlocale-static.c: New file.
15726 * localedata/tst-langinfo-newlocale.c: New file.
15727 * localedata/tst-langinfo-newlocale-static.c: New file.
15728 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15729 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15730 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15731 (tests-static): Remove tst-langinfo-static. Add
15732 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15733 (tests-special): Remove $(objpfx)tst-langinfo.out,
15734 $(objpfx)tst-langinfo-static.out. Add
15735 $(objpfx)tst-langinfo-setlocale.out,
15736 $(objpfx)tst-langinfo-newlocale.out,
15737 $(objpfx)tst-langinfo-setlocale-static.out,
15738 $(objpfx)tst-langinfo-newlocale-static.out.
15739 ($(objpfx)tst-langinfo.out): Remove.
15740 ($(objpfx)tst-langinfo-static.out): Remove.
15741 ($(objpfx)tst-langinfo-newlocale.out): New target.
15742 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15743 (test-xfail-tst-langinfo-newlocale-static): Add.
15744 ($(objpfx)tst-langinfo-setlocale.out): New target.
15745 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15746 * localedata/tst-langinfo.c: Call test_locale.
15747 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15748 data.
15749
f2873d2d
FW
157502018-07-04 Florian Weimer <fweimer@redhat.com>
15751
15752 testrun.sh: Implement --tool=strace, --tool=valgrind
15753 * Makefile (testrun-script): Define variable.
15754 (testrun.sh): Use variable.
15755 * manual/install.texi (Tools for Compilation): make 4.0 or later
15756 is required.
15757 * configure.ac: Check for make 4.0 or later.
15758 * INSTALL: Regenerate.
15759 * configure: Likewise.
15760
eb04c213
AZ
157612018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15762
15763 [BZ #23233]
15764 [BZ #21163]
15765 [BZ #18986]
15766 [BZ #13762]
15767 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15768 * posix/PCRE.tests: Remove invalid test.
15769 * posix/bug-regex28.c: Fix expected values for used syntax.
15770 * posix/bug-regex37.c: New file.
15771 * posix/bug-regex38.c: Likewise.
15772 * posix/regcomp.c: Sync with gnulib.
15773 * posix/regex.c: Likewise.
15774 * posix/regex.h: Likewise.
15775 * posix/regex_internal.c: Likewise.
15776 * posix/regex_internal.h: Likewise.
15777 * posix/regexec.c: Likewise.
15778
b11643c2
MF
157792018-06-26 Mike FABIAN <mfabian@redhat.com>
15780
15781 [BZ #23308]
15782 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15783 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15784 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15785 * localedata/unicode-gen/PropList.txt: likewise.
15786 * localedata/unicode-gen/UnicodeData.txt: likewise.
15787 * localedata/charmaps/UTF-8: Regenerate.
15788 * localedata/locales/i18n_ctype: likewise.
15789 * localedata/locales/tr_TR: likewise.
15790 * localedata/locales/translit_circle: likewise.
15791 * localedata/locales/translit_cjk_compat: likewise.
15792 * localedata/locales/translit_combining: likewise.
15793 * localedata/locales/translit_compat: likewise.
15794 * localedata/locales/translit_font: likewise.
15795 * localedata/locales/translit_fraction: likewise.
15796
5a357506
FW
157972018-07-03 Florian Weimer <fweimer@redhat.com>
15798
15799 [BZ #23363]
15800 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15801 * stdio-common/tst-printf.sh: Adjust expected output.
15802 * LICENSES: Update.
15803
7279af00
AZ
158042018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15805
15806 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15807 symbol.
15808
b7b88cea
GG
158092018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15810
15811 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15812 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15813 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15814 * stdio-common/tst-printfsz-islongdouble.c: New file.
15815 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15817 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15818 [subdir == stdio-common] (tests-internal): Add
15819 test-printf-size-ieee128, and test-printf-size-ibm128.
15820 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15821 (CFLAGS-test-printf-size-ibm128.c): New variables.
15822 [subdir == stdio-common] (tests-special): Add
15823 $(objpfx)test-printf-size-ieee128.out and
15824 $(objpfx)test-printf-size-ibm128.out.
15825 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15826 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15827 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15828 __printf_sizeieee128.
15829 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15830 New file.
15831 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15832 Likewise.
15833 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15834 Likewise.
15835
2b445206
SN
158362018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15837
15838 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15839 (exp2f_inline): Likewise.
15840 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15841 (__math_uflowf): Likewise.
15842 (__math_may_uflowf): Likewise.
15843 (__math_divzerof): Likewise.
15844 (__math_invalidf): Likewise.
15845 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15846 (__math_oflowf): Likewise.
15847 (__math_uflowf): Likewise.
15848 (__math_may_uflowf): Likewise.
15849 (__math_divzerof): Likewise.
15850 (__math_invalidf): Likewise.
15851
2827ab99
CD
158522018-06-29 DJ Delorie <dj@redhat.com>
15853 Carlos O'Donell <carlos@redhat.com>
15854
15855 [BZ #23329]
15856 * include/libc-symbols.h: Comment the freeres framework.
15857 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15858 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15859 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15860 * dlfcn/dlerror.c: Include libc-symbols.h
15861 (__dlerror_main_freeres): New function.
15862 * dlfcn/dlfreeres.c: New file.
15863 * dlfcn/sdlfreeres.c: New file.
15864 * include/dlfcn.h: Declare __dlerror_main_freeres.
15865 * malloc/set-freeres.c: Declare __libdl_freeres, and
15866 __libpthread_freeres.
15867 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15868 the releavant libraries are loaded.
15869 * malloc/thread-freeres.c: Add comments.
15870 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15871 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15872 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15873 (__free_stacks): Rename to...
15874 (free_stacks): ...this. Mark static.
15875 (queue_stack): Call free_stacks.
15876 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15877 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15878 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15879 ptr_freeres element from struct.
15880 (pthread_functions): Remove .ptr_freeres from struct initializer.
15881 [SHARED] (nptl_freeres): Remove.
15882 * nptl/nptlfreeres.c: New file.
15883 * nptl/pthreadP.h
15884 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15885 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15886 attribute_hidden.
15887 (__free_stacks): Rename to...
15888 (__nptl_stacks_freeres): ...this.
15889 (__shm_directory_freeres): Declare.
15890 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15891 (__nptl_unwind_freeres): ...this.
15892 * resolv/res-close.c: Add comment.
15893 * resolv/resolv_conf.c: Include libc-symbols.h.
15894 * string/strerror_l.c: Include libc-symbols.h.
15895 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15896 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15897 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15898 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15899
37d3d244
RS
159002018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15901
15902 * stdlib/tst-strfmon_l.c: Add tests for long double.
15903
a1e0c5fa
MW
159042018-06-29 Michael Wolf <milupo@sorbzilla.de>
15905
15906 [BZ #23208]
15907 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15908 * localedata/locales/dsb_DE: New file.
15909
ab74d59f 159102018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
2e0c5de6
RL
15911
15912 [BZ #23140]
15913 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15914 genitive case).
15915 (alt_mon): New entry, import from CLDR (nominative case).
15916
cdb52c71
SL
159172018-06-29 Sylvain Lesage <severo@rednegra.net>
15918
15919 [BZ #22996]
15920 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15921
ce76a5cb
SP
159222018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15923
0aec4c1d
SP
15924 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15925 Use vector registers.
15926
ce76a5cb
SP
15927 * sysdeps/aarch64/multiarch/memmove_falkor.S
15928 (__memcpy_falkor): Use vector registers.
15929
7e8989d0
MS
159302018-06-29 Martin Sebor <msebor@redhat.com>
15931
15932 * manual/stdio.texi (Customizing Printf): Mention interaction
15933 with GCC built-ins.
15934
bac15a72
MR
159352018-06-29 Maciej W. Rozycki <macro@mips.com>
15936
15937 [BZ #23307]
15938 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15939 `st_value' is 0 if `st_shndx' is SHN_ABS.
15940 * elf/tst-absolute-zero.c: New file.
15941 * elf/tst-absolute-zero-lib.c: New file.
15942 * elf/tst-absolute-zero-lib.lds: New file.
15943 * elf/Makefile (tests): Add `tst-absolute-zero'.
15944 (modules-names): Add `tst-absolute-zero-lib'.
15945 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15946 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15947 ($(objpfx)tst-absolute-zero: New dependency.
15948
e69d994a
ZW
159492018-06-29 Zack Weinberg <zackw@panix.com>
15950
15951 * configure.ac: New command-line option --disable-crypt.
15952 Force --disable-nss-crypt when --disable-crypt is given, with a
15953 warning if it was explicitly enabled.
15954 * configure: Regenerate.
15955 * config.make.in: New boolean substitution variable $(build-crypt).
15956 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15957 when $(build-crypt).
15958 * manual/install.texi: Document --disable-crypt.
15959 * INSTALL: Regenerate.
15960
15961 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15962 which is never set.
15963 * conform/Makefile: Only include libcrypt.a in
15964 linknamespace-libs-xsi and linknamespace-libs-XPG4
15965 when $(build-crypt).
15966 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15967 USE_CRYPT to 1 when $(build-crypt).
15968 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15969 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15970 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15971
841785ba
ZW
159722018-06-29 Zack Weinberg <zackw@panix.com>
15973
15974 * crypt/crypt.h, posix/unistd.h: Update comments and
15975 prototypes for crypt and crypt_r.
15976
15977 * manual/crypt.texi (Cryptographic Functions): New initial
15978 exposition.
15979 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15980 (Unpredictable Bytes): Improve initial exposition. Clarify error
15981 behavior of getentropy and getrandom.
15982 * manual/examples/genpass.c: Generate a salt using getentropy
15983 instead of the current time. Use hash $5$ (SHA-2-256).
15984 * manual/examples/testpass.c: Demonstrate validation against
15985 hashes generated with three different one-way functions.
15986
15987 * manual/intro.texi: crypt.texi does not need an overview
15988 anymore.
15989
15990 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15991 * manual/terminal.texi: Consistently refer to "passphrases"
15992 * instead of "passwords", and to the "user database" instead
15993 * of the "password database".
15994 * manual/users.texi: Similarly. Add notes about how actual
15995 passphrase hashes are now stored in the shadow database.
15996 Remove 20-year-old junk todo note.
15997
6ab902e4
ZW
159982018-06-29 Zack Weinberg <zackw@panix.com>
15999
16000 * manual/crypt.texi: Use a normal top-level @node declaration.
16001 Move most of the introductory text to the 'crypt' section.
16002 Move the example programs below the @deftypefun for 'crypt_r'.
16003 Move the 'getpass' section...
16004 * manual/terminal.texi: ...here.
16005
b10a0acc
ZW
160062018-06-29 Zack Weinberg <zackw@panix.com>
16007 Florian Weimer <fweimer@redhat.com>
16008
16009 * posix/unistd.h: Do not declare encrypt.
16010 (_XOPEN_CRYPT): Remove macro definition.
16011 (crypt): Declare only for _USE_MISC.
16012 * stdlib/stdlib.h: Do not declare setkey.
16013 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
16014 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
16015
16016 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
16017 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
16018 into compat symbols. Don't define initial_perm if it's not
16019 going to be used.
16020 * crypt/cert.c: Link explicitly with the expected versions for
16021 setkey and encrypt. If they are not available at all, mark
16022 the test as unsupported.
16023
16024 * sunrpc/des_crypt.c: Unconditionally block linkage with
16025 cbc_crypt and ecb_crypt for new binaries.
16026 * sunrpc/des_soft.c: Unconditionally block linkage with
16027 des_setparity for new binaries.
16028
16029 * manual/crypt.texi: Remove the entire "DES Encryption"
16030 section. Also remove the paragraph talking about FIPS 140-2
16031 from the introduction.
16032 * manual/string.texi (strfry, memfrob): Revise. Recommend use
16033 of libgcrypt for "real" encryption, not DES.
16034 * manual/conf.texi (Constants for Sysconf): Mention that
16035 _XOPEN_CRYPT is no longer impelemented.
16036
16037 * conform/data/unistd.h-data: Remove crypt function declaration.
16038
524d796d
FW
160392018-06-29 Florian Weimer <fweimer@redhat.com>
16040
16041 [BZ #23351]
16042 * malloc/hooks.c: Update comments on restoring of dumped heaps.
16043 (disallow_malloc_check): Remove variable.
16044 (__malloc_check_init): Adjust.
16045 (malloc_set_state): Update comment.
16046 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
16047 declarations.
16048
ab74d59f 160492018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
339124ab
RL
16050
16051 [BZ #23140]
16052 * localedata/locales/ast_ES (mon): Rename to...
16053 (alt_mon): This.
16054 (mon): Import from CLDR (genitive case).
16055
c1f86a33
DA
160562018-06-29 Daniel Alvarez <dalvarez@redhat.com>
16057 Jakub Sitnicki <jkbs@redhat.com>
16058
16059 [BZ #21812]
16060 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
16061 on NLM_F_DUMP_INTR.
16062
0b11b649
SN
160632018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
16064
16065 * manual/llio.texi: Remove spurious space.
16066
c1c2848b
FW
160672018-06-28 Florian Weimer <fweimer@redhat.com>
16068
16069 [BZ #23349]
16070 * time/bits/types/struct_timespec.h: Change header inclusion guard to
16071 _STRUCT_TIMESPEC.
16072
86a0f561
RS
160732018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16074
16075 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 16076 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
16077 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
16078 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
16079 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
16080 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
16081 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
16082
780684eb
MR
160832018-06-27 Maciej W. Rozycki <macro@mips.com>
16084
16085 [BZ #23266]
16086 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
16087 Copy and null-terminate entries that are not terminated, in
16088 addition to empty ones.
16089
c49e1822
FW
160902018-06-27 Florian Weimer <fweimer@redhat.com>
16091
16092 [BZ #18023]
b39d961c
TS
16093 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
16094 (extend_alloca_account): Remove.
c49e1822
FW
16095 * manual/stdio.texi (Variable Arguments Output): Update comment.
16096
a833e627
JM
160972018-06-27 Joseph Myers <joseph@codesourcery.com>
16098
16099 * nptl/sockperf.c: Remove file.
16100
92d6aa85
FW
161012018-06-27 Florian Weimer <fweimer@redhat.com>
16102
16103 [BZ #18023]
16104 * elf/dl-deps.c (_dl_map_object_deps): Use struct
16105 scratch_buffer instead of extend_alloca.
16106
890c2ced
FW
161072018-06-27 Florian Weimer <fweimer@redhat.com>
16108
16109 [BZ #18023]
16110 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
16111 scratch_buffer instead of extend_alloca. Update comments.
16112
4272059d
FW
161132018-06-27 Florian Weimer <fweimer@redhat.com>
16114
16115 [BZ #18023]
16116 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
16117 instead of extend_alloca.
16118
27f10a09
JM
161192018-06-26 Joseph Myers <joseph@codesourcery.com>
16120
16121 [BZ #13888]
16122 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16123 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16124 /tmp.
16125 * scripts/test-installation.pl: Put temporary files in build
16126 directory, not /tmp.
16127 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16128 (CFLAGS-bug4.c): Likewise.
16129 (CFLAGS-bug5.c): Likewise.
16130 (CFLAGS-test-fseek.c): Likewise.
16131 (CFLAGS-test-popen.c): Likewise.
16132 (CFLAGS-test_rdwr.c): Likewise.
16133 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16134 /tmp.
16135 * stdio-common/bug4.c (main): Likewise.
16136 * stdio-common/bug5.c (main): Likewise.
16137 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16138 * stdio-common/test-popen.c (do_test): Likewise.
16139 * stdio-common/test_rdwr.c (main): Likewise.
16140
05598a09
PF
161412018-06-26 Patsy Franklin <pfrankli@redhat.com>
16142
16143 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16144 (sem_open): Set sem.newsem.pad to zero for valgrind.
16145
06ab719d
AZ
161462018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16147
16148 [BZ #20251]
16149 * NEWS: Mention fcntl64 addition.
16150 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16151 * login/utmp_file.c: Likewise.
16152 * sysdeps/posix/fdopendir.c: Likewise.
16153 * sysdeps/posix/opendir.c: Likewise.
16154 * sysdeps/unix/pt-fcntl.c: Likewise.
16155 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16156 __fcntl64_nocancel_adjusted): New prototype.
16157 (__fcntl_nocancel_adjusted): Remove prototype.
16158 * io/Makefile (routines): Add fcntl64.
16159 (CFLAGS-fcntl64.c): New rule.
16160 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16161 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16162 * io/fcntl.h (fcntl64): Add prototype and redirect if
16163 __USE_FILE_OFFSET64 is defined.
16164 * io/fcntl64.c: New file.
16165 * manual/llio.text: Add a note for which commands fcntl acts a
16166 cancellation point.
16167 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16168 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16169 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16170 New symbols.
16171 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16172 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16173 non-LFS case.
16174 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16175 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16176 to __fcntl64_nocancel.
16177 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16178 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16179 to __fcntl64_nocancel.
16180 * sysdeps/generic/not-cancel.h: Likewise.
16181 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16182 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16183 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16184 (fcntl64): New symbol.
16185 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16196 fcntl64): Likewise.
16197 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16199 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16207 Likewise.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16209 Likewise.
16210 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16213
124e0258
FW
162142018-06-26 Florian Weimer <fweimer@redhat.com>
16215
16216 Run thread shutdown functions in an explicit order.
16217 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16218 definition.
16219 (__libc_thread_freeres): Call thread shutdown functions
16220 explicitly.
16221 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16222 * include/string.h (__strerror_thread_freeres): Declare.
16223 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16224 arena_thread_freeres. No longer static. Remove thread shutdown
16225 hook registration.
16226 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16227 Declare.
16228 * resolv/res-close.c (__res_thread_freeres): Renamed from
16229 res_thread_freeres. No longer static. Remove thread shutdown
16230 hook registration.
16231 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16232 * resolv/resolv_conf.c (freeres): Remove incorrect section
16233 attribute and use libc_freeres_fn.
16234 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16235 strerror_thread_freeres. No longer static. Remove thread
16236 shutdown hook registration.
16237 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16238 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16239 shutdown hook registration.
16240 * Makerules (shlib.lds): Do not provide section boundary symbols
16241 for __libc_thread_subfreeres.
16242 * manual/memory.texi (Basic Allocation): Update comment.
16243
935d920e
FW
162442018-06-26 Florian Weimer <fweimer@redhat.com>
16245
16246 Remove always-defined _RPC_THREAD_SAFE_ macro.
16247 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16248 Do not define _RPC_THREAD_SAFE_.
16249 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16250 conditional.
16251 * sunrpc/clnt_perr.c: Likewise.
16252 * sunrpc/clnt_raw.c: Likewise.
16253 * sunrpc/clnt_simp.c: Likewise.
16254 * sunrpc/key_call.c: Likewise.
16255 * sunrpc/rpc_common.c: Likewise.
16256 * sunrpc/rpc_main.c: Likewise.
16257 * sunrpc/rpc_thread.c: Likewise.
16258 * sunrpc/svc.c: Likewise.
16259 * sunrpc/svc_raw.c: Likewise.
16260 * sunrpc/svc_simple.c: Likewise.
16261 * sumrpc/svcauth_des.c: Likewise.
16262
29055464
FW
162632018-06-26 Florian Weimer <fweimer@redhat.com>
16264
16265 * libio/Makefile (tests-internal): Add tst-vtables,
16266 tst-vtables-interposed.
16267 * libio/tst-vtables.c: New file.
16268 * libio/tst-vtables-common.c: Likewise.
16269 * libio/tst-vtables-interposed.c: Likewise.
16270
5c0202af
FW
162712018-06-26 Florian Weimer <fweimer@redhat.com>
16272
16273 * support/support_test_main.c (support_test_main): Only call
16274 setvbuf if not disables.
16275 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16276 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16277
c402355d
FW
162782018-06-26 Florian Weimer <fweimer@redhat.com>
16279
16280 [BZ #23313]
16281 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16282
43b1048a
FW
162832018-06-25 Florian Weimer <fweimer@redhat.com>
16284
16285 [BZ #18023]
16286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16287 Use struct scratch_buffer instead of extend_alloca.
16288
1599ed4e
FW
162892018-06-25 Florian Weimer <fweimer@redhat.com>
16290
16291 [BZ #18023]
16292 * nss/getent.c (initgroups_keys): Use dynarray instead of
16293 extend_alloca.
16294
a26fe163
FW
162952018-06-25 Florian Weimer <fweimer@redhat.com>
16296
16297 [BZ #18023]
16298 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16299 Use struct scratch_buffer instead of extend_alloca.
16300
90d9d9ce
FW
163012018-06-25 Florian Weimer <fweimer@redhat.com>
16302
16303 [BZ #18023]
16304 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16305 back to malloc directly, without stack allocations.
16306
6b7b2aba
FW
163072018-06-25 Florian Weimer <fweimer@redhat.com>
16308
16309 [BZ #18023]
16310 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16311 of extend_alloca.
16312
2f9f0d18
FW
163132018-06-25 Florian Weimer <fweimer@redhat.com>
16314
16315 [BZ #18023]
16316 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16317 of extend_alloca.
16318 * nscd/hstcache.c (addhstbyX): Likewise.
16319 * nscd/pwdcache.c (addpwbyX): Likewise.
16320 * nscd/servicescache.c (addservbyX): Likewise.
16321
318bad78
FW
163222018-06-25 Florian Weimer <fweimer@redhat.com>
16323
16324 [BZ #18023]
16325 * nscd/connections.c (read_cmdline): New function.
16326 (restart): Use it. Update comment.
16327
ab74d59f 163282018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
189699ab
RL
16329
16330 [BZ #23140]
16331 * localedata/locales/csb_PL (mon): Rename to...
16332 (alt_mon): This.
16333 (abmon): Rename to...
16334 (ab_alt_mon): This.
16335 (mon): Add with proper genitive forms, copy from Wikipedia.
16336 (abmon): Likewise.
16337
ab74d59f 163382018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
0ea3f13c
RL
16339
16340 [BZ #19485]
16341 * localedata/locales/csb_PL (mon): Fix typos:
16342 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16343 (yesstr): Add, value is "jo".
16344 (nostr): Add, value is "nié".
16345
d93f4ff1
TMQMF
163462018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16347
16348 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16349 all log1p and significand functions on m680x0.
16350 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16351 of s_significand.c..
16352 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16353 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16354 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16355 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16356 s_log1p.c and include it..
16357
f6299d2a
VC
163582018-06-21 Vincent Chen <vincentc@andestech.com>
16359
16360 * elf/elf.h (R_NDS32_NONE): New define.
16361 (R_NDS32_32_RELA): Likewise.
16362 (R_NDS32_COPY): Likewise.
16363 (R_NDS32_GLOB_DAT): Likewise.
16364 (R_NDS32_JUMP_SLOT): Likewise.
16365 (R_NDS32_RELATIVE): Likewise.
16366 (R_NDS32_TLS_TPOFF): Likewise.
16367 (R_NDS32_TLS_DESC): Likewise.
16368
61ab61c2
MW
163692018-06-21 Mark Wielaard <mark@klomp.org>
16370
16371 * elf/elf.h (R_BPF_MAP_FD): Removed.
16372 (R_BPF_64_64, R_BPF_64_32): New.
16373
f496b28e
FW
163742018-06-21 Florian Weimer <fweimer@redhat.com>
16375
16376 [BZ #23253]
16377 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16378 Renamed from libc_feholdsetround_ctx.
16379 (default_libc_feresetround_ctx): Renamed from
16380 libc_feresetround_ctx.
16381 (default_libc_feholdsetround_noex_ctx): Renamed from
16382 libc_feholdsetround_noex_ctx.
16383 (default_libc_feresetround_noex_ctx): Renamed from
16384 libc_feresetround_noex_ctx.
16385 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16386 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16387 forwardning to the old implementations under the new names.
16388 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16389 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16390 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16391 (libc_feresetround_ctx): Forward to default implements for i386
16392 and MATH_SET_BOTH_ROUNDING_MODES.
16393 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16394 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16395
1760daad
JM
163962018-06-20 Joseph Myers <joseph@codesourcery.com>
16397
99c7adf9
JM
16398 * string/tst-cmp.c: Include <libc-diag.h>.
16399 (strncmp_max): Disable -Wstringop-overflow= around call to
16400 strncmp.
16401 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16402 strncasecmp.
16403
1760daad
JM
16404 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16405 (main): Disable -Wunused-value around call to strpbrk.
16406 * string/bug-strspn1.c: Include <libc-diag.h>.
16407 (main): Disable -Wunused-value around call to strspn.
16408
209ae17c
TMQMF
164092018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16410 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16411
16412 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16413 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16414
badba23c
TMQMF
164152018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16416
5e79e029
TMQMF
16417 * math/Makefile (libm-calls): Move s_significandF to...
16418 (gen-libm-calls): ... here.
16419 * math/s_significand_template.c: New file.
16420 * math/s_significand.c: Removed.
16421 * math/s_significandf.c: Removed.
16422 * math/s_significandl.c: Removed.
16423 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16424 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16425
badba23c
TMQMF
16426 * math/e_exp2_template.c (declare_mgen_finite_alias,
16427 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16428 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16429 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16430
2d1c89a5
FW
164312018-06-20 Florian Weimer <fweimer@redhat.com>
16432
16433 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16434
646c2833
JM
164352018-06-19 Joseph Myers <joseph@codesourcery.com>
16436
16437 [BZ #23280]
16438 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16439 floating-point number to strtod functions rather than possibly
16440 negating result of those functions.
16441 * stdio-common/tst-scanf-round.c: New file.
16442 * stdio-common/Makefile (tests): Add tst-scanf-round.
16443 ($(objpfx)tst-scanf-round): Depend on $(libm).
16444
c77e4dc0
ST
164452018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16446
16447 * sysdeps/mach/hurd/localplt.data: Move to...
16448 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16449 R_386_GLOB_DAT like on Linux i386.
16450
91b2f3e5
JM
164512018-06-18 Joseph Myers <joseph@codesourcery.com>
16452
f2857da7
JM
16453 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16454 (SHM_STAT_ANY): New macro.
16455 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16456 (SHM_STAT_ANY): Likewise.
16457 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16458 (SHM_STAT_ANY): Likewise.
16459 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16460 (SHM_STAT_ANY): Likewise.
16461 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16462 (SHM_STAT_ANY): Likewise.
16463 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16464 (SHM_STAT_ANY): Likewise.
16465 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16466 (SHM_STAT_ANY): Likewise.
16467 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16468 (SHM_STAT_ANY): Likewise.
16469 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16470 (SHM_STAT_ANY): Likewise.
16471 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16472 (SHM_STAT_ANY): Likewise.
16473 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16474 (SHM_STAT_ANY): Likewise.
16475 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16476 (SHM_STAT_ANY): Likewise.
16477
176c7fee
JM
16478 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16479 (SEM_STAT_ANY): New macro.
16480 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16481 (SEM_STAT_ANY): Likewise.
16482 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16483 (SEM_STAT_ANY): Likewise.
16484 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16485 (SEM_STAT_ANY): Likewise.
16486 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16487 (SEM_STAT_ANY): Likewise.
16488 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16489 (SEM_STAT_ANY): Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16491 (SEM_STAT_ANY): Likewise.
16492 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16493 (SEM_STAT_ANY): Likewise.
16494 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16495 (SEM_STAT_ANY): Likewise.
16496 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16497 (SEM_STAT_ANY): Likewise.
16498
86bf0019
JM
16499 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16500 (MSG_STAT_ANY): New macro.
16501 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16502 (MSG_STAT_ANY): Likewise.
16503 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16504 (MSG_STAT_ANY): Likewise.
16505 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16506 (MSG_STAT_ANY): Likewise.
16507 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16508 (MSG_STAT_ANY): Likewise.
16509 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16510 (MSG_STAT_ANY): Likewise.
16511 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16512 (MSG_STAT_ANY): Likewise.
16513 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16514 (MSG_STAT_ANY): Likewise.
16515 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16516 (MSG_STAT_ANY): Likewise.
16517 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16518 (MSG_STAT_ANY): Likewise.
16519
91b2f3e5
JM
16520 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16521 (MAP_TYPE): Change value to 0x2b.
16522
3fe8fc79
FW
165232018-06-18 Florian Weimer <fweimer@redhat.com>
16524
16525 [BZ #15722]
16526 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16527 socket with SOCK_CLOEXEC.
16528
809dc95d
JM
165292018-06-18 Joseph Myers <joseph@codesourcery.com>
16530
16531 [BZ #23303]
16532 * sysdeps/powerpc/powerpc64/le/Makefile
16533 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16534 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16535 (gnulib-tests): Also add $(f128-loader-link) for
16536 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16537
298a8b59
ST
165382018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16539
16540 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16541 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16542 of sendfile.
16543 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16544 (sendfile64): New strong alias.
faf7bbc2
ST
16545 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16546 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16547 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
16548 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16549 attribute.
16550 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16551 ___pthread_get_cleanup_stack.
932d05f0 16552 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
16553 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16554 * mach/shortcut.awk: Make syscall stubs include
16555 <mach-shortcuts-hidden.h> and add hidden definition.
16556 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
16557 (__mach_msg): Add hidden prototype.
16558 * mach/msg.c: Include <mach.h>.
16559 (__mach_msg): Add hidden definition.
b0344cf5
ST
16560 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16561 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16562 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16563 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
16564 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16565 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
16566 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16567 prototype and definition.
16568 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16569 hidden target for _hurd_self_sigstate.
298a8b59 16570
b12c1e79
JM
165712018-06-15 Joseph Myers <joseph@codesourcery.com>
16572
16573 [BZ #23007]
16574 * stdlib/tst-strtod-nan-sign-main.c: New file.
16575 * stdlib/tst-strtod-nan-sign.c: Likewise.
16576 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16577 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16578 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16579 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16580 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16581
b0debe14
HB
165822018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16583
16584 [BZ #23007]
16585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16586 appropriate sign.
16587
14beef75
FW
165882018-06-14 Florian Weimer <fweimer@redhat.com>
16589
16590 [BZ #23290]
16591 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16592 that the result stays within the ISO-8859-1 range.
16593 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16594 characters are defined in IBM273.
16595
c596630b
ST
165962018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16597
16598 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16599 __mach_task_self): Remove attribute_hidden.
16600
35ebb6b0
JM
166012018-06-14 Joseph Myers <joseph@codesourcery.com>
16602
16603 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16604 ignore -Wrestrict for one test.
16605
3c7b9f1f
SE
166062018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16607 Szabolcs Nagy <szabolcs.nagy@arm.com>
16608
16609 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16610
c59ee916
FW
166112018-06-14 Florian Weimer <fweimer@redhat.com>
16612
16613 * scripts/update-abilist.sh: Accept empty list of files to patch.
16614
43b5ff50
ST
166152018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16616
16617 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16618 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
16619 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16620 __libc_read and __libc_write to __read and __write.
c8c6e6d6 16621 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
16622 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16623 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16624 __thread_switch, __evc_wait): Move declarations to...
16625 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16626 attribute_hidden.
06d1a826
ST
16627 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16628 use PLT to call _hurd_self_sigstate.
43b5ff50 16629
fcd6b5ac
JM
166302018-06-13 Joseph Myers <joseph@codesourcery.com>
16631
16632 [BZ #23279]
16633 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16634 MAX_EXP as overflowing.
16635 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16636 overflow flag.
16637 (round_str): Output also whether result overflows in each rounding
16638 mode.
16639 * stdlib/tst-strtod-round-data: Add more tests.
16640 * stdlib/tst-strtod-round-data.h: Regenerated.
16641 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16642 (TEST): Handle extra arguments for overflow flags.
16643 (struct test_overflow): New type.
16644 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16645 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16646 (test_in_one_mode): Take argument with overflow information.
16647 (do_test): Update calls to test_in_one_mode.
16648
35df5a77
CD
166492018-06-12 Carlos O'Donell <carlos@redhat.com>
16650
a745c837
CD
16651 * elf/dl-load (_dl_dst_substitute): Correct comment.
16652 (_dl_dst_count): Likewise.
16653
35df5a77
CD
16654 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16655 lll_futex_timed_wait.
16656
48b12ed5
JM
166572018-06-12 Joseph Myers <joseph@codesourcery.com>
16658
16659 [BZ #23277]
16660 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16661 attribute.
16662 * math/test-nan-const.c: New file.
16663 * math/Makefile (tests): Add test-nan-const.
16664 (CFLAGS-test-nan-const.c): New variable.
16665
cb8f6aff
L
166662018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16667
16668 * benchtests/scripts/compare_strings.py (process_results): Add
16669 funcs argument. Compare only functions which are selected.
16670 (main): Check if base function is among selected functions.
16671 Pass selected functions to process_results.
16672 (__main__): Add -f/--functions argument.
16673
fc2ba803
HZ
166742018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16675 Hongbo Zhang <hongbo.zhang@linaro.org>
16676
16677 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16678 __memcpy_falkor for phecda core.
16679 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16680 __memmove_falkor for phecda core.
16681 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16682 __memset_falkor for phecda core.
16683 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16684 for phecda core.
16685 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16686 macro to identify phecda core.
16687
5aad5f61
CD
166882018-06-12 Carlos O'Donell <carlos@redhat.com>
16689 Andreas Schwab <schwab@suse.de>
16690 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 16691 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
16692
16693 [BZ #23102]
16694 [BZ #21942]
16695 [BZ #18018]
16696 [BZ #23259]
16697 CVE-2011-0536
16698 * elf/dl-dst.h: Remove DL_DST_COUNT.
16699 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16700 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16701 (is_dst): Comment. Support ELF gABI.
16702 (_dl_dst_count): Comment. Simplify and count DSTs.
16703 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16704 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16705 locals.
16706
329ea513
ZW
167072018-06-12 Zack Weinberg <zackw@panix.com>
16708
16709 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16710 * sysdeps/unix/sysv/linux/dl-sysdep.c
16711 Include not-cancel.h. Use __close_nocancel instead of __close,
16712 __open64_nocancel instead of __open, __read_nocancel instead of
16713 __libc_read, and __write_nocancel instead of __libc_write.
16714
16715 * csu/check_fds.c (check_one_fd)
16716 * sysdeps/posix/fdopendir.c (__fdopendir)
16717 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 16718 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
16719
16720 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16721 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 16722 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
16723 Use __open64_nocancel instead of __open_nocancel.
16724
16725 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16726 hidden_proto declarations to the end and issue them if either
16727 IS_IN(libc) or IS_IN(rtld).
16728 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16729 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16730 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16731 read_nocancel, waitpid_nocancel, write_nocancel.
16732
b39d961c
TS
16733 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16734 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16735 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 16736
b39d961c
TS
16737 * nptl/pt-fcntl.c: New file.
16738 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16739 (libpthread-routines): Add pt-fcntl.
16740 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16741 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
16742 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16743 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 16744 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
16745 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16746 to fcntl_nocancel.c.
16747 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16750 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16751
16752 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16753 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16754 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16755 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16756 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16757 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16758 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16759 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16760 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16761 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16762 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16763 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16764 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16765 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16766 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16767 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16768 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16769 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16770 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16771 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16772
b39d961c
TS
16773 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16774 libpthread-routines.
16775 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16776 defines nothing.
329ea513 16777
b39d961c
TS
16778 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16779 __libc_read, and __write instead of __libc_write. Define
16780 __open64 in addition to __open.
329ea513 16781
0221ce2a
L
167822018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16783
16784 [BZ #23250]
16785 [BZ #10686]
16786 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16787 to _private_tm[3] and add __glibc_reserved2.
16788 Add _Static_assert of offset of __private_ss == 0x30.
16789 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16790 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16791
e826574c
FW
167922018-06-12 Florian Weimer <fweimer@redhat.com>
16793
16794 x86: Make strncmp usable from rtld.
16795 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16796 __strncmp_ia32 if in libc (and not in rtld).
16797 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16798 strncmp if not in libc (and not to __strncmp_sse2).
16799
ab74d59f 168002018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
c4ad5782
RL
16801
16802 [BZ #23140]
16803 * localedata/locales/gd_GB (mon): Rename to...
16804 (alt_mon): This.
16805 (mon): Import from CLDR (genitive case).
16806 * localedata/locales/hsb_DE (mon): Rename to...
16807 (alt_mon): This.
16808 (mon): Import from CLDR (genitive case).
16809 * localedata/locales/wa_BE (mon): Rename to...
16810 (alt_mon): This.
16811 (mon): Add, fill with the proper genitive forms, but CLDR data
16812 is incomplete; completed according to the comments in this file.
16813 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16814
16815 * localedata/locales/wa_BE (country_name): Reword
16816 "Beljike" -> "Beldjike".
16817
ca121b11
JM
168182018-06-11 Joseph Myers <joseph@codesourcery.com>
16819
16820 [BZ #23272]
16821 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16822 cases of non-finite arguments.
16823 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16824
2b69fecb
JDA
168252018-06-10 John David Anglin <danglin@gcc.gnu.org>
16826
16827 [BZ #23174]
16828 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16829
283d9851
AZ
168302018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16831
16832 [BZ #23264]
16833 * include/unistd.h (__execvpex): New prototype.
16834 * posix/Makefile (tests): Add tst-spawn4.
16835 (tests-internal): Add tst-spawn4-compat.
16836 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16837 * posix/tst-spawn4-compat.c: New file.
16838 * posix/tst-spawn4.c: Likewise.
16839 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16840 binaries as shell scripts.
16841 * sysdeps/posix/spawni.c (__spawni): Likewise.
16842
67c05796
L
168432018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16844
16845 [BZ #23145]
16846 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16847 ($(all-built-dso:=.dynsym): New target.
16848 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16849 ($(objpfx)check-initfini.out): New target.
16850 (generated): Add check-initfini.out.
16851 * scripts/check-initfini.awk: New file.
16852 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16853 (_fini): Likewise.
16854 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16855 (_fini): Likewise.
16856 * sysdeps/arm/crti.S (_init): Mark as hidden.
16857 (_fini): Likewise.
16858 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16859 (_fini): Likewise.
16860 * sysdeps/i386/crti.S (_init): Mark as hidden.
16861 (_fini): Likewise.
16862 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16863 (_fini): Likewise.
16864 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16865 (_fini): Likewise.
16866 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16867 (_fini): Likewise.
16868 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16869 (_fini): Likewise.
16870 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16871 (_fini): Likewise.
16872 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16873 (_fini): Likewise.
16874 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16875 (_fini): Likewise.
16876 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16877 (_fini): Likewise.
16878 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16879 (_fini): Likewise.
16880 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16881 (_fini): Likewise.
16882 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16883 (_fini): Likewise.
16884 * sysdeps/sh/crti.S (_init): Mark as hidden.
16885 (_fini): Likewise.
16886 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16887 (_fini): Likewise.
16888 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16889 (_fini): Likewise.
16890
1c09524e
TMQMF
168912018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16892
16893 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16894 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16895 and TF redirection to KFtype and KF only when the default
16896 long double type is not the IEEE 128-bit floating point type.
16897
0e0577c9
JM
168982018-06-05 Joseph Myers <joseph@codesourcery.com>
16899
0c1c33b2
JM
16900 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16901 macro.
16902 (HWCAP_USCAT): Likewise.
16903 (HWCAP_ILRCPC): Likewise.
16904 (HWCAP_FLAGM): Likewise.
16905 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16906 Increase to 28.
16907 (_dl_aarch64_cap_flags): Add new flag names.
16908
bef1cbf4
JM
16909 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16910 (MAP_FIXED_NOREPLACE): New macro.
16911 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16912 (MAP_FIXED_NOREPLACE): Likewise.
16913 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16914 (MAP_FIXED_NOREPLACE): Likewise.
16915 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16916 (MAP_FIXED_NOREPLACE): Likewise.
16917 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16918 (MAP_FIXED_NOREPLACE): Likewise.
16919 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16920 (MAP_FIXED_NOREPLACE): Likewise.
16921 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16922 (MAP_FIXED_NOREPLACE): Likewise.
16923 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16924 (MAP_FIXED_NOREPLACE): Likewise.
16925 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16926 (MAP_FIXED_NOREPLACE): Likewise.
16927 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16928 (MAP_FIXED_NOREPLACE): Likewise.
16929 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16930 (MAP_FIXED_NOREPLACE): Likewise.
16931 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16932 (MAP_FIXED_NOREPLACE): Likewise.
16933 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16934 (MAP_FIXED_NOREPLACE): Likewise.
16935 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16936 (MAP_FIXED_NOREPLACE): Likewise.
16937 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16938 (MAP_FIXED_NOREPLACE): Likewise.
16939
0e0577c9
JM
16940 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16941 version to 4.17.
16942
ab3a0da0
JM
169432018-06-04 Joseph Myers <joseph@codesourcery.com>
16944
16945 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16946 version to 4.17
16947
d2d9dfb6
ST
169482018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16949
16950 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16951 int.
16952 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16953
a650b05e
LS
169542018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16955
16956 * benchtests/scripts/compare_string.py: (process_results) Catch
16957 exception in non-existent base_func and catch exception in
16958 non-existent attribute.
16959 (parse_file) Catch exception if input file does not exist.
16960
195abbf4
LS
169612018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16962
16963 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16964 options to avoid diff calculation and omit header, respectively.
16965 (main): process --no-diff and --no-header
16966
14570163
LS
169672018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16968 H.J. Lu <hongjiu.lu@intel.com>
16969
16970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16971 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16972 wcsncmp-sse2.
16973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16974 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16975 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16976 and __wcsncmp_sse2.
16977 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16978 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16979 AVX unaligned load is fast and vzeroupper is preferred.
16980 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16981 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16982 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16983 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16984 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16985 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16986 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16987 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16988 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16989 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16990 is undefined.
16991
e02c026f
FW
169922018-06-01 Florian Weimer <fweimer@redhat.com>
16993
16994 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16995 configuring with --disable-multi-arch, building with
16996 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16997 Haswell-era CPU.
16998
d8c19275
FW
169992018-06-01 Florian Weimer <fweimer@redhat.com>
17000
17001 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
17002 results from building with “-march=x86-64 -mtune=generic
17003 -mfpmath=sse” and running on a Haswell-era CPU.
17004
0d2163eb
JM
170052018-06-01 Joseph Myers <joseph@codesourcery.com>
17006
17007 [BZ #18473]
17008 * soft-fp/sqrttf2.c: Remove file.
17009 * soft-fp/sqrtdf2.c: Move to ....
17010 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
17011 <shlib-compat.h>.
17012 (__sqrtdf2): Make conditional on
17013 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17014 symbol.
17015 * soft-fp/sqrtsf2.c: Move to ....
17016 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
17017 <shlib-compat.h>.
17018 (__sqrtsf2): Make conditional on
17019 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
17020 symbol.
17021 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
17022 (gcc-double-routines): Remove sqrtdf2.
17023 (gcc-quad-routines): Remove sqrttf2.
17024 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17025 Do not filter out sqrtsf2 and sqrtdf2.
17026 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17027 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
17028
10450210
FW
170292018-06-01 Florian Weimer <fweimer@redhat.com>
17030
17031 * sysdeps/generic/libcidn.abilist: Remove file.
17032
4e8a6346
FW
170332018-06-01 Florian Weimer <fweimer@redhat.com>
17034
17035 [BZ #23236]
17036 * libio/strfile.h (struct _IO_str_fields): Rename members to
17037 discourage their use and add comment.
17038 (_IO_STR_DYNAMIC): Remove unused macro.
17039 * libio/strops.c (_IO_str_init_static_internal): Do not use
17040 callback pointers. Call malloc and free.
17041 (_IO_str_overflow): Do not use callback pointers. Call malloc
17042 and free.
17043 (enlarge_userbuf): Likewise.
17044 (_IO_str_finish): Call free.
17045 * libio/wstrops.c (_IO_wstr_init_static): Initialize
17046 _allocate_buffer_unused.
17047 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
17048 and free.
17049 (enlarge_userbuf): Likewise.
17050 (_IO_wstr_finish): Call free.
17051 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
17052 _allocate_buffer_unused, _free_buffer_unused.
17053 * libio/memstream.c (__open_memstream): Likewise.
17054 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17055 * libio/wmemstream.c (open_wmemstream): Likewise.
17056
50d004c9
PP
170572018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
17058
17059 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
17060 AMD Ryzen 7 1800X.
17061
2c93fce7
RS
170622018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17063
17064 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
17065 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
17066 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
17067 New file.
17068 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
17069 Likewise.
17070 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
17071
0ce2fa69
FW
170722018-05-29 Florian Weimer <fweimer@redhat.com>
17073
17074 * support/Makefile (libsupport-routines): Add
17075 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
17076 xpthread_barrierattr_setpshared.
17077 * support/xpthread_barrierattr_destroy.c: New file.
17078 * support/xpthread_barrierattr_init.c: Likewise.
17079 * support/xpthread_barrierattr_setpshared.c: Likewise.
17080
7f7b5d8d
L
170812018-05-29 H.J. Lu <hongjiu.lu@intel.com>
17082
17083 [BZ #23206]
17084 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
17085 _r_debug and update DT_DEBUG for debugger.
17086
e4890300
FW
170872018-05-29 Florian Weimer <fweimer@redhat.com>
17088
17089 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
17090 (tst-strtod5i.out): Likewise.
17091
2c753f3e
JM
170922018-05-25 Joseph Myers <joseph@codesourcery.com>
17093
b5453d9f
JM
17094 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
17095 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
17096 (sparc64-quad-routines): New variable. Moved from ....
17097 [$(subdir) = soft-fp] (sysdep_routines): Add
17098 $(sparc64-quad-routines). Moved from ....
17099 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
17100 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
17101 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
17102 moved from ....
17103 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
17104 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
17105 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
17106 * sysdeps/sparc/sparc64/qp_add.c: ... here.
17107 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
17108 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
17109 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
17110 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
17111 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
17112 * sysdeps/sparc/sparc64/qp_div.c: ... here.
17113 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
17114 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
17115 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
17116 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
17117 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
17118 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17119 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17120 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17121 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17122 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17123 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17124 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17125 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17126 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17127 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17128 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17129 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17130 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17131 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17132 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17133 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17134 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17135 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17136 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17137 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17138 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17139 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17140 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17141 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17142 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17143 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17144 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17145 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17146 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17147 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17148 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17149 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17150 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17151 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17152 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17153 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17154 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17155 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17156 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17157 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17158 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17159 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17160 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17161
2c753f3e
JM
17162 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17163 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17164 (sparc32-quad-routines): New variable. Moved from ....
17165 [$(subdir) = soft-fp] (sysdep_routines): Add
17166 $(sparc32-quad-routines). Moved from ....
17167 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17168 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17169 moved from ....
17170 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17171 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17172 * sysdeps/sparc/sparc32/q_add.c: ... here.
17173 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17174 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17175 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17176 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17177 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17178 * sysdeps/sparc/sparc32/q_div.c: ... here.
17179 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17180 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17181 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17182 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17183 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17184 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17185 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17186 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17187 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17188 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17189 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17190 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17191 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17192 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17193 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17194 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17195 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17196 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17197 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17198 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17199 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17200 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17201 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17202 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17203 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17204 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17205 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17206 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17207 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17208 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17209 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17210 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17211 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17212 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17213 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17214 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17215 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17216 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17217 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17218 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17219 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17220 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17221 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17222 * sysdeps/sparc/sparc32/q_util.c: ... here.
17223 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17224 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17225 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17226 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17227
c1dc1e1b
TMQMF
172282018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17229 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17230
17231 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17232 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17233 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17234 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17235
14186e8d
JM
172362018-05-24 Joseph Myers <joseph@codesourcery.com>
17237
17238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17239 powerpc/soft-fp.
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17241 Likewise.
17242 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17243 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17244
fb0e10b8
GG
172452018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17246
17247 [BZ #23171]
17248 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17249 double version.
17250
1dfeb17e
JM
172512018-05-23 Joseph Myers <joseph@codesourcery.com>
17252
17253 * sysdeps/sh/Implies: Remove sh/soft-fp.
17254 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17255 * sysdeps/sh/sfp-machine.h: ... here.
17256
727b38df
L
172572018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17258
17259 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17260 (__mempcpy_erms): Skip zero length.
17261 (__memmove_erms): Likewise.
17262 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17263 (__memset_erms): Likewise.
17264
2834fb46
JM
172652018-05-23 Joseph Myers <joseph@codesourcery.com>
17266
17267 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17268 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17269 Add functions moved from ....
17270 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17271 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17272 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17273 from ....
17274 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17275 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17276 * sysdeps/alpha/e_sqrtl.c: ... here.
17277 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17278 * sysdeps/alpha/local-soft-fp.h: ... here.
17279 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17280 * sysdeps/alpha/ots_add.c: ... here.
17281 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17282 * sysdeps/alpha/ots_cmp.c: ... here.
17283 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17284 * sysdeps/alpha/ots_cmpe.c: ... here.
17285 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17286 * sysdeps/alpha/ots_cvtqux.c: ... here.
17287 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17288 * sysdeps/alpha/ots_cvtqx.c: ... here.
17289 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17290 * sysdeps/alpha/ots_cvttx.c: ... here.
17291 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17292 * sysdeps/alpha/ots_cvtxq.c: ... here.
17293 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17294 * sysdeps/alpha/ots_cvtxt.c: ... here.
17295 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17296 * sysdeps/alpha/ots_div.c: ... here.
17297 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17298 * sysdeps/alpha/ots_mul.c: ... here.
17299 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17300 * sysdeps/alpha/ots_nintxq.c: ... here.
17301 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17302 * sysdeps/alpha/ots_sub.c: ... here.
17303 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17304 * sysdeps/alpha/sfp-machine.h: ... here.
17305
7f9f1ecb
FW
173062018-05-23 Florian Weimer <fweimer@redhat.com>
17307
17308 [BZ #19728]
17309 [BZ #19729]
17310 [BZ #22247]
17311 CVE-2016-6261
17312 CVE-2016-6263
17313 CVE-2017-14062
17314 Switch to extern IDNA implementation (libidn2).
17315 * libidn: Remove subdirectory.
17316 * LICENSES: Do not mention licensing conditions for the removed
17317 libidn code.
17318 * config.h.in (HAVE_LIBIDN): Remove.
17319 * include/dlfcn.h (__libc_dlopen): Update comment.
17320 * include/idna.h: Remove file.
17321 * inet/Makefile (routines): Add idna.
17322 (tests-static, tests-internal): Add tst-idna_name_classify.
17323 (LOCALES): Generate locales for tests.
17324 (tst-idna_name_classify.out): Depend on generated locales.
17325 * inet/idna_name_classify.c: New file.
17326 * inet/tst-idna_name_classify.c: Likewise.
17327 * inet/net-internal.h (__idna_to_dns_encoding)
17328 (__idna_from_dns_encoding): Declare.
17329 * inet/net-internal.h (enum idna_name_classification): Define.
17330 (__idna_name_classify): Declare.
17331 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17332 __idna_from_dns_encoding.
17333 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17334 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17335 name as a fallback in case of encoding errors.
17336 (getnameinfo): Use DEPRECATED_NI_IDN.
17337 * inet/idna.c: New file.
17338 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17339 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17340 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17341 (modules-names): Add tst-no-libidn2.
17342 (extra-test-objs): Add tst-no-libidn2.os.
17343 (LDFLAGS-tst-no-libidn2.so): Set soname.
17344 (LOCALES): Set, and generate locales.
17345 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17346 (tst-resolv-ai_idn-latin1): Likewise.
17347 (tst-resolv-ai_idn-nolibidn2): Likewise.
17348 (tst-resolv-ai_idn.out): Depend on locales.
17349 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17350 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17351 tst-no-libidn2.so.
17352 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17353 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17354 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17355 * resolv/tst-resolv-ai_idn.c: New file.
17356 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17357 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17358 * resolv/tst-no-libidn2.c: Likewise.
17359 * support/support_format_addrinfo.c (format_ai_flags): Do not
17360 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17361 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17362 (gaih_inet): Call __idna_to_dns_encoding and
17363 __idna_from_dns_encoding, and use the original (punycode) name if
17364 __idna_from_dns_encoding fails due to an encoding error.
17365 (getaddrinfo): Use DEPRECATED_AI_IDN.
17366 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17367 * sysdeps/unix/inet/configure: Remove file.
17368 * sysdeps/unix/inet/configure.ac: Likewise.
17369
5f7b841d
FW
173702018-05-23 Florian Weimer <fweimer@redhat.com>
17371
17372 Implement allocate_once.
17373 * include/allocate_once.h: New file.
17374 * misc/allocate_once.c: Likewise.
17375 * misc/tst-allocate_once.c: Likewise.
17376 * misc/Makefile (routines): Add allocate_once.
17377 (tests-internal): Add tst-allocate_once.
17378 (generated): Add tst-allocate_once.mtrace,
17379 tst-allocate_once-mem.out.
17380 (tests-special): Add tst-allocate_once-mem.out.
17381 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17382 (tst-allocate_once-mem.out): Call mtrace.
17383 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17384
ed983107
L
173852018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17386
17387 [BZ #23196]
17388 * string/test-memcpy.c (do_test1): New function.
17389 (test_main): Call it.
17390
9aaaab7c
AS
173912018-05-23 Andreas Schwab <schwab@suse.de>
17392
17393 [BZ #23196]
17394 CVE-2018-11237
17395 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17396 (L(preloop_large)): Save initial destination pointer in %r11 and
17397 use it instead of %rax after the loop.
17398 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17399
5c5c0dd7
JM
174002018-05-22 Joseph Myers <joseph@codesourcery.com>
17401
8f145c77
JM
17402 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17403 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17404 -I../soft-fp. Moved from ....
17405 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17406 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17407 * sysdeps/aarch64/e_sqrtl.c: ... here.
17408 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17409 * sysdeps/aarch64/sfp-machine.h: ... here.
17410
3d6302a5
JM
17411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17412 -Wmaybe-uninitialized around access to fq[0].
17413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17414 Likewise.
17415
5c5c0dd7
JM
17416 [BZ #18471]
17417 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17418 aliases for non-libc case of versioned symbols.
17419 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17420 (llseek): Define as compat symbol if
17421 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17422 with link warning.
17423 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17424 Make into a compat symbol, disabled for minimum symbol version
17425 GLIBC_2.28 and later.
17426 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17427
ed0d6988
FW
174282018-05-22 Florian Weimer <fweimer@redhat.com>
17429
17430 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17431 not add -mpreferred-stack-boundary=4.
17432 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17433 (stack-align-test-flags): Likewise.
17434 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17435 Likewise.
17436 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17437 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17438 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17439 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17440 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17441 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17442 (CFLAGS-tst-align2.c): Likewise.
17443
e28e9b1e
L
174442018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17447 (index_arch_Prefer_FSRM): Likewise.
17448 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17449 Also check Prefer_FSRM.
17450 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17451 Also return OPTIMIZE (erms) for Prefer_FSRM.
17452
1af30adc
L
174532018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17454
17455 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17456 (index_cpu_FSRM): Likewise.
17457 (reg_FSRM): Likewise.
17458
78274dc8
JM
174592018-05-18 Joseph Myers <joseph@codesourcery.com>
17460
7c67e6e8
JM
17461 * math/gen-tgmath-tests.py: Import sys.
17462 (Tests.__init__): Initialize macros_seen.
17463 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17464 if requested to do so for this macro.
17465 (Tests.add_all_tests): Take argument for macro for which to
17466 generate tests.
17467 (Tests.check_macro_list): New function.
17468 (main): Handle check-list argument and argument specifying macro
17469 for which to generate tests.
17470 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17471 [PYTHON] (tgmath3-macro-tests): Likewise.
17472 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17473 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17474 not test-tgmath3.c.
17475 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17476 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17477 to CFLAGS.
17478 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17479 [PYTHON] ($(foreach
17480 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17481 rule.
17482 [PYTHON] (tests-special): Add
17483 $(objpfx)test-tgmath3-macro-list.out.
17484 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17485
ebc129fd
JM
17486 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17487 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17488 later.
17489
78274dc8
JM
17490 [BZ #22639]
17491 * time/tzset.c (SECSPERDAY): Cast to time_t.
17492 * time/tst-y2039.c: New file.
17493 * time/Makefile (tests): Add tst-y2039.
17494
6f7fdeeb
LS
174952018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17496
17497 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17498 (PREFETCH_ONE_SET): Remove duplicate line.
17499
e363a91c
FW
175002018-05-17 Florian Weimer <fweimer@redhat.com>
17501
17502 * sysdeps/generic/math-type-macros-double.h: Include
17503 <math-nan-payload-double.h> after <libm-alias-double.h>.
17504 * sysdeps/generic/math-type-macros-float.h: Include
17505 <math-nan-payload-float.h> after <libm-alias-float.h>.
17506 * sysdeps/generic/math-type-macros-float128.h: Include
17507 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17508 * sysdeps/generic/math-type-macros-ldouble.h: Include
17509 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17510
dae6c43c
AS
175112018-05-17 Andreas Schwab <schwab@suse.de>
17512
17513 * resolv/res_send.c (__res_context_send): Don't set errno when
17514 returing error after malloc failure.
17515
0068c085
L
175162018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17517
17518 * nptl/allocatestack.c (allocate_stack): Remove the
17519 !__ASSUME_PRIVATE_FUTEX paths.
17520 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17521 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17522 Likewise.
17523 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17524 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17525 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17526 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17527 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17528 !__ASSUME_PRIVATE_FUTEX path.
17529 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17530 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17531 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17532 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17533 !__ASSUME_PRIVATE_FUTEX macros.
17534 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17535 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17536 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17537 * sysdeps/unix/sysv/linux/kernel-features.h
17538 (__ASSUME_PRIVATE_FUTEX): Removed.
17539
632a6cbe
JM
175402018-05-17 Joseph Myers <joseph@codesourcery.com>
17541
17542 * math/Makefile (libm-narrow-fns): Add div.
17543 (libm-test-funcs-narrow): Likewise.
17544 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17545 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17546 * math/gen-auto-libm-tests.c (test_functions): Add div.
17547 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17548 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17549 (NARROW_DIV_TRIVIAL): Likewise.
17550 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17551 macro.
17552 (__ddivl): Likewise.
17553 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17554 ddiv.
17555 (CFLAGS-nldbl-ddiv.c): New variable.
17556 (CFLAGS-nldbl-fdiv.c): Likewise.
17557 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17558 __nldbl_ddivl.
17559 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17560 prototype.
17561 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17562 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17563 * math/auto-libm-test-in: Add tests of div.
17564 * math/auto-libm-test-out-narrow-div: New generated file.
17565 * math/libm-test-narrow-div.inc: New file.
17566 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17568 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17569 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17570 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17571 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17572 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17574 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17575 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17576 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17577 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17580 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17581 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17582 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17583 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17585 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17610
8c78faa9
AZ
176112018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17612
17613 [BZ #23178]
17614 * nscd/nscd-client.h (sendfileall): Remove prototype.
17615 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17616 (handle_request): Use writeall instead of sendfileall.
17617 * nscd/aicache.c (addhstaiX): Likewise.
17618 * nscd/grpcache.c (cache_addgr): Likewise.
17619 * nscd/hstcache.c (cache_addhst): Likewise.
17620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17621 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17622 * nscd/pwdcache.c (cache_addpw): Likewise.
17623 * nscd/servicescache.c (cache_addserv): Likewise.
17624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17625 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17626 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17627 Remove define.
17628
04958880
L
176292018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17630
17631 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17632 Include <string/strncat.c>.
17633 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17634 alias.
17635 (__GI___strncat): New hidden alias.
17636
c9992d13
JM
176372018-05-16 Joseph Myers <joseph@codesourcery.com>
17638
17639 * sysdeps/mips/mips32/libm-test-ulps: Update.
17640 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17641
2afece36
FW
176422018-05-16 Florian Weimer <fweimer@redhat.com>
17643
17644 * support/Makefile (libsupport-routines): Add support_quote_blob,
17645 support_test_compare_blob.
17646 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17647 * support/check.h (TEST_COMPARE_BLOB): Define.
17648 (support_test_compare_blob): Declare.
17649 * support/support.h (support_quote_blob): Declare.
17650 * support/support_quote_blob.c: New file.
17651 * support/support_test_compare_blob.c: Likewise.
17652 * support/tst-support_quote_blob.c: Likewise.
17653 * support/tst-test_compare_blob.c: Likewise.
17654
9761bf4d
FW
176552018-05-16 Florian Weimer <fweimer@redhat.com>
17656
17657 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17658 of <strtod_nan_double.h>.
17659 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17660 instead of SET_MANTISSA.
17661 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17662 of include <strtod_nan_float.h>.
17663 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17664 instead of <strtod_nan_ldouble.h>.
17665 * stdlib/strtod_nan_double.h: Move to ...
17666 * sysdeps/generic/math-nan-payload-double.h: ... here.
17667 (FLOAT): Remove definition.
17668 (SET_MANTISSA): Rename to ...
17669 (SET_NAN_PAYLOAD): ... this.
17670 * stdlib/strtod_nan_float.h: Move to ...
17671 * sysdeps/generic/math-nan-payload-float.h: ... here.
17672 (FLOAT): Remove definition.
17673 (SET_MANTISSA): Rename to ...
17674 (SET_NAN_PAYLOAD): ... this.
17675 * sysdeps/generic/math-type-macros-double.h: Include
17676 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17677 instead of <math-svid-compat.h>.
17678 * sysdeps/generic/math-type-macros-float.h: Include
17679 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17680 instead of <math-svid-compat.h>.
17681 * sysdeps/generic/math-type-macros-float128.h: Include
17682 <math-nan-payload-float128.h>.
17683 * sysdeps/generic/math-type-macros-ldouble.h: Include
17684 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17685 instead of <math-svid-compat.h>.
17686 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17687 check for definition.
17688 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17689 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17690 Include <ieee754_float128.h>.
17691 (FLOAT): Remove definition.
17692 (SET_MANTISSA): Rename to ...
17693 (SET_NAN_PAYLOAD): ... this.
17694 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17695 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17696 Do not include <float128_private.h>.
17697 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17699 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17700 (FLOAT): Remove definition.
17701 (SET_MANTISSA): Rename to ...
17702 (SET_NAN_PAYLOAD): ... this.
17703 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17704 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17705 (FLOAT): Remove definition.
17706 (SET_MANTISSA): Rename to ...
17707 (SET_NAN_PAYLOAD): ... this.
17708 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17709 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17710 (FLOAT): Remove definition.
17711 (SET_MANTISSA): Rename to ...
17712 (SET_NAN_PAYLOAD): ... this.
17713 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17714 of "../stdlib/strtod_nan_double.h".
17715 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17716 of "../stdlib/strtod_nan_float.h".
17717 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17718 instead of "../stdlib/strtod_nan_ldouble.h".
17719 * manual/arith.texi (Parsing of Floats): Adjust comment.
17720
69a01461
JM
177212018-05-16 Joseph Myers <joseph@codesourcery.com>
17722
17723 * math/Makefile (libm-narrow-fns): Add mul.
17724 (libm-test-funcs-narrow): Likewise.
17725 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17726 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17727 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17728 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17729 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17730 (NARROW_MUL_TRIVIAL): Likewise.
17731 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17732 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17733 macro.
17734 (__dmull): Likewise.
17735 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17736 dmul.
17737 (CFLAGS-nldbl-dmul.c): New variable.
17738 (CFLAGS-nldbl-fmul.c): Likewise.
17739 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17740 __nldbl_dmull.
17741 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17742 prototype.
17743 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17744 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17745 * math/auto-libm-test-in: Add tests of mul.
17746 * math/auto-libm-test-out-narrow-mul: New generated file.
17747 * math/libm-test-narrow-mul.inc: New file.
17748 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17751 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17752 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17753 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17759 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17760 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17761 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17762 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17763 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17764 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17765 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17767 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17768 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17774 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17792
a15529fd
L
177932018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17794
17795 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17796 with *%eax in call.
17797
98ee36c7
L
177982018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 * sysdeps/i386/ldsodefs.h: Removed.
17801 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17802 * sysdeps/x86/ldsodefs.h: This.
17803 (La_i86_regs): New.
17804 (La_i86_retval): Likewise.
17805 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17806 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17807
e322ec32
L
178082018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17809
17810 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17811 unnecessary testl.
17812
0937e209
AM
178132018-05-13 Alan Modra <amodra@gmail.com>
17814
17815 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17816 R_PARISC_TLS_DTPOFF32 reloc addend.
17817
5db7d705
TMQMF
178182018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17819
17820 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17821 * math/math.h: Restrict the prototype definition for the functions
17822 issignaling(_Float128) and iszero(_Float128); and template
17823 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17824 __HAVE_FLOAT128_UNLIKE_LDBL.
17825 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17826 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17827 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17828 __f128() constants; define the type _Float128 as long double;
17829 and reuse long double in __CFLOAT128.
17830
b4d5b8b0
JM
178312018-05-11 Joseph Myers <joseph@codesourcery.com>
17832
17833 * sysdeps/generic/math_private.h: Do not include
17834 <math-barriers.h>.
17835 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17836 <math_private.h>.
17837 * math/fromfp.h: Include <math-barriers.h>.
17838 * math/math-narrow.h: Likewise.
17839 * math/s_nextafter.c: Likewise.
17840 * math/s_nexttowardf.c: Likewise.
17841 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17842 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17843 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17844 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17845 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17846 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17847 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17862 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17863 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17864 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17866 * sysdeps/ieee754/k_standardl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17883 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17884 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17885 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17886 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17887 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17888 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17889
fc79706a
FW
178902018-05-11 Florian Weimer <fweimer@redhat.com>
17891
17892 Use 64-bit epoch values in the time zone file parser.
17893 * include/time.h (internal_time_t): Define.
17894 (__tzfile_compute): Use it.
17895 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17896 member.
17897 (transitions): Switch to internal_time_t.
17898 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17899 types.
17900 (__tzfile_compute): Use internal_time_t for timer argument. Check
17901 for truncation before calling __offtime.
17902
89aacb51
FW
179032018-05-11 Florian Weimer <fweimer@redhat.com>
17904
17905 [BZ #23166]
17906 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17907 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17908 Likewise.
17909 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17910 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17911 export without --enable-obsolete-rpc.
17912 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17913 symbol. This should not have been exported, ever.
17914
ab74d59f 179152018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
bb066cb8
RL
17916
17917 [BZ #23152]
17918 * localedata/locales/gd_GB (abmon): Fix typo in May:
17919 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17920
70c97f84
SP
179212018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17922
db725a45
SP
17923 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17924 Use multiple registers to copy data in loop tail.
17925
70c97f84
SP
17926 * sysdeps/aarch64/multiarch/memmove_falkor.S
17927 (__memmove_falkor): Use multiple registers to move data in
17928 loop tail.
17929
8f5b00d3
JM
179302018-05-10 Joseph Myers <joseph@codesourcery.com>
17931
17932 * math/math-underflow.h: New file.
17933 * sysdeps/generic/math_private.h: Do not include <float.h>.
17934 (fabs_tg): Remove macro. Moved to math-underflow.h.
17935 (min_of_type_f): Likewise.
17936 (min_of_type_): Likewise.
17937 (min_of_type_l): Likewise.
17938 (min_of_type_f128): Likewise.
17939 (min_of_type): Likewise.
17940 (math_check_force_underflow): Likewise.
17941 (math_check_force_underflow_nonneg): Likewise.
17942 (math_check_force_underflow_complex): Likewise.
17943 * math/e_exp2_template.c: Include <math-underflow.h>.
17944 * math/k_casinh_template.c: Likewise.
17945 * math/s_catan_template.c: Likewise.
17946 * math/s_catanh_template.c: Likewise.
17947 * math/s_ccosh_template.c: Likewise.
17948 * math/s_cexp_template.c: Likewise.
17949 * math/s_clog10_template.c: Likewise.
17950 * math/s_clog_template.c: Likewise.
17951 * math/s_csin_template.c: Likewise.
17952 * math/s_csinh_template.c: Likewise.
17953 * math/s_csqrt_template.c: Likewise.
17954 * math/s_ctan_template.c: Likewise.
17955 * math/s_ctanh_template.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17976 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17977 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17978 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17979 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17980 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17981 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17982 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17983 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17984 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17985 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17986 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17987 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18024 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18026 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18027 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18029 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18033 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18034 * sysdeps/x86/fpu/powl_helper.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
18036 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
18037 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18039 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18040
9ed2e15f
JM
180412018-05-09 Joseph Myers <joseph@codesourcery.com>
18042
18043 * sysdeps/generic/math-barriers.h: New file.
18044 * sysdeps/generic/math_private.h [!math_opt_barrier]
18045 (math_opt_barrier): Move to math-barriers.h.
18046 [!math_opt_barrier] (math_force_eval): Likewise.
18047 * sysdeps/aarch64/fpu/math-barriers.h: New file.
18048 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
18049 math-barriers.h.
18050 (math_force_eval): Likewise.
18051 * sysdeps/alpha/fpu/math-barriers.h: New file.
18052 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
18053 math-barriers.h.
18054 (math_force_eval): Likewise.
18055 * sysdeps/x86/fpu/math-barriers.h: New file.
18056 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
18057 math-barriers.h.
18058 (math_force_eval): Likewise.
18059 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
18060 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
18061 multiple-include guard for rename.
18062 * sysdeps/powerpc/fpu/math-barriers.h: New file.
18063 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
18064 math-barriers.h.
18065 (math_force_eval): Likewise.
18066
5460617d
PP
180672018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18068
18069 [BZ #22786]
43d4f3d5 18070 CVE-2018-11236
5460617d
PP
18071 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
18072 computation.
18073 * stdlib/Makefile (test-bz22786): New test.
18074 * stdlib/test-bz22786.c: New test.
18075
aaee3cd8
JM
180762018-05-09 Joseph Myers <joseph@codesourcery.com>
18077
18078 * include/math-narrow-eval.h: New file. Contents moved from ....
18079 * sysdeps/generic/math_private.h: ... here.
18080 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
18081 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18082 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
18083 * stdlib/strtod_l.c: Likewise.
18084 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18085 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18086 * sysdeps/i386/fpu/s_fdim.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18099 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18101 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18103 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18104 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18108 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18113
0555c477
AS
181142018-05-08 Andreas Schwab <schwab@suse.de>
18115
18116 * sysdeps/nptl/internaltypes.h: Fix comment.
18117
50d7d351
L
181182018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18119
18120 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18121 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18122 hidden.
18123
543477f7
SP
181242018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18125
18126 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18127 of I into loop header.
18128 * benchtests/bench-memmove-walk.c
18129 (test_main): Likewise.
18130
181312018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
18132
18133 Revert:
18134 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18135 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18136
0065aaaa
PP
181372018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18138
18139 [BZ #20419]
18140 * elf/dl-load.c (open_verify): Fix stack overflow.
18141 * elf/Makefile (tst-big-note): New test.
18142 * elf/tst-big-note-lib.S: New.
18143 * elf/tst-big-note.c: New.
18144
b289cd9d
JM
181452018-05-04 Joseph Myers <joseph@codesourcery.com>
18146
18147 * scripts/abilist.awk: Ignore absolute symbols.
18148 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18149 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18150 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18151 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18152 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18153 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18154 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18155 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18156 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18157 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18158 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18159 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18233 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18237 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18239 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18240 Likewise.
18241 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18254 Likewise.
18255 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18282 Likewise.
18283 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18290 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18297 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18298 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18299 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18300 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18301 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18302 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18303 Likewise.
18304 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18305 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18306 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18307 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18308 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18309 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18310 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18311 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18312 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18313 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18314 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18315 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18316 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18317 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18318 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18319 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18320 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18324 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18325 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18326 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18327 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18328 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18329 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18330 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18331 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18336 Likewise.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18342 Likewise.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18347 Likewise.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18350 Likewise.
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18352 Likewise.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18356 Likewise.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18358 Likewise.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18360 Likewise.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18365 Likewise.
18366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18372 Likewise.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18375 Likewise.
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18377 Likewise.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18379 Likewise.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18381 Likewise.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18385 Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18387 Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18389 Likewise.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18393 Likewise.
18394 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18396 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18397 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18399 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18400 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18402 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18404 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18408 Likewise.
18409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18421 Likewise.
18422 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18423 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18424 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18426 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18427 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18447 Likewise.
18448 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18461 Likewise.
18462 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18467 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18468 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18482 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18483 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18484 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18485 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18486 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18500
16609018
SL
185012018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18502
18503 [BZ #23137]
18504 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18505 Use atomic_load_acquire to load __tid.
18506
556f5c46
L
185072018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18508
18509 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18510 Restore the pointer into %rdx, after syscall and use %rdx,
18511 instead of %rsi, to restore context.
18512
8b8f32b2
L
185132018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18514
18515 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18516 Pop the pointer into %rdx after syscall and use %rdx, instead
18517 of %rsi, to restore context.
18518
d6cc1829
L
185192018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18520
18521 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18522 handlers after setjmp.
18523 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18524 defined.
18525 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18526 <libc-pointer-arith.h>.
18527 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18528 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18529 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18530 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18531 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18532 * sysdeps/x86/__longjmp_cancel.S: New file.
18533 * sysdeps/x86/longjmp.c: Likewise.
18534 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18535
cf2478d5
AZ
185362018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18537
18538 * NEWS: Add ustat.h deprecation entry.
18539 * bits/ustat.h: Remove file.
18540 * misc/sys/ustat.h: Likewise.
18541 * misc/ustat.h: Likewise.
18542 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18543 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18544 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18545 compatibility mode.
18546 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18547 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18548 generic Linux implementation.
18549
dc115e1c
TMQMF
185502018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18551
18552 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18553 * math/w_expl_compat.c: Likewise.
18554 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18555
6b5c8607 185562018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
18557
18558 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18559
c57bf7c1
AZ
185602018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18561
18562 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18563 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18564 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18565 Remove.
18566 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18569 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18570 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18571 and SYSCALL_LL64.
18572
06135c33
TMQMF
185732018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18574
33927914
TMQMF
18575 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18576
06135c33
TMQMF
18577 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18578 * math/w_asin_template.c: Likewise.
18579 * math/w_atanh_template.c: Likewise.
18580
3a33b069
GG
185812018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18582
18583 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18584 to powerpc/powerpc64/be for big-endian.
18585 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18586 little-endian.
18587
18588 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18589 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18590 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18591 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18592 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18593 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18594 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18595 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18596 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18597 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18598 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18599 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18600 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18601 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18602 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18603 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18604 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18606 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18607 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18608 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18609 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18610 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18611 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18612 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18613 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18614 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18615 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18616 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18617 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18618 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18619 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18620
18621 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18622 adjusted to imply powerpc64 and older processors on powerpc64/be.
18623 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18624 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18625 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18626 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18627 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18628 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18629 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18630 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18631 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18632 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18633 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18634 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18635 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18636 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18637 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18638 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18639 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18640 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18641 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18642 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18643 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18644 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18645 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18646 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18647 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18648 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18649 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18650 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18651 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18652 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18653 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18654
18655 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18656 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18657 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18658 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18659
18660 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18661 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18662 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18663 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18664
18665 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18666 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18667 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18668 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18669 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18670 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18671 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18672 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18673 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18674 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18675 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18676
18677 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18678 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18679 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18680 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18681 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18682 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18683 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18684 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18685 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18686 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18687 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18688
18689 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18690 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18691 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18692 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18693 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18694 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18695 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18696 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18697 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18698 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18699 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18700 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18701
18702 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18703 and adjusted to imply olders processors.
18704 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18705 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18706 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18707 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18708 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18709 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18710 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18711 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18712 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18713 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18714 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18715
18716 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18717 powerpc64/le.
18718 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18719 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18720
18721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18722 powerpc64le.
18723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18725
18726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18727 powerpc64/be.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18731
18732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18733 powerpc64 and adjusted.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18737 Likewise.
18738
a3fb6b6b
JM
187392018-04-27 Joseph Myers <joseph@codesourcery.com>
18740
18741 * sysdeps/tile: Remove.
18742 * sysdeps/unix/sysv/linux/tile: Likewise.
18743 * README (tilegx-*-linux-gnu): Remove from list of supported
18744 configurations.
18745 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18746 contribution of support for generic Linux kernel syscall
18747 interface.
18748 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18749 tilegx configurations.
18750 (Config.install_linux_headers): Do not handle tile.
18751 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18752 in comment.
18753 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18754 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18755 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18756 conditional undefine and redefine.
18757 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18758 in comment.
18759 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18760 conditional undefine and redefine.
18761
7a6f7478
AJ
187622018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18763
18764 * signal/tst-sigaction.c: New file to test BZ #23069.
18765 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18766
81b49e96
TMQMF
187672018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18768
18769 [BZ #22766]
18770 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18771 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18772 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18773 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18774
7d80f48e
AZ
187752018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18776
18777 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18778 _DIRENT_MATCHES_DIRENT64 is not defined.
18779 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18780 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18781 is defined.
18782 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18783 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18784
42a2bf58
JM
187852018-04-25 Joseph Myers <joseph@codesourcery.com>
18786
18787 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18788 version to GCC 8 branch.
18789
9320ca88
JM
187902018-04-24 Joseph Myers <joseph@codesourcery.com>
18791
5e14bb97
JM
18792 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18793 (check_no_hidden): Use type of original function when declaring
18794 alias.
18795
9320ca88
JM
18796 * sysdeps/unix/sysv/linux/sys/ptrace.h
18797 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18798 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18799 (struct __ptrace_seccomp_metadata): New type.
18800 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18801 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18802 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18803 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18804 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18805 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18807 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18809 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18810 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18811 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18812 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18813 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18814 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18815 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18816
af7e376b
AZ
188172018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18818
18819 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18820 defined.
18821 * dirent/versionsort.c (versionsort): Likewise.
18822 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18823 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18824 * dirent/versionsort64.c (versionsort64): Likewise.
18825 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18826 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18827 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18828 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18829 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18830 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18831 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18832 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18833 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18834 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18837 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18838 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18839
da5e0361
JM
188402018-04-23 Joseph Myers <joseph@codesourcery.com>
18841
18842 * elf/elf.h (NT_PPC_PKEY): New macro.
18843
6b5c8607 188442018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
18845
18846 [BZ #23094]
18847 * localedata/locales/hr_HR: fix thousands_sep and
18848 mon_thousands_sep
18849
573963e3
JM
188502018-04-20 Joseph Myers <joseph@codesourcery.com>
18851
18852 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18853 (XTABS): Define to TAB3.
18854
c0123b3b
AZ
188552018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18856
0900a849
AZ
18857 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18858
c0123b3b
AZ
18859 * dirent/scandir-tail-common.c: New file.
18860 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18861 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18862 * dirent/scandir.c: Use scandir-tail-common.c.
18863 * dirent/scandirat.c: Likewise.
18864 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18865 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18866 if _DIRENT_MATCHES_DIRENT64 is defined.
18867 * dirent/scandirat64.c (scandirat64): Likewise.
18868 * include/dirent.h (__scandir_tail): Only define iff
18869 _DIRENT_MATCHES_DIRENT64 is not defined.
18870 (__scandir64_tail): Define regardless.
18871 (__scandirat, scandirat64): Remove libc_hidden_proto.
18872 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18873 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18875 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18876 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18877 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18878 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18879
458b94f6
JM
188802018-04-20 Joseph Myers <joseph@codesourcery.com>
18881
18882 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18883 New macro.
18884 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18885 Increase to 24.
18886 (_dl_aarch64_cap_flags): Add asimdfhm.
18887
9f0437e8
CLT
188882018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18889
18890 * sysdeps/nios2/libm-test-ulps: Update.
18891
298d0e31
AZ
188922018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18893
50511ca4
AZ
18894 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18895 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18896
298d0e31
AZ
18897 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18898 requirements.
6b5c8607 18899 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
18900 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18901 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18902 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18903 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18904 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18905 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18906 use getdents64 syscalls as base.
18907 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18908 symbol if required.
18909 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18910 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18911 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18912 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18913 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18914 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18915 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18916 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18918 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18919 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18920
0085be14
SL
189212018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18922
18923 * scripts/test_printers_common.py (init_test): Disable lock elision.
18924
da796524
SL
189252018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18926
18927 * math/test-tgmath.c (count_double, count_float,
18928 count_ldouble, count_cdouble, count_cfloat,
18929 count_cldouble): Use volatile int.
18930
0dd25301
ST
189312018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18932
18933 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18934 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 18935 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
18936 i386-gnu.
18937 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18938 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18939 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18940 msqid_ds.msg_lrpid): Likewise.
18941 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18942 Likewise.
18943 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18944 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
18945 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18946 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18947 unsigned int.
18948 (struct statvfs64): Likewise.
f55a4fde
ST
18949 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18950 Likewise.
77b93390
ST
18951 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18952 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18953 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18954 instead of wait_queue.
18955 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18956 instead of vm_area_struct.
5cd2931a
ST
18957 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18958 struct sched_param definition to it.
e60c3f2b
ST
18959 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18960 * bits/types/struct_sched_param.h: New file.
18961 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18962 <bits/types/struct_sched_param.h> instead of <sched.h>.
18963 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
18964 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18965 generic version but include <bits/pthreadtypes.h> to make struct
18966 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
18967 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18968 non-compliant.
a564872d
ST
18969 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18970 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18971 [__USE_XOPEN] (OFDEL): New macro.
18972 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 18973 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
18974 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18975 prototypes.
18976 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18977 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
18978 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18979 non-compliant.
18980 * sysdeps/i386/sys/ucontext.h: Likewise.
18981 * sysdeps/m68k/sys/ucontext.h: Likewise.
18982 * sysdeps/mips/sys/ucontext.h: Likewise.
18983 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
18984 * sysdeps/mach/hurd/i386/Makefile
18985 (test-xfail-POSIX/fcntl.h/conform): Add.
18986 (test-xfail-POSIX/signal.h/conform): Add.
18987 (test-xfail-POSIX/semaphore.h/conform): Add.
18988 (test-xfail-POSIX/regex.h/conform): Add.
18989 (test-xfail-POSIX/aio.h/conform): Add.
18990 (test-xfail-POSIX/mqueue.h/conform): Add.
18991 (test-xfail-POSIX/sys/types.h/conform): Add.
18992 (test-xfail-UNIX98/fcntl.h/conform): Add.
18993 (test-xfail-UNIX98/netdb.h/conform): Add.
18994 (test-xfail-UNIX98/signal.h/conform): Add.
18995 (test-xfail-UNIX98/semaphore.h/conform): Add.
18996 (test-xfail-UNIX98/regex.h/conform): Add.
18997 (test-xfail-UNIX98/aio.h/conform): Add.
18998 (test-xfail-UNIX98/ftw.h/conform): Add.
18999 (test-xfail-UNIX98/mqueue.h/conform): Add.
19000 (test-xfail-UNIX98/netinet/in.h/conform): Add.
19001 (test-xfail-UNIX98/sys/wait.h/conform): Add.
19002 (test-xfail-UNIX98/sys/sem.h/conform): Add.
19003 (test-xfail-UNIX98/sys/uio.h/conform): Add.
19004 (test-xfail-UNIX98/sys/socket.h/conform): Add.
19005 (test-xfail-UNIX98/sys/types.h/conform): Add.
19006 (test-xfail-UNIX98/stdlib.h/conform): Add.
19007 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
19008 (test-xfail-POSIX2008/fcntl.h/conform): Add.
19009 (test-xfail-POSIX2008/netdb.h/conform): Add.
19010 (test-xfail-POSIX2008/signal.h/conform): Add.
19011 (test-xfail-POSIX2008/semaphore.h/conform): Add.
19012 (test-xfail-POSIX2008/regex.h/conform): Add.
19013 (test-xfail-POSIX2008/aio.h/conform): Add.
19014 (test-xfail-POSIX2008/mqueue.h/conform): Add.
19015 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
19016 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
19017 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
19018 (test-xfail-POSIX2008/sys/types.h/conform): Add.
19019 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
19020 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
19021 (test-xfail-XOPEN2K/netdb.h/conform): Add.
19022 (test-xfail-XOPEN2K/signal.h/conform): Add.
19023 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
19024 (test-xfail-XOPEN2K/regex.h/conform): Add.
19025 (test-xfail-XOPEN2K/aio.h/conform): Add.
19026 (test-xfail-XOPEN2K/ftw.h/conform): Add.
19027 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
19028 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
19029 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
19030 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
19031 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
19032 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
19033 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
19034 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
19035 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
19036 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
19037 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
19038 (test-xfail-XOPEN2K8/signal.h/conform): Add.
19039 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
19040 (test-xfail-XOPEN2K8/regex.h/conform): Add.
19041 (test-xfail-XOPEN2K8/aio.h/conform): Add.
19042 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
19043 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
19044 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
19045 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
19046 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
19047 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
19048 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
19049 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
19050 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
19051 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
19052 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
19053 i386-gnu.
19054 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
19055 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 19056
d6397de3
JM
190572018-04-18 Joseph Myers <joseph@codesourcery.com>
19058
19059 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19060 --enable-obsolete for powerpc-linux-gnuspe.
19061
8323a902
ST
190622018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19063
3dc0814c 19064 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 19065 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 19066 prototypes.
c5896a45
ST
19067 * sysdeps/mach/include/mach.h: Likewise.
19068 * sysdeps/mach/include/mach/mig_support.h: Likewise.
19069 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 19070
743b9c2a
AZ
190712018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19072
19073 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
19074 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
19075 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
19076 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
19077
326e74e7
AS
190782018-04-16 Andreas Schwab <schwab@suse.de>
19079
19080 [BZ #19527]
19081 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
19082
6b5c8607 190832018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
19084
19085 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
19086 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
19087
a700e7cb
DD
190882018-04-12 DJ Delorie <dj@redhat.com>
19089
19090 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19091 version to 4.16.
19092
d8abfab7
SL
190932018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19094
19095 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
19096 (struct kernel_sigaction): Use the same definition on 31bit as is used
19097 on 64bit.
19098
583a27d5
FW
190992018-04-09 Florian Weimer <fweimer@redhat.com>
19100
19101 [BZ #23037]
19102 * resolv/res_send.c (send_dg): Use designated initializers instead
19103 of assignment to zero-initialize other fields of struct mmsghdr.
19104
243f59e5
AZ
191052018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19106
942de61a
AZ
19107 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
19108 __READDIR_ALIAS): Undefine after usage.
19109 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
19110 __READDIR_R_ALIAS): Likewise.
19111 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
19112 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
19113 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
19114 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
19115 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
19116 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
19117 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19118 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19119 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19120 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19121 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19122 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19123 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19124 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19125 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19126 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19127 * sysdeps/unix/sysv/linux/readdir.c: New file.
19128 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19129 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19130 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19131
243f59e5
AZ
19132 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19133
690c3475
AS
191342018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19135
19136 * manual/charset.texi (Converting a Character): Fix typo.
19137
6b5c8607 191382018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 19139
bbc2062a
AZ
19140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19141
fa7c6199
AZ
19142 * sysdeps/arm/libm-test-ulps: Update.
19143
b4a5d26d
AZ
19144 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19145 as base implementation.
19146 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19147 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19148 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19150 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19151 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19152 remove unrequired definitions and update comments.
19153 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19154 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19155 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19156 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19157 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19158 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19159 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19160 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19161 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19162 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19163 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19164 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19165 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19166 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19167 and RESET_SA_RESTORER hooks.
19168
db9e55ff
SL
191692018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19170
19171 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19172
cf138b0c
FW
191732018-04-05 Florian Weimer <fweimer@redhat.com>
19174
19175 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19176 integer overflow, memory leak on error, and indeterminate errno
19177 value. Add a null wide character to terminate the result string.
19178 * manual/charset.texi (Converting a Character): Mention embedded
19179 null bytes in the mbrtowc input string. Explain what happens in
19180 the -2 result case. Do not claim that mbrtowc is simple or
19181 obvious to use. Adjust the description of the code example. Use
19182 @code, not @var, for concrete variables.
19183
0f339252
FW
191842018-04-05 Florian Weimer <fweimer@redhat.com>
19185
19186 * manual/examples/mbstouwcs.c: New file.
19187 * manual/charset.texi (Converting a Character): Include it.
19188
e5f9508a
ST
191892018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19190
c120981d
ST
19191 * include/dirent.h (dirfd): Add hidden proto.
19192 * dirent/dirfd.c (dirfd): Add hidden def.
19193 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19194 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 19195
b2fd61ca
TMQMF
191962018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19197
19198 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19199 sin, cos and sincos to 1 ULP.
19200
10a446dd
MR
192012018-04-04 Maciej W. Rozycki <macro@mips.com>
19202
e7feec37
MR
19203 [BZ #19818]
19204 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19205 symbols.
19206 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19207 * elf/tst-absolute-sym.c: New file.
19208 * elf/tst-absolute-sym-lib.c: New file.
19209 * elf/tst-absolute-sym-lib.lds: New file.
19210 * elf/Makefile (tests): Add `tst-absolute-sym'.
19211 (modules-names): Add `tst-absolute-sym-lib'.
19212 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19213 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19214 ($(objpfx)tst-absolute-sym): New dependency.
19215
10a446dd
MR
19216 [BZ #19818]
19217 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19218 parameter.
19219 (SYMBOL_ADDRESS): New macro.
19220 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19221 SYMBOL_ADDRESS for symbol address calculation.
19222 * elf/dl-runtime.c (_dl_fixup): Likewise.
19223 (_dl_profile_fixup): Likewise.
19224 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19225 * elf/rtld.c (dl_main): Likewise.
19226 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19227 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19228 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19229 (elf_machine_rela): Likewise.
19230 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19231 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19232 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19233 (elf_machine_rela): Likewise.
19234 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19235 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19236 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19237 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19238 Likewise.
19239 (elf_machine_reloc): Likewise.
19240 (elf_machine_got_rel): Likewise.
19241 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19242 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19243 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19244 Likewise.
19245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19246 Likewise.
19247 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19248 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19249 Likewise.
19250 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19251 Likewise.
19252 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19254 Likewise.
19255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19256 Likewise.
19257 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19258 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19259
9185f86d
ZW
192602018-04-04 Zack Weinberg <zackw@panix.com>
19261
19262 * sysdeps/generic/internal-signals.h: Include signal.h,
19263 sigsetops.h, and stdbool.h.
19264 (__libc_signal_block_all): Actually block all signals.
19265 (__libc_signal_block_app): Likewise.
19266 (__libc_signal_restore_set): Actually restore the signal mask.
19267
b07367bc
FW
192682018-04-04 Florian Weimer <fweimer@redhat.com>
19269
19270 inet: Actually build and run tst-deadline.
19271 * inet/Makefile (tests-internal): Add tst-deadline and do not
19272 overwrite the variable.
19273 (tests-static-internal): Remove variable.
19274
f2652643
L
192752018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19276
19277 [BZ #22947]
19278 * bits/uio-ext.h (RWF_APPEND): New.
19279 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19280 * manual/llio.texi: Document RWF_APPEND.
19281 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19282 (RWF_SUPPORTED): Add RWF_APPEND.
19283
6b5c8607 192842018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
19285
19286 [BZ #22391]
19287 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19288 check for internal nptl signals.
19289 * nptl/sigaction.c (__sigaction): Likewise.
19290 * signal/sigaddset.c (sigaddset): Likewise.
19291 * signal/sigdelset.c (sigdelset): Likewise.
19292 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19293 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19294 value.
19295 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19296 to filter out internal nptl signals.
19297 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19298 also check realtime signals using standard macros.
19299 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19300 __is_internal_signal, __libc_signal_block_all,
19301 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19302 * sysdeps/nptl/sigfillset.c: Remove file.
19303 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19304 Change return to bool.
19305 (__clear_internal_signals): Remove SIGTIMER clean since it is
19306 equal to SIGCANEL on Linux.
19307 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19308 signal set was constructed using standard functions.
19309
511ed56f
ST
193102018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19311
92846492
ST
19312 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19313 ifname is too long.
e8ef51b1
ST
19314 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19315 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
19316 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19317 hidden def.
19318 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
19319 * signal/sigaddset.c: Include <sigsetopts.h>.
19320 * signal/sigdelset.c: Likewise.
511ed56f 19321
e88ecbbf
WD
193222018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19323
19324 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19325 (__cos): Likewise.
19326 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19327 logic as sin and cos.
19328
aef3e255
WD
193292018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19330
19331 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19332 inputs. Return correct sign.
19333 (do_sincos): Remove small input check before do_sin, let do_sin set
19334 the sign.
19335 (__sin): Likewise.
19336 (__cos): Likewise.
19337
72f6e9a3
WD
193382018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19339
19340 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19341 (do_cos_slow): Likewise.
19342 (do_sin_slow): Likewise.
19343 (reduce_and_compute): Likewise.
19344 (slow): Likewise.
19345 (slow1): Likewise.
19346 (slow2): Likewise.
19347 (sloww): Likewise.
19348 (sloww1): Likewise.
19349 (sloww2): Likewise.
19350 (bslow): Likewise.
19351 (bslow1): Likewise.
19352 (bslow2): Likewise.
19353 (cslow2): Likewise.
19354
64909583
WD
193552018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19356
19357 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19358 (do_cos): Remove corp parameter and calculations.
19359 (do_sin): Likewise.
19360 (do_sincos): Remove cor variable.
19361 (__sin): Use do_sincos for huge inputs.
19362 (__cos): Likewise.
19363 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19364 (reduce_and_compute_sincos): Remove unused function.
19365
d9469deb
WD
193662018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19367
19368 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19369 reduce_sincos, improve accuracy to 136 bits.
19370 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19371 (__sin): Use improved reduction and simplified do_sincos calculation.
19372 (__cos): Likewise.
19373 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19374
7a5640f2
WD
193752018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19376
19377 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19378 (do_sincos_2): Likewise.
19379 (__sin): Remove middle range reduction case.
19380 (__cos): Likewise.
19381 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19382 reduction case.
19383
19a8b9a3
WD
193842018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19385
19386 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19387 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19388 inputs.
19389 (__cos): Likewise.
19390 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19391
f72aa11d
JM
193922018-04-03 Joseph Myers <joseph@codesourcery.com>
19393
19394 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 19395 version to 4.16
f72aa11d 19396
8e4754ed
AZ
193972018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19398
19399 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19400 Remove definitions.
19401 (opendir_oflags): Use O_DIRECTORY regardless.
19402 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19403 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19404
8e2666ea
ST
194052018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19406
19407 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19408 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19409 macros.
19410 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19411 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19412 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19413 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
19414 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19415 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 19416
ad2b41bf
ST
19417 * htl/Makefile: Bump licence to LGPL 2.1+.
19418 * htl/alloca_cutoff.c: Likewise.
19419 * htl/cthreads-compat.c: Likewise.
19420 * htl/lockfile.c: Likewise.
19421 * htl/pt-alloc.c: Likewise.
19422 * htl/pt-cancel.c: Likewise.
19423 * htl/pt-cleanup.c: Likewise.
19424 * htl/pt-create.c: Likewise.
19425 * htl/pt-dealloc.c: Likewise.
19426 * htl/pt-detach.c: Likewise.
19427 * htl/pt-exit.c: Likewise.
19428 * htl/pt-getattr.c: Likewise.
19429 * htl/pt-initialize.c: Likewise.
19430 * htl/pt-internal.h: Likewise.
19431 * htl/pt-join.c: Likewise.
19432 * htl/pt-self.c: Likewise.
19433 * htl/pt-setcancelstate.c: Likewise.
19434 * htl/pt-setcanceltype.c: Likewise.
19435 * htl/pt-sigmask.c: Likewise.
19436 * htl/pt-spin-inlines.c: Likewise.
19437 * htl/pt-testcancel.c: Likewise.
19438 * htl/pt-yield.c: Likewise.
19439 * htl/tests/test-1.c: Likewise.
19440 * htl/tests/test-10.c: Likewise.
19441 * htl/tests/test-11.c: Likewise.
19442 * htl/tests/test-12.c: Likewise.
19443 * htl/tests/test-13.c: Likewise.
19444 * htl/tests/test-14.c: Likewise.
19445 * htl/tests/test-15.c: Likewise.
19446 * htl/tests/test-16.c: Likewise.
19447 * htl/tests/test-17.c: Likewise.
19448 * htl/tests/test-2.c: Likewise.
19449 * htl/tests/test-3.c: Likewise.
19450 * htl/tests/test-4.c: Likewise.
19451 * htl/tests/test-5.c: Likewise.
19452 * htl/tests/test-6.c: Likewise.
19453 * htl/tests/test-7.c: Likewise.
19454 * htl/tests/test-8.c: Likewise.
19455 * htl/tests/test-9.c: Likewise.
19456 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19457 * sysdeps/htl/bits/cancelation.h: Likewise.
19458 * sysdeps/htl/bits/pthread-np.h: Likewise.
19459 * sysdeps/htl/bits/pthread.h: Likewise.
19460 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19461 * sysdeps/htl/bits/semaphore.h: Likewise.
19462 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19463 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19464 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19465 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19466 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19467 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19468 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19469 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19470 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19471 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19472 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19473 * sysdeps/htl/old_pt-atfork.c: Likewise.
19474 * sysdeps/htl/pt-atfork.c: Likewise.
19475 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19476 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19477 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19478 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19479 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19480 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19481 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19482 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19483 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19484 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19485 * sysdeps/htl/pt-attr-init.c: Likewise.
19486 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19487 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19488 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19489 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19490 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19491 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19492 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19493 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19494 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19495 * sysdeps/htl/pt-attr.c: Likewise.
19496 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19497 * sysdeps/htl/pt-barrier-init.c: Likewise.
19498 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19499 * sysdeps/htl/pt-barrier.c: Likewise.
19500 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19501 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19502 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19503 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19504 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19505 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19506 * sysdeps/htl/pt-cond-init.c: Likewise.
19507 * sysdeps/htl/pt-cond-signal.c: Likewise.
19508 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19509 * sysdeps/htl/pt-cond-wait.c: Likewise.
19510 * sysdeps/htl/pt-cond.c: Likewise.
19511 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19512 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19513 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19514 * sysdeps/htl/pt-condattr-init.c: Likewise.
19515 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19516 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19517 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19518 * sysdeps/htl/pt-equal.c: Likewise.
19519 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19520 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19521 * sysdeps/htl/pt-getschedparam.c: Likewise.
19522 * sysdeps/htl/pt-getspecific.c: Likewise.
19523 * sysdeps/htl/pt-init-specific.c: Likewise.
19524 * sysdeps/htl/pt-key-create.c: Likewise.
19525 * sysdeps/htl/pt-key-delete.c: Likewise.
19526 * sysdeps/htl/pt-key.h: Likewise.
19527 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19528 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19529 * sysdeps/htl/pt-mutex-init.c: Likewise.
19530 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19531 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19532 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19533 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19534 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19535 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19536 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19537 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19538 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19539 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19540 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19541 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19542 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19543 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19544 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19545 * sysdeps/htl/pt-mutexattr.c: Likewise.
19546 * sysdeps/htl/pt-once.c: Likewise.
19547 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19548 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19549 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19550 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19551 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19552 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19553 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19554 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19555 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19556 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19557 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19558 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19559 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19560 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19561 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19562 * sysdeps/htl/pt-setschedparam.c: Likewise.
19563 * sysdeps/htl/pt-setschedprio.c: Likewise.
19564 * sysdeps/htl/pt-setspecific.c: Likewise.
19565 * sysdeps/htl/pt-spin.c: Likewise.
19566 * sysdeps/htl/pt-startup.c: Likewise.
19567 * sysdeps/htl/pthread.h: Likewise.
19568 * sysdeps/htl/sem-close.c: Likewise.
19569 * sysdeps/htl/sem-destroy.c: Likewise.
19570 * sysdeps/htl/sem-getvalue.c: Likewise.
19571 * sysdeps/htl/sem-init.c: Likewise.
19572 * sysdeps/htl/sem-open.c: Likewise.
19573 * sysdeps/htl/sem-post.c: Likewise.
19574 * sysdeps/htl/sem-timedwait.c: Likewise.
19575 * sysdeps/htl/sem-trywait.c: Likewise.
19576 * sysdeps/htl/sem-unlink.c: Likewise.
19577 * sysdeps/htl/sem-wait.c: Likewise.
19578 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19579 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19580 * sysdeps/mach/htl/pt-block.c: Likewise.
19581 * sysdeps/mach/htl/pt-spin.c: Likewise.
19582 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19583 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19584 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19585 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19586 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19587 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19588 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19589 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19590 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19591 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19592 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19593 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19594 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19595 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19596 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19597 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19598 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19599 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19600 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19601 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19602 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19603 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19604 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19605 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19606 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19607 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19608 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19609 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19610 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19611 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19612 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19613 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19614 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19615 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19616 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19617 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19618 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19619 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19620 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19621 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19622 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19623 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19624 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19625
fb03b04b
ST
19626 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19627 * README: Remove the mention of out-of-tree patches needed for
19628 GNU/Hurd.
19629
fa9e1555
ST
19630 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19631 (UTIME_NOW, UTIME_OMIT): Define macros.
19632
f6fb29d2
ST
19633 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19634 instead of pthread_detach.
19635 (__cthread_fork): Call __pthread_create instead of pthread_create.
19636 (__cthread_keycreate): Call __pthread_key_create instead of
19637 pthread_key_create.
19638 (__cthread_getspecific): Call __pthread_getspecific instead of
19639 pthread_getspecific.
19640 (__cthread_setspecific): Call __pthread_setspecific instead of
19641 pthread_setspecific.
19642 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19643 __pthread_mutex_unlock instead of pthread_mutex_lock and
19644 pthread_mutex_unlock.
19645 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19646 ___pthread_get_cleanup_stack.
19647 (__pthread_get_cleanup_stack): New strong alias.
19648 * htl/pt-create.c: Include <pthreadP.h>.
19649 (entry_point): Call __pthread_exit instead of pthread_exit.
19650 (pthread_create): Rename to __pthread_create.
19651 (pthread_create): New strong alias.
19652 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19653 (pthread_detach): New strong alias.
19654 (__pthread_detach): Call __pthread_cond_broadcast instead of
19655 pthread_cond_broadcast.
fe9748cc
ST
19656 * htl/pt-exit.c: Include <pthreadP.h>.
19657 (__pthread_exit): Call __pthread_setcancelstate and
19658 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19659 __pthread_get_cleanup_stack.
f6fb29d2
ST
19660 * htl/pt-testcancel.c: Include <pthreadP.h>.
19661 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19662 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19663 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19664 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19665 pthread_attr_getstacksize.
19666 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19667 Rename to __pthread_attr_getstackaddr.
19668 (pthread_attr_getstackaddr): New strong alias.
19669 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19670 Rename to __pthread_attr_getstacksize.
19671 (pthread_attr_getstacksize): New strong alias.
19672 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19673 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19674 (pthread_attr_setstack): New strong alias.
19675 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19676 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19677 pthread_attr_getstacksize, pthread_attr_setstacksize and
19678 pthread_attr_setstackaddr.
19679 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19680 Rename to __pthread_attr_setstackaddr.
19681 (pthread_attr_setstackaddr): New strong alias.
19682 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19683 Rename to __pthread_attr_setstacksize.
19684 (pthread_attr_setstacksize): New strong alias.
19685 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19686 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19687 pthread_exit.
19688 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19689 (__pthread_key_create): New hidden def.
19690 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19691 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19692 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19693 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19694 __pthread_setspecific, __pthread_setcancelstate,
19695 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19696 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19697 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19698 declarations.
19699 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19700 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19701 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19702 (pthread_attr_setstackaddr): New strong alias.
19703 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19704 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19705 (pthread_attr_setstacksize): New strong alias.
19706 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19707 (call_exit): Call __pthread_exit instead of pthread_exit.
19708 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19709 (_pthread_mutex_init): New hidden definition.
19710 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19711 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19712 instead of pthread_attr_init and pthread_attr_setstack.
19713
dba2bdbe
ST
19714 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19715 __vm_deallocate instead of vm_allocate and vm_deallocate.
19716 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19717 setenv.
19718 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19719 of geteuid.
19720 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19721 strdup.
19722 * hurd/siginfo.c: Include <libioP.h>.
19723 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19724 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19725 munmap.
dba2bdbe
ST
19726 * mach/devstream.c: Include <libioP.h>.
19727 (dealloc_ref): Call __mach_port_deallocate instead of
19728 mach_port_deallocate.
19729 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19730 Call __mach_port_deallocate instead of mach_port_deallocate.
19731 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19732 pathconf.
19733 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19734 munmap.
19735 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19736 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19737 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19738 of munmap.
19739 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19740 of close.
19741 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19742 instead of sysconf.
19743 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19744 __clock_gettime instead of clock_gettime.
19745 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19746 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19747 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19748 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19749 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19750 tcgetattr.
19751 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19752 __clock_gettime and __nanosleep instead of clock_gettime and
19753 nanosleep.
7a8f45e3
ST
19754 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19755 __hurd_catch_signal.
19756 (hurd_catch_signal): New strong alias.
19757 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19758 __hurd_catch_signal instead of hurd_catch_signal.
19759 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19760 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19761 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19762 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19763 (_hurd_thread_sigstate): Add hidden def.
19764 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19765 mutex_unlock.
19766 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19767 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19768 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19769 __hurd_file_name_path_lookup.
19770 (hurd_file_name_path_lookup): New strong alias.
19771 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19772 hurd_file_name_path_lookup.
19773 * mach/errstring.c (mach_error_type): Add hidden def.
19774 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19775 * mach/mutex-init.c (__mutex_init): Add hidden def.
19776 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19777 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19778 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19779 * sysdeps/mach/hurd/getcwd.c
19780 (_hurd_canonicalize_directory_name_internal): Rename to
19781 __hurd_canonicalize_directory_name_internal.
19782 (_hurd_canonicalize_directory_name_internal): New strong alias.
19783 (__canonicalize_directory_name_internal, __getcwd): Call
19784 __hurd_canonicalize_directory_name_internal instead of
19785 _hurd_canonicalize_directory_name_internal.
19786 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19787 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19788 hidden defs.
19789 * sysdeps/hurd/include/hurd.h: New file.
19790 * sysdeps/hurd/include/hurd/fd.h: New file.
19791 * sysdeps/hurd/include/hurd/signal.h: New file.
19792 * sysdeps/mach/include/lock-intern.h: New file.
19793 * sysdeps/mach/include/mach.h: New file.
19794 * sysdeps/mach/include/mach/mig_support.h: New file.
19795 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
19796 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19797 prototype.
19798 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19799 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19800 _HEADER_H_HIDDEN_DEF macro.
19801 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19802 _hurd_fd_error_signal): Add hidden prototype.
19803 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19804 hidden def.
82dbf555
ST
19805 * libio/iolibio.h (_IO_puts): New hidden prototype.
19806 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
19807 * sysdeps/mach/hurd/localplt.data: New file.
19808
33574c17 198092018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
19810 Amos Jeffries <squid3@treenet.co.nz>
19811 David Michael <fedora.dm0@gmail.com>
19812 Marco Gerards <marco@gnu.org>
19813 Marcus Brinkmann <marcus@gnu.org>
19814 Neal H. Walfield <neal@gnu.org>
19815 Pino Toscano <toscano.pino@tiscali.it>
19816 Richard Braun <rbraun@sceen.net>
19817 Roland McGrath <roland@gnu.org>
19818 Samuel Thibault <samuel.thibault@ens-lyon.org>
19819 Thomas DiModica <ricinwich@yahoo.com>
19820 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
19821
19822 * htl: New directory.
19823 * sysdeps/htl: New directory.
19824 * sysdeps/hurd/htl: New directory.
19825 * sysdeps/i386/htl: New directory.
19826 * sysdeps/mach/htl: New directory.
19827 * sysdeps/mach/hurd/htl: New directory.
19828 * sysdeps/mach/hurd/i386/htl: New directory.
19829 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19830 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19831 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19832
03e2aa50
ST
198332018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19834
19835 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19836 signals in thread created for runing timers.
19837
1aa52ced
FW
198382018-04-01 Florian Weimer <fweimer@redhat.com>
19839
19840 * support/support_format_addrinfo.c (support_format_addrinfo):
19841 Include unknown error number in formatted result.
19842
4d76d3e5
FW
198432018-03-29 Florian Weimer <fweimer@redhat.com>
19844
19845 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19846 capture SIGBUS.
19847
d39c0a45
AZ
198482018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19849
19850 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19851 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19852 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19853 (__ASSUME_CLONE_BACKWARDS): Define.
19854
cc8a1620
JH
198552018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19856
57408435 19857 [BZ #23024]
cc8a1620
JH
19858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19859 early when linux sentinel value is set.
19860
8bfd94d0
ST
198612018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19862
19863 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19864
f178e59f
AS
198652018-03-27 Andreas Schwab <schwab@suse.de>
19866
19867 [BZ #23005]
19868 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19869 allocation of private copy of nsaddr_list fails.
19870
5f45f96a
JM
198712018-03-26 Joseph Myers <joseph@codesourcery.com>
19872
19873 [BZ #16552]
19874 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19875 * sysdeps/unix/sysv/linux/umount.c: ... here.
19876 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19877 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19878 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19879 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19881 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19882 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19883
3dfd23eb
AS
198842018-03-26 Andreas Schwab <schwab@suse.de>
19885
19886 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19887 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19888 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19889 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19890 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19891 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19892 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19893 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19894 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19895 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19896 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19897 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19898 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19899 (R_RISCV_NUM): Define.
19900
fa97d2ab
ST
199012018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19902
19903 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19904 TLS declaration of errno.
37be82a0
ST
19905 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19906 __libc_setup_tls.
19907 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19908 (ARCH_SETUP_TLS): Likewise.
19909 * sysdeps/mach/hurd/libc-start.h: New file copied from
19910 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
19911 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19912 instead of __libc_setup_tls.
37be82a0 19913 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
19914 __libc_setup_tls before initializing libpthread and running _hurd_init
19915 which starts the signal thread.
19916 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19917 Declare function.
2d813d7b 19918 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 19919
b8114edd
L
199202018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19921
19922 [BZ #22998]
19923 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19924 after it is defined.
19925
cd66c0e5
AS
199262018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19927 Max Horn <max@quendi.de>
19928
19929 [BZ #22644]
43d4f3d5 19930 CVE-2017-18269
cd66c0e5
AS
19931 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19932 branch conditions.
19933 * string/test-memmove.c (do_test2): New testcase.
19934
a4406139
JM
199352018-03-22 Joseph Myers <joseph@codesourcery.com>
19936
19937 * sysdeps/generic/frame.h: Remove file.
19938 * sysdeps/arm/frame.h: Likewise.
19939 * sysdeps/hppa/frame.h: Likewise.
19940 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19941 macro.
19942 (GET_FRAME): Likewise.
19943 (GET_STACK): Likewise.
19944 (CALL_SIGHANDLER): Likewise.
19945 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19946 Likewise.
19947 (GET_FRAME): Likewise.
19948 (GET_STACK): Likewise.
19949 (CALL_SIGHANDLER): Likewise.
19950 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19951 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19952 (GET_FRAME): Likewise.
19953 (GET_STACK): Likewise.
19954 (CALL_SIGHANDLER): Likewise.
19955 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19956 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19957 (GET_FRAME): Likewise.
19958 (GET_STACK): Likewise.
19959 (ADVANCE_STACK_FRAME): Likewise.
19960 (CALL_SIGHANDLER): Likewise.
19961 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19962 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19963 (GET_FRAME): Likewise.
19964 (GET_STACK): Likewise.
19965 (CALL_SIGHANDLER): Likewise.
19966 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19967 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19968 (GET_FRAME): Likewise.
19969 (GET_STACK): Likewise.
19970 (CALL_SIGHANDLER): Likewise.
19971 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19972 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19973 (GET_FRAME): Likewise.
19974 (GET_STACK): Likewise.
19975 (CALL_SIGHANDLER): Likewise.
19976 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19977 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19978 (GET_FRAME): Likewise.
19979 (GET_STACK): Likewise.
19980 (CALL_SIGHANDLER): Likewise.
19981 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19982 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19983 (GET_FRAME): Likewise.
19984 (GET_STACK): Likewise.
19985 (CALL_SIGHANDLER): Likewise.
19986 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19987 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19988 (GET_FRAME): Likewise.
19989 (GET_STACK): Likewise.
19990 (CALL_SIGHANDLER): Likewise.
19991 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19992 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19993 (GET_FRAME): Likewise.
19994 (GET_STACK): Likewise.
19995 (CALL_SIGHANDLER): Likewise.
19996 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19997 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19998 (GET_FRAME): Likewise.
19999 (GET_STACK): Likewise.
20000 (CALL_SIGHANDLER): Likewise.
20001 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
20002 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20003 (GET_FRAME): Likewise.
20004 (GET_STACK): Likewise.
20005 (CALL_SIGHANDLER): Likewise.
20006 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
20007 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20008 (FIRST_FRAME_POINTER): Likewise.
20009 (ADVANCE_STACK_FRAME): Likewise.
20010 (GET_STACK): Likewise.
20011 (GET_FRAME): Likewise.
20012 (CALL_SIGHANDLER): Likewise.
20013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
20014 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20015 (ADVANCE_STACK_FRAME): Likewise.
20016 (GET_STACK): Likewise.
20017 (GET_FRAME): Likewise.
20018 (CALL_SIGHANDLER): Likewise.
20019 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
20020 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20021 (GET_FRAME): Likewise.
20022 (GET_STACK): Likewise.
20023 (CALL_SIGHANDLER): Likewise.
20024 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
20025 (SIGCONTEXT_EXTRA_ARGS): Likewise.
20026 (GET_FRAME): Likewise.
20027 (GET_STACK): Likewise.
20028 (CALL_SIGHANDLER): Likewise.
20029
ffec7b27
JM
200302018-03-21 Joseph Myers <joseph@codesourcery.com>
20031
20032 * sysdeps/x86_64/backtrace.c: Move to ....
20033 * debug/backtrace.c: ... here.
20034 * sysdeps/aarch64/backtrace.c: Remove file.
20035 * sysdeps/alpha/backtrace.c: Likewise.
20036 * sysdeps/hppa/backtrace.c: Likewise.
20037 * sysdeps/ia64/backtrace.c: Likewise.
20038 * sysdeps/mips/backtrace.c: Likewise.
20039 * sysdeps/nios2/backtrace.c: Likewise.
20040 * sysdeps/riscv/backtrace.c: Likewise.
20041 * sysdeps/sh/backtrace.c: Likewise.
20042 * sysdeps/tile/backtrace.c: Likewise.
20043
8a07b0c4
JM
200442018-03-20 Joseph Myers <joseph@codesourcery.com>
20045
d0c5d731
JM
20046 [BZ #22987]
20047 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
20048 function.
20049 (fdimf): Likewise.
20050 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
20051
8a07b0c4
JM
20052 [BZ #17343]
20053 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
20054 possibly overflowing computations.
20055
ceb54b9b
ST
200562018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
20057
20058 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
20059 values from Linux-specific section now that it is in the GNU section.
20060 * sysdeps/gnu/errlist.c: Regenerate.
20061
8d3f9e85
JM
200622018-03-20 Joseph Myers <joseph@codesourcery.com>
20063
20064 * math/Makefile (libm-narrow-fns): Add sub.
20065 (libm-test-funcs-narrow): Likewise.
20066 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
20067 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
20068 * math/gen-auto-libm-tests.c (test_functions): Add sub.
20069 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
20070 (NARROW_SUB_ROUND_TO_ODD): Likewise.
20071 (NARROW_SUB_TRIVIAL): Likewise.
20072 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
20073 macro.
20074 (__dsubl): Likewise.
20075 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
20076 dsub.
20077 (CFLAGS-nldbl-dsub.c): New variable.
20078 (CFLAGS-nldbl-fsub.c): Likewise.
20079 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20080 __nldbl_dsubl.
20081 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
20082 prototype.
20083 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
20084 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
20085 * math/auto-libm-test-in: Add tests of sub.
20086 * math/auto-libm-test-out-narrow-sub: New generated file.
20087 * math/libm-test-narrow-sub.inc: New file.
20088 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
20091 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
20092 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
20093 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
20094 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
20095 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
20096 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
20097 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
20098 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
20099 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
20100 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
20101 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
20102 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
20103 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
20104 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
20105 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
20106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20107 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20108 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20109 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20110 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20111 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20112 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20113 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20114 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20115 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20116 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20117 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20118 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20119 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20124 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20126 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20127 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20128 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20129 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20130 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20131 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20132 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20133 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20134
d473f015
JM
201352018-03-19 Joseph Myers <joseph@codesourcery.com>
20136
20137 [BZ #20079]
20138 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20139
fbce6f72
WD
201402018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20141
20142 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20143
72e7ffc3
RB
201442018-03-18 Richard Braun <rbraun@sceen.net>
20145
20146 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20147 thread reference.
20148
542c20a1
AA
201492018-03-18 Agustina Arzille <avarzille@riseup.net>
20150
20151 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20152 (__libc_cleanup_fct): Define function.
20153 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20154 __libc_cleanup_end): Rewrite implementation using
20155 __attribute__ ((__cleanup__)).
20156 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
20157 * hurd/Makefile (routines): Add hurdlock.
20158 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20159 interface.
20160 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20161 * hurd/hurdpid.c: Include <lowlevellock.h>
20162 (_S_msg_proc_newids): Use lll_wait to synchronize.
20163 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20164 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20165 * mach/Makefile (lock-headers): Remove machine-lock.h.
20166 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20167 <machine-lock.h>.
20168 (__spin_lock_t): New type.
20169 (__SPIN_LOCK_INITIALIZER): New macro.
20170 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20171 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20172 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20173 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20174 (__mutex_init): Initialize with lll.
20175 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20176 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20177 needing lll.
20178 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20179 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20180 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20181 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20182 (__setpgid): Use lll for synchronization.
20183 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20184 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20185 instead of <cthreads.h>.
20186 (_IO_lock_inexpensive): New macro
20187 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20188 (__libc_lock_self0): New declaration.
20189 (__libc_lock_owner_self): New macro.
20190 (__libc_key_t): Remove type.
20191 (_LIBC_LOCK_INITIALIZER): New macro.
20192 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20193 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20194 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20195 __libc_lock_define_initialized_recursive,
20196 __rtld_lock_define_initialized_recursive,
20197 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20198 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20199 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20200 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20201 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20202 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20203 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20204 New macros.
20205 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20206 * hurd/hurdlock.c: New file.
20207 * hurd/hurdlock.h: New file.
20208 * mach/lowlevellock.h: New file
542c20a1 20209
9a37922e
ST
202102018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20211
20212 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
20213 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20214 when opening a symlink with O_NOFOLLOW.
72103e73
ST
20215 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20216 path when flags contains O_NOFOLLOW.
20217 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20218 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
20219 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20220 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
20221 * sysdeps/mach/hurd/mlockall.c: New file.
20222 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 20223
34e6a869
ST
202242018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20225
20226 * hurd/hurdsig.c: Include <pthread.h>.
20227 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20228 get the signal thread stack layout.
dc33bef3
ST
20229 * hurd/Makefile (headers): Remove threadvar.h.
20230 (inline-headers): Remove threadvar.h.
20231 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20232 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20233 __hurd_threadvar_max, __hurd_errno_location.
20234 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20235 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20236 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20237 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20238 unless TLS is not initialized yet, in which case we do not need a
20239 critical section yet anyway.
20240 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20241 <machine-sp.h>.
20242 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20243 declarations.
20244 (__hurd_threadvar_index): Remove enum.
20245 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20246 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20247 inlines.
20248 (__hurd_reply_port0): New variable declaration.
20249 (__hurd_local_reply_port): New macro.
20250 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20251 (interrupted_reply_port_location): Add thread_t parameter. Use it
20252 with THREAD_TCB to access thread-local variables.
20253 (_hurdsig_abort_rpcs): Pass ss->thread to
20254 interrupted_reply_port_location.
20255 (_hurd_internal_post_signal): Likewise.
20256 (_hurdsig_init): Use presence of cthread_fork instead of
20257 __hurd_threadvar_stack_mask to start signal thread by hand.
20258 Remove signal thread threadvar initialization.
20259 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20260 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20261 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20262 of threadvar.
20263 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20264 __libc_lock_self0.
20265 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20266 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20267 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20268 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20269 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20270 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20271 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20272 define variables.
20273 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20274 <hurd/threadvar.h>.
20275 [IS_IN(rtld)] (rtld_errno): New variable.
20276 [IS_IN(rtld)] (__errno_location): New weak function.
20277 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20278 * sysdeps/mach/hurd/errno.c: Remove file.
20279 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20280 (__fork): Remove THREADVAR_SPACE macro and its use.
20281 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20282 variable.
20283 (init): Do not initialize threadvar.
20284 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20285 symbol.
20286 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20287 __hurd_local_reply_port instead of threadvar.
20288 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20289 _hurd_sigstate fields.
20290 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20291 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20292 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20293 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20294 instead of threadvar.
20295 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20296 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20297 (use_threadvar, global_reply_port): Remove variables.
20298 (__hurd_reply_port0): New variable.
20299 (__mig_get_reply_port): Use __hurd_local_reply_port and
20300 __hurd_reply_port0 instead of threadvar.
20301 (__mig_dealloc_reply_port): Likewise.
20302 (__mig_init): Do not initialize threadvar.
20303 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
20304 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20305 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20306 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20307 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20308 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20309 __cthread_setspecific.
20310 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20311 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20312 __cthread_t instead of cthread_fork, cthread_detach,
20313 pthread_getattr_np, pthread_attr_getstack.
20314 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20315 __cthread_keycreate.
20316 (cthread_getspecific): Rename to __cthread_getspecific.
20317 (cthread_setspecific): Rename to __cthread_setspecific.
20318 (__libc_getspecific): Use __cthread_getspecific instead of
20319 cthread_getspecific.
20320 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20321 __cthread_keycreate instead of cthread_keycreate.
20322 (__libc_setspecific): Use __cthread_setspecific instead of
20323 cthread_setspecific.
20324 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20325 Likewise.
dd28d4ba
ST
20326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20327 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20328 testing whether it is defined.
34e6a869 20329
f8baf2a2
ST
203302018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20331
20332 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20333 Define macro.
20334 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20335 * sysdeps/mach/i386/thread_state.h
20336 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20337 i386_THREAD_STATE.
20338 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20339 i386_THREAD_STATE.
20340 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20341
20342 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20343 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20344
20345 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20346 macros.
20347 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20348 descriptor instead of creating a new one.
20349 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20350
20351 * mach/setup-thread.c: Include <ldsodefs.h>.
20352 (__mach_setup_thread): Call _dl_allocate_tls, pass
20353 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20354 MACHINE_THREAD_STATE_FLAVOR, before getting
20355 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20356 MACHINE_THREAD_STATE_FLAVOR with the result.
20357 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20358 MACHINE_THREAD_STATE_FIX_NEW.
20359 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20360 too. Add original thread parameter.
20361
34ba96b8
JM
203622018-03-16 Joseph Myers <joseph@codesourcery.com>
20363
5d75b75f
JM
20364 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20365 Remove inline function.
20366
34ba96b8
JM
20367 * sysdeps/i386/fpu/libm-test-ulps: Update.
20368 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20369
22679b2c
WD
203702018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20371
20372 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20373 commit.
20374
c429a8d8
JM
203752018-03-15 Joseph Myers <joseph@codesourcery.com>
20376
20377 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20378 (__sincos_code): Remove define and undefine.
20379 [__FAST_MATH__] (__sincos): Remove inline function.
20380 [__FAST_MATH__] (__sincosf): Remove inline function.
20381 [__FAST_MATH__] (__sincosl): Remove inline function.
20382 (__atan2l): Remove inline functions.
20383 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20384 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20385 function.
20386 (floor): Remove inline function.
20387 (ceil): Likewise.
20388 [__FAST_MATH__] (__ldexp_code): Remove macro.
20389 [__FAST_MATH__] (ldexp): Remove inline function.
20390 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20391 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20392 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20393 [__USE_ISOC99] (__lrint_code): Remove macro.
20394 [__USE_ISOC99] (__llrint_code): Likewise.
20395 [__USE_ISOC99] (lrintf): Remove inline function.
20396 [__USE_ISOC99] (lrint): Likewise.
20397 [__USE_ISOC99] (lrintl): Likewise.
20398 [__USE_ISOC99] (llrint): Likewise.
20399 [__USE_ISOC99] (llrintf): Likewise.
20400 [__USE_ISOC99] (llrintl): Likewise.
20401
700593fd
WD
204022018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20403
20404 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20405 (__ieee754_sqrtf): Remove.
20406 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20407 (__ieee754_sqrtf): Remove.
20408 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20409 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20410 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20411 (__ieee754_sqrtf): Remove.
20412 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20413 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20414 (sqrtf): Remove.
20415 (sqrtl): Remove.
20416 (__ieee754_sqrt): Remove.
20417 (__ieee754_sqrtf): Remove.
20418 (__ieee754_sqrtl): Remove.
20419 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20420 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20421 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20422 (__ieee754_sqrtf): Remove.
20423 (__ieee754_sqrtl): Remove.
20424
f67a8147
WD
204252018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20426
20427 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20428 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20429 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20430 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20431 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20432 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20433 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20435 Likewise.
20436 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20437 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20438 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20439 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20440 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20441 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20442 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20443 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20444 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20445 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20446 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20447 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20449 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20450 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20451 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20452 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20453 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20454 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20455 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20460 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20461 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20464 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20465 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20466 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20468 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20470 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20471 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20472 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20473 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20474 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20475 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20476
1294b189
WD
204772018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20478
20479 * include/math.h (sqrt): Declare with asm redirect.
20480 (sqrtf): Likewise.
20481 (sqrtl): Likewise.
20482 (sqrtf128): Likewise.
20483 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20484 nonlib and libnldbl with -fmath-errno.
20485 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20486 * math/w_sqrt_template.c: Likewise.
20487 * math/w_sqrtf_compat.c: Likewise.
20488 * math/w_sqrtl_compat.c: Likewise.
20489 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20490 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20491 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20492 complex.h.
20493
f1c8185d
WD
204942018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20495
20496 * benchtests/Makefile: Define _ISOMAC.
20497 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20498 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20499 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20500 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20501 * benchtests/bench-timing.h: Define attribute_hidden.
20502
b47c3e76
SP
205032018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20504
20505 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20506 mov + lsr.
20507
ab74d59f 205082018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
807fee29
RL
20509
20510 [BZ #22963]
20511 * localedata/locales/cs_CZ (mon): Rename to...
20512 (alt_mon): This.
20513 (mon): Import from CLDR (genitive case).
20514
ab74d59f 205152018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
e7155a28
RL
20516
20517 [BZ #22937]
20518 * localedata/locales/el_CY (abmon): Rename to...
20519 (ab_alt_mon): This.
20520 (abmon): Import from CLDR (abbreviated genitive case).
20521 * localedata/locales/el_GR (abmon): Rename to...
20522 (ab_alt_mon): This.
20523 (abmon): Import from CLDR (abbreviated genitive case).
20524
ab74d59f 205252018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
71d7b121
RL
20526
20527 [BZ #22932]
20528 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20529
a00bffe8
RB
205302018-03-15 Robert Buj <robert.buj@gmail.com>
20531
20532 [BZ #22848]
20533 * localedata/locales/ca_ES (abmon): Rename to...
20534 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20535 (mon): Rename to...
20536 (alt_mon): This.
20537 (abmon): Import from CLDR (genitive case, month names preceded by
20538 "de" or "d’").
20539 (mon): Likewise.
20540 (abday): Synchronize with CLDR.
20541 (d_t_fmt): Likewise.
20542 (d_fmt): Likewise.
20543 (am_pm): Likewise.
20544
20545 (LC_TIME): Improve indentation.
20546 (LC_TELEPHONE): Likewise.
20547 (LC_NAME): Likewise.
20548 (LC_ADDRESS): Likewise.
20549
f9555d73
JM
205502018-03-14 Joseph Myers <joseph@codesourcery.com>
20551
20552 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20553 (lrintf): Remove definitions used only with old GCC.
20554 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20555 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20556 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20557 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20558 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20559 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20560 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20561 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20562 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20563 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20564 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20565 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20566 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20567 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20568 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20569 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20570 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20571 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20572 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20573 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20574 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20575 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20576 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20577 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20578 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20579 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20580 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20581 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20582
d46f84de
SP
205832018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20584
20585 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20586 instruction to unbreak builds with binutils 2.26 and older.
20587
7108f1f9
SP
205882018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20589
20590 * sysdeps/aarch64/strncmp.S (count): New macro.
20591 (strncmp): Store misaligned length in SRC1 in COUNT.
20592 (mutual_align): Adjust.
20593 (misaligned8): Load dword at a time when it is safe.
20594
2cc7bad0
ZW
205952018-03-12 Zack Weinberg <zackw@panix.com>
20596
20597 [BZ #1190]
20598 [BZ #19476]
20599 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20600 if the _IO_EOF_SEEN bit is already set; update commentary.
20601 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20602 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20603
20604 * support/support_openpty.c, support/tty.h: New files.
20605 * support/Makefile (libsupport-routines): Add support_openpty.
20606
20607 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20608 New test cases.
20609 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20610 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20611
778f1974
DL
206122018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20613
20614 * po/pt_BR.po: Update translations.
20615
6b5c8607 206162018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
20617
20618 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20619 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20620 get a port to the startup server.
20621
d3da750d
ZW
206222018-03-11 Zack Weinberg <zackw@panix.com>
20623
20624 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20625 before nldbl-compat.h.
20626
054b72cc
ZW
206272018-03-10 Zack Weinberg <zackw@panix.com>
20628
0d13dfa1
ZW
20629 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20630 math.h or math_private.h.
20631
20632 * sysdeps/alpha/fpu/s_isnan.c
20633 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20634 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20635 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20636 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20637 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20638 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20639 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20640 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20641 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20646 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20647 Include math_private.h.
20648
20649 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20650 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20651 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20652 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20653 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20654 * sysdeps/powerpc/power7/fpu/s_logb.c:
20655 Include math.h and math_private.h.
20656
054b72cc
ZW
20657 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20658 uses of $at in .set noat / .set at.
20659
6253bacd
L
206602018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20661
20662 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20663 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20664 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20665 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20666 Likewise.
20667
229855e5
FW
206682018-03-09 Florian Weimer <fweimer@redhat.com>
20669
20670 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20671 in comment.
20672
9aa5c222
AJ
206732018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20674
20675 [BZ #22919]
20676 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20677 Add nop before __startcontext, add explaining comments.
20678
3dc21497
AZ
206792018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20680
e921c89e
AZ
20681 [BZ #22926]
20682 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20683 empty for __SPE__.
20684 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20685 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20686 Do not build hardware transactional code for __SPE__.
20687 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20688 (__lll_trylock_elision): Likewise.
20689 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20690 (__lll_unlock_elision): Likewise.
20691
d9f26dab 20692 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
20693 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20694 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20695 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20696 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20697 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20698 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20699 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20700 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20701 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20702 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20703 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20704 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20705 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20706 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20707 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20708 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20709 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20710 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20711 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20712 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20713 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20714 (__ASSUME_CLONE_BACKWARDS): Define.
20715 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20716 __clone2 if __NR_clone2 is defined.
20717 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20718 (__ASSUME_CLONE_BACKWARDS): Likewise.
20719 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20720 (__ASSUME_CLONE_BACKWARDS): Likewise.
20721 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20722 (__ASSUME_CLONE2): Likewise.
20723 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20724 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20725 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20726 variants and the define architecture can use.
20727 (__ASSUME_CLONE_DEFAULT): Define as default.
20728 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20729 (__ASSUME_CLONE_BACKWARDS): Likewise.
20730 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20731 (__ASSUME_CLONE_BACKWARDS): Likewise.
20732 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20733 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20734
adc95fb0
SP
207352018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20736
4e54d918
SP
20737 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20738
30a81dae
SP
20739 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20740 time.
20741
adc95fb0
SP
20742 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20743 (do_test_limit): Likewise.
20744
20745 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20746 for every implementation.
20747 (do_test): Likewise.
20748
20749 * benchtests/bench-strncmp.c: Convert output to json.
20750
4e9066bc
ST
207512018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20752
20753 * io/futimens.c: Add missing start-of-file descriptive comment.
20754 * io/utime.c: Likewise.
20755 * misc/futimesat.c: Likewise.
20756 * misc/utimes.c: Likewise.
20757 * sysdeps/mach/hurd/futimesat.c: Likewise.
20758 * sysdeps/mach/hurd/utimes.c: Likewise.
20759 * sysdeps/posix/utime.c: Likewise.
20760 * sysdeps/posix/utimes.c: Likewise.
20761 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20762 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20763 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20764 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20765
ec1300cf
ST
207662018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20767
20768 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20769 hurd_futimes.
20770 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20771 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20772 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20773 (__futimens): Move implementation to...
20774 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20775 utime_tvalue_from_tspec): ... new helper functions.
20776 (hurd_futimens): New function.
20777 * sysdeps/mach/hurd/futimesat.c: New file.
20778 * sysdeps/mach/hurd/utimensat.c: New file.
20779
bbe762d1
FC
207802018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20781
20782 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20783 UTIME_OMIT): New macros.
20784 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20785 before reverting to converting time spec to time value and calling
20786 __file_utimes.
20787 * sysdeps/mach/hurd/utime-helper.c: New file.
20788 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20789 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20790 reverting to utime_tvalue_from_tval and __file_utimes.
20791 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20792 (__lutimes): Just call hurd_futimens after lookup.
20793 * sysdeps/mach/hurd/utimes.c: Likewise.
20794
a1ede3a4
ST
207952018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20796
20797 * bits/sigaction.h: Add include guard.
20798 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20799 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20800 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20801 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20802 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20803 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20804 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20805 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20806 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20807
6900d2ca
JM
208082018-03-05 Joseph Myers <joseph@codesourcery.com>
20809
20810 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20811 -Wmaybe-uninitialized for -Os.
20812 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20813 this disabling.
20814
68448be2
AZ
208152018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20816
5226a81f
AZ
20817 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20818 __INO_T_MATCHES_INO64_T is defined.
20819 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20820 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20821 of definition.
20822 * dirent/alphasort64.c: Likewise.
20823 * dirent/scandir.c: Likewise.
20824 * dirent/scandir64-tail.c: Likewise.
20825 * dirent/scandir64.c: Likewise.
20826 * dirent/scandirat.c: Likewise.
20827 * dirent/scandirat64.c: Likewise.
20828 * dirent/versionsort.c: Likewise.
20829 * dirent/versionsort64.c: Likewise.
20830 * include/dirent.h: Likewise.
20831
fbd01e6c
AZ
20832 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20833 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20834 for socketpair endpoint.
20835 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20836 WRITE_BUFFER_SIZE as buffer size for sending socket.
20837 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20838 issue on system where send is implemented with sendto syscall.
20839 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20840 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20841 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20842 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20843
68448be2
AZ
20844 [BZ #21269]
20845 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20846 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20847 sa_restorer for vDSO case.
20848 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20849
eb1ca47e
ST
208502018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20851
20852 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
20853 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20854 * hurd/hurd/ioctl.h: Include <mach/port.h>
20855 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
20856 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20857 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
20858 (headers): Move mach/param.h to bits/mach/param.h.
20859 * sysdeps/mach/i386/mach/param.h: Move file to ...
20860 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20861 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20862 of <mach/param.h>.
3403cb7d
ST
20863 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20864 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20865 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
20866 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20867 trivial, for C++ conformity.
44c6376c 20868 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
20869 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20870 Process mig output through $(migheadersed).
20871 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
20872 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20873 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20874 headers.
ba89615d
ST
20875 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20876 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20877 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20878 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20879 <bits/types/sigset_t.h>.
20880 [!defined __USE_GNU]: Do not #error out.
20881 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20882 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20883 Include <stddef.h> and <bits/types/sigset_t.h>
20884 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20885 instead of sighandler_t.
974393ea
ST
20886 * stdlib/errno.h (error_t): Move definition to...
20887 * bits/types/error_t.h: ... new header.
20888 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20889 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20890 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20891 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20892 * hurd/hurd.h: Include <bits/types/error_t.h>
20893 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20894 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20895 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20896 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20897 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20898 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 20899 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 20900
eaf6753f
AS
209012018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20902
20903 [BZ #22918]
20904 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20905 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20906 * nscd/gai.c (__nss_hosts_database): Readd definition.
20907 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20908 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20909 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20910
4dc23804
JM
209112018-03-02 Joseph Myers <joseph@codesourcery.com>
20912
20913 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20914 (ifunc_one): Likewise.
20915
1c81d55f
DD
209162018-03-01 DJ Delorie <dj@delorie.com>
20917
20918 [BZ #22342]
20919 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20920 key value.
20921
b717c14f
MR
209222018-03-01 Maciej W. Rozycki <macro@mips.com>
20923
20924 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20925 `match_pid' parameter.
20926 (td_ta_thr_iter): Update accordingly.
20927
1efe1358
FW
209282018-03-01 Florian Weimer <fweimer@redhat.com>
20929
20930 * nptl/Makefile (install-lib-ldscripts): Remove.
20931 (install): Remove rule.
20932 ($(inst_libdir)/libpthread.so): Likewise.
20933
a527f09c
MF
209342018-03-01 Mike FABIAN <mfabian@redhat.com>
20935
20936 [BZ #22896]
20937 * localedata/locales/an_ES: update month and day names,
20938 improve d_fmt, improve postal_fmt, add country_post,
20939 add country_isbn
20940
35d660b0
MF
209412018-03-01 Mike FABIAN <mfabian@redhat.com>
20942
20943 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20944 Ukrainian instead of Bulgarian.
20945
1a2f44a8
FW
209462018-03-01 Florian Weimer <fweimer@redhat.com>
20947
20948 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20949 reference.
20950
bd60ce86
FW
209512018-03-01 Florian Weimer <fweimer@redhat.com>
20952
20953 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20954 * nptl/Makefile (routines): Add pthread_atfork.
20955 (static-only-routines): Set to pthread_atfork.
20956 (libpthread-routines): Remove pthread_atfork.
20957 (libpthread-static-only-routines): Remove.
20958 (install): Update comment.
20959 (libpthread.so): Do not install libpthread_nonshared.a.
20960 (tests): Do not link with libpthread_nonshared.a.
20961 (generated): Remove libpthread_nonshared.a.
20962 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20963 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20964 with libpthread_nonshared.a.
20965
000f290f
JM
209662018-02-28 Joseph Myers <joseph@codesourcery.com>
20967
e2bcf6a8
JM
20968 [BZ #22902]
20969 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20970 (libc_feholdexcept_setroundf128): New macro.
20971 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20972
000f290f
JM
20973 [BZ #15105]
20974 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20975 libc_hidden_def.
20976 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20977 * include/inttypes.h: New file.
20978
02f2fead
JM
209792018-02-27 Joseph Myers <joseph@codesourcery.com>
20980
20981 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20982 -Os in two more places.
20983
874c56d7
MF
209842018-02-27 Mike FABIAN <mfabian@redhat.com>
20985
20986 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20987 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20988 be sorted correctly at the moment because of a bug.
20989
15973854
MF
209902018-02-27 Mike FABIAN <mfabian@redhat.com>
20991
20992 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20993 treat ñ as a primary different character, sync the collation
20994 for Spanish with CLDR.
20995 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20996 * localedata/Makefile: Add new test files.
20997 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20998 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20999 collation order.
21000 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
21001 * localedata/am_ET.UTF-8.in: New test file.
21002 * localedata/az_AZ.UTF-8.in: Likewise.
21003 * localedata/be_BY.UTF-8.in: Likewise.
21004 * localedata/ber_DZ.UTF-8.in: Likewise.
21005 * localedata/ber_MA.UTF-8.in: Likewise.
21006 * localedata/bg_BG.UTF-8.in: Likewise.
21007 * localedata/br_FR.UTF-8.in: Likewise.
21008 * localedata/cmn_TW.UTF-8.in: Likewise.
21009 * localedata/crh_UA.UTF-8.in: Likewise.
21010 * localedata/csb_PL.UTF-8.in: Likewise.
21011 * localedata/cv_RU.UTF-8.in: Likewise.
21012 * localedata/cy_GB.UTF-8.in: Likewise.
21013 * localedata/dz_BT.UTF-8.in: Likewise.
21014 * localedata/eo.UTF-8.in: Likewise.
21015 * localedata/es_ES.UTF-8.in: Likewise.
21016 * localedata/fa_IR.UTF-8.in: Likewise.
21017 * localedata/fi_FI.UTF-8.in: Likewise.
21018 * localedata/fil_PH.UTF-8.in: Likewise.
21019 * localedata/fur_IT.UTF-8.in: Likewise.
21020 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
21021 * localedata/ha_NG.UTF-8.in: Likewise.
21022 * localedata/ig_NG.UTF-8.in: Likewise.
21023 * localedata/ik_CA.UTF-8.in: Likewise.
21024 * localedata/kk_KZ.UTF-8.in: Likewise.
21025 * localedata/ku_TR.UTF-8.in: Likewise.
21026 * localedata/ky_KG.UTF-8.in: Likewise.
21027 * localedata/ln_CD.UTF-8.in: Likewise.
21028 * localedata/mi_NZ.UTF-8.in: Likewise.
21029 * localedata/ml_IN.UTF-8.in: Likewise.
21030 * localedata/mn_MN.UTF-8.in: Likewise.
21031 * localedata/mr_IN.UTF-8.in: Likewise.
21032 * localedata/mt_MT.UTF-8.in: Likewise.
21033 * localedata/nb_NO.UTF-8.in: Likewise.
21034 * localedata/om_KE.UTF-8.in: Likewise.
21035 * localedata/os_RU.UTF-8.in: Likewise.
21036 * localedata/ps_AF.UTF-8.in: Likewise.
21037 * localedata/ro_RO.UTF-8.in: Likewise.
21038 * localedata/ru_RU.UTF-8.in: Likewise.
21039 * localedata/sc_IT.UTF-8.in: Likewise.
21040 * localedata/se_NO.UTF-8.in: Likewise.
21041 * localedata/sq_AL.UTF-8.in: Likewise.
21042 * localedata/sv_SE.UTF-8.in: Likewise.
21043 * localedata/szl_PL.UTF-8.in: Likewise.
21044 * localedata/tg_TJ.UTF-8.in: Likewise.
21045 * localedata/tk_TM.UTF-8.in: Likewise.
21046 * localedata/tt_RU.UTF-8.in: Likewise.
21047 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
21048 * localedata/ug_CN.UTF-8.in: Likewise.
21049 * localedata/uz_UZ.UTF-8.in: Likewise.
21050 * localedata/vi_VN.UTF-8.in: Likewise.
21051 * localedata/yi_US.UTF-8.in: Likewise.
21052 * localedata/yo_NG.UTF-8.in: Likewise.
21053 * localedata/zh_CN.UTF-8.in: Likewise.
21054 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
21055 file and fix bugs in the collation.
21056 * localedata/locales/az_AZ: Likewise.
21057 * localedata/locales/be_BY: Likewise.
21058 * localedata/locales/ber_DZ: Likewise.
21059 * localedata/locales/ber_MA: Likewise.
21060 * localedata/locales/bg_BG: Likewise.
21061 * localedata/locales/br_FR: Likewise.
21062 * localedata/locales/br_FR@euro: Likewise.
21063 * localedata/locales/ca_ES: Likewise.
21064 * localedata/locales/cns11643_stroke: Likewise.
21065 * localedata/locales/crh_UA: Likewise.
21066 * localedata/locales/cs_CZ: Likewise.
21067 * localedata/locales/csb_PL: Likewise.
21068 * localedata/locales/cv_RU: Likewise.
21069 * localedata/locales/cy_GB: Likewise.
21070 * localedata/locales/da_DK: Likewise.
21071 * localedata/locales/dz_BT: Likewise.
21072 * localedata/locales/en_CA: Likewise.
21073 * localedata/locales/eo: Likewise.
21074 * localedata/locales/es_CU: Likewise.
21075 * localedata/locales/es_EC: Likewise.
21076 * localedata/locales/es_ES: Likewise.
21077 * localedata/locales/es_US: Likewise.
21078 * localedata/locales/et_EE: Likewise.
21079 * localedata/locales/fa_IR: Likewise.
21080 * localedata/locales/fi_FI: Likewise.
21081 * localedata/locales/fil_PH: Likewise.
21082 * localedata/locales/fur_IT: Likewise.
21083 * localedata/locales/gez_ER@abegede: Likewise.
21084 * localedata/locales/ha_NG: Likewise.
21085 * localedata/locales/hr_HR: Likewise.
21086 * localedata/locales/hsb_DE: Likewise.
21087 * localedata/locales/hu_HU: Likewise.
21088 * localedata/locales/ig_NG: Likewise.
21089 * localedata/locales/ik_CA: Likewise.
21090 * localedata/locales/is_IS: Likewise.
21091 * localedata/locales/iso14651_t1_pinyin: Likewise.
21092 * localedata/locales/kk_KZ: Likewise.
21093 * localedata/locales/ku_TR: Likewise.
21094 * localedata/locales/ky_KG: Likewise.
21095 * localedata/locales/ln_CD: Likewise.
21096 * localedata/locales/lt_LT: Likewise.
21097 * localedata/locales/lv_LV: Likewise.
21098 * localedata/locales/mi_NZ: Likewise.
21099 * localedata/locales/ml_IN: Likewise.
21100 * localedata/locales/mn_MN: Likewise.
21101 * localedata/locales/mr_IN: Likewise.
21102 * localedata/locales/mt_MT: Likewise.
21103 * localedata/locales/nb_NO: Likewise.
21104 * localedata/locales/om_KE: Likewise.
21105 * localedata/locales/os_RU: Likewise.
21106 * localedata/locales/pl_PL: Likewise.
21107 * localedata/locales/ps_AF: Likewise.
21108 * localedata/locales/ro_RO: Likewise.
21109 * localedata/locales/ru_RU: Likewise.
21110 * localedata/locales/ru_UA: Likewise.
21111 * localedata/locales/sc_IT: Likewise.
21112 * localedata/locales/se_NO: Likewise.
21113 * localedata/locales/si_LK: Likewise.
21114 * localedata/locales/sq_AL: Likewise.
21115 * localedata/locales/sv_FI: Likewise.
21116 * localedata/locales/sv_FI@euro: Likewise.
21117 * localedata/locales/sv_SE: Likewise.
21118 * localedata/locales/szl_PL: Likewise.
21119 * localedata/locales/tg_TJ: Likewise.
21120 * localedata/locales/ti_ER: Likewise.
21121 * localedata/locales/tk_TM: Likewise.
21122 * localedata/locales/tl_PH: Likewise.
21123 * localedata/locales/tr_TR: Likewise.
21124 * localedata/locales/tt_RU: Likewise.
21125 * localedata/locales/tt_RU@iqtelif: Likewise.
21126 * localedata/locales/ug_CN: Likewise.
21127 * localedata/locales/uk_UA: Likewise.
21128 * localedata/locales/uz_UZ: Likewise.
21129 * localedata/locales/uz_UZ@cyrillic: Likewise.
21130 * localedata/locales/vi_VN: Likewise.
21131 * localedata/locales/yi_US: Likewise.
21132 * localedata/locales/yo_NG: Likewise.
21133
ce6636b0
MF
211342018-02-27 Mike FABIAN <mfabian@redhat.com>
21135
21136 * gen-locales.mk: Make test files which contain @ modifiers in their
21137 name work.
21138 * localedata/gen-locale.sh: Likewise.
21139
ac3a3b4b
MF
211402018-02-27 Mike FABIAN <mfabian@redhat.com>
21141
21142 * posix/tst-fnmatch.input: Fix results for range expressions
21143 for non C locales.
21144 * posix/tst-regexloc.c: Do not use a range expression for
21145 de_DE.ISO-8859-1 locale.
21146
770cbe14
MF
211472018-02-27 Mike FABIAN <mfabian@redhat.com>
21148
21149 * posix/bug-regex5.c: Fix test case because with the new
21150 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21151 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21152 file.
21153
0fc355d9
MF
211542018-02-27 Mike FABIAN <mfabian@redhat.com>
21155
21156 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21157 downloaded from ISO, the collation order of @-. and space has changed.
21158 Therefore, this test file needed to be adapted.
21159 * localedata/fr_CA.UTF-8.in: Likewise.
21160 * localedata/fr_FR.UTF-8.in: Likewise.
21161 * localedata/uk_UA.UTF-8.in: Likewise.
21162
43f3893f
MF
211632018-02-27 Mike FABIAN <mfabian@redhat.com>
21164
21165 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21166 order of ȥ in the new iso14651_t1_common file.
21167 * localedata/pl_PL.UTF-8.in: Likewise.
21168
df74ef78
MF
211692018-02-27 Mike FABIAN <mfabian@redhat.com>
21170
21171 * localedata/locales/iso14651_t1_common: Add sections for various
21172 scripts to the iso14651_t1_common file.
21173
d5adfbad
MF
211742018-02-27 Mike FABIAN <mfabian@redhat.com>
21175
21176 * localedata/locales/iso14651_t1_common: Use the code point of a
21177 character in the fourth collation level instead of IGNORE for all
21178 entries which have IGNORE on all 4 levels.
21179
5f5a9610
MF
211802018-02-27 Mike FABIAN <mfabian@redhat.com>
21181
21182 * localedata/locales/iso14651_t1_common: Add some convenient collation
21183 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21184 rules similar to those in CLDR.
21185
8a97e900
MF
211862018-02-27 Mike FABIAN <mfabian@redhat.com>
21187
21188 * localedata/locales/iso14651_t1_common: The new version of this
21189 file downloaded from ISO contained several syntax errors which
21190 are fixed by this patch.
21191
bbdd2fba
MF
211922018-02-27 Mike FABIAN <mfabian@redhat.com>
21193
21194 * localedata/locales/iso14651_t1_common: replace all <U.....>
21195 with <U000.....> because glibc understands only 4 digit or 8 digit
21196
1569e551
MF
211972018-02-27 Mike FABIAN <mfabian@redhat.com>
21198
21199 * localedata/locales/iso14651_t1_common: Necessary changes
21200 to make the file downloaded from ISO usable by glibc.
21201
9479b6d5
MF
212022018-02-27 Mike FABIAN <mfabian@redhat.com>
21203
21204 [BZ #14095]
21205 * localedata/locales/iso14651_t1_common: Update file to
21206 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21207
03b540b3
ST
212082018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21209
21210 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21211 of <nptl/pthreadP.h>
21212 (thread_attr_compare): Move function to...
eb937a52 21213 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 21214 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 21215 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 21216
20602c72
JM
212172018-02-26 Joseph Myers <joseph@codesourcery.com>
21218
f54d8f73
JM
21219 * string/strcoll_l.c: Include <libc-diag.h>.
21220 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21221 declarations of seq1 and seq2.
21222
20602c72
JM
21223 [BZ #15105]
21224 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21225 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21226
f5f473a9
DL
212272018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21228
21229 [BZ #22433]
21230 [BZ #22807]
21231 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21232 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21233 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21234 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21235 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21236 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21237
398c6fdd
TMQMF
212382018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21239
21240 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21241 macros used in __ptrace_request.
21242
f5d1f629
L
212432018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 [BZ #22792]
21246 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21247 to $(CC).
21248 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21249 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21250 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21251 <tcb-offsets.h>.
21252
54412d20
JM
212532018-02-23 Joseph Myers <joseph@codesourcery.com>
21254
21255 [BZ #15105]
21256 * ctype/ctype.c (tolower): Use libc_hidden_def.
21257 (toupper): Likewise.
21258 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21259 [!_ISOMAC] (toupper): Likewise.
21260
81be4b5e
MF
212612018-02-23 Mike FABIAN <mfabian@redhat.com>
21262
21263 * localedata/Makefile: Remove --quiet argument when
21264 installing locales
21265
9d5cfd8e
MF
212662018-02-23 Mike FABIAN <mfabian@redhat.com>
21267
21268 [BZ #17438]
21269 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21270 in d_fmt.
21271 * localedata/locales/pt_PT (LC_TIME): likewise
21272
6c7269f3
MF
212732018-02-23 Mike FABIAN <mfabian@redhat.com>
21274
21275 [BZ #22646]
21276 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21277 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21278 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21279
92aabad9
AZ
212802018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21281
4cdc25a4
AZ
21282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21283
27761a10
AZ
21284 * nptl/Makefile (routines): Remove unregister-atfork.
21285 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21286 (fork_handler_alloc): Remove function.
21287 (fork_handlers, fork_handler_init): New variables.
21288 (__fork_lock): Rename to atfork_lock.
21289 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21290 to use a dynamic array to add/remove atfork handlers.
21291 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21292 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21293 Remove declaration.
21294 (fork_handler): Remove next, refcntr, and need_signal member.
21295 (__run_fork_handler_type): New enum.
21296 (__run_fork_handlers): New prototype.
21297 * nptl/register-atfork.c: Remove file.
21298 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21299
92aabad9
AZ
21300 * sysdeps/nptl/nptl-signals.h: Move to ...
21301 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21302 comments.
21303 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21304 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21305 unnecessary check for SIGTIMER.
21306 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21307 remove unnecessary removal of SIGTIMER.
21308 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21309 include-signals.h rename.
21310 * nptl/pthreadP.h: Likewise.
21311 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21312 __is_internal_signal instead of __nptl_is_internal_signal.
21313
6b5c8607 213142018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 21315
7e04eb29 21316 [BZ # 22884]
fdcc6253
AW
21317 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21318 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21319 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21320 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21321
8090720a
DD
213222018-02-22 DJ Delorie <dj@delorie.com>
21323
21324 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21325
6ca24c43
SP
213262018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21327
21328 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21329 do_misaligned, not misaligned8.
21330
e9537ddd
SE
213312018-02-22 Steve Ellcey <sellcey@cavium.com>
21332
21333 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21334 Add memcpy_thunderx2.
21335 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21336 Increment to 4.
21337 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21338 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21339 and IS_THUNDERX2PA checks.
21340 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21341 Use macro to set name appropriately.
21342 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21343 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21344 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21345 New macro.
21346 (IS_THUNDERX2): New macro.
21347
6e336476
SL
213482018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21349
21350 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21351
34957904
ZW
213522018-02-21 Zack Weinberg <zackw@panix.com>
21353
30bfee26
ZW
21354 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21355 Define here, unconditionally.
21356 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21357 * libio/libioP.h: Remove #if 0 blocks.
21358 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21359 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21360 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21361
21362 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21363 Assume weak_alias is always defined.
21364
21365 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21366 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21367 Remove #if 0 and #ifdef TODO blocks.
21368 Assume text_set_element is always defined.
21369
21370 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21371 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21372 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21373
df6c012b
ZW
21374 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21375 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21376 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21377 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21378 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21379 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21380 Reformat bit flags for _flags field to make occupancy clearer.
21381 Update commentary.
21382 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21383 Keep definitions consistent with those in libio/libio.h.
21384
21385 * libio/libio.h (_IO_file_flags): Remove macro.
21386 All uses changed to _flags.
21387
177aad3f
ZW
21388 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21389 (__HAVE_COLUMN, _IO_BE): Don't define.
21390 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21391 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21392 * libio/libioP.h (EOF): Don't define.
21393 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21394 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21395 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21396 testing _IO_UNIFIED_JUMPTABLES.
21397
9964a145
ZW
21398 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21399 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21400 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21401 (_IO_size_t): Delete; all uses changed to size_t.
21402 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21403 (_IO_off_t): Delete; all uses changed to off_t.
21404 (_IO_off64_t): Delete; all uses changed to off64_t.
21405 (_IO_pid_t): Delete; all uses changed to pid_t.
21406 (_IO_uid_t): Delete; all uses changed to uid_t.
21407 (_IO_wint_t): Delete; all uses changed to wint_t.
21408 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21409 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21410 (_IO_cookie_io_functions_t): Delete; all uses changed to
21411 cookie_io_functions_t.
21412 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21413 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21414 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21415 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21416
21417 * libio/iofopncook.c: Remove unnecessary forward declarations.
21418 * libio/iolibio.h: Correct outdated commentary.
21419 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21420 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21421 Remove unnecessary casts.
21422 * stdio-common/getline.c: Use _IO_getdelim directly.
21423 Don't redefine ssize_t.
21424 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21425 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21426 Remove outdated comments.
21427 * stdio-common/vfscanf.c: Don't redefine va_list.
21428
34957904
ZW
21429 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21430 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21431 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21432 which are always true, and __cplusplus, which is always false.
21433
30ac923d
JM
214342018-02-21 Joseph Myers <joseph@codesourcery.com>
21435
039c721a
JM
21436 [BZ #15105]
21437 [BZ #19463]
21438 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21439 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21440 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21441 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21442 libc_hidden_proto.
21443 [!_ISOMAC] (putc_unlocked): Likewise.
21444 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21445 define inline if [__USE_EXTERN_INLINES].
21446 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21447 putc_unlocked.
21448
30ac923d
JM
21449 [BZ #15105]
21450 [BZ #19463]
21451 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21452 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21453 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21454 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21455 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21456 getc_unlocked.
21457 * time/tzfile.c (__tzfile_read): Likewise.
21458
7ec5f946
MF
214592018-02-21 Mike FABIAN <mfabian@redhat.com>
21460
21461 [BZ #22517]
21462 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21463
0d217f40
RJ
214642018-02-21 Rical Jasan <ricaljasan@pacific.net>
21465
21466 * io/fcntl.h: Fix a typo in a comment.
21467
862b4502
RJ
214682018-02-21 Rical Jasan <ricaljasan@pacific.net>
21469
21470 [BZ #22862]
21471 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21472 define _DEFAULT_SOURCE.
21473 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21474
999a6dab
FW
214752018-02-21 Florian Weimer <fweimer@redhat.com>
21476
21477 [BZ #20890]
21478 * elf/cache.c (save_cache): Call fsync on temporary file before
21479 renaming it.
21480 (save_aux_cache): Call fdatasync on temporary file before renaming
21481 it.
21482
52a01100
FW
214832018-02-21 Florian Weimer <fweimer@redhat.com>
21484
21485 [BZ #22787]
21486 * include/caller.h: Remove file.
21487 * elf/dl-caller.c: Likewise.
21488 * elf/Makefile (dl-routines): Remove dl-caller.
21489 (shared-only-routines): Do not add dl-caller.
21490 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21491 __check_caller.
21492 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21493 member.
21494 (dl_open_worker): Do not call __check_caller.
21495 (_dl_open): Do not set caller_dl_open member.
21496 * elf/rtld.c (_rtld_global_ro): Do not initialize
21497 _dl_check_caller member.
21498 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21499 _dl_check_caller member.
21500 (_dl_check_caller): Remove declaration.
21501 * sysdeps/unix/sysv/linux/dl-execstack.c
21502 (_dl_make_stack_executable): Do not call __check_caller.
21503
b5bf62e4
ST
215042018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21505
21506 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 21507 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 21508
e8d190b9
RJ
215092018-02-20 Rical Jasan <ricaljasan@pacific.net>
21510
21511 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21512 description.
21513
6a3962c4
RJ
215142018-02-20 Rical Jasan <ricaljasan@pacific.net>
21515
da81ae64 21516 [BZ #16335]
6a3962c4
RJ
21517 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21518 of 199606L, 200112L, and 200809L.
21519 (_XOPEN_SOURCE): Document special values of 600 and 700.
21520 (_ISOC11_SOURCE): Document macro.
21521 (_ATFILE_SOURCE): Likewise.
21522 (_FORTIFY_SOURCE): Likewise.
21523
ec481ad8
JM
215242018-02-19 Joseph Myers <joseph@codesourcery.com>
21525
21526 [BZ #15105]
21527 [BZ #19463]
21528 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21529 and define as weak alias of __ferror_unlocked. Use
21530 libc_hidden_weak.
21531 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21532 libc_hidden_proto.
21533 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21534 function if [__USE_EXTERN_INLINES].
21535 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21536 ferror_unlocked.
21537
7d15ef84
RJ
215382018-02-19 Rical Jasan <ricaljasan@pacific.net>
21539
21540 [BZ #6889]
21541 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21542
f8d79582
AJ
215432018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21544
21545 [BZ #22818]
21546 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21547 the GLIBC_2.1 version.
21548
56456a2a
AJ
215492018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21550
21551 [BZ #21508]
21552 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21553 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21554 intl/tst-gettext-de.po from po/de.po by removing the
21555 POT-Creation-Date line.
21556 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21557 ../po/de.po.
21558 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21559 ../po/de.po.
21560
13768813
ST
215612018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21562
21563 * mach/Makefile (headers): Add mach/param.h.
21564 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21565 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
21566 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21567 (__ptsname_r): Move implementation to...
21568 (__ptsname_internal): ... new function. Add filling the STP
21569 structure.
13768813 21570
6aca1b61
JDA
215712018-02-17 John David Anglin <danglin@gcc.gnu.org>
21572
21573 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21574 idouble to 1 ULP.
21575
16efad51
RJ
215762018-02-16 Rical Jasan <ricaljasan@pacific.net>
21577
21578 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21579 syntax.
21580
87245073
SL
215812018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21582
21583 * nptl/Makefile (tst-mutex8-ENV): Delete.
21584 * nptl/tst-mutex8.c (check_type):
21585 Add runtime check if mutex will be elided.
21586
7fc03cf3
JM
215872018-02-15 Joseph Myers <joseph@codesourcery.com>
21588
db9881ec
JM
21589 [BZ #20980]
21590 [BZ #21234]
21591 * manual/install.texi (Configuring and compiling): Describe
21592 passing CC and CFLAGS on configure command line, not as
21593 environment variables. Use @code markup on those variables.
21594 Specify what options go in CC and what go in CFLAGS. Note the
21595 requirement to compile with optimization.
21596 * INSTALL: Regenerated.
21597
3785b31c
JM
21598 [BZ #18124]
21599 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21600 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21601 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21602 __sigprocmask instead of sigprocmask.
21603 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21604 Likewise.
21605 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21606 __sigsetjmp and sigprocmask.
21607
055ac2a7
JM
21608 [BZ #15105]
21609 * include/argz.h (argz_next): Use libc_hidden_proto.
21610 (__argz_next): Likewise.
21611 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21612 (argz_next): Use libc_hidden_weak.
21613
e4452a2d
JM
21614 [BZ #15105]
21615 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21616 libc_hidden_proto.
21617 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21618 libc_hidden_def.
21619
499b3153
JM
21620 [BZ #15105]
21621 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21622 libc_hidden_proto.
21623 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21624
7fc03cf3
JM
21625 [BZ #15105]
21626 [BZ #19463]
21627 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21628 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21629 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21630 (__feof_unlocked): New declaration, and inline function if
21631 [__USE_EXTERN_INLINES].
21632 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21633 instead of feof_unlocked.
21634 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21635 * nss/nsswitch.c (nss_parse_file): Likewise.
21636 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21637 Likewise.
21638 * time/getdate.c (__getdate_r): Likewise.
21639 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21640 Define as macro to call __feof_unlocked.
21641
0c8a67a5
WD
216422018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21643
21644 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21645
610ee1fc
WD
216462018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21647
21648 * math/Makefile: Remove mpexp.c and mplog.c
21649 * sysdeps/i386/fpu/mpexp.c: Delete file.
21650 * sysdeps/i386/fpu/mplog.c: Likewise.
21651 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21652 * sysdeps/ia64/fpu/mplog.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21654 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21655 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21656 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21657 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21658 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21659 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21660 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21661 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21662 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21663 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21664 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21665 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21666 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21667 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21668 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21669
8e7196c8
SL
216702018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21671
21672 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21673
4f55ad0b
AZ
216742018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21675
21676 * sysdeps/sh/libm-test-ulps: Update.
21677
261a851c
TMQMF
216782018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21679
21680 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21681 idouble to 1 ULP.
21682
e16deca6
ZW
216832018-02-12 Zack Weinberg <zackw@panix.com>
21684
21685 [BZ #19239]
21686 * posix/sys/types.h: Don't include sys/sysmacros.h.
21687 * misc/sys/sysmacros.h: Remove the conditional deprecation
21688 warnings for the macros defined by this header.
21689
de800d83
SN
216902018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21691
21692 * manual/probes.texi: Remove slowexp probes.
21693 * math/Makefile: Remove slowexp.
21694 * sysdeps/generic/math_private.h (__slowexp): Remove.
21695 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21696 document error bounds.
21697 * sysdeps/i386/fpu/slowexp.c: Remove.
21698 * sysdeps/ia64/fpu/slowexp.c: Remove.
21699 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21700 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21701 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21702 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21703 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21704 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21705 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21706 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21707 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21708 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21709 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21710
c3d466cb
WD
217112018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21712
21713 [BZ #13932]
21714 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21715 * benchtests/pow-inputs: Update comment for slow path cases.
21716 * manual/probes.texi (slowpow_p10): Delete removed probe.
21717 (slowpow_p10): Likewise.
21718 * math/Makefile: Remove halfulp.c and slowpow.c.
21719 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21720 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21721 (__halfulp): Remove.
21722 (__slowpow): Remove.
21723 * sysdeps/i386/fpu/halfulp.c: Delete file.
21724 * sysdeps/i386/fpu/slowpow.c: Likewise.
21725 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21726 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21728 improve comments and add error analysis.
21729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21730 (power1): Remove function:
21731 (log1): Remove error argument, add error analysis.
21732 (my_log2): Remove function.
21733 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21734 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21735 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21736 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21737 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21738 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21739 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21740 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21741 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21742 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21743 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21744 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21745 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21746 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21747
7bb087bd
ST
217482018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21749
21750 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21751 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21752
2fd4bbaa
DL
217532018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21754
21755 [BZ #22433]
21756 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21757 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21758 and PTRACE_SETHBPREGS.
21759
402ecba4
ZW
217602018-02-10 Zack Weinberg <zackw@panix.com>
21761
21762 [BZ #22830]
21763 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21764 correctly.
21765 * malloc/tst-malloc-stats-cancellation.c: New test case.
21766 * malloc/Makefile: Add new test case.
21767
4f5b921e
WD
217682018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21769
21770 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21771
a85b70db
JM
217722018-02-10 Joseph Myers <joseph@codesourcery.com>
21773
d8742dd8
JM
21774 * math/Makefile (libm-narrow-fns): Add add.
21775 (libm-test-funcs-narrow): Likewise.
21776 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21777 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21778 * math/gen-auto-libm-tests.c (test_functions): Add add.
21779 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21780 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21781 (NARROW_ADD_TRIVIAL): Likewise.
21782 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21783 macro.
21784 (__daddl): Likewise.
21785 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21786 dadd.
21787 (CFLAGS-nldbl-dadd.c): New variable.
21788 (CFLAGS-nldbl-fadd.c): Likewise.
21789 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21790 __nldbl_daddl.
21791 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21792 prototype.
21793 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21794 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21795 * math/auto-libm-test-in: Add tests of add.
21796 * math/auto-libm-test-out-narrow-add: New generated file.
21797 * math/libm-test-narrow-add.inc: New file.
21798 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21801 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21802 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21803 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21812 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21813 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21814 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21815 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21817 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21820 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21821 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21822 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21824 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21825 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21826 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21827 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21828 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21829 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21834 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21835 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21836 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21837 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21838 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21839 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21840 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21841 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21842 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21843 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21844
a85b70db
JM
21845 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21846 (f128-pairs): New variable.
21847 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21848 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21849 to CFLAGS.
21850 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21851 Also make tests add $(f128-loader-link) to gnulib-tests.
21852
6a1ff640
DD
218532018-02-09 DJ Delorie <dj@redhat.com>
21854
21855 [BZ #22827]
21856 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21857 64-bit ELF type for 64-bit ELF objects.
21858
bfd47587
JM
218592018-02-09 Joseph Myers <joseph@codesourcery.com>
21860
31958338
JM
21861 * math/libm-test-driver.c (snan_tests_arg): New variable.
21862 * math/libm-test-support.h (snan_tests_arg): New declaration.
21863 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21864
8e554659
JM
21865 * math/Makefile (test-type-pairs): New variable.
21866 (test-type-pairs-f64xf128-yes): Likewise.
21867 (tests): Add test-narrow-macros.
21868 (libm-test-funcs-narrow): New variable.
21869 (libm-test-c-narrow): Likewise.
21870 (generated): Add $(libm-test-c-narrow).
21871 (libm-tests-base-narrow): New variable.
21872 (libm-tests-narrow): Likewise.
21873 (libm-tests): Add $(libm-tests-narrow).
21874 (libm-tests-for-type): Handle $(libm-tests-narrow).
21875 (libm-test-c-narrow-obj): New variable.
21876 ($(libm-test-c-narrow-obj)): New rule.
21877 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21878 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21879 $(o-iterator) to set dependencies and CFLAGS.
21880 * math/gen-auto-libm-tests.c: Document use for narrowing
21881 functions.
21882 (output_for_one_input_case): Take argument NARROW.
21883 (generate_output): Likewise. Update call to
21884 output_for_one_input_case.
21885 (main): Take --narrow option. Update call to generate_output.
21886 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21887 (apply_lit): Update call to _apply_lit.
21888 (apply_arglit): New function.
21889 (parse_args): Handle "a" arguments.
21890 (parse_auto_input): Handle format names using ":".
21891 * math/README.libm-test: Document "a" parameter type.
21892 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21893 (ARG_TYPE_TRUE_MIN): Likewise.
21894 (ARG_TYPE_MAX): Likwise.
21895 (ARG_MIN_EXP): Likewise.
21896 (ARG_MAX_EXP): Likewise.
21897 (ARG_MANT_DIG): Likewise.
21898 (TEST_COND_arg_ibm128): Likewise.
21899 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21900 (TEST_COND_arg_fmt): New macro.
21901 (init_max_error): Update prototype.
21902 * math/libm-test-support.c (test_ibm128): New variable.
21903 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21904 instead of using [TEST_COND_ibm128] conditional.
21905 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21906 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21907 [TEST_NARROW] (TEST_MSG): New definition.
21908 (arg_plus_zero): New macro.
21909 (arg_minus_zero): Likewise.
21910 (arg_plus_infty): Likewise.
21911 (arg_minus_infty): Likewise.
21912 (arg_qnan_value_pl): Likewise.
21913 (arg_qnan_value): Likewise.
21914 (arg_snan_value_pl): Likewise.
21915 (arg_snan_value): Likewise.
21916 (arg_max_value): Likewise.
21917 (arg_min_value): Likewise.
21918 (arg_min_subnorm_value): Likewise.
21919 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21920 (RUN_TEST_LOOP_aa_f): New macro.
21921 (TEST_SUFF): New macro.
21922 (TEST_SUFF_STR): Likewise.
21923 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21924 (TEST_COND_any_ibm128): New macro.
21925 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21926 this_func. Update call to init_max_error.
21927 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21928 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21929 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21930 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21931 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21932 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21933 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21934 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21935 * math/test-math-vector.h (TEST_NARROW): Likewise.
21936 * math/test-arg-double.h: New file.
21937 * math/test-arg-float128.h: Likewise.
21938 * math/test-arg-float32x.h: Likewise.
21939 * math/test-arg-float64.h: Likewise.
21940 * math/test-arg-float64x.h: Likewise.
21941 * math/test-arg-ldouble.h: Likewise.
21942 * math/test-math-narrow.h: Likewise.
21943 * math/test-narrow-macros.c: Likewise.
21944 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21945 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21946 test-narrow-macros-ldbl-64.
21947 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21948
63716ab2
JM
21949 * math/bits/mathcalls-narrow.h: New file.
21950 * include/bits/mathcalls-narrow.h: Likewise.
21951 * math/math-narrow.h: Likewise.
21952 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21953 (__MATHCALL_NARROW_ARGS_2): Likewise.
21954 (__MATHCALL_NARROW_ARGS_3): Likewise.
21955 (__MATHCALL_NARROW_NORMAL): Likewise.
21956 (__MATHCALL_NARROW_REDIR): Likewise.
21957 (__MATHCALL_NARROW): Likewise.
21958 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21959 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21960 defined.
21961 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21962 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21963 (libm-narrow-fns): New variable.
21964 (libm-narrow-types-basic): Likewise.
21965 (libm-narrow-types-ldouble-yes): Likewise.
21966 (libm-narrow-types-float128-yes): Likewise.
21967 (libm-narrow-types-float128-alias-yes): Likewise.
21968 (libm-narrow-types): Likewise.
21969 (libm-routines): Add narrowing functions.
21970 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21971 (libc_feholdexcept_setroundf128): New macro.
21972 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21973 * sysdeps/ieee754/float128/float128_private.h: Include
21974 <math/math-narrow.h>.
21975 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21976 Undefine and redefine.
21977 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21978 (libm_alias_float_ldouble): Undefine and redefine.
21979 (libm_alias_double_ldouble): Likewise.
21980
bfd47587
JM
21981 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21982
3f8d9d58
WD
219832018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21984
21985 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21986 FPCR/FPSR.
21987
1f6676d7
RJ
219882018-02-09 Rical Jasan <ricaljasan@pacific.net>
21989
21990 * manual/creature.texi: Convert references to gcc.info to gcc.
21991 * manual/stdio.texi: Likewise.
21992 * manual/string.texi: Likewise.
21993
d80441dd
JM
219942018-02-07 Joseph Myers <joseph@codesourcery.com>
21995
15081be9
JM
21996 [BZ #17979]
21997 * posix/bits/types.h (__int_least8_t): New typedef.
21998 (__uint_least8_t): Likewise.
21999 (__int_least16_t): Likewise.
22000 (__uint_least16_t): Likewise.
22001 (__int_least32_t): Likewise.
22002 (__uint_least32_t): Likewise.
22003 (__int_least64_t): Likewise.
22004 (__uint_least64_t): Likewise.
22005 * sysdeps/generic/stdint.h (int_least8_t): Define using
22006 __int_least8_t.
22007 (int_least16_t): Define using __int_least16_t.
22008 (int_least32_t): Define using __int_least32_t.
22009 (int_least64_t): Define using __int_least64_t.
22010 (uint_least8_t): Define using __uint_least8_t.
22011 (uint_least16_t): Define using __uint_least16_t.
22012 (uint_least32_t): Define using __uint_least32_t.
22013 (uint_least64_t): Define using __uint_least64_t.
22014 * wcsmbs/uchar.h: Include <bits/types.h>.
22015 (char16_t): Define using __uint_least16_t conditional only on
22016 [!__USE_ISOCXX11].
22017 (char32_t): Define using __uint_least32_t conditional only on
22018 [!__USE_ISOCXX11].
22019 * wcsmbs/test-char-types.c: New file.
22020 * wcsmbs/Makefile (tests): Add test-char-types.
22021
d80441dd
JM
22022 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
22023 version to 4.0.1.
22024
6c6c962a
ZW
220252018-02-07 Zack Weinberg <zackw@panix.com>
22026
63fb8f9a
ZW
22027 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
22028 Delete all contents except for definitions of _G_HAVE_MMAP and
22029 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
22030 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
22031 sysdeps/unix/sysv/linux/_G_config.h. Make same content
22032 change as above.
22033
22034 * libio/libio.h: Don't include bits/_G_config.h here.
22035 Include stddef.h with __need_wchar_t defined. Include
22036 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
22037 Define _IO_iconv_t here, directly.
22038 Don't define _IO_HAVE_ST_BLKSIZE.
22039 * libio/libioP.h: Include _G_config.h here. Move include of
22040 shlib-compat.h up with rest of includes. Simplify conditionals
22041 controlling definition of _IO_JUMPS_OFFSET.
22042
22043 * csu/init.c: Remove always-true #if around entire file.
22044 Don't include stdio.h. Set _IO_stdin_used to hardwired
22045 constant 0x20001, and update commentary.
22046 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
22047 Replace all uses of _G_va_list with __gnuc_va_list.
22048 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
22049 instead of #if _IO_HAVE_ST_BLKSIZE.
22050 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
22051 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
22052 not #ifdef.
22053
6c6c962a
ZW
22054 * libio/bits/libio.h: Move back to libio/libio.h and adjust
22055 multiple-include guard to match.
22056 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
22057 into this file.
22058 Remove preprocessor conditionals that are always true and/or
22059 redundant to other preprocessor conditionals in the same nest.
22060 Include shlib-compat.h unconditionally.
22061 Error out if _LIBC is not defined, or if _ISOMAC is defined,
22062 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
22063 defined after including stdio.h.
22064 Use __BEGIN_DECLS/__END_DECLS.
22065
22066 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
22067 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
22068 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
22069
a4fea3f2
ZW
220702018-02-07 Zack Weinberg <zackw@panix.com>
22071
22072 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
22073 New single-type headers split from _G_config.h.
22074 * libio/bits/types/cookie_io_functions_t.h
22075 * libio/bits/types/struct_FILE.h
22076 New single-type headers split from libio.h.
22077
22078 * libio/Makefile: Install the above new headers. Don't install
22079 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
22080 bits/libio-ldbl.h.
22081 * libio/_G_config.h, libio/libio.h: Delete file.
22082
22083 * libio/bits/libio.h: Remove improper-inclusion guard.
22084 Include stdio.h and don't repeat anything that it does.
22085 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
22086 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
22087 __io_read_fn as cookie_read_function_t,
22088 __io_write_fn as cookie_write_function_t,
22089 __io_seek_fn as cookie_seek_function_t,
22090 __io_close_fn as cookie_close_function_t,
22091 and _IO_cookie_io_functions_t as cookie_io_functions_t.
22092 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
22093 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 22094 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
22095 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
22096 and _IO_ferror_unlocked.
22097 Move prototypes of __uflow and __overflow...
22098
22099 * libio/stdio.h: ...here. Don't include bits/libio.h.
22100 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 22101 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
22102 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
22103 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
22104 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
22105 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
22106 cookie_io_functions_t, not _IO_cookie_io_functions_t;
22107 __ssize_t, not _IO_ssize_t. Unconditionally define
22108 BUFSIZ as 8192 and EOF as (-1).
22109
22110 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
22111 macros from bits/types/struct_FILE.h instead of _IO_* macros
22112 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
22113 instead of _IO_ssize_t.
22114 * libio/bits/stdio2.h: Similarly.
22115
22116 * libio/iolibio.h: Add multiple-include guard.
22117 Include bits/libio.h after stdio.h.
22118 * libio/libioP.h: Add multiple-include guard.
22119 Include stdio.h and bits/libio.h before iolibio.h.
22120
6c6c962a 22121 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
22122 * include/bits/types/cookie_io_functions_t.h
22123 * include/bits/types/struct_FILE.h: New wrappers.
22124
22125 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
22126 Get definitions of _G_fpos_t and _G_fpos64_t from
22127 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22128 respectively. Remove improper-inclusion guards.
a4fea3f2 22129
6c6c962a 22130 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 22131 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 22132 libio.h and _G_config.h.
a4fea3f2 22133
ce999220
JM
221342018-02-07 Joseph Myers <joseph@codesourcery.com>
22135
8b4a1182
JM
22136 [BZ #15105]
22137 [BZ #19463]
22138 * include/sys/sysmacros.h [!_ISOMAC]
22139 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22140 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22141 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22142 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22143 libc_hidden_proto.
22144 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22145 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22146 Likewise.
22147 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22148 Undefine and redefine to add use __gnu_dev_ prefix.
22149 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22150 Likewise.
22151 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22152 and define as hidden inline function.
22153 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22154 Likewise.
22155 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22156 Likewise.
22157 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22158 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22159 (gnu_dev_minor): Likewise.
22160 (gnu_dev_makedev): Likewise.
22161 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22162 makedev.
22163 * posix/wordexp.c (exec_comm_child): Likewise.
22164 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22165 instead of minor and __gnu_dev_major instead of major.
22166 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22167 __gnu_dev_major instead of major.
22168 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22169 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22170 instead of gnu_dev_minor.
22171 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22172 (SLAVE_P): Likewise.
22173 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22174 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22175 instead of major.
22176
ce999220
JM
22177 [BZ #21313]
22178 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22179 in another place.
22180 * locale/weightwc.h (findidx): Likewise.
22181
b7c83ca3
WD
221822018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22183
22184 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22185 (slowlog_inexact): Likewise
22186 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22187 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22188
388ff7bd
IG
221892018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22190
22191 [BZ #22797]
22192 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22193 missing second underscore to parameter name.
22194
663e7d78
JM
221952018-02-06 Joseph Myers <joseph@codesourcery.com>
22196
0d40d0ec
JM
22197 [BZ #14508]
22198 [BZ #15512]
22199 [BZ #17082]
22200 [BZ #20530]
22201 * bits/byteswap.h: Update file comment. Do not include
22202 <bits/byteswap-16.h>.
22203 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22204 constant.
22205 (__bswap_16): Define as inline function.
22206 (__bswap_constant_32): Reformat definition.
22207 (__bswap_32): Always define as inline function, not macro, using
22208 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22209 otherwise __bswap_constant_32.
22210 (__bswap_constant_64): Reformat definition. Do not use
22211 __extension__ here.
22212 (__bswap_64): Always define as inline function, not macro. Use
22213 __extension__ on function definition. Use __builtin_bswap64 if
22214 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22215 * string/test-endian-file-scope.c: New file.
22216 * string/test-endian-sign-conversion.c: Likewise.
22217 * string/Makefile (headers): Remove bits/byteswap-16.h.
22218 (tests): Add test-endian-file-scope and
22219 test-endian-sign-conversion.
22220 (CFLAGS-test-endian-sign-conversion.c): New variable.
22221 * bits/byteswap-16.h: Remove file.
22222 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22223 * sysdeps/ia64/bits/byteswap.h: Likewise.
22224 * sysdeps/m68k/bits/byteswap.h: Likewise.
22225 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22226 * sysdeps/s390/bits/byteswap.h: Likewise.
22227 * sysdeps/tile/bits/byteswap.h: Likewise.
22228 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22229 * sysdeps/x86/bits/byteswap.h: Likewise.
22230
383e87c9
JM
22231 [BZ #17721]
22232 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22233 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22234 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22235 199901L] (__restrict): Define to restrict.
22236
d92c2759
JM
22237 [BZ #19667]
22238 * string/testcopy.c: Include <support/support.h>. Do not include
22239 <malloc.h>. Use <support/test-driver.c>.
22240 (main): Rename to do_test. Make static. Use xmalloc instead of
22241 malloc.
22242
625fb764
JM
22243 [BZ #13575]
22244 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22245 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22246 (SSIZE_MAX): Define to INT_MAX.
22247 * posix/test-ssize-max.c: New file.
22248 * posix/Makefile (tests): Add test-ssize-max.
22249
02325d6c
JM
22250 [BZ #19668]
22251 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22252 <support/support.h>. Do not include <malloc.h>.
22253 (query_auxv): Use xmalloc instead of malloc.
22254
663e7d78
JM
22255 [BZ #14553]
22256 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22257 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22258 instead of loff_t.
22259
6b5c8607 222602018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
22261
22262 [BZ #18023]
22263 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22264 Use scratch_buffer instead of extend_alloca.
22265
de6da571
ZW
222662018-02-06 Zack Weinberg <zackw@panix.com>
22267
26c07172
ZW
22268 * libio/stdio.h: Don't define getc or putc as macros.
22269 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22270 not _IO_getc and _IO_putc.
22271
de6da571
ZW
22272 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22273 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22274
92669d6e
JM
222752018-02-06 Joseph Myers <joseph@codesourcery.com>
22276
c2b84df9
JM
22277 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22278 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22279
41376f8c
JM
22280 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22281
d28bf648
JM
22282 [BZ #14890]
22283 * elf/elf.h (NT_PRFPREG): New macro.
22284 (NT_S390_VXRS_LOW): Likewise.
22285 (NT_S390_VXRS_HIGH): Likewise.
22286 (NT_S390_GS_CB): Likewise.
22287 (NT_S390_GS_BC): Likewise.
22288 (NT_S390_RI_CB): Likewise.
22289
e76def72
JM
22290 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22291 (MAP_SYNC): New macro.
22292 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22293 Likewise.
22294 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22295 (MAP_SYNC): Likewise.
22296 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22297 (MAP_SYNC): Likewise.
22298 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22299 (MAP_SYNC): Likewise.
22300 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22301 (MAP_SYNC): Likewise.
22302 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22303 (MAP_SYNC): Likewise.
22304 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22305 (MAP_SYNC): Likewise.
22306 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22307 Likewise.
22308 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22309 Likewise.
22310
92669d6e
JM
22311 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22312 (MAP_SHARED_VALIDATE): New macro.
22313 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22314 (MAP_SHARED_VALIDATE): Likewise.
22315
6a5cac49
L
223162018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22317
22318 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22319 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22320 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22321
b44e0dfb
L
223222018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22323
22324 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22325 (DT_NUM): Updated to 35.
22326
f886c16c
L
223272018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22328
22329 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22330 __builtin_expect with __glibc_likely and __glibc_unlikely.
22331 (elf_machine_rela): Likewise.
22332 (elf_machine_lazy_rel): Likewise.
22333
06fbebff
L
223342018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22335
22336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 22337 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
22338 (elf_machine_lazy_rel): Likewise.
22339
371b220f
L
223402018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 [BZ #22638]
22343 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22344 SHARED.
65805016 22345 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 22346
f649a1b8
AS
223472018-02-05 Andreas Schwab <schwab@suse.de>
22348
22349 [BZ #22761]
22350 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22351 string.
22352
9fdb340e
ST
223532018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22354
22355 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22356 not check against PTHREAD_STACK_MIN.
22357
09e56b9e
SM
223582018-02-02 Sean McKean <smckean83@gmail.com>
22359
22360 [BZ #22735]
22361 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22362
d4b4a00a
FW
223632018-02-02 Florian Weimer <fweimer@redhat.com>
22364
22365 [BZ #22753]
22366 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22367 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22368 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22369 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22370 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22371 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22372 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22373 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22374 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22375 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22376 * misc/tst-preadvwritev2.c (do_test): Call it.
22377 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22378
3dfcbfa1
SP
223792018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22380
84c94d2f
SP
22381 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22382
96e6a716
SP
22383 * benchtests/bench-memcmp.c: Print json instead of plain text.
22384
3dfcbfa1
SP
22385 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22386 every test run.
22387
049375e2
JM
223882018-02-01 Joseph Myers <joseph@codesourcery.com>
22389
39f898c6
JM
22390 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22391 version to 4.15.
22392 (s390_sthyi): New syscall.
22393
6f9a3dd8
JM
22394 * sysdeps/generic/ldbl-classify-compat.h: New file.
22395 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22396 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22397 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22398 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22399 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22400 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22401 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22402 <ldbl-classify-compat.h>.
22403 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22404 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22405 <ldbl-classify-compat.h>.
22406 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22407 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22408 <ldbl-classify-compat.h>.
22409 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22410 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22411 <ldbl-classify-compat.h>.
22412 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22414 <ldbl-classify-compat.h>.
22415 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22417 <ldbl-classify-compat.h>.
22418 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22419 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22420 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22421 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22422 * sysdeps/microblaze/math_private.h: Likewise.
22423 * sysdeps/nios2/math_private.h: Likewise.
22424 * sysdeps/sh/math_private.h: Likewise.
22425
eb65a3d5
JM
22426 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22427 * sysdeps/m68k/coldfire/math_private.h: ... here.
22428 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22429 * sysdeps/tile/math_private.h: Likewise.
22430 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22431 Remove macro.
22432 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22433 Likewise.
22434
8a6bb1d0
JM
22435 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22436 Remove macro.
22437 (libc_fetestexcept): Likewise.
22438 (libc_feupdateenv_test): Likewise.
22439 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22440 (libc_fetestexcept): Likewise.
22441 (libc_feupdateenv_test): Likewise.
22442 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22443 (libc_fetestexcept): Likewise.
22444 (libc_feupdateenv_test): Likewise.
22445 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22446 (libc_fetestexcept): Likewise.
22447 (libc_feupdateenv_test): Likewise.
22448
ae1fcb7b
JM
22449 * sysdeps/generic/math_private.h
22450 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22451 New inline function.
22452 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22453 Likewise.
22454
b1c347e2
JM
22455 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22456 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22457 * sysdeps/generic/math_private.h
22458 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22459 inline function.
22460 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22461 Likewise.
22462 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22463 Likewise.
22464 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22465 Likewise.
22466 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22467 Likewise.
22468 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22469 Likewise.
22470 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22471 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22472 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22473 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22474 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22475 (__fegetenv): Likewise.
22476 (fesetenv): Likewise.
22477 (__fesetenv): Likewise.
22478 (feupdateenv): Likewise.
22479 (__feupdateenv): Likewise.
22480 (fegetround): Likewise.
22481 (__fegetround): Likewise.
22482 (fesetround): Likewise.
22483 (__fesetround): Likewise.
22484
d23a4962
JM
22485 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22486 (feraiseexcept): New macro.
22487 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22488 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22489 Remove macro.
22490 (__feraiseexcept): Likewise.
22491 (feclearexcept): Likewise.
22492 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22493 (__feraiseexcept): Likewise.
22494 (feclearexcept): Likewise.
22495 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22496 (__feraiseexcept): Likewise.
22497 (feclearexcept): Likewise.
22498 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22499 (__feraiseexcept): Likewise.
22500 (feclearexcept): Likewise.
22501 (fetestexcept): Likewise.
22502
5f167950
JM
22503 * sysdeps/m68k/coldfire/math-tests.h: New file.
22504
ccc9035a
JM
22505 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22506 * sysdeps/m68k/bits/fenv.h: ... here.
22507 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22508 not define.
22509 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22510 Likewise.
22511 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22512 Likewise.
22513 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22514 Likewise.
22515 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22516 Likewise.
22517 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22518 Define to 0.
22519 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22520 (__FE_UNDEFINED): New enum constant.
22521 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22522 Do not define.
22523 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22524 Likewise.
22525 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22526 Likewise.
22527 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22528 to match generic bits/fenv.h.
22529 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22530 Do not define.
22531
049375e2
JM
22532 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22533 packed on bits.
22534 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22535 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22536 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22537 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22538
f1d73681
CD
225392018-02-01 Carlos O'Donell <carlos@redhat.com>
22540 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22541 Joseph Myers <joseph@codesourcery.com>
22542
22543 [BZ #21314]
22544 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22545 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22546 computation using c.
22547 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22548 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22549 computation using c.
22550
242cbc90
DL
225512018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22552
086ee48e
DL
22553 * version.h (RELEASE): Set to "development".
22554 (VERSION): Set to "2.27.9000".
22555 * NEWS (2.28): New section.
22556
23158b08
DL
22557 * version.h (RELEASE): Set to "stable".
22558 (VERSION): Set to "2.27".
22559 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22560
242cbc90
DL
22561 * NEWS: Add the list of bugs fixed in 2.27.
22562
673e2305
AZ
225632018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22564
22565 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22566 against PTHREAD_STACK_MIN.
22567
ced64e01
DL
225682018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22569
22570 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22571 New entries.
ab74d59f 22572 (Rafał Lużyński, Andreas Schwab): Update.
ced64e01 22573
ab74d59f 225742018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
c10c9a5e
RL
22575
22576 [BZ #10871]
22577 * NEWS: List the languages which actually use the alternative
22578 months feature in this release. Also explain that "alt_mon" and
22579 "ab_alt_mon" are optional.
22580
650ba77a
IM
225812018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22582
22583 [BZ #22765]
22584 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22585
93493119
DL
225862018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22587
22588 * manual/install.texi (Tools for Compilation): Update the newest
22589 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22590 * INSTALL: Regenerated.
22591
363e4519 225922018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
22593
22594 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22595 instead of __builtin_expect.
22596
d7536874
FW
225972018-01-30 Florian Weimer <fweimer@redhat.com>
22598
22599 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22600 data.
22601 * nss/tst-nss-getpwent.c (do_test): Likewise.
22602
ab74d59f 226032018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
9a1b267d
RL
22604
22605 [BZ #10871]
22606 * localedata/locales/hr_HR (mon): Rename to...
22607 (alt_mon): This.
22608 (mon): Import from CLDR (genitive case).
22609 (d_t_fmt): Update the comment.
22610
9a179328
AS
226112018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22612
22613 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22614 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22615 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22616
e01e0ddc
ST
226172018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22618
22619 * mach/Versions: Fix version when __mach_host_self_ was added.
22620 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22621 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22622 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22623 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22624 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22625 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22626 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22627 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22628 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22629 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22630 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22631 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
22632 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22633 || to respect codestyle.
2aadb705
ST
22634 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22635 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
22636 * malloc/malloc.c: Include <assert.h>.
22637 (assert): Do not define.
22638 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
22639 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22640 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 22641 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 22642 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 22643
521877e1
PD
226442018-01-29 Darius Rad <darius@bluespec.com>
22645
22646 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22647
532cf290
PD
226482018-01-29 Palmer Dabbelt <palmer@sifive.com>
22649
22650 * sysdeps/init_array/crti.S (.section .init_array): Add
22651 PREINIT_FUNCTION when defined.
40ca951b 22652 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 22653 * config.h.in: Regenerate.
ba9e25a6
PD
22654 * manual/platform.texi: Add RISC-V documenation for
22655 __riscv_flush_icache.
c776fa11
PD
22656 * sysdeps/riscv/__longjmp.S: New file.
22657 * sysdeps/riscv/backtrace.c: Likewise.
22658 * sysdeps/riscv/bits/endian.h: Likewise.
22659 * sysdeps/riscv/bits/setjmp.h: Likewise.
22660 * sysdeps/riscv/bits/wordsize.h: Likewise.
22661 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22662 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22663 * sysdeps/riscv/dl-trampoline.S: Likewise.
22664 * sysdeps/riscv/gccframe.h: Likewise.
22665 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22666 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22667 * sysdeps/riscv/machine-gmon.h: Likewise.
22668 * sysdeps/riscv/memusage.h: Likewise.
22669 * sysdeps/riscv/setjmp.S: Likewise.
22670 * sysdeps/riscv/sys/asm.h: Likewise.
22671 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
22672 * sysdeps/riscv/dl-tls.h: New file.
22673 * sysdeps/riscv/libc-tls.c: Likewise.
22674 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22675 * sysdeps/riscv/nptl/tls.h: Likewise.
22676 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
22677 * sysdeps/riscv/bits/fenv.h: New file.
22678 * sysdeps/riscv/e_sqrtl.c: Likewise.
22679 * sysdeps/riscv/fpu_control.h: Likewise.
22680 * sysdeps/riscv/math-tests.h: Likewise.
22681 * sysdeps/riscv/nofpu/Implies: Likewise.
22682 * sysdeps/riscv/sfp-machine.h: Likewise.
22683 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
22684 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22685 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22686 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22687 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22688 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22689 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22690 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22691 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22692 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22693 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22694 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22695 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22696 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22697 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22698 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22699 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22700 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22701 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22702 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22703 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22704 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22705 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22706 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22707 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22708 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22709 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22710 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22711 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22712 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22713 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22714 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22715 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22716 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22717 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22718 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22719 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22720 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22721 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22722 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22723 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22724 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22725 * sysdeps/riscv/rvf/math_private.h: Likewise.
22726 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22727 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22728 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22729 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22730 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22731 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22732 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22733 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22734 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22735 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22736 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22737 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22738 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22739 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22740 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22741 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
22742 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22743 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22744 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22745 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
22746 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22747 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22748 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22749 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22750 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22751 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22752 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22753 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22754 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
22755 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22756 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22757 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22758 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22759 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22760 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22761 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22762 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22763 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22764 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22765 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22766 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22767 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22768 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22769 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22770 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22771 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22772 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22773 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22774 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22775 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22776 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
22777 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22778 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22779 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
22780 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22781 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22782 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22783 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22784 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22785 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22786 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22787 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22788 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22789 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22790 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22791 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22792 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22793 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
22794 * sysdeps/riscv/Implies: New file.
22795 * sysdeps/riscv/Makefile: Likewise.
22796 * sysdeps/riscv/configure: Likewise.
22797 * sysdeps/riscv/configure.ac: Likewise.
22798 * sysdeps/riscv/nptl/Makefile: Likewise.
22799 * sysdeps/riscv/preconfigure: Likewise.
22800 * sysdeps/riscv/rv64/Implies-after: Likewise.
22801 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22802 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22803 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22804 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22805 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22806 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22807 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22808 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22809 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22810 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22811 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
22812 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22813 (Config): Likewise.
532cf290 22814
cdd14619
FW
228152018-01-29 Florian Weimer <fweimer@redhat.com>
22816
22817 [BZ #22701]
22818 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22819 libnsl_hidden_proto.
22820 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22821 libnsl_hidden_proto.
22822 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22823 * nis/Makefile (libnsl-routines): Add nss-default only for
22824 build-obsolete-nsl.
22825 * nis/nis_defaults.c (__nis_default_ttl): Add
22826 libnsl_hidden_nolink_def.
22827 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22828 declaration.
22829 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22830 * nis/ypclnt.c (yp_maplist): Likewise.
22831
b7ccb5de
RN
228322018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22833
22834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22835 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22836
522623e4
JM
228372018-01-29 Joseph Myers <joseph@codesourcery.com>
22838
e3aa6999
JM
22839 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22840 clean -dxfq for git updates when replacing sources.
22841
088de7d0
JM
22842 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22843 --disable-libcilkrts unconditionally, not just for the final GCC
22844 build for Hurd.
22845
522623e4
JM
22846 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22847 version to 4.15.
22848
ab74d59f 228492018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
8b406f87
RL
22850
22851 [BZ #10871]
22852 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22853 case).
22854
ab74d59f 228552018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
105e90bd
RL
22856
22857 [BZ #10871]
22858 * localedata/locales/be_BY (mon): Rename to...
22859 (alt_mon): This, then synchronize with CLDR (nominative case).
22860 (abmon): Rename to...
22861 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22862 (mon): Import from CLDR (genitive case).
22863 (abmon): Likewise.
22864 * localedata/locales/be_BY@latin (mon): Rename to...
22865 (alt_mon): This.
22866 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22867
22868 * localedata/locales/be_BY@latin (lang_name): Reworded to
22869 "biełaruskaja mova".
22870
ab74d59f 228712018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
561cb414
RL
22872
22873 [BZ #10871]
22874 * localedata/locales/el_CY (mon): Renamed to...
22875 (alt_mon): This.
22876 (mon): Import from CLDR (genitive case).
22877 * localedata/locales/el_GR: Likewise.
22878
ab74d59f 228792018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
f7bdf30d
RL
22880
22881 [BZ #10871]
22882 * localedata/locales/ru_RU (mon): Rename to...
22883 (alt_mon): This.
22884 (abmon): Rename to...
22885 (ab_alt_mon): This.
22886 (mon): Import from CLDR (genitive case).
22887 (abmon): Copy from the old content except the 5th month which is
22888 now in the genitive case, even when abbreviated.
22889 * localedata/locales/ru_UA: Likewise.
22890 * time/tst-strptime.c (day_tests): Add an actual example of
22891 a difference between %b and %Ob in Russian.
22892
85285a0c
ST
228932018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22894
22895 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
22896 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22897 a `c' variable.
3538a4b6 22898 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
22899 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22900 <sys/wait.h>, <time.h>, <sys/uio.h>.
22901 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 22902 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
22903 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22904 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22905 return 0.
05ebfe87
ST
22906 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22907 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
22908 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22909 instead of void *.
22910 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22911 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
22912 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22913 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
22914 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22915 and make them the default for now.
903d3633
ST
22916 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22917 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
22918 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22919 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22920 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22921 MACH_IPC_COMPAT.
06fac9f5
ST
22922 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22923 __task_terminate would ever return successfully.
f8177753
ST
22924 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22925 to global scope.
41cdb1eb
ST
22926 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22927 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
22928 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22929 critical section to make code simpler and avoid warning.
22930 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22931 critical section to make code simpler and avoid warning.
844bf921
ST
22932 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22933 const char * instead of char *.
f8bee46c
ST
22934 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22935 __hurd_file_name_split, hurd_file_name_split,
22936 __hurd_directory_name_split, hurd_directory_name_split,
22937 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22938 hurd_file_name_path_lookup): Make lookup function parameter take a
22939 const char *name instead of char *name.
22940 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22941 __hurd_directory_name_split): Likewise.
22942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22943 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
22944 * sysdeps/mach/hurd/check_native.c: New file.
22945 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
22946 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22947 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
22948 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22949 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
22950 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22951 (do_test_bz20181): Rename accordingly.
22952 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
22953 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22954 <sys/mount.h>.
28f6186f
ST
22955 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22956 version only if __USE_EXTERN_INLINES is defined.
22957 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22958 __hurd_sockfail): Likewise.
22959 (_hurd_fd_get): Always declare functions, and provide inline versions
22960 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22961 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22962 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22963 _hurd_port_set): Always declare functions, and provide inline versions
22964 only if __USE_EXTERN_INLINES and _LIBC are defined and
22965 IS_IN(libc).
22966 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22967 _hurd_critical_section_unlock): Likewise.
22968 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22969 * __hurd_threadvar_location): Likewise.
22970 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22971 _hurd_userlink_clear): Likewise.
22972 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22973 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22974 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22975 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22976 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22977 __spin_lock_locked): Likewise.
22978 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22979 __spin_lock_locked): Likewise.
22980 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22981 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22982 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22983 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22984 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
22985 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22986 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
22987 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22988 check size against PTHREAD_STACK_MIN.
625ba81e
ST
22989 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22990 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
22991 * mach/Makefile (user-interfaces): Add mach/gnumach.
22992 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22993 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
22994 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22995 instead of invalid -1.
1f89ac71
ST
22996 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22997 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22998 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22999 <net/ppp_defs.h>.
85285a0c 23000
1fd1e27c 230012018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
23002
23003 * hurd/fcntl-internal.h: New file.
23004
3854c5a8
JC
230052018-01-27 James Clarke <jrtc27@jrtc27.com>
23006
7e23a7dd
JC
23007 * sysdeps/hppa/fpu/libm-test-ulps: Update.
23008
3854c5a8
JC
23009 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23010
5503f413
AS
230112018-01-26 Andreas Schwab <schwab@linux-m68k.org>
23012
23013 [BZ #22701]
23014 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
23015 Build only shared objects.
23016
caaf7804
CD
230172018-01-26 Carlos O'Donell <carlos@redhat.com>
23018
23019 * README: Update for hppa.
23020
1cbf818d
PM
230212018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23022
caaf7804
CD
23023 * sysdeps/sparc/fpu/libm-test-ulps: Update
23024 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 23025
caaf7804 230262018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
23027
23028 Revert:
23029
23030 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23031
23032 [BZ #22563]
23033 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23034 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23035 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23036 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23037 to feature_1.
23038
23039 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23040
23041 [BZ #22563]
23042 * bits/types/__cancel_jmp_buf_tag.h: New file.
23043 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23044 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23045 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23046 * nptl/Makefile (headers): Add
23047 bits/types/__cancel_jmp_buf_tag.h.
23048 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23049 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23050 * sysdeps/nptl/pthread.h: Include
23051 <bits/types/__cancel_jmp_buf_tag.h>.
23052 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23053 __cancel_jmp_buf.
23054 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23055
ab74d59f 230562018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
65f6c94e
RL
23057
23058 [BZ #10871]
23059 * localedata/locales/uk_UA (mon): Renamed to...
23060 (alt_mon): This.
23061 (alt_digits): "0" removed and then renamed to...
23062 (mon): This.
23063 (date_fmt): Definition changed not to use the alternative
23064 digits hack.
23065
fb58aac5
PD
230662018-01-25 Palmer Dabbelt <palmer@sifive.com>
23067
23068 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
23069 FLAG_RISCV_FLOAT_ABI_DOUBLE.
23070 * elf/elf.h (EF_RISCV_RVC): New define.
23071 (EF_RISCV_FLOAT_ABI): Likewise.
23072 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
23073 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
23074 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23075 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
23076 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23077 define.
23078 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
23079
128c43a2
AS
230802018-01-25 Andreas Schwab <schwab@suse.de>
23081
23082 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
23083 single quotes.
23084 * sysdeps/gnu/configure: Regenerate.
23085 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23086 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23088 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23089 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23090 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
23091 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23092 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23093
f9015003
ST
230942018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
23095
48130690 23096 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 23097 URL, and run autoconf, make it the default for now.
f9015003 23098
91b2cffa
JM
230992018-01-24 Joseph Myers <joseph@codesourcery.com>
23100
3005b705
JM
23101 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23102 soft-float ColdFire configuration.
23103
69231fab
JM
23104 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
23105 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
23106 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
23107
d4c7e1d0
JM
23108 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
23109 MicroBlaze file.
23110
0cfe5be5
JM
23111 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
23112 ....
23113 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
23114 ... here.
23115 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
23116 New file.
23117
91b2cffa
JM
23118 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23119 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23120 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23121 file.
23122
c739e191
SN
231232018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23124
23125 [BZ #22742]
23126 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23127 Rename to __reserved and add comment.
23128 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23129 Rename to __reserved.
23130
394b5bac
JM
231312018-01-24 Joseph Myers <joseph@codesourcery.com>
23132
23133 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23134 i686-gnu configurations.
23135 (Context.run_builds): Include mig, gnumach and hurd in components
23136 considered.
23137 (Context.checkout): Add mig, gnumach and hurd to components.
23138 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23139 hurd.
23140 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23141 (Config.build): Install gnumach headers, build mig and install
23142 hurd headers for 'gnu' OS.
23143 (Config.install_gnumach_headers): New function.
23144 (Config.install_hurd_headers): Likewise.
23145 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23146 when building for 'gnu' OS.
23147
28c3f14f
TK
231482018-01-23 Tobias Klauser <tklauser@distanz.ch>
23149
23150 * manual/tunables.texi (Hardware Capability Tunables): Fix
23151 spelling.
23152
0f5e2da1
RJ
231532018-01-22 Rical Jasan <ricaljasan@pacific.net>
23154
23155 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23156 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23157 (ALTMON_11, ALTMON_12): Improve documentation.
23158 * manual/time.texi (strftime): Likewise.
23159
ab74d59f 231602018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
7817b14a
RL
23161
23162 [BZ #10871]
23163 * localedata/locales/pl_PL: Alternative month names added,
23164 primary month names are genitive now.
23165 * time/tst-strptime.c (day_tests): Actually use a genitive case
23166 of a month name in Polish language.
23167
ab74d59f 231682018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22390764
RL
23169
23170 [BZ #10871]
23171 * manual/locale.texi: Document ALTMON_1..12 constants for
23172 nl_langinfo. Specify when to use ALTMON instead of MON.
23173 * manual/time.texi (strftime, strptime): Document GNU extension
23174 permitting O modifier with %B and %b. Specify when to use
23175 %OB instead of %B.
23176
ab74d59f 231772018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
761a585c
RL
23178
23179 [BZ #10871]
23180 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23181 names, define them as the same as abbreviated month names explicitly.
23182 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23183 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23184 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23185 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23186 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23187 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23188 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23189 _NL_WABALTMON_12): New enum constants.
23190 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23191 wab_alt_mon, and ab_alt_mon_defined members.
23192 (time_output): Output ab_alt_mon and wab_alt_mon members.
23193 (time_read): Read them, initialize them as copies of abmon and wabmon
23194 respectively if they are missing, initialize ab_alt_mon_defined.
23195 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23196 * locale/programs/locfile-kw.h: Regenerate.
23197 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23198 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23199 and ru_RU.UTF-8.
23200 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23201 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23202 (__strftime_internal): Handle %Ob and %Oh formats.
23203 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23204 (__strptime_internal): Handle %Ob and %Oh formats.
23205 * time/tst-strptime.c (day_tests): Add more tests to parse different
23206 forms of month names including the new %Ob format specifier.
23207
ab74d59f 232082018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
95cb863a
RL
23209
23210 [BZ #10871]
23211 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23212 define them as the same as primary full month names explicitly.
23213 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23214 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23215 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23216 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23217 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23218 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23219 _NL_WALTMON_12): New enum constants.
23220 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23221 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23222 macros.
23223 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23224 walt_mon, and alt_mon_defined members.
23225 (time_output): Output alt_mon and walt_mon members.
23226 (time_read): Read them, initialize them as copies of mon and wmon
23227 respectively if they are missing, initialize alt_mon_defined.
23228 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23229 * locale/programs/locfile-kw.h: Regenerate.
23230 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23231 * localedata/tst-langinfo.c (map): Add tests for the new constants
23232 ALTMON_1 .. ALTMON_12.
23233 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23234 and pl_PL.UTF-8.
23235 * time/strftime_l.c (f_altmonth): New macro.
23236 (__strftime_internal): Handle %OB format.
23237 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23238 (__strptime_internal): Handle %OB format.
23239 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23240 of month names including the new %OB format specifier.
23241
4612268a
TMQMF
232422018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23243
23244 [BZ #22685]
23245 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23246 from ABORT_TRANSACTION.
23247 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23248 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23249 ABORT_TRANSACTION_IMPL): Likewise.
23250 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23251 Linux code, but remove the code that aborts transactions.
23252
64f63cb4
ST
232532018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23254
23255 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23256
ab74d59f 232572018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
32ac6e92
RL
23258
23259 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23260 in date: "2004-14-09" should be "2004-09-14".
23261 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23262 "2003-15-09" should be "2003-09-15".
23263
8e448310
AS
232642018-01-18 Arjun Shankar <arjun@redhat.com>
23265
23266 [BZ #22343]
71aa429b 23267 [BZ #22774]
4590634f 23268 CVE-2018-6485
71aa429b 23269 CVE-2018-6551
8e448310
AS
23270 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23271 after padding.
23272 (_int_memalign): check for integer overflow before calling
23273 _int_malloc.
23274 * malloc/tst-malloc-too-large.c: New test.
23275 * malloc/Makefile: Add tst-malloc-too-large.
23276
ab74d59f 232772018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
e234d7cb
RL
23278
23279 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23280 in date: "2017-24-07" should be "2017-07-24".
23281 * localedata/locales/mai_IN: Likewise.
23282 * localedata/locales/mai_NP: Likewise.
23283
48b66019
DL
232842018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23285
23286 * po/ru.po: Update translations.
23287
1eeddc58
JM
232882018-01-17 Joseph Myers <joseph@codesourcery.com>
23289
23290 [BZ #22719]
23291 * sysdeps/hppa/backtrace.c: New file.
23292
207a72e2
L
232932018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 [BZ #22715]
23296 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23297 align La_x86_64_retval to VEC_SIZE.
23298
4942c4ea
JM
232992018-01-16 Joseph Myers <joseph@codesourcery.com>
23300
23301 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23302 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23303
10d200db
FW
233042018-01-16 Florian Weimer <fweimer@redhat.com>
23305
23306 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23307 Move tst-thread-exit-clobber ...
23308 [$(CXX)] (tests-unsupported): ... to here.
23309
953c49cc
SN
233102018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23311
23312 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23313 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23314 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23315 (_dl_aarch64_cap_flags): Update.
23316 (_DL_HWCAP_COUNT): Update.
23317
afce1991
SN
233182018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23319
23320 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23321 (_DL_HWCAP_LAST): Remove.
23322 (_DL_HWCAP_COUNT): Move to ...
23323 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23324 (_DL_HWCAP_COUNT): ... here.
23325
b725132d
FW
233262018-01-16 Florian Weimer <fweimer@redhat.com>
23327
23328 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23329 mode with GNU extensions.
23330
c9e613a7
AH
233312018-01-15 Alan Hayward <alan.hayward@arm.com>
23332
23333 * elf/elf.h (NT_ARM_SVE): Define.
23334
860b0240
FW
233352018-01-15 Florian Weimer <fweimer@redhat.com>
23336
23337 [BZ #22636]
23338 * nptl/tst-minstack-throw.cc: New file.
23339 * nptl/Makefile (tests): Add tst-minstack-throw.
23340 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23341 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23342
16d0f6ac
JM
233432018-01-15 Joseph Myers <joseph@codesourcery.com>
23344
23345 * scripts/build-many-glibcs.py (Context.checkout): Default
23346 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23347 version to 1.1.0.
23348
505d3910
CD
233492018-01-13 Carlos O'Donell <carlos@redhat.com>
23350
23351 [BZ #22707]
23352 * elf/elf.h (DF_1_STUB): Define.
23353 (DF_1_PIE): Define.
23354
af1e6be4
TMQMF
233552018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23356
23357 [BZ #22697]
23358 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23359 Do not add 0.5 to integer or out-of-range arguments.
23360
98d13ce0
DL
233612018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23362
23363 * po/bg.po: Update translations.
23364 * po/cs.po: Likewise.
23365 * po/de.po: Likewise.
23366 * po/ko.po: Likewise.
23367 * po/pl.po: Likewise.
23368 * po/sv.po: Likewise.
23369 * po/uk.po: Likewise.
23370 * po/vi.po: Likewise.
23371
3d1d7928
SN
233722018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23373
23374 * aarch64/start.S (_start): Use __wrap_main.
23375 (__wrap_main): New local symbol.
23376
52a713fd
DL
233772018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23378
23379 [BZ #22679]
23380 CVE-2018-1000001
23381 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23382 generic_getcwd if the path returned by getcwd syscall is not absolute.
23383 * io/tst-getcwd-abspath.c: New test.
23384 * io/Makefile (tests): Add tst-getcwd-abspath.
23385
249a5895
IK
233862018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23387
23388 * malloc/malloc.c (malloc_consolidate): Add size check.
23389
1a51e46e
FW
233902018-01-12 Florian Weimer <fweimer@redhat.com>
23391
23392 * support/write_message.c (write_message): Preserve errno.
23393 * support/check.c (print_failure): Likewise.
23394 * support/support_test_verify_impl.c (support_test_verify_impl):
23395 Likewise.
23396 * support/support_test_compare_failure.c
23397 (support_test_compare_failure): Likewise.
23398
9a08a366
FW
233992018-01-12 Florian Weimer <fweimer@redhat.com>
23400
23401 [BZ #22701]
23402 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23403 Prevent installation of libnsl.so.
23404 (libnsl-inhibit-o): Do not build (or install) static libraries.
23405
80647883 234062018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
23407
23408 [BZ #22657]
23409 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23410 before the day number which may produce a double space.
23411 (date_fmt): Likewise.
23412
c8924f1f
JM
234132018-01-12 Joseph Myers <joseph@codesourcery.com>
23414
23415 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23416 instead of fegetenv.
23417
da09e6fa
JM
234182018-01-11 Joseph Myers <joseph@codesourcery.com>
23419
23420 [BZ #22702]
23421 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23422 comment to say exceptions are discarded.
23423 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23424 __fegetenv.
23425 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23426 be enabled.
23427
08c6e952
FW
234282018-01-11 Florian Weimer <fweimer@redhat.com>
23429
23430 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23431 and error message.
23432
d8b77890
FW
234332018-01-11 Florian Weimer <fweimer@redhat.com>
23434
23435 [BZ #22636]
23436 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23437 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23438
b303185d
JM
234392018-01-10 Joseph Myers <joseph@codesourcery.com>
23440
23441 [BZ #22693]
23442 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23443 negative arguments in test for NaN or infinity argument.
23444
ee61d028
DL
234452018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23446
23447 * po/libc.pot: Regenerate.
23448
f993b875
FW
234492018-01-10 Florian Weimer <fweimer@redhat.com>
23450
23451 [BZ #22636]
23452 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23453 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23454
09085ede
ST
234552018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23456
23457 * hurd/hurd/fd.h: Include <fcntl.h>
23458 (__hurd_at_flags): New function.
23459 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23460 with call to __hurd_at_flags.
23461 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23462 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23463 __faccessat
23464 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23465 (__access_noerrno): Use __faccessat_common instead of access_common.
23466 (__access): Likewise.
23467 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23468 with a call to __faccessat.
23469 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23470 (__faccessat_common): ... this. Move implementation of __access into it when
23471 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23472 reauthenticate_cwdir_at helper to implement AT mechanism.
23473 (__faccessat_noerrno): New function, just calls __faccessat_common.
23474 (__faccessat): New function, just calls __faccessat_common.
23475 (faccessat): Define weak alias.
23476
12727488
JM
234772018-01-10 Joseph Myers <joseph@codesourcery.com>
23478
87faac55
JM
23479 [BZ #22691]
23480 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23481 (CFLAGS-s_fmaxmagl.c): New variable.
23482 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23483
12727488
JM
23484 [BZ #22690]
23485 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23486 long int for arguments of possibly overflowing addition or
23487 subtraction.
23488 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23489
e134ca17
JM
234902018-01-09 Joseph Myers <joseph@codesourcery.com>
23491
b2584ac2
JM
23492 [BZ #22688]
23493 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23494 (CFLAGS-e_remainderl.c): New variable.
23495
e134ca17
JM
23496 [BZ #22687]
23497 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23498 variable.
23499 (CFLAGS-s_cacoshl.c): Likewise.
23500 (CFLAGS-s_casinhl.c): Likewise.
23501 (CFLAGS-s_catanl.c): Likewise.
23502 (CFLAGS-s_catanhl.c): Likewise.
23503 (CFLAGS-s_cexpl.c): Likewise.
23504 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23505 (CFLAGS-s_csinhl.c): Likewise.
23506 (CFLAGS-s_clogl.c): Likewise.
23507 (CFLAGS-s_clog10l.c): Likewise.
23508 (CFLAGS-s_csinl.c): Likewise.
23509 (CFLAGS-s_csqrtl.c): Likewise.
23510
d31a4a48
ST
235112017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
235122017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
23513
23514 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23515 (_hurd_exec_paths): New function.
23516 * hurd/hurd.h (_hurd_exec): Deprecate function.
23517 (_hurd_exec_paths): Declare function.
23518 * hurd/Versions: Export _hurd_exec_paths.
23519 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23520 (__execve): Use __getcwd to build absolute path, and use
23521 _hurd_exec_paths instead of _hurd_exec.
23522 * sysdeps/mach/hurd/spawni.c: Likewise.
23523 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23524 _hurd_exec.
23525
d7ff3f11
DL
235262018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23527
23528 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23529 test instead of failing in case of ENOENT returned by posix_openpt.
23530
401311cf
FW
235312018-01-08 Florian Weimer <fweimer@redhat.com>
23532
23533 resolv: Support binary labels in test framework.
23534 * support/resolv_test.c (struct to_be_freed): Remove.
23535 (struct compressed_name): New.
23536 (allocate_compressed_name, ascii_tolower)
23537 (compare_compressed_name): New functions.
23538 (struct resolv_response_builder): Update type of
23539 compression_offsets for use with tsearch. Rempve to_be_freed.
23540 (response_push_pointer_to_free): Remove function.
23541 (resolv_response_add_name): Rewrite using struct compressed_name
23542 and tsearch instead of hsearch_r.
23543 (response_builder_allocate): Remove initialization of
23544 compression_offsets.
23545 (response_builder_free): Update for removal of to_be_freed. Use
23546 tdestroy instead of hdestroy_r.
23547 * resolv/Makefile (tests): Add tst-resolv-binary.
23548 (tst-resolv-binary): Link with -lresolv -lpthread.
23549
2b3aa446
FW
235502018-01-08 Florian Weimer <fweimer@redhat.com>
23551
23552 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23553 time. Pass positive flag instead of negative flag to
23554 support_test_compare_failure.
23555 (support_test_compare_failure): Change negative parameter to
23556 positive.
23557 * support/support_test_compare_failure.c (report)
23558 (support_test_compare_failure): Likewise.
23559 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23560 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23561
630f4cc3
SN
235622018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23563
23564 [BZ #22637]
23565 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23566 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23567 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23568 stacksize.
23569 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23570
c70e4e9c
L
235712018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23572
23573 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23574 Add s_sincosf-sse2 and s_sincosf-fma.
23575 (CFLAGS-s_sincosf-fma.c): New.
23576 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23577 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23578 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23579 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23580 __sincosf is defined.
23581
579396ee
FW
235822018-01-08 Florian Weimer <fweimer@redhat.com>
23583
23584 * nptl/tst-thread-exit-clobber.cc: New file.
23585 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23586 C++11 mode.
23587 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23588 (tests): Add tst-thread-exit-clobber.
23589 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23590
dabd75b6
FW
235912018-01-08 Florian Weimer <fweimer@redhat.com>
23592
23593 * support/check.h (support_static_assert): Define.
23594 (TEST_COMPARE): Use it.
23595
c2e014cc
AJ
235962018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23597
23598 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23599 [!__RLIM_T_MATCHES_RLIM64_T]
23600 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23601 __getrlimit64. Add libc_hidden_weak.
23602
31a98837
PD
236032018-01-06 Palmer Dabbelt <palmer@sifive.com>
23604
23605 * elf/elf.h (R_RISCV_NONE): New define.
23606 (R_RISCV_32): Likewise.
23607 (R_RISCV_64): Likewise.
23608 (R_RISCV_RELATIVE): Likewise.
23609 (R_RISCV_COPY): Likewise.
23610 (R_RISCV_JUMP_SLOT): Likewise.
23611 (R_RISCV_TLS_DTPMOD32): Likewise.
23612 (R_RISCV_TLS_DTPMOD64): Likewise.
23613 (R_RISCV_TLS_DTPREL32): Likewise.
23614 (R_RISCV_TLS_DTPREL64): Likewise.
23615 (R_RISCV_TLS_TPREL32): Likewise.
23616 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
23617 * Makerules (make-link-multidir): Make directories before linking into
23618 them.
150bbac1
PD
23619 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23620 define.
23621 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
23622 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23623 in subdirectories of lib.
8e13c51b
PD
23624 * nptl/Makefile (/librt.so): Always depend on
23625 "$(shared-thread-library)".
31a98837 23626
fad7d57e
ST
236272018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23628
23629 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
23630 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23631 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23632 (___tls_get_addr).
23633 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
23634 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23635 "-O2 -march=i686".
01c7e549 23636 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
23637 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23638 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23639 * sysdeps/gnu/glob-lstat-compat.c: New file.
23640 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 23641 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 23642
3a32b716
TMQMF
236432018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23644
23645 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23646 Reserve 16 chars to reloc_addr before calling _itoa_word.
23647
24731685
AJ
236482018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23649
23650 [BZ #22678]
23651 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23652 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23653
19be56d8
AJ
23654 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23655 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23656
a6d0afb5
AJ
23657 * resource/tst-getrlimit.c: Add copyright header.
23658
8e900969
AJ
236592018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23660 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23661
23662 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23663 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23664 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23665 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23666 instead.
23667 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23668 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23669 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23670 RLIM64_INFINITY): Fix values to match the kernel ones.
23671 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23672 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23673 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23674 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23675 getrlimit64@@GLIBC_2_27.
23676 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23677 and setrlimit64.
23678 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23679 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23680 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23681 setrlimit, getrlimit64 and setrlimit64.
23682
0d0bc784
AJ
236832018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23684
23685 [BZ #22648]
23686 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23687 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23688
ba374b6d
JM
236892018-01-04 Joseph Myers <joseph@codesourcery.com>
23690
23691 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23692 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23693 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23694
4854ddd8
AZ
236952018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23696
b0a4eca2
AZ
23697 [BZ #15479]
23698 [BZ #22666]
23699 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23700 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23701
4854ddd8
AZ
23702 [BZ #15479]
23703 [BZ #22665]
23704 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23705 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23706 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23707 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23708
8a5df95f
FW
237092018-01-04 Florian Weimer <fweimer@redhat.com>
23710
23711 [BZ #22667]
23712 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23713 Align the stack before calling exit.
23714 * stdlib/tst-makecontext-align.c: New file.
23715 * stdlib/Makefile (tests): Add tst-makecontext-align.
23716
82eef55f
FW
237172018-01-04 Florian Weimer <fweimer@redhat.com>
23718
23719 Add support for calling dlvsym from libc.so.
23720 * include/dlfcn.h (__libc_dlvsym): Declare.
23721 * elf/Makefile (tests-static-internal): Add
23722 tst-libc_dlvsym-static.
23723 (tests-internal): Add tst-libc_dlvsym.
23724 (modules-names): Add tst-libc_dlvsym-dso.
23725 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23726 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23727 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23728 object tst-libc_dlvsym-dso.so needs to be built before running
23729 these tests.
23730 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23731 * elf/Versions: Export __libc_dlvsym.
23732 * elf/dl-libc.c (struct do_dlvsym_args): New.
23733 (do_dlvsym, __libc_dlvsym): New functions.
23734 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23735 (_dl_open_hook2): New variable.
23736 (__libc_register_dl_open_hook): Set it.
23737 * elf/tst-libc_dlvsym-dso.c: New file.
23738 * elf/tst-libc_dlvsym-static.c: Likewise.
23739 * elf/tst-libc_dlvsym.c: Likewise.
23740 * elf/tst-libc_dlvsym.h: Likewise.
23741
1714fc06
ST
237422018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23743
23744 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23745 include <sys/mount.h>.
23746
3c7d0312
WD
237472018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23748
23749 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23750 Add __NO_MATH_ERRNO__ check.
23751
7eff0954
JM
237522018-01-02 Joseph Myers <joseph@codesourcery.com>
23753
23754 * sysdeps/mips/mips32/libm-test-ulps: Update.
23755 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23756
77f49956
FW
237572018-01-02 Florian Weimer <fweimer@redhat.com>
23758
23759 * misc/tst-pselect.c: Add copyright header.
23760
363e4519 237612018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
23762
23763 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23764 comment.
23765 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23766 comment.
23767 (settrlimit): Rename into setrlimit.
23768 (__sttrlimit): Rename into __setrlimit.
23769
3e4226ff
AJ
23770 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23771 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23772 never defined in that case.
23773
b9256ab6
JM
237742018-01-02 Joseph Myers <joseph@codesourcery.com>
23775
28fd6a44
JM
23776 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23777
a4933a15
JM
23778 * sysdeps/arm/libm-test-ulps: Update.
23779
b9256ab6
JM
23780 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23781 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23782
4cf82d23
RS
237832018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23784
23785 * NEWS: Add cosf and sincosf to list of optimized functions.
23786
6a9dd7a7
AJ
237872018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23788
23789 [BZ #22660]
23790 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23791 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23792 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23793 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23794
dbba87d5
DL
237952018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23796
b05cb613
DL
23797 [BZ #22433]
23798 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23799
dbba87d5
DL
23800 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23801 making a copy of it.
23802
688903eb
JM
238032018-01-01 Joseph Myers <joseph@codesourcery.com>
23804
66ac23de
JM
23805 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23806 trailing whitespace removed.
23807 * scripts/config.guess: Update to version 2018-01-01.
23808 * scripts/config.sub: Update to version 2018-01-01.
23809 * scripts/move-if-change: Update from gnulib.
23810
09533208
JM
23811 * NEWS: Update copyright dates.
23812 * catgets/gencat.c (print_version): Likewise.
23813 * csu/version.c (banner): Likewise.
23814 * debug/catchsegv.sh: Likewise.
23815 * debug/pcprofiledump.c (print_version): Likewise.
23816 * debug/xtrace.sh (do_version): Likewise.
23817 * elf/ldconfig.c (print_version): Likewise.
23818 * elf/ldd.bash.in: Likewise.
23819 * elf/pldd.c (print_version): Likewise.
23820 * elf/sotruss.sh: Likewise.
23821 * elf/sprof.c (print_version): Likewise.
23822 * iconv/iconv_prog.c (print_version): Likewise.
23823 * iconv/iconvconfig.c (print_version): Likewise.
23824 * locale/programs/locale.c (print_version): Likewise.
23825 * locale/programs/localedef.c (print_version): Likewise.
23826 * login/programs/pt_chown.c (print_version): Likewise.
23827 * malloc/memusage.sh (do_version): Likewise.
23828 * malloc/memusagestat.c (print_version): Likewise.
23829 * malloc/mtrace.pl: Likewise.
23830 * manual/libc.texinfo: Likewise.
23831 * nptl/version.c (banner): Likewise.
23832 * nscd/nscd.c (print_version): Likewise.
23833 * nss/getent.c (print_version): Likewise.
23834 * nss/makedb.c (print_version): Likewise.
23835 * posix/getconf.c (main): Likewise.
23836 * scripts/test-installation.pl: Likewise.
23837 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23838
688903eb
JM
23839 * All files with FSF copyright notices: Update copyright dates
23840 using scripts/update-copyrights.
23841 * locale/programs/charmap-kw.h: Regenerated.
23842 * locale/programs/locfile-kw.h: Likewise.
23843
4f820792
ZW
238442017-12-31 Zack Weinberg <zackw@panix.com>
23845
23846 * libio/bits/libio-ldbl.h: Correct check for improper
23847 inclusion. Add own multiple include guard.
23848
3e3c904d
AJ
238492017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23850 Dmitry V. Levin <ldv@altlinux.org>
23851
23852 [BZ #22625]
31f96325 23853 CVE-2017-16997
3e3c904d
AJ
23854 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23855 string token expansion. Check for NULL pointer or empty string possibly
23856 returned by expand_dynamic_string_token.
23857 (decompose_rpath): Check for empty path after dynamic string
23858 token expansion.
23859
7e21972b
DL
238602017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23861
c48831d0
DL
23862 [BZ #22433]
23863 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23864
ac583f50
DL
23865 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23866 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23867 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23868 and PTRACE_SYSCALL.
23869 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23870 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23871 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23872 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23874 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23875
7e21972b
DL
23876 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23877 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23878 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23879 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23881 bits/ptrace-shared.h.
23882 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23883 <bits/ptrace-shared.h>.
23884 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23885 __ptrace_peeksiginfo_flags, ptrace): Remove.
23886 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23887 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23888 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23890 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23891
72f29e3a
AJ
238922017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23893
23894 [BZ #17804]
23895 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23896 end of the loop. Improve comments.
23897
54e4efc2
AJ
238982017-12-29 Zack Weinberg <zackw@panix.com>
23899
23900 [BZ #22615]
23901 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23902 might be set on success.
23903
f8aa69be
AJ
239042017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23905
23906 [BZ #22611]
23907 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23908 is unchanged on success.
23909
97f13188
DL
239102017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23911
2bd86632
DL
23912 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23913 updated.
23914 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23915 expand_dynamic_string_token): Likewise.
23916 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23917 is_path argument.
23918
1c36e1e6
DL
23919 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23920 contains ':'.
23921
97f13188
DL
23922 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23923 is set and name contains ':', and all code depending on these checks.
23924
48a8f832
ZW
239252017-12-24 Zack Weinberg <zackw@panix.com>
23926
23927 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23928 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23929 respectively.
23930 * libio/libio.h: Rename the original version of this file to
23931 libio/bits/libio.h. Error out if not included by stdio.h or the
23932 stub libio.h.
23933 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23934 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23935 if not included by bits/libio.h or the stub _G_config.h.
23936 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23937 sysdeps/unix/sysv/linux/bits. Error out if not included by
23938 bits/libio.h or the stub _G_config.h.
23939 * libio/stdio.h: Include bits/libio.h, not libio.h.
23940 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23941 well as libio.h and _G_config.h.
23942
23943 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23944 * libio/strfile.h, stdio-common/vfscanf.c
23945 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23946 Include stdio.h, not _G_config.h nor libio.h.
23947 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23948 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23949
23950 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23951
a47ad79a
DL
239522017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23953
23954 [BZ #22347]
23955 * stdlib/getrandom.c (getrandom): Fix comment.
23956 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23957
363e4519 239582017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 23959
f5c558f3
AJ
23960 [BZ #21161]
23961 * manual/arith.texi (strtoul): Fix a typo.
23962
e65a5644
AJ
23963 [BZ #22596]
23964 * manual/arith.texi (finite): Fix the description of the return
23965 value.
23966
ed8ae46b
EB
239672017-12-22 Eric Blake <ebb9@byu.net>
23968
23969 Avoid gcc warnings on cygwin
23970 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23971 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23972 Avoid unused variable.
23973
bad7a0c8
FW
239742017-12-22 Florian Weimer <fweimer@redhat.com>
23975
23976 * io/Makefile (routines): Add copy_file_range.
23977 (tests): Add tst-copy_file_range.
23978 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23979 * io/Versions (GLIBC_2.27): Export copy_file_range.
23980 * io/copy_file_range-compat.c: New file.
23981 * io/copy_file_range.c: Likewise.
23982 * io/tst-copy_file_range-compat.c: Likewise.
23983 * io/tst-copy_file_range.c: Likewise.
23984 * manual/llio.texi (Copying File Data): New section.
23985 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23986 * support/Makefile (libsupport-routines): Add support-xfstat,
23987 xftruncate, xlseek.
23988 * support/support-xfstat.c: New file.
23989 * support/xftruncate.c: Likewise.
23990 * support/xlseek.c: Likewise.
23991 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23992 * sysdeps/unix/sysv/linux/**.abilist: Update.
23993 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23994
6cb86fd2
SN
239952017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23996
23997 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23998 disable-multi-arch variant to aarch64-linux-gnu.
23999
41d11b15
JM
240002017-12-20 Joseph Myers <joseph@codesourcery.com>
24001
24002 * manual/texinfo.tex: Update to version 2017-12-18.20 with
24003 trailing whitespace removed.
24004 * scripts/config.guess: Update to version 2017-12-17.
24005 * scripts/config.sub: Update to version 2017-11-23.
24006 * scripts/install-sh: Update to version 2017-09-23.17.
24007 * scripts/move-if-change: Update to version 2017-09-13 06:45.
24008
4735850f
AZ
240092017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24010
8d2d239c
AZ
24011 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
24012 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24013 * sysdeps/tile/_mcount.S (__mcount): Likewise.
24014 * sysdeps/tile/crti.S (_init, _fini): Likewise.
24015 * sysdeps/tile/crtn.S: Likewise.
24016 * sysdeps/tile/dl-start.S (_start): Likewise.
24017 * sysdeps/tile/dl-trampoline.S: Likewise.
24018 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
24019 * sysdeps/tile/start.S (_start): Likewise.
24020 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
24021 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
24022 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
24023 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
24024 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
24025 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
24026 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
24027
24d1d8ec
AZ
24028 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
24029 comment.
24030 * sysdeps/tile/preconfigure: Remove tilegx folder.
24031 * sysdeps/tile/tilegx/Implies: Move definitions to ...
24032 * sysdeps/tile/Implies: ... here.
24033 * sysdeps/tile/tilegx/Makefile: Move rules to ...
24034 * sysdeps/tile/Makefile: ... here.
24035 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
24036 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
24037 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
24038 * sysdeps/tile/bits/wordsize.h: ... here.
24039 * sysdeps/tile/tilegx/*: Move to ...
24040 * sysdeps/tile/*: ... here.
24041 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
24042 * sysdeps/tile/tilegx32/Implies: ... here.
24043 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
24044 * sysdeps/tile/tilegx64/Implies: ... here.
24045 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
24046 to ...
24047 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24048 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
24049 * sysdeps/unix/sysv/linux/tile/*: ... here.
24050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
24051 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
24052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
24053 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
24054
ed95f611
AZ
24055 * README: Remove tilepro-*-linux-gnu from supported architecture.
24056 * scripts/build-many-glibcs.py: Likewise.
24057 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
24058 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
24059 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
24060 elf_machine_matches_host, elf_machine_dynamic,
24061 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
24062 howto, elf_machine_rela): Likewise.
24063 * sysdeps/tile/dl-start.S (_start): Likewise.
24064 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
24065 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
24066 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
24067 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
24068 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
24069 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24070 Likewise.
24071 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
24072 * sysdeps/tile/preconfigure: Likewise.
24073 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
24074 POINTER_CHK_GUARD): Likewise.
24075 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
24076 * sysdeps/tile/start.S (_start): Likewise.
24077 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
24078 Likewise.
24079 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
24080 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
24081 CMOVNEZ): Remove.
24082 * sysdeps/unix/sysv/linux/tile/bits/environments.h
24083 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
24084 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
24085 Likewise.
24086 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
24087 * sysdeps/tile/tilepro/Implies: Remove file.
24088 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
24089 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
24090 * sysdeps/tile/tilepro/memchr.c: Likewise.
24091 * sysdeps/tile/tilepro/memcpy.S: Likewise.
24092 * sysdeps/tile/tilepro/memset.c: Likewise.
24093 * sysdeps/tile/tilepro/memusage.h: Likewise.
24094 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
24095 * sysdeps/tile/tilepro/strchr.c: Likewise.
24096 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
24097 * sysdeps/tile/tilepro/strlen.c: Likewise.
24098 * sysdeps/tile/tilepro/strrchr.c: Likewise.
24099 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
24100 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
24101 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24102 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
24103 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
24104 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24105 Likewise.
24106 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
24107 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24108 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
24109 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
24110 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24111 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
24112 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
24113 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
24114 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
24115 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
24116 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
24117 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
24118 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24119 tilepro mention in comment.
24120
4735850f
AZ
24121 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24122 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24123 * nptl/pthread_join_common.c: New file: common function used on
24124 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24125 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24126 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24127 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24128 (cleanup): Move definition to pthread_join_common.c.
24129 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24130 Remove superflous checks.
24131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24132 Likewise.
24133
8bfb461e
SN
241342017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24135
24136 * sysdeps/aarch64/libm-test-ulps: Update.
24137
4e001969
AZ
241382017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24139
24140 * sysdeps/aarch64/memset.S (MEMSET): Define.
24141
8a26ad2a
FW
241422017-12-20 Florian Weimer <fweimer@redhat.com>
24143
24144 [BZ #22635]
24145 nptl: Provide full implementation of pthread_self in libc.so.
24146 * nptl/Makefile (routines): Add pthread_self.
24147 (libpthread-routines): Replace pthread_self with
24148 compat-pthread_self.
24149 * nptl/forward.c (pthread_self): Remove.
24150 * nptl/nptl-init.c (pthread_functions): Do not initialize
24151 ptr_pthread_self.
24152 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24153 * nptl/compat-pthread_self.c: New file.
24154 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24155 Remove ptr_pthread_self.
24156
5069ff32
AR
241572017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24158
24159 * posix/regcomp.c: Fix spelling in comments.
24160 * posix/regex.h: Likewise.
24161 * posix/regex_internal.c: Likewise.
24162 * posix/regexec.c: Likewise.
24163
c85e54ac
GG
241642017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24165
24166 [BZ #22377]
24167 * math/Makefile [C++] (tests): Add test for iseqsig.
24168 * math/math.h [C++] (iseqsig): New implementation, which does
24169 not rely on __MATH_TG/__builtin_types_compatible_p.
24170 * math/test-math-iseqsig.cc: New file.
24171 * sysdeps/powerpc/powerpc64le/Makefile
24172 (CFLAGS-test-math-iseqsig.cc): New variable.
24173
10e93d96
DL
241742017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24175
24176 * elf/dl-load.c (is_trusted_path): Remove.
24177 (fillin_rpath): Remove check_trusted argument and its use,
24178 all callers changed.
24179
ce16eb52
L
241802017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24181
24182 [BZ #22630]
24183 * Makeconfig (link-pie-before-libc): Replace -pie with
24184 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24185 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24186 (tst-dlopen-aout-no-pie): New.
24187 (LDFLAGS-tst-prelink): Removed.
24188 (tst-prelink-no-pie): New.
24189 (LDFLAGS-tst-main1): Removed.
24190 (tst-main1-no-pie): New.
24191 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24192 (tst-gmon-no-pie): New.
24193
126adc89
L
241942017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24195
24196 * manual/install.texi: Document that --enable-static-pie
24197 implies PIE.
24198 * INSTALL: Regenerated.
24199
648615e1
BE
242002017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24201
24202 [BZ #21309]
24203 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24204 unsigned.
24205
f1e00502
JM
242062017-12-19 Joseph Myers <joseph@codesourcery.com>
24207
24208 Revert:
24209
24210 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24211
24212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24213
24214 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24215
24216 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24217 <errno.h>. Include "eexp.tbl".
24218 (half): New constant.
24219 (one): Likewise.
24220 (__ieee754_exp): Rewrite.
24221 (__slowexp): Remove prototype.
24222 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24223 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24224 * sysdeps/i386/fpu/slowexp.c: Likewise.
24225 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24226 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24227 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24228 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24229 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24230 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24231 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24232 comment.
24233 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24234 (CPPFLAGS-slowexp.c): Remove variable.
24235 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24236 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24237 (CFLAGS-slowexp-fma.c): Remove variable.
24238 (CFLAGS-slowexp-fma4.c): Likewise.
24239 (CFLAGS-slowexp-avx.c): Likewise.
24240 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24241 define as macro.
24242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24243 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24244 * math/Makefile (type-double-routines): Remove slowexp.
24245 * manual/probes.texi (slowexp_p6): Remove.
24246 (slowexp_p32): Likewise.
24247
d711a00f
AZ
242482017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24249
e184ac3a
AZ
24250 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24251 arithmetic.
24252
d711a00f
AZ
24253 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24254
6f58c10d
JM
242552017-12-19 Joseph Myers <joseph@codesourcery.com>
24256
24257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24258
6fd0a3c6
PM
242592017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24260
24261 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24262 <errno.h>. Include "eexp.tbl".
24263 (half): New constant.
24264 (one): Likewise.
24265 (__ieee754_exp): Rewrite.
24266 (__slowexp): Remove prototype.
24267 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24268 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24269 * sysdeps/i386/fpu/slowexp.c: Likewise.
24270 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24271 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24272 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24273 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24274 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24275 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24276 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24277 comment.
24278 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24279 (CPPFLAGS-slowexp.c): Remove variable.
24280 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24281 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24282 (CFLAGS-slowexp-fma.c): Remove variable.
24283 (CFLAGS-slowexp-fma4.c): Likewise.
24284 (CFLAGS-slowexp-avx.c): Likewise.
24285 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24286 define as macro.
24287 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24288 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24289 * math/Makefile (type-double-routines): Remove slowexp.
24290 * manual/probes.texi (slowexp_p6): Remove.
24291 (slowexp_p32): Likewise.
24292
3bb1ef58 242932017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 24294 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
24295
24296 [BZ #22603]
24297 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24298 addition.
24299
554e3d51
AZ
243002017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24301
24302 [BZ #22605]
24303 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24304 code.
24305
cba595c3
L
243062017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24307
24308 [BZ #22563]
24309 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24310 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24311 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24312 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24313 to feature_1.
24314
f81ddabf
L
243152017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24316
24317 [BZ #22563]
24318 * bits/types/__cancel_jmp_buf_tag.h: New file.
24319 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24320 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24321 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24322 * nptl/Makefile (headers): Add
24323 bits/types/__cancel_jmp_buf_tag.h.
24324 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24325 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24326 * sysdeps/nptl/pthread.h: Include
24327 <bits/types/__cancel_jmp_buf_tag.h>.
24328 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24329 __cancel_jmp_buf.
24330 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24331
1a49fc59
L
243322017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24333
24334 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24335 --enable-static-pie variants to x86_64, x32 and i686.
24336
8e52f573
JM
243372017-12-19 Joseph Myers <joseph@codesourcery.com>
24338
66425185
JM
24339 [BZ #22631]
24340 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24341 argument for attrubutes. All callers changed.
24342 (__inline_mathop1): Likewise. All callers changed.
24343 (__inline_mathop): Likewise. All callers changed.
24344 [__USE_MISC] (scalbn): Use __inline_forward instead of
24345 __inline_forward_c.
24346 [__USE_ISOC99] (scalbln): Likewise.
24347 [__USE_ISOC99] (nearbyint): Likewise.
24348 [__USE_ISOC99] (lrint): Likewise.
24349 [__USE_MISC] (scalbnf): Likewise.
24350 [__USE_ISOC99] (scalblnf): Likewise.
24351 [__USE_ISOC99] (nearbyintf): Likewise.
24352 [__USE_ISOC99] (lrintf): Likewise.
24353 [__USE_MISC] (scalbnl): Likewise.
24354 [__USE_ISOC99] (scalblnl): Likewise.
24355 [__USE_ISOC99] (nearbyintl): Likewise.
24356 [__USE_ISOC99] (lrintl): Likewise.
24357 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24358 __inline_mathop and __m81_defun changed.
24359
8e52f573
JM
24360 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24361 CPU or FPU for ARM hard-float configurations.
24362
1421f39b
JM
243632017-12-18 Joseph Myers <joseph@codesourcery.com>
24364
40c4162d
JM
24365 * nptl/tst-attr3.c: Include <libc-diag.h>.
24366 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24367
5983df32
JM
24368 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24369
1421f39b
JM
24370 * string/tester.c (test_strncat): Also disable -Warray-bounds
24371 warnings for two tests.
24372
00c714df
L
243732017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24374
24375 [BZ #22614]
24376 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24377 $(cc-pie-default) == yes.
24378 * config.make.in (cc-pie-default): New.
24379 * configure.ac (libc_cv_pie_default): Renamed to ...
24380 (libc_cv_cc_pie_default): This.
24381 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24382 * configure: Regenerated.
24383
8e1472d2
FW
243842017-12-18 Florian Weimer <fweimer@redhat.com>
24385
24386 [BZ #20204]
24387 ld.so: Harden dl-libc/libdl hooks.
24388 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24389 (rtld_active): New function.
24390 * dlfcn/dladdr.c (__dladdr): Call it.
24391 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24392 * dlfcn/dlclose.c (__dlcose): Likewise.
24393 * dlfcn/dlerror.c (__dlerror): Likewise.
24394 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24395 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24396 * dlfcn/dlopen.c (__dlopen): Likewise.
24397 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24398 * dlfcn/dlsym.c (__dlsym): Likewise.
24399 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24400 * libio/vtables.c (_IO_vtable_check): Likewise.
24401 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24402 (__libc_dlclose): Likewise.
24403 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24404 assignment.
24405
49b036bc
JM
244062017-12-18 Joseph Myers <joseph@codesourcery.com>
24407
24408 [BZ #22446]
24409 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24410 buffers for readlink input and output.
24411
368b6c8d
ST
244122017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24413
c85c564d
ST
24414 [BZ #22624]
24415 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24416 inhibit_stack_protector.
24417
368b6c8d
ST
24418 [BZ #22624]
24419 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24420 inhibit_stack_protector.
24421
bb195224
DL
244222017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24423
24424 [BZ #22627]
24425 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24426 code and invocation.
24427
14d886ed
SN
244282017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24429
24430 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24431
7d38eb38
AJ
244322017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24433
24434 [BZ #22505]
24435 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24436
2e77deef
RS
244372017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24438
24439 * sysdeps/s390/fpu/libm-test-ulps: Update.
24440
0b9bef6d
RS
244412017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24442
24443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24444
984ae996
RS
244452017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24446
24447 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24448 constants to s_sincosf.h file.
24449 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24450 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24451 implementation.
24452 * sysdeps/ieee754/flt-32/s_sincosf.h:
24453 New file.
24454
363e4519 244552017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
24456
24457 [BZ #14681]
24458 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24459 before mtrace.
24460
9d7a3741
L
244612017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24462
24463 [BZ #19574]
24464 * INSTALL: Regenerated.
24465 * Makeconfig (real-static-start-installed-name): New.
24466 (pic-default): Updated for --enable-static-pie.
24467 (pie-default): New for --enable-static-pie.
24468 (default-pie-ldflag): Likewise.
24469 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24470 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24471 Replace $(static-start-installed-name) with
24472 $(real-static-start-installed-name).
24473 (+prectorT): Updated for --enable-static-pie.
24474 (+postctorT): Likewise.
24475 (CFLAGS-.o): Add $(pie-default).
24476 (CFLAGS-.op): Likewise.
24477 * NEWS: Mention --enable-static-pie.
24478 * config.h.in (ENABLE_STATIC_PIE): New.
24479 * configure.ac (--enable-static-pie): New configure option.
24480 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24481 (have-static-pie): Likewise.
24482 Enable static PIE if linker supports --no-dynamic-linker.
24483 (ENABLE_STATIC_PIE): New AC_DEFINE.
24484 (enable-static-pie): New LIBC_CONFIG_VAR.
24485 * configure: Regenerated.
24486 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24487 gr$(start-installed-name) for --enable-static-pie.
24488 (extra-objs): Likewise.
24489 (install-lib): Likewise.
24490 (extra-objs): Add static-reloc.o and static-reloc.os
24491 ($(objpfx)$(start-installed-name)): Also depend on
24492 $(objpfx)static-reloc.o.
24493 ($(objpfx)r$(start-installed-name)): New.
24494 ($(objpfx)g$(start-installed-name)): Also depend on
24495 $(objpfx)static-reloc.os.
24496 ($(objpfx)gr$(start-installed-name)): New.
24497 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24498 in libc.a.
24499 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24500 initimage.
24501 * csu/static-reloc.c: New file.
24502 * elf/Makefile (routines): Add dl-reloc-static-pie.
24503 (elide-routines.os): Likewise.
24504 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24505 (tst-tls1-static-non-pie-no-pie): New.
24506 * elf/dl-reloc-static-pie.c: New file.
24507 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24508 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24509 STATIC_PIE_BOOTSTRAP.
24510 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24511 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24512 (tests-static): Likewise.
24513 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24514 (tst-gmon-static-no-pie): New.
24515 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24516 (CRT-tst-gmon-static-pie): Likewise.
24517 (tst-gmon-static-pie-ENV): Likewise.
24518 (tests-special): Likewise.
24519 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24520 (clean-tst-gmon-static-pie-data): Likewise.
24521 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24522 * gmon/tst-gmon-static-pie.c: New file.
24523 * manual/install.texi: Document --enable-static-pie.
24524 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24525 (_dl_get_dl_main_map): Likewise.
24526 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24527 * sysdeps/x86_64/configure.ac: Likewise.
24528 * sysdeps/i386/configure: Regenerated.
24529 * sysdeps/x86_64/configure: Likewise.
24530 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24531 (ASFLAGS-.op): Likewise.
24532
95511aab
JM
245332017-12-15 Joseph Myers <joseph@codesourcery.com>
24534
24535 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24536 * posix/tst-mmap-offset.c (fname): Use /tmp.
24537 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24538
a7e3edf4
SE
245392017-12-15 Steve Ellcey <sellcey@cavium.com>
24540
24541 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24542
d232f2e1
TS
245432017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24544
24545 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24546 errno.
24547
174edbde
JM
245482017-12-15 Joseph Myers <joseph@codesourcery.com>
24549
5170fa49
JM
24550 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24551 --with-float=hard for arm-linux-gnueabihf configurations.
24552
f2da2fd8
JM
24553 [BZ #14121]
24554 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24555 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24556 ($(mo-installed)): Use $(objpfx)%.mo.
24557 (realclean): Remove rule.
24558
0c4fe28d
JM
24559 * po/Makefile (linguas): Remove rule and dependencies.
24560 (linguas.mo): Likewise.
24561 (.PHONY): Do not depend on linguas and linguas.mo.
24562 (podir): Remove variable.
24563 (pofiles): Likewise.
24564 [$(pofiles)] (%.po): Remove rule.
24565
174edbde
JM
24566 * sysdeps/sparc/sparc32/Makefile
24567 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24568 start-of-line whitespace in argument of echo.
24569 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24570 with whitespace. Generate __wrap_.udiv alias.
24571 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24572 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24573 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24574 * sysdeps/sparc/sparc32/urem.S: Likewise.
24575
1e36806f
RS
245762017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24577
24578 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24579 for aligned inputs.
24580
aa6932aa
SP
245812017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24582
5f1603c3
SP
24583 * benchtests/bench-strcmp.c: Print output in JSON format.
24584
aa6932aa
SP
24585 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24586
3ff3dfa5
FW
245872017-12-14 Florian Weimer <fweimer@redhat.com>
24588
24589 [BZ #22607]
24590 CVE-2017-1000409
24591 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24592 the expanded path string.
24593
8a0b17e4
FW
245942017-12-14 Florian Weimer <fweimer@redhat.com>
24595
24596 [BZ #22606]
24597 CVE-2017-1000408
24598 * elf/dl-load.c (system_dirs): Update comment.
24599 (nsystem_dirs_len): Use array_length.
24600 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24601
f58bd7f0
FW
246022017-12-14 Florian Weimer <fweimer@redhat.com>
24603
24604 Simplify compiling most of support/ outside of glibc.
24605 * support/check_addrinfo.c: Include <string.h>.
24606 * support/check_dns_packet.c: Likewise.
24607 * support/check_hostent.c: Likewise.
24608 * support/support_can_chroot.c: Include <support/xunistd.h>.
24609 * support/support_format_addrinfo.c: Include <stdlib.h>
24610 * support/support_format_dns_packet.c: Include <stdbool.h>.
24611 * support/support_format_hostent.c: Include <stdlib.h>.
24612 * support/support_format_netent.c: Likewise.
24613 * support/support_write_string.c: Include <support/xunistd.h>.
24614 * support/xdlfcn.c: Include <stddef.h>.
24615
4ca945e9
L
246162017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24617
24618 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24619
1b6e07f8
PM
246202017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24621 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24622
e6a1c5dc
PM
24623 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24624 (sysdeps_routines): Add memset-niagara7.
24625 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24626 Likewise.
24627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24628 file.
24629 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24630 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24631 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24632 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24633 Add niagara7 option.
24634 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24635 memset.
24636
1b6e07f8
PM
24637 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24638 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24639 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24640 Likewise.
24641 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24642 New file.
24643 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24644 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24645 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24646 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24647 and __memmove_niagara7.
24648 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24649 Add niagara7 option.
24650 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24651 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24652 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24653 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24654 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24655
bfb7bf22
JM
246562017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24657
767a26d6
JM
24658 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24659 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24660 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24661 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24662
bfb7bf22
JM
24663 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24664 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24665 _dl_sparc_cap_flags array.
24666 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24667
2bce01eb
SP
246682017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24669
24670 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24671 time whenever possible.
24672
363e4519 246732017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
24674
24675 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24676 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24677
6f7c0092
JM
246782017-12-12 Joseph Myers <joseph@codesourcery.com>
24679
24680 * soft-fp/fmadf4.c: Move to ....
24681 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24682 * soft-fp/fmasf4.c: Move to ....
24683 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24684 * soft-fp/fmatf4.c: Move to ....
24685 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24686 * sysdeps/ieee754/soft-fp/Makefile: New file.
24687 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24688 * sysdeps/arm/preconfigure: Regenerated.
24689 * sysdeps/arm/nofpu/Implies: New file.
24690 * sysdeps/arm/s_fma.c: Remove file.
24691 * sysdeps/arm/s_fmaf.c: Likewise.
24692 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24693 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24694 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24695 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24696 * sysdeps/microblaze/s_fma.c: Remove file.
24697 * sysdeps/microblaze/s_fmaf.c: Likewise.
24698 * sysdeps/mips/mips32/nofpu/Implies: New file.
24699 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24700 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24701 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24702 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24703 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24704 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24705 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24706 implementation.
24707 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24708 * sysdeps/nios2/s_fma.c: Remove file.
24709 * sysdeps/nios2/s_fmaf.c: Likewise.
24710 * sysdeps/sh/nofpu/Implies: New file.
24711 * sysdeps/sh/s_fma.c: Remove file.
24712 * sysdeps/sh/s_fmaf.c: Likewise.
24713 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24714 * sysdeps/tile/s_fma.c: Remove file.
24715 * sysdeps/tile/s_fmaf.c: Likewise.
24716
ac817e08
L
247172017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24718
24719 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24720 Add s_cosf-sse2 and s_cosf-fma.
24721 (CFLAGS-s_cosf-fma.c): New.
24722 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24723 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24724 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24725
eb428576
SE
247262017-12-12 Steve Ellcey <sellcey@cavium.com>
24727
24728 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24729
c80acdc3
AZ
247302017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24731
cc683f7e
AZ
24732 * libio/Makefile (tests): Add tst-bz22415.
24733 (tst-bz22415-ENV): New rule.
24734 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24735 (tests-special): Add tst-bz22415-mem.out.
24736 ($(objpfx)tst-bz22415-mem.out): New rule.
24737 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24738 in case of a successful seek operation.
24739 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24740 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24741 buffer is required.
24742 * libio/tst-bz22415.c: New test.
24743
c80acdc3
AZ
24744 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24745
363e4519 247462017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
24747
24748 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24749 __IPC_64 to 0 to avoid IPC_64 being set.
24750
4e0dca54
SN
247512017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24752
24753 [BZ #22593]
24754 * math/bits/mathcalls.h (nextafter): Remove const.
24755 (nexttoward): Likewise.
24756
8df5d347
JM
247572017-12-12 Joseph Myers <joseph@codesourcery.com>
24758
24759 * configure.ac (--with-fp): Remove configure option.
24760 (with_fp_cond): New variable.
24761 (libc_cv_with_fp): New configure test. Use this variable instead
24762 of with_fp.
24763 * configure: Regenerated.
24764 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24765 * manual/install.texi (Configuring and compiling): Remove
24766 --without-fp.
24767 * INSTALL: Regenerated.
24768 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24769 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24770 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24771 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24772 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24773 use --without-fp to configure glibc.
24774
0cee1257
RJ
247752017-12-12 Rical Jasan <ricaljasan@pacific.net>
24776
24777 * manual/locale.texi (nl_langinfo): Fix a typo.
24778
363e4519 247792017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
24780
24781 [BZ #22588]
24782 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24783
36975e8e
L
247842017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24785
24786 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24787 (CFLAGS-argp-parse.c): Likewise.
24788 (CFLAGS-argp-fmtstream.c): Likewise.
24789 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24790 (CPPFLAGS-sha512-crypt.c): Likewise.
24791 (CPPFLAGS-md5-crypt.c): Likewise.
24792 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24793 (CFLAGS-stack_chk_fail_local.c): Likewise.
24794 (CFLAGS-backtrace.c): Likewise.
24795 (CFLAGS-sprintf_chk.c): Likewise.
24796 (CFLAGS-snprintf_chk.c): Likewise.
24797 (CFLAGS-vsprintf_chk.c): Likewise.
24798 (CFLAGS-vsnprintf_chk.c): Likewise.
24799 (CFLAGS-asprintf_chk.c): Likewise.
24800 (CFLAGS-vasprintf_chk.c): Likewise.
24801 (CFLAGS-obprintf_chk.c): Likewise.
24802 (CFLAGS-dprintf_chk.c): Likewise.
24803 (CFLAGS-vdprintf_chk.c): Likewise.
24804 (CFLAGS-printf_chk.c): Likewise.
24805 (CFLAGS-fprintf_chk.c): Likewise.
24806 (CFLAGS-vprintf_chk.c): Likewise.
24807 (CFLAGS-vfprintf_chk.c): Likewise.
24808 (CFLAGS-gets_chk.c): Likewise.
24809 (CFLAGS-fgets_chk.c): Likewise.
24810 (CFLAGS-fgets_u_chk.c): Likewise.
24811 (CFLAGS-fread_chk.c): Likewise.
24812 (CFLAGS-fread_u_chk.c): Likewise.
24813 (CFLAGS-swprintf_chk.c): Likewise.
24814 (CFLAGS-vswprintf_chk.c): Likewise.
24815 (CFLAGS-wprintf_chk.c): Likewise.
24816 (CFLAGS-fwprintf_chk.c): Likewise.
24817 (CFLAGS-vwprintf_chk.c): Likewise.
24818 (CFLAGS-vfwprintf_chk.c): Likewise.
24819 (CFLAGS-fgetws_chk.c): Likewise.
24820 (CFLAGS-fgetws_u_chk.c): Likewise.
24821 (CFLAGS-read_chk.c): Likewise.
24822 (CFLAGS-pread_chk.c): Likewise.
24823 (CFLAGS-pread64_chk.c): Likewise.
24824 (CFLAGS-recv_chk.c): Likewise.
24825 (CFLAGS-recvfrom_chk.c): Likewise.
24826 (CFLAGS-tst-longjmp_chk.c): Likewise.
24827 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24828 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24829 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24830 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24831 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24832 (CFLAGS-tst-chk1.c): Likewise.
24833 (CFLAGS-tst-chk2.c): Likewise.
24834 (CFLAGS-tst-chk3.c): Likewise.
24835 (CFLAGS-tst-chk4.cc): Likewise.
24836 (CFLAGS-tst-chk5.cc): Likewise.
24837 (CFLAGS-tst-chk6.cc): Likewise.
24838 (CFLAGS-tst-lfschk1.c): Likewise.
24839 (CFLAGS-tst-lfschk2.c): Likewise.
24840 (CFLAGS-tst-lfschk3.c): Likewise.
24841 (CFLAGS-tst-lfschk4.cc): Likewise.
24842 (CFLAGS-tst-lfschk5.cc): Likewise.
24843 (CFLAGS-tst-lfschk6.cc): Likewise.
24844 (CFLAGS-tst-ssp-1.c): Likewise.
24845 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24846 (CFLAGS-scandir64.c): Likewise.
24847 (CFLAGS-scandir-tail.c): Likewise.
24848 (CFLAGS-scandir64-tail.c): Likewise.
24849 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24850 (CFLAGS-dl-tunables.c): Likewise.
24851 (CFLAGS-dl-runtime.c): Likewise.
24852 (CFLAGS-dl-lookup.c): Likewise.
24853 (CFLAGS-dl-iterate-phdr.c): Likewise.
24854 (CFLAGS-vismain.c): Likewise.
24855 (CFLAGS-tst-linkall-static.c): Likewise.
24856 (CFLAGS-tst-linkall-static.c): Likewise.
24857 (CPPFLAGS-dl-load.c): Likewise.
24858 (CFLAGS-ldconfig.c): Likewise.
24859 (CFLAGS-dl-cache.c): Likewise.
24860 (CFLAGS-cache.c): Likewise.
24861 (CFLAGS-rtld.c): Likewise.
24862 (CFLAGS-multiload.c): Likewise.
24863 (CFLAGS-filtmod1.c): Likewise.
24864 (CFLAGS-tst-align.c): Likewise.
24865 (CFLAGS-tst-align2.c): Likewise.
24866 (CFLAGS-tst-alignmod.c): Likewise.
24867 (CFLAGS-tst-alignmod2.c): Likewise.
24868 (CPPFLAGS-tst-execstack.c): Likewise.
24869 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24870 (CFLAGS-tst-latepthreadmod.c): Likewise.
24871 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24872 (CFLAGS-getgrnam_r.c): Likewise.
24873 (CFLAGS-getgrent_r.c): Likewise.
24874 (CFLAGS-getgrent.c): Likewise.
24875 (CFLAGS-fgetgrent.c): Likewise.
24876 (CFLAGS-fgetgrent_r.c): Likewise.
24877 (CFLAGS-putgrent.c): Likewise.
24878 (CFLAGS-initgroups.c): Likewise.
24879 (CFLAGS-getgrgid.c): Likewise.
24880 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24881 (CFLAGS-getsgent.c): Likewise.
24882 (CFLAGS-fgetsgent.c): Likewise.
24883 (CFLAGS-fgetsgent_r.c): Likewise.
24884 (CFLAGS-putsgent.c): Likewise.
24885 (CFLAGS-getsgnam.c): Likewise.
24886 (CFLAGS-getsgnam_r.c): Likewise.
24887 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24888 (CFLAGS-iconv_charmap.c): Likewise.
24889 (CFLAGS-dummy-repertoire.c): Likewise.
24890 (CFLAGS-charmap.c): Likewise.
24891 (CFLAGS-linereader.c): Likewise.
24892 (CFLAGS-simple-hash.c): Likewise.
24893 (CFLAGS-gconv_conf.c): Likewise.
24894 (CFLAGS-iconvconfig.c): Likewise.
24895 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24896 (CFLAGS-gethstbyad.c): Likewise.
24897 (CFLAGS-gethstbynm_r.c): Likewise.
24898 (CFLAGS-gethstbynm.c): Likewise.
24899 (CFLAGS-gethstbynm2_r.c): Likewise.
24900 (CFLAGS-gethstbynm2.c): Likewise.
24901 (CFLAGS-gethstent_r.c): Likewise.
24902 (CFLAGS-gethstent.c): Likewise.
24903 (CFLAGS-rcmd.c): Likewise.
24904 (CFLAGS-getnetbynm_r.c): Likewise.
24905 (CFLAGS-getnetbynm.c): Likewise.
24906 (CFLAGS-getnetbyad_r.c): Likewise.
24907 (CFLAGS-getnetbyad.c): Likewise.
24908 (CFLAGS-getnetent_r.c): Likewise.
24909 (CFLAGS-getnetent.c): Likewise.
24910 (CFLAGS-getaliasent_r.c): Likewise.
24911 (CFLAGS-getaliasent.c): Likewise.
24912 (CFLAGS-getrpcent_r.c): Likewise.
24913 (CFLAGS-getrpcent.c): Likewise.
24914 (CFLAGS-getservent_r.c): Likewise.
24915 (CFLAGS-getservent.c): Likewise.
24916 (CFLAGS-getprtent_r.c): Likewise.
24917 (CFLAGS-getprtent.c): Likewise.
24918 (CFLAGS-either_ntoh.c): Likewise.
24919 (CFLAGS-either_hton.c): Likewise.
24920 (CFLAGS-getnetgrent.c): Likewise.
24921 (CFLAGS-getnetgrent_r.c): Likewise.
24922 (CFLAGS-tst-checks-posix.c): Likewise.
24923 (CFLAGS-tst-sockaddr.c): Likewise.
24924 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24925 (CFLAGS-tst-translit.c): Likewise.
24926 (CFLAGS-tst-gettext2.c): Likewise.
24927 (CFLAGS-tst-codeset.c): Likewise.
24928 (CFLAGS-tst-gettext3.c): Likewise.
24929 (CFLAGS-tst-gettext4.c): Likewise.
24930 (CFLAGS-tst-gettext5.c): Likewise.
24931 (CFLAGS-tst-gettext6.c): Likewise.
24932 * io/Makefile (CFLAGS-open.c): Likewise.
24933 (CFLAGS-open64.c): Likewise.
24934 (CFLAGS-creat.c): Likewise.
24935 (CFLAGS-creat64.c): Likewise.
24936 (CFLAGS-fcntl.c): Likewise.
24937 (CFLAGS-poll.c): Likewise.
24938 (CFLAGS-ppoll.c): Likewise.
24939 (CFLAGS-lockf.c): Likewise.
24940 (CFLAGS-statfs.c): Likewise.
24941 (CFLAGS-fstatfs.c): Likewise.
24942 (CFLAGS-statvfs.c): Likewise.
24943 (CFLAGS-fstatvfs.c): Likewise.
24944 (CFLAGS-fts.c): Likewise.
24945 (CFLAGS-fts64.c): Likewise.
24946 (CFLAGS-ftw.c): Likewise.
24947 (CFLAGS-ftw64.c): Likewise.
24948 (CFLAGS-lockf.c): Likewise.
24949 (CFLAGS-posix_fallocate.c): Likewise.
24950 (CFLAGS-posix_fallocate64.c): Likewise.
24951 (CFLAGS-fallocate.c): Likewise.
24952 (CFLAGS-fallocate64.c): Likewise.
24953 (CFLAGS-read.c): Likewise.
24954 (CFLAGS-write.c): Likewise.
24955 (CFLAGS-test-stat.c): Likewise.
24956 (CFLAGS-test-lfs.c): Likewise.
24957 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24958 (CFLAGS-fputc.c): Likewise.
24959 (CFLAGS-fputwc.c): Likewise.
24960 (CFLAGS-freopen64.c): Likewise.
24961 (CFLAGS-freopen.c): Likewise.
24962 (CFLAGS-fseek.c): Likewise.
24963 (CFLAGS-fseeko64.c): Likewise.
24964 (CFLAGS-fseeko.c): Likewise.
24965 (CFLAGS-ftello64.c): Likewise.
24966 (CFLAGS-ftello.c): Likewise.
24967 (CFLAGS-fwide.c): Likewise.
24968 (CFLAGS-genops.c): Likewise.
24969 (CFLAGS-getc.c): Likewise.
24970 (CFLAGS-getchar.c): Likewise.
24971 (CFLAGS-getwc.c): Likewise.
24972 (CFLAGS-getwchar.c): Likewise.
24973 (CFLAGS-iofclose.c): Likewise.
24974 (CFLAGS-iofflush.c): Likewise.
24975 (CFLAGS-iofgetpos64.c): Likewise.
24976 (CFLAGS-iofgetpos.c): Likewise.
24977 (CFLAGS-iofgets.c): Likewise.
24978 (CFLAGS-iofgetws.c): Likewise.
24979 (CFLAGS-iofputs.c): Likewise.
24980 (CFLAGS-iofputws.c): Likewise.
24981 (CFLAGS-iofread.c): Likewise.
24982 (CFLAGS-iofsetpos64.c): Likewise.
24983 (CFLAGS-iofsetpos.c): Likewise.
24984 (CFLAGS-ioftell.c): Likewise.
24985 (CFLAGS-iofwrite.c): Likewise.
24986 (CFLAGS-iogetdelim.c): Likewise.
24987 (CFLAGS-iogetline.c): Likewise.
24988 (CFLAGS-iogets.c): Likewise.
24989 (CFLAGS-iogetwline.c): Likewise.
24990 (CFLAGS-ioputs.c): Likewise.
24991 (CFLAGS-ioseekoff.c): Likewise.
24992 (CFLAGS-ioseekpos.c): Likewise.
24993 (CFLAGS-iosetbuffer.c): Likewise.
24994 (CFLAGS-iosetvbuf.c): Likewise.
24995 (CFLAGS-ioungetc.c): Likewise.
24996 (CFLAGS-ioungetwc.c): Likewise.
24997 (CFLAGS-oldfileops.c): Likewise.
24998 (CFLAGS-oldiofclose.c): Likewise.
24999 (CFLAGS-oldiofgetpos64.c): Likewise.
25000 (CFLAGS-oldiofgetpos.c): Likewise.
25001 (CFLAGS-oldiofsetpos64.c): Likewise.
25002 (CFLAGS-oldiofsetpos.c): Likewise.
25003 (CFLAGS-peekc.c): Likewise.
25004 (CFLAGS-putc.c): Likewise.
25005 (CFLAGS-putchar.c): Likewise.
25006 (CFLAGS-putwc.c): Likewise.
25007 (CFLAGS-putwchar.c): Likewise.
25008 (CFLAGS-rewind.c): Likewise.
25009 (CFLAGS-wfileops.c): Likewise.
25010 (CFLAGS-wgenops.c): Likewise.
25011 (CFLAGS-oldiofopen.c): Likewise.
25012 (CFLAGS-iofopen.c): Likewise.
25013 (CFLAGS-iofopen64.c): Likewise.
25014 (CFLAGS-oldtmpfile.c): Likewise.
25015 (CFLAGS-tst_putwc.c): Likewise.
25016 * locale/Makefile (CFLAGS-md5.c): Likewise.
25017 (CFLAGS-charmap.c): Likewise.
25018 (CFLAGS-locfile.c): Likewise.
25019 (CFLAGS-charmap-dir.c): Likewise.
25020 * login/Makefile (CFLAGS-grantpt.c): Likewise.
25021 (CFLAGS-getpt.c): Likewise.
25022 (CFLAGS-pt_chown.c): Likewise.
25023 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
25024 (CFLAGS-obstack.c): Likewise.
25025 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
25026 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
25027 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
25028 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
25029 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
25030 (CFLAGS-test-tgmath.c): Likewise.
25031 (CFLAGS-test-tgmath2.c): Likewise.
25032 (CFLAGS-test-tgmath-ret.c): Likewise.
25033 (CFLAGS-test-powl.c): Likewise.
25034 (CFLAGS-test-snan.c): Likewise.
25035 (CFLAGS-test-signgam-finite.c): Likewise.
25036 (CFLAGS-test-signgam-finite-c99.c): Likewise.
25037 (CFLAGS-test-signgam-finite-c11.c): Likewise.
25038 (CFLAGS-test-signgam-uchar.c): Likewise.
25039 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25040 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25041 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25042 (CFLAGS-test-signgam-uint.c): Likewise.
25043 (CFLAGS-test-signgam-uint-init.c): Likewise.
25044 (CFLAGS-test-signgam-uint-static.c): Likewise.
25045 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25046 (CFLAGS-test-signgam-ullong.c): Likewise.
25047 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25048 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25049 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25050 (CFLAGS-test-math-cxx11.cc): Likewise.
25051 (CFLAGS-test-math-isinff.cc): Likewise.
25052 (CFLAGS-test-math-iszero.cc): Likewise.
25053 (CFLAGS-test-math-issignaling.cc): Likewise.
25054 (CFLAGS-test-math-iscanonical.cc): Likewise.
25055 (CFLAGS-test-iszero-excess-precision.c): Likewise.
25056 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
25057 (CFLAGS-test-flt-eval-method.c): Likewise.
25058 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
25059 (CFLAGS-test-finite-macros.c): Likewise.
25060 * misc/Makefile (CFLAGS-select.c): Likewise.
25061 (CFLAGS-tsearch.c): Likewise.
25062 (CFLAGS-lsearch.c): Likewise.
25063 (CFLAGS-pselect.c): Likewise.
25064 (CFLAGS-readv.c): Likewise.
25065 (CFLAGS-writev.c): Likewise.
25066 (CFLAGS-preadv.c): Likewise.
25067 (CFLAGS-preadv64.c): Likewise.
25068 (CFLAGS-pwritev.c): Likewise.
25069 (CFLAGS-pwritev64.c): Likewise.
25070 (CFLAGS-preadv2.c): Likewise.
25071 (CFLAGS-preadv64v2.c): Likewise.
25072 (CFLAGS-pwritev2.c): Likewise.
25073 (CFLAGS-pwritev64v2.c): Likewise.
25074 (CFLAGS-usleep.c): Likewise.
25075 (CFLAGS-syslog.c): Likewise.
25076 (CFLAGS-error.c): Likewise.
25077 (CFLAGS-getpass.c): Likewise.
25078 (CFLAGS-mkstemp.c): Likewise.
25079 (CFLAGS-mkstemp64.c): Likewise.
25080 (CFLAGS-getsysstats.c): Likewise.
25081 (CFLAGS-getusershell.c): Likewise.
25082 (CFLAGS-err.c): Likewise.
25083 (CFLAGS-tst-tsearch.c): Likewise.
25084 (CFLAGS-msync.c): Likewise.
25085 (CFLAGS-fdatasync.c): Likewise.
25086 (CFLAGS-fsync.c): Likewise.
25087 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
25088 (CFLAGS-unwind.c): Likewise.
25089 (CFLAGS-unwind-forcedunwind.c): Likewise.
25090 (CFLAGS-pthread_cancel.c): Likewise.
25091 (CFLAGS-pthread_setcancelstate.c): Likewise.
25092 (CFLAGS-pthread_setcanceltype.c): Likewise.
25093 (CFLAGS-cancellation.c): Likewise.
25094 (CFLAGS-libc-cancellation.c): Likewise.
25095 (CFLAGS-pthread_exit.c): Likewise.
25096 (CFLAGS-forward.c): Likewise.
25097 (CFLAGS-pthread_testcancel.c): Likewise.
25098 (CFLAGS-pthread_join.c): Likewise.
25099 (CFLAGS-pthread_timedjoin.c): Likewise.
25100 (CFLAGS-pthread_once.c): Likewise.
25101 (CFLAGS-pthread_cond_wait.c): Likewise.
25102 (CFLAGS-sem_wait.c): Likewise.
25103 (CFLAGS-sem_timedwait.c): Likewise.
25104 (CFLAGS-fcntl.c): Likewise.
25105 (CFLAGS-lockf.c): Likewise.
25106 (CFLAGS-pread.c): Likewise.
25107 (CFLAGS-pread64.c): Likewise.
25108 (CFLAGS-pwrite.c): Likewise.
25109 (CFLAGS-pwrite64.c): Likewise.
25110 (CFLAGS-wait.c): Likewise.
25111 (CFLAGS-waitpid.c): Likewise.
25112 (CFLAGS-sigwait.c): Likewise.
25113 (CFLAGS-msgrcv.c): Likewise.
25114 (CFLAGS-msgsnd.c): Likewise.
25115 (CFLAGS-tcdrain.c): Likewise.
25116 (CFLAGS-open.c): Likewise.
25117 (CFLAGS-open64.c): Likewise.
25118 (CFLAGS-pause.c): Likewise.
25119 (CFLAGS-recv.c): Likewise.
25120 (CFLAGS-send.c): Likewise.
25121 (CFLAGS-accept.c): Likewise.
25122 (CFLAGS-sendto.c): Likewise.
25123 (CFLAGS-connect.c): Likewise.
25124 (CFLAGS-recvfrom.c): Likewise.
25125 (CFLAGS-recvmsg.c): Likewise.
25126 (CFLAGS-sendmsg.c): Likewise.
25127 (CFLAGS-close.c): Likewise.
25128 (CFLAGS-read.c): Likewise.
25129 (CFLAGS-write.c): Likewise.
25130 (CFLAGS-nanosleep.c): Likewise.
25131 (CFLAGS-sigsuspend.c): Likewise.
25132 (CFLAGS-msync.c): Likewise.
25133 (CFLAGS-fdatasync.c): Likewise.
25134 (CFLAGS-fsync.c): Likewise.
25135 (CFLAGS-pt-system.c): Likewise.
25136 (CFLAGS-tst-cleanup2.c): Likewise.
25137 (CFLAGS-tst-cleanupx2.c): Likewise.
25138 (CFLAGS-flockfile.c): Likewise.
25139 (CFLAGS-ftrylockfile.c): Likewise.
25140 (CFLAGS-funlockfile.c): Likewise.
25141 (CFLAGS-tst-initializers1.c): Likewise.
25142 (CFLAGS-tst-initializers1-c89.c): Likewise.
25143 (CFLAGS-tst-initializers1-c99.c): Likewise.
25144 (CFLAGS-tst-initializers1-c11.c): Likewise.
25145 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25146 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25147 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25148 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25149 (CFLAGS-nscd_getgr_r.c): Likewise.
25150 (CFLAGS-nscd_gethst_r.c): Likewise.
25151 (CFLAGS-nscd_getai.c): Likewise.
25152 (CFLAGS-nscd_initgroups.c): Likewise.
25153 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25154 (CFLAGS-pause.c): Likewise.
25155 (CFLAGS-pread.c): Likewise.
25156 (CFLAGS-pread64.c): Likewise.
25157 (CFLAGS-pwrite.c): Likewise.
25158 (CFLAGS-pwrite64.c): Likewise.
25159 (CFLAGS-sleep.c): Likewise.
25160 (CFLAGS-wait.c): Likewise.
25161 (CFLAGS-waitid.c): Likewise.
25162 (CFLAGS-waitpid.c): Likewise.
25163 (CFLAGS-getopt.c): Likewise.
25164 (CFLAGS-wordexp.c): Likewise.
25165 (CFLAGS-sysconf.c): Likewise.
25166 (CFLAGS-pathconf.c): Likewise.
25167 (CFLAGS-fpathconf.c): Likewise.
25168 (CFLAGS-spawn.c): Likewise.
25169 (CFLAGS-spawnp.c): Likewise.
25170 (CFLAGS-spawni.c): Likewise.
25171 (CFLAGS-glob.c): Likewise.
25172 (CFLAGS-glob64.c): Likewise.
25173 (CFLAGS-getconf.c): Likewise.
25174 (CFLAGS-nanosleep.c): Likewise.
25175 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25176 (CFLAGS-getpwent.c): Likewise.
25177 (CFLAGS-getpw.c): Likewise.
25178 (CFLAGS-fgetpwent_r.c): Likewise.
25179 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25180 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25181 (CFLAGS-mq_timedreceive.c): Likewise.
25182 (CFLAGS-mq_timedsend.c): Likewise.
25183 (CFLAGS-clock_nanosleep.c): Likewise.
25184 (CFLAGS-librt-cancellation.c): Likewise.
25185 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25186 (CFLAGS-getspent.c): Likewise.
25187 (CFLAGS-fgetspent.c): Likewise.
25188 (CFLAGS-fgetspent_r.c): Likewise.
25189 (CFLAGS-putspent.c): Likewise.
25190 (CFLAGS-getspnam.c): Likewise.
25191 (CFLAGS-getspnam_r.c): Likewise.
25192 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25193 (CFLAGS-sigsuspend.c): Likewise.
25194 (CFLAGS-sigtimedwait.c): Likewise.
25195 (CFLAGS-sigwait.c): Likewise.
25196 (CFLAGS-sigwaitinfo.c): Likewise.
25197 (CFLAGS-sigreturn.c): Likewise.
25198 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25199 (CFLAGS-vfwprintf.c): Likewise.
25200 (CFLAGS-tmpfile.c): Likewise.
25201 (CFLAGS-tmpfile64.c): Likewise.
25202 (CFLAGS-tempname.c): Likewise.
25203 (CFLAGS-psignal.c): Likewise.
25204 (CFLAGS-vprintf.c): Likewise.
25205 (CFLAGS-cuserid.c): Likewise.
25206 (CFLAGS-errlist.c): Likewise.
25207 (CFLAGS-siglist.c): Likewise.
25208 (CFLAGS-scanf15.c): Likewise.
25209 (CFLAGS-scanf17.c): Likewise.
25210 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25211 (CFLAGS-msort.c): Likewise.
25212 (CFLAGS-qsort.c): Likewise.
25213 (CFLAGS-system.c): Likewise.
25214 (CFLAGS-fmtmsg.c): Likewise.
25215 (CFLAGS-strfmon.c): Likewise.
25216 (CFLAGS-strfmon_l.c): Likewise.
25217 (CFLAGS-strfromd.c): Likewise.
25218 (CFLAGS-strfromf.c): Likewise.
25219 (CFLAGS-strfroml.c): Likewise.
25220 (CFLAGS-tst-bsearch.c): Likewise.
25221 (CFLAGS-tst-qsort.c): Likewise.
25222 (CFLAGS-tst-makecontext2.c): Likewise.
25223 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25224 (CFLAGS-xnlm_prot.c): Likewise.
25225 (CFLAGS-xrstat.c): Likewise.
25226 (CFLAGS-xyppasswd.c): Likewise.
25227 (CFLAGS-xklm_prot.c): Likewise.
25228 (CFLAGS-xrex.c): Likewise.
25229 (CFLAGS-xsm_inter.c): Likewise.
25230 (CFLAGS-xmount.c): Likewise.
25231 (CFLAGS-xrusers.c): Likewise.
25232 (CFLAGS-xspray.c): Likewise.
25233 (CFLAGS-xnfs_prot.c): Likewise.
25234 (CFLAGS-xrquota.c): Likewise.
25235 (CFLAGS-xkey_prot.c): Likewise.
25236 (CFLAGS-auth_unix.c): Likewise.
25237 (CFLAGS-key_call.c): Likewise.
25238 (CFLAGS-pmap_rmt.c): Likewise.
25239 (CFLAGS-clnt_perr.c): Likewise.
25240 (CFLAGS-openchild.c): Likewise.
25241 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25242 (CFLAGS-msgsnd.c): Likewise.
25243 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25244 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25245 (CFLAGS-tzset.c): Likewise.
25246 (CFLAGS-getdate.c): Likewise.
25247 (CFLAGS-test_time.c): Likewise.
25248 (CPPFLAGS-tst-tzname.c): Likewise.
25249 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25250 (CFLAGS-zic.c): Likewise.
25251 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25252 (CFLAGS-wcswidth.c): Likewise.
25253 (CFLAGS-wcstol.c): Likewise.
25254 (CFLAGS-wcstoul.c): Likewise.
25255 (CFLAGS-wcstoll.c): Likewise.
25256 (CFLAGS-wcstoull.c): Likewise.
25257 (CFLAGS-wcstod.c): Likewise.
25258 (CFLAGS-wcstold.c): Likewise.
25259 (CFLAGS-wcstof128.c): Likewise.
25260 (CFLAGS-wcstof.c): Likewise.
25261 (CFLAGS-wcstol_l.c): Likewise.
25262 (CFLAGS-wcstoul_l.c): Likewise.
25263 (CFLAGS-wcstoll_l.c): Likewise.
25264 (CFLAGS-wcstoull_l.c): Likewise.
25265 (CFLAGS-wcstod_l.c): Likewise.
25266 (CFLAGS-wcstold_l.c): Likewise.
25267 (CFLAGS-wcstof128_l.c): Likewise.
25268 (CFLAGS-wcstof_l.c): Likewise.
25269 (CPPFLAGS-tst-wchar-h.c): Likewise.
25270 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 25271
f4b2aea6
PC
252722017-12-11 Paul A. Clarke <pc@us.ibm.com>
25273
25274 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25275
c9cd7b0c
AZ
252762017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25277 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25278
25279 * manual/tunables.texi (Hardware Capability Tunables): Document
25280 glibc.tune.cached_memopt.
25281 * sysdeps/powerpc/cpu-features.c: New file.
25282 * sysdeps/powerpc/cpu-features.h: New file.
25283 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25284 _dl_powerpc_cpu_features.
25285 * sysdeps/powerpc/dl-tunables.list: New file.
25286 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25287 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25288 (INIT_ARCH): Initialize use_aligned_memopt.
25289 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25290 IS_IN(rtld))]: Restrict dl_platform_init availability and
25291 initialize CPU features used by tunables.
25292 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25293 Add memcpy-power8-cached.
25294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25295 __memcpy_power8_cached.
25296 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25298 New file.
25299
e70c6fee
L
253002017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25301
25302 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25303 (CFLAGS-noinl-tester.c): Likewise.
25304 (CFLAGS-tst-strlen.c): Likewise.
25305 (CFLAGS-stratcliff.c): Likewise.
25306 (CFLAGS-test-ffs.c): Likewise.
25307 (CFLAGS-tst-inlcall.c): Likewise.
25308 (CFLAGS-tst-xbzero-opt.c): Likewise.
25309 (CFLAGS-memcpy.c): Likewise.
25310 (CFLAGS-wordcopy.c): Likewise.
25311
dee94366
SL
253122017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25313
25314 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25315 Store r15 on stack and add cfi rule.
25316 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25317 Likewise.
25318
363e4519 253192017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
25320
25321 [BZ #22577]
25322 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25323 call.
25324
9d0ffa60
L
253252017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25326
25327 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25328 Add s_sinf-sse2 and s_sinf-fma.
25329 (CFLAGS-s_sinf-fma.c): New.
25330 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25331 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25332 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25333
9574c7b6
L
253342017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25335
25336 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25337
d15e83c5
JM
253382017-12-07 Joseph Myers <joseph@codesourcery.com>
25339
25340 [BZ #22568]
25341 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25342 part of result to imaginary part of argument if it is zero and the
25343 real part of the argument is not finite.
25344 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25345 of result to real part of argument if it is zero and the imaginary
25346 part of the argument is not finite.
25347
d89756eb
MF
253482017-12-07 Mike FABIAN <mfabian@redhat.com>
25349
25350 [BZ #22524]
25351 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25352 and to the list of locales to be built for testing.
25353 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25354 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25355 and build the collation rules upon that.
25356
1f9055ce
JM
253572017-12-07 Joseph Myers <joseph@codesourcery.com>
25358
25359 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25360 * manual/math.texi (Mathematics): Document support for _Float32.
25361 * math/Makefile (test-types): Add float32.
25362 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25363 * stdlib/Versions (GLIBC_2.27): Likewise.
25364 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25365 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25366 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25367 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25368 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25369 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25370 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25371 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25373 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25374 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25375 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25376 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25377 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25378 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25379 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25380 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25381 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25382 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25383 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25384 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25385 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25386 Likewise.
25387 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25388 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25389 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25390 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25391 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25393 Likewise.
25394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25395 Likewise.
25396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25397 Likewise.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25399 Likewise.
25400
25401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25402 Likewise.
25403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25404 Likewise.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25406 Likewise.
25407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25408 Likewise.
25409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25410 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25411 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25412 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25413 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25414 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25415 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25416 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25417 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25418 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25420 Likewise.
25421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25422 Likewise.
25423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25424 Likewise.
25425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25426 Likewise.
25427 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25428 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25429 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25430 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25431 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25432 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25433 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25434 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25435
5244527d
JM
254362017-12-06 Joseph Myers <joseph@codesourcery.com>
25437
fb1ca2aa
JM
25438 * stdlib/strtof.c: Include <bits/floatn.h>
25439 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25440 and later undefine as macro. Define as weak alias if
25441 [!USE_WIDE_CHAR].
25442 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25443 and later undefine as macro. Define as weak alias if
25444 [USE_WIDE_CHAR].
25445 * stdlib/strtof_l.c: Include <bits/floatn.h>
25446 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25447 and later undefine as macro. Define as weak alias if
25448 [!USE_WIDE_CHAR].
25449 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25450 and later undefine as macro. Define as weak alias if
25451 [USE_WIDE_CHAR].
25452
fc10cc3f
JM
25453 * stdlib/strfromf.c: Include <bits/floatn.h>.
25454 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25455 and later undefine as macro and define as weak alias.
25456
e420d228
JM
25457 * math/test-float32.h: New file.
25458
26007a2f
JM
25459 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25460 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25461 (libm_alias_float_other_r): Create f32 alias.
25462 (libm_alias_float_r): Use semicolon before call to
25463 libm_alias_float_other_r.
25464
c191f64c
JM
25465 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25466 second argument to libm_alias_float_other.
25467 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25468 second argument to libm_alias_float_other.
25469 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25470 argument to libm_alias_float_other.
25471
5244527d
JM
25472 [BZ #22561]
25473 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25474 real part of result for argument 0 + i * NaN.
25475 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25476 results for tests of 0 + i * NaN.
25477
d73fac82
AZ
254782017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25479
25480 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25481
7ec094e8
DM
254822017-12-06 David S. Miller <davem@davemloft.net>
25483
25484 * sysdeps/sparc/fpu/libm-test-ulps: Update
25485 exp_{downward,towardzero,upward} ulps.
25486
53994f12
JM
254872017-12-06 Joseph Myers <joseph@codesourcery.com>
25488
1dbe6f64
JM
25489 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25490 variables static.
25491
53994f12
JM
25492 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25493 (Y0_2D): Likewise.
25494 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25495 (Y0_2D): Likewise.
25496 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25497 (Y0_2D): Likewise.
25498 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25499 (Y0_2D): Likewise.
25500
62ea2193
MF
255012017-12-06 Mike FABIAN <mfabian@redhat.com>
25502
25503 [BZ #22515]
25504 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25505 and to the list of locales to be built for testing.
25506 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25507 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25508 and build the collation rules upon that.
25509
87235d70
RS
255102017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25511
25512 * NEWS: Add sinf to list of optimized functions.
25513
0d93b7fd
JM
255142017-12-06 Joseph Myers <joseph@codesourcery.com>
25515
25516 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25517 (__HAVE_FLOAT32X): Likewise.
25518 * manual/math.texi (Mathematics): Document support for _Float64
25519 and _Float32x.
25520 * math/Makefile (test-types): Add float64 and float32x.
25521 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25522 functions.
25523 * stdlib/Versions (GLIBC_2.27): Likewise.
25524 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25525 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25526 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25527 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25528 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25529 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25530 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25531 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25533 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25534 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25535 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25536 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25537 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25538 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25539 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25540 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25541 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25542 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25543 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25544 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25545 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25546 Likewise.
25547 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25548 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25549 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25550 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25551 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25553 Likewise.
25554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25555 Likewise.
25556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25557 Likewise.
25558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25559 Likewise.
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25561 Likewise.
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25563 Likewise.
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25565 Likewise.
25566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25567 Likewise.
25568 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25569 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25570 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25571 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25572 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25573 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25574 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25575 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25576 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25577 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25579 Likewise.
25580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25581 Likewise.
25582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25583 Likewise.
25584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25585 Likewise.
25586 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25587 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25588 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25592 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25593 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25594
f7787234
JM
255952017-12-05 Joseph Myers <joseph@codesourcery.com>
25596
25597 * bits/floatn-common.h: Include <bits/long-double.h>.
25598 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25599 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25600 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25601 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25602 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25603 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25604 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25605 (__builtin_huge_valf64): Use __builtin_huge_vall.
25606 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25607 (__builtin_inff64): Use __builtin_infl.
25608 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25609 (__builtin_nanf64): Use __builtin_nanl.
25610 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25611 (__builtin_nansf64): Use __builtin_nansl.
25612
363e4519
DL
256132017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25614 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
e6855a3b 25615 Carlos O'Donell <carlos@redhat.com>
07ed18d2
RA
25616
25617 * elf/dl-tunables.list: Add elision parameters.
25618 * manual/tunables.texi: Add entries about elision tunable.
25619 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25620 Add callback functions to dynamically enable/disable elision.
25621 Add multiple callbacks functions to set elision parameters.
25622 Deleted __libc_enable_secure check.
25623 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25624 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25625 * configure: Regenerated.
25626 * configure.ac: Option enable_lock_elision was deleted.
25627 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25628 * config.make.in: Remove references to enable_lock_elision.
25629 * manual/install.texi: Elision configure option was removed.
25630 * INSTALL: Regenerated to remove enable_lock_elision.
25631 * nptl/Makefile:
25632 Disable elision so it can verify error case for destroying a mutex.
25633 * sysdeps/powerpc/nptl/elide.h:
25634 Cleanup ENABLE_LOCK_ELISION check.
25635 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25636 * sysdeps/s390/configure: Regenerated.
25637 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25638 * nptl/tst-mutex8.c:
25639 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25640 * sysdeps/powerpc/powerpc32/sysdep.h:
25641 Deleted all ENABLE_LOCK_ELISION checks.
25642 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25643 * sysdeps/powerpc/sysdep.h: Likewise.
25644 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25645 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25646 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25647 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25648 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25649 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25650 enable-lock-elision.
25651
a5a2a76b
JM
256522017-12-05 Joseph Myers <joseph@codesourcery.com>
25653
25654 * stdlib/strtod.c: Include <bits/floatn.h>.
25655 (BUILD_DOUBLE): New macro.
25656 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25657 (strtof64): Define and later undefine as macro. Define as weak
25658 alias if [!USE_WIDE_CHAR].
25659 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25660 (wcstof64): Define and later undefine as macro. Define as weak
25661 alias if [USE_WIDE_CHAR].
25662 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25663 (strtof32x): Define and later undefine as macro. Define as weak
25664 alias if [!USE_WIDE_CHAR].
25665 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25666 (wcstof32x): Define and later undefine as macro. Define as weak
25667 alias if [USE_WIDE_CHAR].
25668 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25669 (BUILD_DOUBLE): New macro.
25670 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25671 (strtof64_l): Define and later undefine as macro. Define as weak
25672 alias if [!USE_WIDE_CHAR].
25673 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25674 (wcstof64_l): Define and later undefine as macro. Define as weak
25675 alias if [USE_WIDE_CHAR].
25676 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25677 (strtof32x_l): Define and later undefine as macro. Define as weak
25678 alias if [!USE_WIDE_CHAR].
25679 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25680 (wcstof32x_l): Define and later undefine as macro. Define as weak
25681 alias if [USE_WIDE_CHAR].
25682
94d80dfc
AZ
256832017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25684
25685 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25686 (reduced): Use ones as double instead of integer.
25687
00d54af7
SN
256882017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25689
25690 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25691
f2d64d62
JM
256922017-12-05 Joseph Myers <joseph@codesourcery.com>
25693
1f70eae4
JM
25694 * stdlib/strfromd.c: Include <bits/floatn.h>.
25695 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25696 and later undefine as macro and define as weak alias.
25697 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25698 Likewise.
25699
e2c4dce5
JM
25700 * math/test-float32x.h: New file.
25701 * math/test-float64.h: Likewise.
25702
f2d64d62
JM
25703 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25704 (libm_alias_double_other_r_f64): New macro.
25705 (libm_alias_double_other_r_f32x): Likewise.
25706 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25707 libm_alias_double_other_r_f32x.
25708 (libm_alias_double_r): Use semicolon before call to
25709 libm_alias_double_other_r.
25710 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25711 <bits/floatn.h>.
25712 (libm_alias_double_other_r_f64): New macro.
25713 (libm_alias_double_other_r_f32x): Likewise.
25714 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25715 libm_alias_double_other_r_f32x.
25716
91c318e7
L
257172017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25718
25719 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25720 int.
25721 (SINF_FUNC): Likewise. Replace floor with simple casts.
25722
de9661d6
MF
257232017-12-05 Mike FABIAN <mfabian@redhat.com>
25724
25725 [BZ #22517]
25726 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25727 and to the list of locales to be built for testing.
25728 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25729 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25730 and build the collation rules upon that.
25731
f18b8dc7
CM
257322017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25733
25734 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25735 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25736 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25737 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25738 instead of __insn__xxx.
25739 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25740 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25741 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25742 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25743 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25744 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25745
446d22e9
FW
257462017-12-05 Florian Weimer <fweimer@redhat.com>
25747
25748 Linux: Implement interfaces for memory protection keys
25749 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25750 xsignal, xsysconf.
25751 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25752 * support/xunistd.h (xsysconf): Declare.
25753 * support/xraise.c: New file.
25754 * support/xsigaction.c: Likewise.
25755 * support/xsignal.c: Likewise.
25756 * support/xsysconf.c: Likewise.
25757 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25758 pkey_set, pkey_get, pkey_mprotect.
25759 [misc] (tests): Add tst-pkey.
25760 (tst-pkey): Link with -lpthread.
25761 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25762 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25763 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25764 (PKEY_DISABLE_WRITE): Define.
25765 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25766 Declare.
25767 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25768 (SEGV_PKUERR): Add.
25769 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25770 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25771 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25772 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25773 Add.
25774 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25775 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25776 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25777 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25778 * sysdeps/unix/sysv/linux/**.abilist: Update.
25779
da616c14
FW
257802017-12-05 Florian Weimer <fweimer@redhat.com>
25781
25782 * support/tst-test_compare.c (subprocess): Use long long instead
25783 of long argument for consistent type width across 32-bit and
25784 64-bit architectures.
25785 (do_test): Adjust expected output.
25786
216933b2
JM
257872017-12-05 Joseph Myers <joseph@codesourcery.com>
25788
25789 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25790 (cosf): Define using libm_alias_float.
25791 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25792 (fabsf): Define using libm_alias_float.
25793 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25794 (fmaf): Define using libm_alias_float.
25795 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25796 (rintf): Define using libm_alias_float.
25797 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25798 (sinf): Define using libm_alias_float.
25799 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25800 <libm-alias-float.h>.
25801 (modff): Define using libm_alias_float.
25802 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25803 <libm-alias-float.h>.
25804 (logbf): Define using libm_alias_float.
25805 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25806 <libm-alias-float.h>.
25807 (ceilf): Define using libm_alias_float.
25808 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25809 <libm-alias-float.h>.
25810 (copysignf): Define using libm_alias_float.
25811 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25812 <libm-alias-float.h>.
25813 (floorf): Define using libm_alias_float.
25814 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25815 <libm-alias-float.h>.
25816 (llrintf): Define using libm_alias_float.
25817 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25818 <libm-alias-float.h>.
25819 (llroundf): Define using libm_alias_float.
25820 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25821 <libm-alias-float.h>.
25822 (lrintf): Define using libm_alias_float.
25823 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25824 <libm-alias-float.h>.
25825 (lroundf): Define using libm_alias_float.
25826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25827 <libm-alias-float.h>.
25828 (nearbyintf): Define using libm_alias_float.
25829 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25830 <libm-alias-float.h>.
25831 (rintf): Define using libm_alias_float.
25832 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25833 <libm-alias-float.h>.
25834 (roundf): Define using libm_alias_float.
25835 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25836 <libm-alias-float.h>.
25837 (truncf): Define using libm_alias_float.
25838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25839 Include <libm-alias-float.h>.
25840 (ceilf): Define using libm_alias_float.
25841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25842 Include <libm-alias-float.h>.
25843 (copysignf): Define using libm_alias_float.
25844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25845 Include <libm-alias-float.h>.
25846 (floorf): Define using libm_alias_float.
25847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25848 Include <libm-alias-float.h>.
25849 (llrintf): Define using libm_alias_float.
25850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25851 Include <libm-alias-float.h>.
25852 (llroundf): Define using libm_alias_float.
25853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25854 Include <libm-alias-float.h>.
25855 (logbf): Define using libm_alias_float.
25856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25857 Include <libm-alias-float.h>.
25858 (lrintf): Define using libm_alias_float.
25859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25860 Include <libm-alias-float.h>.
25861 (lroundf): Define using libm_alias_float.
25862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25863 Include <libm-alias-float.h>.
25864 (modff): Define using libm_alias_float.
25865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25866 Include <libm-alias-float.h>.
25867 (roundf): Define using libm_alias_float.
25868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25869 Include <libm-alias-float.h>.
25870 (truncf): Define using libm_alias_float.
25871 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25872 <libm-alias-float.h>.
25873 (llrintf): Define using libm_alias_float.
25874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25875 <libm-alias-float.h>.
25876 (llroundf): Define using libm_alias_float.
25877 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25878 <libm-alias-float.h>.
25879 (ceilf): Define using libm_alias_float.
25880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25881 <libm-alias-float.h>.
25882 (floorf): Define using libm_alias_float.
25883 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25884 <libm-alias-float.h>.
25885 (llroundf): Define using libm_alias_float.
25886 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25887 <libm-alias-float.h>.
25888 (lroundf): Define using libm_alias_float.
25889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25890 <libm-alias-float.h>.
25891 (roundf): Define using libm_alias_float.
25892 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25893 <libm-alias-float.h>.
25894 (truncf): Define using libm_alias_float.
25895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25896 <libm-alias-float.h>.
25897 (copysignf): Define using libm_alias_float.
25898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25899 <libm-alias-float.h>.
25900 (llrintf): Define using libm_alias_float.
25901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25902 <libm-alias-float.h>.
25903 (llroundf): Define using libm_alias_float.
25904 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25905 <libm-alias-float.h>.
25906 (lrintf): Define using libm_alias_float.
25907 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25908 <libm-alias-float.h>.
25909 (lroundf): Define using libm_alias_float.
25910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25911 <libm-alias-float.h>.
25912 (ceilf): Define using libm_alias_float.
25913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25914 <libm-alias-float.h>.
25915 (copysignf): Define using libm_alias_float.
25916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25917 <libm-alias-float.h>.
25918 (cosf): Define using libm_alias_float.
25919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25920 <libm-alias-float.h>.
25921 (floorf): Define using libm_alias_float.
25922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25923 <libm-alias-float.h>.
25924 (llrintf): Define using libm_alias_float.
25925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25926 <libm-alias-float.h>.
25927 (llroundf): Define using libm_alias_float.
25928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25929 <libm-alias-float.h>.
25930 (logbf): Define using libm_alias_float.
25931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25932 <libm-alias-float.h>.
25933 (modff): Define using libm_alias_float.
25934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25935 <libm-alias-float.h>.
25936 (roundf): Define using libm_alias_float.
25937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25938 <libm-alias-float.h>.
25939 (sinf): Define using libm_alias_float.
25940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25941 <libm-alias-float.h>.
25942 (truncf): Define using libm_alias_float.
25943 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25944 <libm-alias-float.h>.
25945 (ceilf): Define using libm_alias_float.
25946 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25947 <libm-alias-float.h>.
25948 (copysignf): Define using libm_alias_float.
25949 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25950 <libm-alias-float.h>.
25951 (floorf): Define using libm_alias_float.
25952 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25953 <libm-alias-float.h>.
25954 (llrintf): Define using libm_alias_float.
25955 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25956 <libm-alias-float.h>.
25957 (llroundf): Define using libm_alias_float.
25958 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25959 <libm-alias-float.h>.
25960 (nearbyintf): Define using libm_alias_float.
25961 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25962 <libm-alias-float.h>.
25963 (rintf): Define using libm_alias_float.
25964 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25965 <libm-alias-float.h>.
25966 (roundf): Define using libm_alias_float.
25967 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25968 <libm-alias-float.h>.
25969 (truncf): Define using libm_alias_float.
25970 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25971 <libm-alias-float.h>.
25972 (ceilf): Define using libm_alias_float.
25973 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25974 <libm-alias-float.h>.
25975 (floorf): Define using libm_alias_float.
25976 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25977 <libm-alias-float.h>.
25978 (llroundf): Define using libm_alias_float.
25979 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25980 <libm-alias-float.h>.
25981 (roundf): Define using libm_alias_float.
25982 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25983 <libm-alias-float.h>.
25984 (truncf): Define using libm_alias_float.
25985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25986 <libm-alias-float.h>.
25987 (copysignf): Define using libm_alias_float.
25988 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25989 <libm-alias-float.h>.
25990 (llrintf): Define using libm_alias_float.
25991 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25992 <libm-alias-float.h>.
25993 (llroundf): Define using libm_alias_float.
25994 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25995 <libm-alias-float.h>.
25996 (cosf): Define using libm_alias_float.
25997 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25998 <libm-alias-float.h>.
25999 (llrintf): Define using libm_alias_float.
26000 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26001 <libm-alias-float.h>.
26002 (llroundf): Define using libm_alias_float.
26003 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
26004 <libm-alias-float.h>.
26005 (sinf): Define using libm_alias_float.
26006
93485524
FW
260072017-12-04 Florian Weimer <fweimer@redhat.com>
26008
26009 * support/check.h (TEST_COMPARE): Define.
26010 (support_test_compare_failure): Declare.
26011 * support/Makefile (libsupport-routines): Add
26012 support_test_compare_failure.
26013 (tests): Add tst-test_compare.
26014 * support /support_test_compare_failure.c: New file.
26015 * support/tst-test_compare.c: Likewise.
26016
96b06a19
MF
260172017-12-04 Mike FABIAN <mfabian@redhat.com>
26018
26019 [BZ #22527]
26020 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
26021 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
26022 available, this rewrite of the collation rules does reproduce
26023 the test file in the same order.
26024
1f6d91f3
MF
260252017-12-04 Mike FABIAN <mfabian@redhat.com>
26026
26027 [BZ #10580]
26028 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
26029 digraphs in the month and day names. Using single code points for
26030 digraphs is deprecated. While there are dedicated Unicode
26031 codepoints, for the digraphs, these are included for backwards
26032 compatibility and modern texts use a sequence of Basic Latin
26033 characters. See: https://www.unicode.org/faq/ligature_digraph.html
26034 This makes the month and day names agree exactly with CLDR now,
26035 CLDR does not use the single code points for the digraphs either.
26036
2e49fed8
CM
260372017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
26038
26039 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
26040
73895b49
JM
260412017-12-04 Joseph Myers <joseph@codesourcery.com>
26042
26043 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
26044 of floor.
26045
4c1d801a
SP
260462017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
26047
26048 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
26049 Define only for libc.so.
26050
478593e6
SL
260512017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
26052
26053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26054 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 26055 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
26056 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
26057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26058
7863a711
RS
260592017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26060
26061 [BZ #5997]
26062 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
26063
800a496a
JDA
260642017-12-02 John David Anglin <danglin@gcc.gnu.org>
26065
b3f7fb12
JDA
26066 [BZ libc/19170]
26067 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
26068 PREINIT_FUNCTION_WEAK is nonzero.
26069 (gmon_initializer): New function. Put procedure label for it in
26070 .init_array section.
26071 (_init): Don't call PREINIT_FUNCTION.
26072 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
26073 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
26074 value when map argument is null.
26075
800a496a
JDA
26076 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
26077 depi instruction from PIC pc-relative sequence.
26078 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
26079 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
26080 (elf_machine_load_address): Likewise.
26081 (elf_machine_runtime_setup): Likewise.
26082
d17542d2
JM
260832017-12-02 Joseph Myers <joseph@codesourcery.com>
26084
26085 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
26086 <libm-alias-double.h>.
26087 (logb): Define using libm_alias_double.
26088 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
26089 <libm-alias-double.h>.
26090 (copysign): Define using libm_alias_double.
26091 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
26092 <libm-alias-double.h>.
26093 (llrint): Define using libm_alias_double.
26094 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
26095 <libm-alias-double.h>.
26096 (llround): Define using libm_alias_double.
26097 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
26098 <libm-alias-double.h>.
26099 (lrint): Define using libm_alias_double.
26100 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
26101 <libm-alias-double.h>.
26102 (lround): Define using libm_alias_double.
26103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26104 Include <libm-alias-double.h>.
26105 (copysign): Define using libm_alias_double.
26106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
26107 Include <libm-alias-double.h>.
26108 (llrint): Define using libm_alias_double.
26109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
26110 Include <libm-alias-double.h>.
26111 (llround): Define using libm_alias_double.
26112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
26113 <libm-alias-double.h>.
26114 (logb): Define using libm_alias_double.
26115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
26116 Include <libm-alias-double.h>.
26117 (lrint): Define using libm_alias_double.
26118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26119 Include <libm-alias-double.h>.
26120 (lround): Define using libm_alias_double.
26121 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26122 <libm-alias-double.h>.
26123 (llrint): Define using libm_alias_double.
26124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26125 <libm-alias-double.h>.
26126 (llround): Define using libm_alias_double.
26127 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26128 <libm-alias-double.h>.
26129 (llround): Define using libm_alias_double.
26130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26131 <libm-alias-double.h>.
26132 (lround): Define using libm_alias_double.
26133 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26134 <libm-alias-double.h>.
26135 (copysign): Define using libm_alias_double.
26136 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26137 <libm-alias-double.h>.
26138 (llrint): Define using libm_alias_double.
26139 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26140 <libm-alias-double.h>.
26141 (llround): Define using libm_alias_double.
26142 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26143 <libm-alias-double.h>.
26144 (lrint): Define using libm_alias_double.
26145 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26146 <libm-alias-double.h>.
26147 (lround): Define using libm_alias_double.
26148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26149 <libm-alias-double.h>.
26150 (copysign): Define using libm_alias_double.
26151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26152 <libm-alias-double.h>.
26153 (llrint): Define using libm_alias_double.
26154 (lrint): Likewise.
26155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26156 <libm-alias-double.h>.
26157 (llround): Define using libm_alias_double.
26158 (lround): Likewise.
26159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26160 <libm-alias-double.h>.
26161 (logb): Define using libm_alias_double.
26162 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26163 <libm-alias-double.h>.
26164 (copysign): Define using libm_alias_double.
26165 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26166 <libm-alias-double.h>.
26167 (llrint): Define using libm_alias_double.
26168 (lrint): Likewise.
26169 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26170 <libm-alias-double.h>.
26171 (llround): Define using libm_alias_double.
26172 (lround): Likewise.
26173 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26174 <libm-alias-double.h>.
26175 (llround): Define using libm_alias_double.
26176 (lround): Likewise.
26177 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26178 <libm-alias-double.h>.
26179 (copysign): Define using libm_alias_double.
26180 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26181 <libm-alias-double.h>.
26182 (llrint): Define using libm_alias_double.
26183 (lrint): Likewise.
26184 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26185 <libm-alias-double.h>.
26186 (llround): Define using libm_alias_double.
26187 (lround): Likewise.
26188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26189 <libm-alias-double.h>.
26190 (llrint): Define using libm_alias_double.
26191 (lrint): Likewise.
26192 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26193 <libm-alias-double.h>.
26194 (llround): Define using libm_alias_double.
26195 (lround): Likewise.
26196
ec2cf3f4
JM
261972017-12-01 Joseph Myers <joseph@codesourcery.com>
26198
0ddde474
JM
26199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26200 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26201 compat symbol based on llround.
26202
0d5ba561
JM
26203 * sysdeps/powerpc/power7/fpu/s_logb.c
26204 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26205 symbol based on __logb, not on logb.
26206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26207 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26209 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26210
51ea3b20
JM
26211 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26212 (rint): Define using libm_alias_double.
26213 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26214 <libm-alias-double.h>.
26215 (modf): Define using libm_alias_double.
26216 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26217 <libm-alias-double.h>.
26218 (ceil): Define using libm_alias_double.
26219 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26220 <libm-alias-double.h>.
26221 (floor): Define using libm_alias_double.
26222 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26223 <libm-alias-double.h>.
26224 (nearbyint): Define using libm_alias_double.
26225 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26226 <libm-alias-double.h>.
26227 (rint): Define using libm_alias_double.
26228 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26229 <libm-alias-double.h>.
26230 (round): Define using libm_alias_double.
26231 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26232 <libm-alias-double.h>.
26233 (trunc): Define using libm_alias_double.
26234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26235 <libm-alias-double.h>.
26236 (ceil): Define using libm_alias_double.
26237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26238 Include <libm-alias-double.h>.
26239 (floor): Define using libm_alias_double.
26240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26241 <libm-alias-double.h>.
26242 (modf): Define using libm_alias_double.
26243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26244 Include <libm-alias-double.h>.
26245 (round): Define using libm_alias_double.
26246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26247 Include <libm-alias-double.h>.
26248 (trunc): Define using libm_alias_double.
26249 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26250 <libm-alias-double.h>.
26251 (ceil): Define using libm_alias_double.
26252 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26253 <libm-alias-double.h>.
26254 (floor): Define using libm_alias_double.
26255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26256 <libm-alias-double.h>.
26257 (round): Define using libm_alias_double.
26258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26259 <libm-alias-double.h>.
26260 (trunc): Define using libm_alias_double.
26261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26262 <libm-alias-double.h>.
26263 (ceil): Define using libm_alias_double.
26264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26265 <libm-alias-double.h>.
26266 (floor): Define using libm_alias_double.
26267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26268 <libm-alias-double.h>.
26269 (modf): Define using libm_alias_double.
26270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26271 <libm-alias-double.h>.
26272 (round): Define using libm_alias_double.
26273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26274 <libm-alias-double.h>.
26275 (trunc): Define using libm_alias_double.
26276 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26277 <libm-alias-double.h>.
26278 (ceil): Define using libm_alias_double.
26279 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26280 <libm-alias-double.h>.
26281 (floor): Define using libm_alias_double.
26282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26283 <libm-alias-double.h>.
26284 (nearbyint): Define using libm_alias_double.
26285 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26286 <libm-alias-double.h>.
26287 (rint): Define using libm_alias_double.
26288 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26289 <libm-alias-double.h>.
26290 (round): Define using libm_alias_double.
26291 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26292 <libm-alias-double.h>.
26293 (trunc): Define using libm_alias_double.
26294 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26295 <libm-alias-double.h>.
26296 (ceil): Define using libm_alias_double.
26297 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26298 <libm-alias-double.h>.
26299 (floor): Define using libm_alias_double.
26300 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26301 <libm-alias-double.h>.
26302 (round): Define using libm_alias_double.
26303 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26304 <libm-alias-double.h>.
26305 (trunc): Define using libm_alias_double.
26306
ec2cf3f4
JM
26307 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26308 (fabs): Define using libm_alias_double.
26309 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26310 (fma): Define using libm_alias_double.
26311 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26312 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26313 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26314 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26315
5b7bd975
AZ
263162017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26317
0594b13f
AZ
26318 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26319
dbdfcf3b
AZ
26320 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26321 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26322 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26323
5b7bd975
AZ
26324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26325 due redirect macro.
26326
ef9ecfa6
AS
263272017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26328
26329 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26330
5b4e5e78
AZ
263312017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26332
2a14526b
AZ
26333 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26334 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26335 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26336 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26337
dbeb74ef 26338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
26339 (libm-sysdep_routines): Add s_nearbyintf-generic and
26340 s_nearbyint-generic.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26342 New file.
26343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26345 Likewise.
26346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26347 Likewise.
26348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26349 file.
26350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26351 Likewise.
26352
26353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
26354 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26356 file.
26357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26359 Likewise.
26360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26363
fa7ded96
AZ
26364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26365 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26367 file.
26368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26370 Likewise.
26371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26374
e240cf0e
AZ
26375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26376 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26378 file.
26379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26381 Likewise.
26382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26385
5b4e5e78
AZ
26386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26387 (sysdep_calls): New rule.
26388 (sysdep_routines): Use sysdep_calls as base.
26389 (libm-sysdep_routines): Add generic rule for symbols shared with
26390 libc. Add s_copysign-generic and s_copysign-generic objects.
26391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26392 New file.
26393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26395 Likewise.
26396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26399
d985adae
MF
264002017-12-01 Mike FABIAN <mfabian@redhat.com>
26401
26402 [BZ #22519]
26403 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26404 the list of locales to be built for testing.
26405 * localedata/is_IS.UTF-8.in: New file.
26406 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26407 on iso14651_t1.
26408
ff84a0e0
JM
264092017-12-01 Joseph Myers <joseph@codesourcery.com>
26410
26411 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26412 <libm-alias-float.h>.
26413 (fabsf): Define using libm_alias_float.
26414
ef5d8b43
L
264152017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26416
26417 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26418
c0535adf
JM
264192017-11-30 Joseph Myers <joseph@codesourcery.com>
26420
f938b397
JM
26421 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26422 <libm-alias-float.h>.
26423 (fabsf): Define using libm_alias_float.
26424 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26425 <libm-alias-float.h>.
26426 (lrintf): Define using libm_alias_float.
26427 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26428 <libm-alias-float.h>.
26429 (rintf): Define using libm_alias_float.
26430
2251fad0
JM
26431 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26432 <libm-alias-double.h>.
26433 (fabs): Define using libm_alias_double.
26434 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26435 <libm-alias-double.h>.
26436 (lrint): Define using libm_alias_double.
26437 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26438 <libm-alias-double.h>.
26439 (rint): Define using libm_alias_double.
26440
e53df1de
JM
26441 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26442 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26443 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26444 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26445 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26446 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26447 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26448 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26449 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26450 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26451 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26452 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26453 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26454 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26455 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26456 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26457 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26458 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26459 s_atan_template.c.
26460 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26461 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26462 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26463 s_ceil_template.c.
26464 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26465 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26466 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26467 s_cos_template.c.
26468 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26469 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26470 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26471 s_expm1_template.c.
26472 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26473 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26474 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26475 s_fabs_template.c.
26476 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26477 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26478 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26479 s_floor_template.c.
26480 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26481 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26482 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26483 s_frexp_template.c.
26484 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26485 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26486 s_lrint_template.c.
26487 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26488 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26489 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26490 s_modf_template.c.
26491 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26492 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26493 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26494 s_nearbyint_template.c.
26495 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26496 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26497 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26498 s_remquo_template.c.
26499 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26500 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26501 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26502 s_rint_template.c.
26503 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26504 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26505 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26506 s_sin_template.c.
26507 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26508 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26509 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26510 s_sincos_template.c.
26511 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26512 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26513 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26514 s_tan_template.c.
26515 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26516 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26517 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26518 s_tanh_template.c.
26519 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26520 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26521 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26522 s_trunc_template.c.
26523 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26524 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26525 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26526 s_atan.c instead of including s_atan.c.
26527 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26528 s_atanf.c instead of including s_atanf.c.
26529 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26530 s_atanl.c instead of including s_atanl.c.
26531 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26532 instead of s_atan.c.
26533 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26534 instead of s_atanf.c.
26535 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26536 instead of s_atanl.c.
26537
c0535adf
JM
26538 * scripts/update-copyrights: Do not handle intl/plural.c
26539 specially.
26540
1faaf703
JB
265412017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26542
26543 [BZ #22432]
26544 * configure.ac (BISON): Require to be present.
26545 * configure: Regenerated.
26546 * intl/Makefile (generated): Add plural.c.
26547 [$(BISON) != no]: Make code unconditional.
26548 (plural.c): Change rule to $(objpfx)plural.c.
26549 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26550 * intl/plural.c: Remove.
26551 * manual/install.texi (Tools for Compilation): Document bison as
26552 required.
26553 * INSTALL: Regenerated.
26554
faec6323
JM
265552017-11-30 Joseph Myers <joseph@codesourcery.com>
26556
bd6ea9ed
JM
26557 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26558 <libm-alias-double.h>.
26559 (llrint): Define using libm_alias_double.
26560 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26561 <libm-alias-float.h>.
26562 (llrintf): Define using libm_alias_float.
26563 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26564 <libm-alias-ldouble.h>.
26565 (llrintl): Define using libm_alias_ldouble.
26566
faec6323
JM
26567 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26568 declare_mgen_alias instead of weak_alias.
26569 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26570 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26571 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26572
023cade3
AZ
265732017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26574
9e2279a0
AZ
26575 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26576 Add add_n-generic.
26577 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26578 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26579 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26580
75f37c71
AZ
26581 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26582 Add submul_1-generic.
26583 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26584 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26585 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26586
b70cbbfc 26587 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
26588 Add addmul_1-generic.
26589 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26590 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26591 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26592
26593 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
26594 Add sub_n-generic.
26595 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26596 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26597 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26598
023cade3
AZ
26599 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26600 Add mul_1-generic.
26601 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26602 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26603 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26604
fbb5fd03
MF
266052017-11-30 Mike FABIAN <mfabian@redhat.com>
26606
26607 According to CLDR, collation rules for Serbian and Bosnian
26608 should be the same as for Croatian.
26609
26610 [BZ #22534]
26611 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26612 and to the list of locales to be built for testing.
26613 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26614 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26615 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26616 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26617
5e56e937
MF
266182017-11-30 Mike FABIAN <mfabian@redhat.com>
26619
26620 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26621 to make test case pass.
26622 * localedata/hr_HR.UTF-8.in: Add more test strings.
26623
cf4341ca
MF
266242017-11-30 Mike FABIAN <mfabian@redhat.com>
26625
26626 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26627
363e4519 266282017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
26629
26630 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26631 the list of locales to built for testing.
26632 * localedata/hr_HR.UTF-8.in: New file.
26633
363e4519 266342017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
26635
26636 [BZ #10580]
26637 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26638 iso14651_t1.
26639 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26640 CLDR (except use ligatures for the digraphs, CLDR does not use
26641 the ligatures), add first_workday, some fixes in the date and time
26642 formats.
26643 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26644 for Đ and đ.
26645 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26646 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26647 Add int_p_cs_precedes and int_n_cs_precedes.
26648 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26649 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26650 LC_MONETARY now).
26651 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26652 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26653 name_miss.
26654 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26655 and lang_lib. Change postal_fmt.
26656
f33632cc
L
266572017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26658
26659 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26660 <setjmp.h>.
26661 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26662 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26663 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26664 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26665 * sysdeps/generic/setjmpP.h: New file.
26666 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26667 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26668 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26669 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26670 Add jmp_buf-ssp.sym.
26671 (tests): Add tst-saved_mask-1.
26672
34697694
AS
266732017-11-30 Arjun Shankar <arjun@redhat.com>
26674
26675 [BZ #22375]
37ac8e63 26676 CVE-2017-17426
34697694
AS
26677 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26678 instead of request2size.
26679
3e5efdbd
JM
266802017-11-30 Joseph Myers <joseph@codesourcery.com>
26681
18305fba
JM
26682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26683 (__lllrint): Remove alias.
26684 (lllrint): Likewise.
26685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26686 (__lllrintf): Likewise.
26687 (lllrintf): Likewise.
26688
3e5efdbd
JM
26689 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26690 <libm-alias-float.h>.
26691 (copysignf): Define using libm_alias_float.
26692 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26693 <libm-alias-float.h>.
26694 (fabsf): Define using libm_alias_float.
26695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26696 Include <libm-alias-float.h>.
26697 (copysignf): Define using libm_alias_float.
26698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26699 <libm-alias-float.h>.
26700 (fabsf): Define using libm_alias_float.
26701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26702 <libm-alias-float.h>.
26703 (fdimf): Define using libm_alias_float.
26704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26705 <libm-alias-float.h>.
26706 (fmaf): Define using libm_alias_float.
26707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26708 <libm-alias-float.h>.
26709 (llrintf): Define using libm_alias_float.
26710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26711 Include <libm-alias-float.h>.
26712 (nearbyintf): Define using libm_alias_float.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26714 <libm-alias-float.h>.
26715 (rintf): Define using libm_alias_float.
26716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26717 <libm-alias-float.h>.
26718 (llrintf): Define using libm_alias_float.
26719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26720 <libm-alias-float.h>.
26721 (lrintf): Define using libm_alias_float.
26722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26723 <libm-alias-float.h>.
26724 (nearbyintf): Define using libm_alias_float.
26725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26726 <libm-alias-float.h>.
26727 (rintf): Define using libm_alias_float.
26728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26729 <libm-alias-float.h>.
26730 (ceilf): Define using libm_alias_float.
26731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26732 <libm-alias-float.h>.
26733 (floorf): Define using libm_alias_float.
26734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26735 <libm-alias-float.h>.
26736 (fmaf): Define using libm_alias_float.
26737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26738 <libm-alias-float.h>.
26739 (lrintf): Define using libm_alias_float.
26740 (llrintf): Likewise.
26741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26742 <libm-alias-float.h>.
26743 (nearbyintf): Define using libm_alias_float.
26744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26745 <libm-alias-float.h>.
26746 (rintf): Define using libm_alias_float.
26747 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26748 <libm-alias-float.h>.
26749 (truncf): Define using libm_alias_float.
26750 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26751 <libm-alias-float.h>.
26752 (copysignf): Define using libm_alias_float.
26753 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26754 <libm-alias-float.h>.
26755 (fabsf): Define using libm_alias_float.
26756 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26757 <libm-alias-float.h>.
26758 (lrintf): Define using libm_alias_float.
26759 (llrintf): Likewise.
26760 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26761 <libm-alias-float.h>.
26762 (nearbyintf): Define using libm_alias_float.
26763 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26764 <libm-alias-float.h>.
26765 (rintf): Define using libm_alias_float.
26766
011fba7e
JM
267672017-11-29 Joseph Myers <joseph@codesourcery.com>
26768
875cd548
JM
26769 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26770 <libm-alias-double.h>.
26771 (copysign): Define using libm_alias_double.
26772 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26773 <libm-alias-double.h>.
26774 (fabs): Define using libm_alias_double.
26775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26776 Include <libm-alias-double.h>.
26777 (copysign): Define using libm_alias_double.
26778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26779 <libm-alias-double.h>.
26780 (fabs): Define using libm_alias_double.
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26782 <libm-alias-double.h>.
26783 (fdim): Define using libm_alias_double.
26784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26785 <libm-alias-double.h>.
26786 (fma): Define using libm_alias_double.
26787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26788 <libm-alias-double.h>.
26789 (llrint): Define using libm_alias_double.
26790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26791 Include <libm-alias-double.h>.
26792 (nearbyint): Define using libm_alias_double.
26793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26794 <libm-alias-double.h>.
26795 (rint): Define using libm_alias_double.
26796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26797 <libm-alias-double.h>.
26798 (fabs): Define using libm_alias_double.
26799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26800 <libm-alias-double.h>.
26801 (llrint): Define using libm_alias_double.
26802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26803 <libm-alias-double.h>.
26804 (nearbyint): Define using libm_alias_double.
26805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26806 <libm-alias-double.h>.
26807 (rint): Define using libm_alias_double.
26808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26809 <libm-alias-double.h>.
26810 (ceil): Define using libm_alias_double.
26811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26812 <libm-alias-double.h>.
26813 (floor): Define using libm_alias_double.
26814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26815 <libm-alias-double.h>.
26816 (fma): Define using libm_alias_double.
26817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26818 <libm-alias-double.h>.
26819 (lrint): Define using libm_alias_double.
26820 (llrint): Likewise.
26821 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26822 <libm-alias-double.h>.
26823 (nearbyint): Define using libm_alias_double.
26824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26825 <libm-alias-double.h>.
26826 (rint): Define using libm_alias_double.
26827 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26828 <libm-alias-double.h>.
26829 (trunc): Define using libm_alias_double.
26830 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26831 <libm-alias-double.h>.
26832 (copysign): Define using libm_alias_double.
26833 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26834 <libm-alias-double.h>.
26835 (fabs): Define using libm_alias_double.
26836 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26837 <libm-alias-double.h>.
26838 (lrint): Define using libm_alias_double.
26839 (llrint): Likewise.
26840 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26841 <libm-alias-double.h>.
26842 (nearbyint): Define using libm_alias_double.
26843 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26844 <libm-alias-double.h>.
26845 (rint): Define using libm_alias_double.
26846
cf4ebc27
JM
26847 [BZ #22229]
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26849 <math_ldbl_opt.h>.
26850 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26851
0c097378
JM
26852 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26853 SPARC --disable-multi-arch glibc variants.
26854
34bb10aa
JM
26855 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26856 <libm-alias-float.h>.
26857 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26858 if [SHARED].
26859 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26860 <libm-alias-float.h>.
26861 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26862 if [SHARED].
26863 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26864 <libm-alias-float.h>.
26865 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26866 if [SHARED].
26867 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26868 <libm-alias-float.h>.
26869 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26870 if [SHARED].
26871 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26872 <libm-alias-float.h>.
26873 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26874 if [SHARED].
26875 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26876 <libm-alias-float.h>.
26877 (ceilf): Define using libm_alias_float.
26878 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26879 <libm-alias-float.h>.
26880 (floorf): Define using libm_alias_float.
26881 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26882 <libm-alias-float.h>.
26883 (fmaf): Define using libm_alias_float.
26884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26885 <libm-alias-float.h>.
26886 (nearbyintf): Define using libm_alias_float.
26887 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26888 <libm-alias-float.h>.
26889 (rintf): Define using libm_alias_float.
26890 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26891 <libm-alias-float.h>.
26892 (truncf): Define using libm_alias_float.
26893 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26894 (copysignf): Define using libm_alias_float.
26895 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26896 (cosf): Define using libm_alias_float.
26897 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26898 (fabsf): Define using libm_alias_float.
26899 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26900 (fmaxf): Define using libm_alias_float.
26901 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26902 (fminf): Define using libm_alias_float.
26903 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26904 (llrintf): Define using libm_alias_float.
26905 [!__ILP32__] (lrintf): Likewise.
26906 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26907 (sincosf): Define using libm_alias_float.
26908 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26909 (sinf): Define using libm_alias_float.
26910 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26911 (lrintf): Define using libm_alias_float.
26912
011fba7e
JM
26913 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26914 <libm-alias-double.h>.
26915 (atan): Define using libm_alias_double.
26916 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26917 <libm-alias-double.h>.
26918 (ceil): Define using libm_alias_double.
26919 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26920 <libm-alias-double.h>.
26921 (floor): Define using libm_alias_double.
26922 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26923 <libm-alias-double.h>.
26924 (fma): Define using libm_alias_double.
26925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26926 <libm-alias-double.h>.
26927 (nearbyint): Define using libm_alias_double.
26928 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26929 <libm-alias-double.h>.
26930 (rint): Define using libm_alias_double.
26931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26932 <libm-alias-double.h>.
26933 (sin): Define using libm_alias_double.
26934 (cos): Likewise.
26935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26936 <libm-alias-double.h>.
26937 (tan): Define using libm_alias_double.
26938 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26939 <libm-alias-double.h>.
26940 (trunc): Define using libm_alias_double.
26941 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26942 (copysign): Define using libm_alias_double.
26943 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26944 (fabs): Define using libm_alias_double.
26945 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26946 (fmax): Define using libm_alias_double.
26947 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26948 (fmin): Define using libm_alias_double.
26949 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26950 (llrint): Define using libm_alias_double.
26951 [!__ILP32__] (lrint): Likewise.
26952 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26953 (lrint): Define using libm_alias_double.
26954
1cbd7bfe
AZ
269552017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26956
21bfcc3d
AZ
26957 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26958 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26959 objects.
26960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26966
522228dd
AZ
26967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26968 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26969 objects.
26970 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26976
2a6f4fab
AZ
26977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26978 (libm-sysdep_routines): Add s_nearbyint-generic and
26979 s_nearbyintf-generic objects.
26980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26981 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26983 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26984 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26986
712b5b83
AZ
26987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26988 Add s_finitef-generic and s_finite-generic objects.
26989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26995
c96d3335
AZ
26996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26997 Add s_isinff-generic and s_isinf-generic objects.
26998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
27000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
27001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
27002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
27003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27004
c6862a23
AZ
27005 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
27006 Add s_isnanf-generic and s_isnan-generic objects.
27007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
27008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
27009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
27010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
27011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
27012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27013
1cbd7bfe
AZ
27014 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
27015 macro.
27016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
27017 rule.
27018 (sysdep_routines): Use sysdep_calls as base.
27019 (libm-sysdep_routines): Add generic rule for symbols shared with
27020 libc. Add s_signbit-generic and s_signbitf-generic objects.
27021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
27022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
27023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
27024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
27025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
27026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27027
aa1142c5
JM
270282017-11-29 Joseph Myers <joseph@codesourcery.com>
27029
27030 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
27031 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
27032 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
27033 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
27034 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
27035 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
27036 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
27037 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
27038 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
27039 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
27040 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
27041 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
27042 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
27043 libm_alias_float_r.
27044 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
27045 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
27046 (logf): Likewise.
27047 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
27048 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
27049 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
27050 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
27051 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
27052 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
27053 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
27054 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
27055 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
27056 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
27057 libm_alias_float.
27058 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
27059 (cosf): Likewise.
27060 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
27061 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
27062 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
27063 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
27064 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
27065 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
27066 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
27067 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
27068 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
27069 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
27070 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
27071 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
27072 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
27073 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
27074 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
27075 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
27076 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
27077 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
27078 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
27079 libm_alias_float.
27080 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
27081 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
27082 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
27083 * sysdeps/ia64/fpu/w_lgammaf_main.c
27084 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
27085 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
27086
363e4519
DL
270872017-11-28 Mike FABIAN <mfabian@redhat.com>
27088 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
27089
27090 [BZ #17750]
27091 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
27092 * localedata/fr_CA.UTF-8.in: New file with test data for backward
27093 accents sorting.
27094 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
27095 sorting.
27096 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
27097 * localedata/locales/de_DE (LC_COLLATE): Likewise.
27098 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
27099 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
27100 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
27101 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
27102 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
27103 instead of “ifdef DIACRIT_BACKWARD”.
27104
a55430cb
AZ
271052017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27106
27107 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
27108 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
27109 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
27110 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
27111 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
27112 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
27113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
27114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
27115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
27116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
27117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
27118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27119 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27120 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27121 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27122 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27123 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27124 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27126 ($(have-as-vis3) == yes): Remove conditional.
27127 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27128 Likewise.
27129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27130 file.
27131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27132 file.
27133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27134 file.
27135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27136 file.
27137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27143 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27144 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27145
0609ec0a
JM
271462017-11-29 Joseph Myers <joseph@codesourcery.com>
27147
27148 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27149 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27150 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27151 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27152 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27153 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27154 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27155 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27156 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27157 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27158 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27159 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27160 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27161 libm_alias_double_r.
27162 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27163 (log): Likewise.
27164 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27165 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27166 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27167 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27168 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27169 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27170 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27171 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27172 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27173 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27174 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27175 libm_alias_double.
27176 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27177 (cos): Likewise.
27178 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27179 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27180 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27181 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27182 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27183 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27184 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27185 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27186 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27187 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27188 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27189 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27190 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27191 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27192 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27193 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27194 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27195 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27196 libm_alias_double.
27197 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27198 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27199 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27200 * sysdeps/ia64/fpu/w_lgamma_main.c
27201 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27202 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27203
d5bfa34a
JDA
272042017-11-28 John David Anglin <danglin@gcc.gnu.org>
27205
27206 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27207 address of $global$ into %dp register earlier. Use pc-relative
27208 instruction sequence for PIC case.
27209
bc4e8f9b
JM
272102017-11-28 Joseph Myers <joseph@codesourcery.com>
27211
e4602cba
JM
27212 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27213 (asinhf): Define using libm_alias_float.
27214 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27215 (atanf): Define using libm_alias_float.
27216 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27217 (cbrtf): Define using libm_alias_float.
27218 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27219 (ceilf): Define using libm_alias_float.
27220 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27221 (copysignf): Define using libm_alias_float.
27222 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27223 (expm1f): Define using libm_alias_float.
27224 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27225 (fabsf): Define using libm_alias_float.
27226 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27227 (floorf): Define using libm_alias_float.
27228 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27229 (fmaxf): Define using libm_alias_float.
27230 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27231 (fminf): Define using libm_alias_float.
27232 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27233 (frexpf): Define using libm_alias_float.
27234 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27235 (llrintf): Define using libm_alias_float.
27236 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27237 (logbf): Define using libm_alias_float.
27238 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27239 (lrintf): Define using libm_alias_float.
27240 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27241 (nearbyintf): Define using libm_alias_float.
27242 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27243 (remquof): Define using libm_alias_float.
27244 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27245 (rintf): Define using libm_alias_float.
27246 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27247 (truncf): Define using libm_alias_float.
27248 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27249 <libm-alias-float.h>.
27250 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27251 if [SHARED].
27252 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27253 <libm-alias-float.h>.
27254 (expf): Define using libm_alias_float, or libm_alias_float_other
27255 if [SHARED].
27256 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27257 <libm-alias-float.h>.
27258 (log2f): Define using libm_alias_float, or libm_alias_float_other
27259 if [SHARED].
27260 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27261 <libm-alias-float.h>.
27262 (logf): Define using libm_alias_float, or libm_alias_float_other
27263 if [SHARED].
27264 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27265 <libm-alias-float.h>.
27266 (powf): Define using libm_alias_float, or libm_alias_float_other
27267 if [SHARED].
27268 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27269 <libm-alias-float.h>.
27270 (cosf): Define using libm_alias_float.
27271 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27272 <libm-alias-float.h>.
27273 (sincosf): Define using libm_alias_float.
27274 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27275 <libm-alias-float.h>.
27276 (sinf): Define using libm_alias_float.
27277 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27278 (fmaxf): Define using libm_alias_float.
27279 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27280 (fminf): Define using libm_alias_float.
27281 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27282 <libm-alias-float.h>.
27283 (fmaf): Define using libm_alias_float.
27284
bc4e8f9b
JM
27285 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27286 (asinh): Define using libm_alias_double.
27287 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27288 (atan): Define using libm_alias_double.
27289 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27290 (cbrt): Define using libm_alias_double.
27291 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27292 (ceil): Define using libm_alias_double.
27293 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27294 (copysign): Define using libm_alias_double.
27295 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27296 (expm1): Define using libm_alias_double.
27297 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27298 (fabs): Define using libm_alias_double.
27299 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27300 (fdim): Define using libm_alias_double.
27301 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27302 (floor): Define using libm_alias_double.
27303 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27304 (fmax): Define using libm_alias_double.
27305 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27306 (fmin): Define using libm_alias_double.
27307 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27308 (frexp): Define using libm_alias_double.
27309 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27310 (llrint): Define using libm_alias_double.
27311 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27312 (logb): Define using libm_alias_double.
27313 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27314 (lrint): Define using libm_alias_double.
27315 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27316 (nearbyint): Define using libm_alias_double.
27317 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27318 (remquo): Define using libm_alias_double.
27319 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27320 (rint): Define using libm_alias_double.
27321 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27322 (trunc): Define using libm_alias_double.
27323 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27324 (fmax): Define using libm_alias_double.
27325 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27326 (fmin): Define using libm_alias_double.
27327 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27328 (fma): Define using libm_alias_double.
27329
8d81ce0c
L
273302017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27331
27332 [BZ #22370]
27333 * elf/dl-hwcaps.c (ROUND): Removed.
27334 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27335 and ELF_NOTE_NEXT_OFFSET.
27336 * elf/dl-load.c (ROUND): Removed.
27337 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27338 * elf/readelflib.c (ROUND): Removed.
27339 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27340 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27341 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27342 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27343
6940bd96
JM
273442017-11-28 Joseph Myers <joseph@codesourcery.com>
27345
313ba463
JM
27346 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27347 [!__fmaf] (fmaf): Define using libm_alias_float.
27348
6940bd96
JM
27349 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27350 [!__fma] (fma): Define using libm_alias_double.
27351 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27352
22c69b6a
MF
273532017-11-28 Mike FABIAN <mfabian@redhat.com>
27354
27355 [BZ #22336]
27356 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27357 and implement the collation rules for cs from CLDR on top of that.
27358 * Makefile: Add cs_CZ.UTF-8 to test-input.
27359 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27360
8d7d3ba8
SP
273612017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27362
27363 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27364
0422ed1e
VR
273652017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27366 Icarus Sparry <icarus.w.sparry@intel.com>
27367
27368 * benchtests/Makefile:Add BENCHSET to allow subsets of
27369 benchmarks to be run.
27370 * benchtests/README: Add documentation for: Running subsets of
27371 benchmarks.
27372
0595e360
VR
273732017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27374
d5090db3
VR
27375 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27376 range of tests names.
27377
0595e360
VR
27378 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27379 result from property and remove "max", min" and "mean" from
27380 required properties based on benchtests/bench-skeleton.c.
27381
b4c645c2
FW
273822017-11-28 Florian Weimer <fweimer@redhat.com>
27383
27384 [BZ #20826]
27385 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27386 due to Internet requirement.
27387 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27388 tst-getaddrinfo5.
27389 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27390
88684de7
AZ
273912017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27392
69056564
AZ
27393 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27394 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27395 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27396 (sysdep_routines): Add memset-ultra1.
27397 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27398 file.
27399 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27400 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27401 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27402 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27403 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27404 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27405 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27407
88684de7
AZ
27408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27409 file.
27410 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27411 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27412 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27413 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27414 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27415 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27416 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27417 macro.
27418 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27419 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27420 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27421 (sysdep_routines): Add memcpy-ultra1.
27422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27423 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27424
d8124864
JM
274252017-11-28 Joseph Myers <joseph@codesourcery.com>
27426
f433d0b3
JM
27427 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27428 (cfloat_versions): Take function argument without trailing 'f'.
27429 Call libm_alias_float_other.
27430 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27431 * sysdeps/alpha/fpu/cargf.c: Likewise.
27432 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27433 * sysdeps/alpha/fpu/conjf.c: Likewise.
27434 * sysdeps/alpha/fpu/crealf.c: Likewise.
27435 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27436 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27437 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27438 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27439 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27440 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27441 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27442 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27443 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27444 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27445 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27446 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27447 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27448 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27449 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27450 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27451 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27452 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27453 (clog10f): Use libm_alias_float_other.
27454 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27455 (ceilf): Define using libm_alias_float.
27456 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27457 (copysignf): Define using libm_alias_float.
27458 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27459 (fabsf): Define using libm_alias_float.
27460 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27461 (floorf): Define using libm_alias_float.
27462 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27463 (fmaxf): Define using libm_alias_float.
27464 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27465 (fminf): Define using libm_alias_float.
27466 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27467 (lrintf): Define using libm_alias_float.
27468 (llrintf): Likewise.
27469 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27470 (lroundf): Define using libm_alias_float.
27471 (llroundf): Likewise.
27472 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27473 (rintf): Define using libm_alias_float.
27474 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27475 (truncf): Define using libm_alias_float.
27476
15ff4900
JM
27477 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27478 (ceilf): Define using libm_alias_float.
27479 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27480 (floorf): Define using libm_alias_float.
27481 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27482 (fmaf): Define using libm_alias_float.
27483 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27484 (fmaxf): Define using libm_alias_float.
27485 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27486 (fminf): Define using libm_alias_float.
27487 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27488 (llrintf): Define using libm_alias_float.
27489 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27490 (llroundf): Define using libm_alias_float.
27491 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27492 (lrintf): Define using libm_alias_float.
27493 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27494 (lroundf): Define using libm_alias_float.
27495 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27496 <libm-alias-float.h>.
27497 (nearbyintf): Define using libm_alias_float.
27498 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27499 (rintf): Define using libm_alias_float.
27500 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27501 (roundf): Define using libm_alias_float.
27502 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27503 (truncf): Define using libm_alias_float.
27504
5de60638
JM
27505 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27506 (ceil): Define using libm_alias_double.
27507 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27508 (copysign): Define using libm_alias_double.
27509 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27510 (fabs): Define using libm_alias_double.
27511 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27512 (floor): Define using libm_alias_double.
27513 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27514 (fmax): Define using libm_alias_double.
27515 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27516 (fmin): Define using libm_alias_double.
27517 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27518 (lrint): Define using libm_alias_double.
27519 (llrint): Likewise.
27520 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27521 (lround): Define using libm_alias_double.
27522 (llround): Likewise.
27523 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27524 (rint): Define using libm_alias_double.
27525 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27526 (trunc): Define using libm_alias_double.
27527
d8124864
JM
27528 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27529 (libm_alias_double_r): Add semicolon after weak_alias call.
27530
f07d2ec8
JM
275312017-11-27 Joseph Myers <joseph@codesourcery.com>
27532
27533 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27534 (ceil): Define using libm_alias_double.
27535 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27536 (floor): Define using libm_alias_double.
27537 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27538 (fma): Define using libm_alias_double.
27539 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27540 (fmax): Define using libm_alias_double.
27541 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27542 (fmin): Define using libm_alias_double.
27543 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27544 (llrint): Define using libm_alias_double.
27545 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27546 (llround): Define using libm_alias_double.
27547 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27548 (lrint): Define using libm_alias_double.
27549 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27550 (lround): Define using libm_alias_double.
27551 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27552 (nearbyint): Define using libm_alias_double.
27553 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27554 (rint): Define using libm_alias_double.
27555 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27556 (round): Define using libm_alias_double.
27557 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27558 (trunc): Define using libm_alias_double.
27559
4bab0224
FW
275602017-11-27 Florian Weimer <fweimer@redhat.com>
27561
27562 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27563 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27564 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27565 (tests): Add tst-mlock2.
27566 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27568 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27569 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27570 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27571 for mlock. Document mlock2.
27572
a23aa5b7
JM
275732017-11-27 Joseph Myers <joseph@codesourcery.com>
27574
27575 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27576 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27577 Likewise.
27578 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27579 Likewise.
27580 * sysdeps/x86/Makeconfig: New file.
27581 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27582 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27583 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27584 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27585 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27586 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27587 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27588 Likewise.
27589 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27590 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27591 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27592 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27593 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27594 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27595 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27596 * manual/math.texi (Mathematics): Document support for _Float64x.
27597 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27598 * stdlib/Versions (GLIBC_2.27): Likewise.
27599 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27600 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27601 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27602 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27603 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27604 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27605 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27606 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27607 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27608 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27609 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27610 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27612 Likewise.
27613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27614 Likewise.
27615 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27616 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27617 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27618 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27619 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27620 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27621 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27622 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27623 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27624 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27625 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27626 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27627 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27628 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27629
c2c299fd
AS
276302017-11-27 Andreas Schwab <schwab@suse.de>
27631
27632 * elf/Makefile (dl-routines): Add dl-sort-maps.
27633 * elf/dl-sort-maps.c: New file.
27634 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27635 (_dl_sort_maps): Declare.
27636 * elf/dl-fini.c (_dl_sort_fini): Remove.
27637 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27638 * elf/dl-close.c (_dl_close_worker): Likewise.
27639 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27640 open-coding it.
27641 * elf/dl-open.c (dl_open_worker): Likewise.
27642
9d4b0117
JM
276432017-11-24 Joseph Myers <joseph@codesourcery.com>
27644
de61465c
JM
27645 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27646 using libm_alias_float128.
27647 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27648 Likewise.
27649 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27650 Likewise.
27651 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27652 (setpayloadsigf128): Likewise.
27653 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27654 Likewise.
27655 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27656 Likewise.
27657
9ae6d171
JM
27658 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27659 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27660 -mfloat128 to CFLAGS.
27661 ($(foreach
27662 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27663 Likewise.
27664 (CFLAGS-libm-test-support-float64x.c): New variable.
27665 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27666 $(f128-loader-link) to gnulib-tests.
27667
6e70d156
JM
27668 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27669 (libm_alias_float128_other_r): If
27670 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27671 alias.
27672 (libm_alias_float128_r): Add semicolon after weak_alias call.
27673 * sysdeps/generic/libm-alias-ldouble.h
27674 (libm_alias_ldouble_other_r_f128): New macro.
27675 (libm_alias_ldouble_other_r_f64x): Likewise.
27676 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27677 and libm_alias_ldouble_other_r_f64x.
27678 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27679 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27680 (libm_alias_ldouble_other_r_f128): New macro.
27681 (libm_alias_ldouble_other_r_f64x): Likewise.
27682 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27683 and libm_alias_ldouble_other_r_f64x.
27684
df2806cd
JM
27685 * stdlib/strfroml.c: Always include <stdlib.h>.
27686 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27687 undefine as macro and define as weak alias.
27688 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27689 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27690 <stdlib.h>.
27691 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27692 Define and later undefine as macro and define as weak alias.
27693
0df4fe35
JM
27694 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27695 Define and later undefine as macro. Define as weak alias if
27696 [!USE_WIDE_CHAR].
27697 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27698 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27699 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27700 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27701 Define and later undefine as macro. Define as weak alias if
27702 [!USE_WIDE_CHAR].
27703 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27704 Define and later undefine as macro. Define as weak alias if
27705 [USE_WIDE_CHAR].
27706 * sysdeps/ieee754/float128/strtof128_l.c
27707 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27708 Define and later undefine as macro. Define as weak alias if
27709 [!USE_WIDE_CHAR].
27710 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27711 Define and later undefine as macro. Define as weak alias if
27712 [USE_WIDE_CHAR].
27713 * sysdeps/ieee754/ldbl-128/strtold_l.c
27714 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27715 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27716 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27717 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27718 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27719 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27720 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27721 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27722 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27723 * sysdeps/ieee754/ldbl-96/strtold_l.c
27724 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27725 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27726 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27727 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27728
ae7207d0
JM
27729 * math/test-float64x.h: New file.
27730 * math/Makefile (type-float64x-yes): New variable.
27731 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27732
9596fc69
JM
27733 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27734 function-like macro.
27735 (min_of_type_): Likewise.
27736 (min_of_type_l): Likewise.
27737 (min_of_type_f128): Likewise.
27738 (min_of_type): Pass () as last argument of __MATH_TG.
27739
46453c3c
JM
27740 * stdlib/tst-strtod-round-skeleton.c
27741 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27742 headers.
27743
01e659e7
JM
27744 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27745 for combinations of long double with _Float64 and _Float64x.
27746
5c60afdd
JM
27747 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27748 (__DECL_SIMD_cosf32): Likewise.
27749 (__DECL_SIMD_cosf64): Likewise.
27750 (__DECL_SIMD_cosf32x): Likewise.
27751 (__DECL_SIMD_cosf64x): Likewise.
27752 (__DECL_SIMD_cosf128x): Likewise.
27753 (__DECL_SIMD_sinf16): Likewise.
27754 (__DECL_SIMD_sinf32): Likewise.
27755 (__DECL_SIMD_sinf64): Likewise.
27756 (__DECL_SIMD_sinf32x): Likewise.
27757 (__DECL_SIMD_sinf64x): Likewise.
27758 (__DECL_SIMD_sinf128x): Likewise.
27759 (__DECL_SIMD_sincosf16): Likewise.
27760 (__DECL_SIMD_sincosf32): Likewise.
27761 (__DECL_SIMD_sincosf64): Likewise.
27762 (__DECL_SIMD_sincosf32x): Likewise.
27763 (__DECL_SIMD_sincosf64x): Likewise.
27764 (__DECL_SIMD_sincosf128x): Likewise.
27765 (__DECL_SIMD_logf16): Likewise.
27766 (__DECL_SIMD_logf32): Likewise.
27767 (__DECL_SIMD_logf64): Likewise.
27768 (__DECL_SIMD_logf32x): Likewise.
27769 (__DECL_SIMD_logf64x): Likewise.
27770 (__DECL_SIMD_logf128x): Likewise.
27771 (__DECL_SIMD_expf16): Likewise.
27772 (__DECL_SIMD_expf32): Likewise.
27773 (__DECL_SIMD_expf64): Likewise.
27774 (__DECL_SIMD_expf32x): Likewise.
27775 (__DECL_SIMD_expf64x): Likewise.
27776 (__DECL_SIMD_expf128x): Likewise.
27777 (__DECL_SIMD_powf16): Likewise.
27778 (__DECL_SIMD_powf32): Likewise.
27779 (__DECL_SIMD_powf64): Likewise.
27780 (__DECL_SIMD_powf32x): Likewise.
27781 (__DECL_SIMD_powf64x): Likewise.
27782 (__DECL_SIMD_powf128x): Likewise.
27783
9d4b0117
JM
27784 * stdlib/Versions (libc): Move entries for wcstof128 and
27785 wcstof128_l to ....
27786 * wcsmbs/Versions (libc): ... here.
27787 Include <float128-abi.h>.
27788
7911dd47
FW
277892017-11-24 Florian Weimer <fweimer@redhat.com>
27790
27791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27792 bits/mman-shared.h.
27793 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27794 <bits/mman-shared.h>.
27795 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27796 to ...
27797 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27798 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27799 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27800 <bits/mman-shared.h>.
27801
c45d78aa
AZ
278022017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27803
27804 [BZ #22457]
27805 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27806 posix_memalign/free.
27807 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27808
3ffc4cc1
MF
278092017-11-22 Mike FABIAN <mfabian@redhat.com>
27810
27811 [BZ #22469]
27812 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27813 and implement the collation rules for pl from CLDR on top of that.
27814 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27815 of locales to be built for testing.
27816 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27817
3a327316
JM
278182017-11-23 Joseph Myers <joseph@codesourcery.com>
27819
27820 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27821 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27822 libm_alias_ldouble_other.
27823 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27824 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27825 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27826 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27827 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27828 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27829 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27830 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27831 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27832 libm_alias_ldouble_r.
27833 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27834 libm_alias_ldouble_other.
27835 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27836 (log10l): Likewise.
27837 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27838 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27839 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27840 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27841 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27842 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27843 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27844 (atan2l): Likewise.
27845 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27846 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27847 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27848 libm_alias_ldouble.
27849 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27850 (cosl): Likewise.
27851 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27852 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27853 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27854 (expl): Likewise.
27855 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27856 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27857 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27858 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27859 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27860 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27861 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27862 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27863 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27864 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27865 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27866 libm_alias_ldouble.
27867 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27868 libm_alias_ldouble_other.
27869 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27870 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27871 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27872 libm_alias_ldouble.
27873 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27874 libm_alias_ldouble_other.
27875 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27876 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27877 * sysdeps/ia64/fpu/w_lgammal_main.c
27878 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27879 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27880
0a947e06
FW
278812017-11-23 Florian Weimer <fweimer@redhat.com>
27882
27883 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27884 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27885 alike. Remove freeres marker.
27886 * malloc/arena.c (arena_thread_freeres): Call
27887 tcache_thread_shutdown.
27888
67f36c79
FW
278892017-11-23 Florian Weimer <fweimer@redhat.com>
27890
27891 [BZ #22459]
27892 Export nscd hash function as __nss_hash.
27893 * include/nss.h (__nss_hash): Declare.
27894 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27895 symbol.
27896 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27897 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27898 of __nscd_hash.
27899 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27900 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27901 * nss/Makefiles (routines): Add nss_hash.
27902 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27903 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27904 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27905 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27906
cccb6d4e
FW
279072017-11-23 Florian Weimer <fweimer@redhat.com>
27908
27909 [BZ #22478]
27910 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27911 Return error code, not -1.
27912 * signal/tst-sigwait-eintr.c: New file.
27913 * signal/Makefile (tests): Add tst-sigwait-eintr.
27914
59d2cbb1
FW
279152017-11-23 Florian Weimer <fweimer@redhat.com>
27916
27917 Linux: Add memfd_create system call wrapper
27918 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27919 tst-memfd_create.
27920 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27921 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27922 [__USE_GNU] (memfd_create): Declare.
27923 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27924 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27925 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27926 * sysdeps/unix/sysv/linux/**.abilist: Update.
27927 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27928
a90d1ac2
JM
279292017-11-22 Joseph Myers <joseph@codesourcery.com>
27930
0a9d1d62
JM
27931 * localedata/gen-locale.sh: Fix typo in variable name.
27932
754034c4
JM
27933 * resolv/res_debug.c (p_secstodate): Condition definition on
27934 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27935 directly as __p_secstodate, and as a compat symbol. Do not use
27936 libresolv_hidden_def.
27937 * resolv/resolv.h (p_secstodate): Remove macro and function
27938 declaration.
27939 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27940 using p_secstodate.
27941 * include/resolv.h (__p_secstodate): Do not use
27942 libresolv_hidden_proto.
27943 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27944 (tests-internal): ... here.
27945 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27946 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27947 and declare and use __p_secstodate and use compat_symbol_reference
27948 in that case.
27949 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27950 implementation returning 77.
27951
f120cda6
JM
27952 [BZ #22463]
27953 * resolv/res_debug.c: Include <libc-diag.h>.
27954 (p_secstodate): Assert time_t at least as wide as u_long. On
27955 overflow, use integer seconds since the epoch as output, or use
27956 "<overflow>" as output and set errno to EOVERFLOW if integer
27957 seconds since the epoch would be 14 or more characters.
27958 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27959 for sprintf call.
27960 * resolv/tst-p_secstodate.c: New file.
27961 * resolv/Makefile (tests): Add tst-p_secstodate.
27962 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27963
a90d1ac2
JM
27964 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27965 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27966 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27967
0285e6bd
PE
279682017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27969
27970 * posix/regcomp.c (init_word_char): Add comments.
27971
4bae6150
JM
279722017-11-22 Joseph Myers <joseph@codesourcery.com>
27973
27974 [BZ #22447]
27975 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27976 strlen to compute length of ut_user and set trailing NUL byte of
27977 result explicitly.
27978
4b7af5fc
MF
279792017-11-21 Mike FABIAN <mfabian@redhat.com>
27980
27981 [BZ #15537]
27982 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27983 using “copy "iso14651_t1"” and then implementing the
27984 collation rules for lv from CLDR on top of that.
27985 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27986 of locales to be built for testing.
27987 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27988 sorting.
27989
922bb78c
JM
279902017-11-21 Joseph Myers <joseph@codesourcery.com>
27991
27992 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27993 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27994 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27995 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27996 [__USE_MISC] (MADV_HWPOISON): New macro.
27997 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27998
a3aaa598
AZ
279992017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28000
28001 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
28002 -Wmissing-braces on GCC 4.9.
28003
8beba15d
SL
280042017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28005
28006 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
28007 * sysdeps/s390/s390-32/start.S (_start): Likewise
28008 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
28009 (thread_start): Likewise.
28010 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
28011 (thread_start): Likewise.
28012 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
28013 (__makecontext_ret): Likewise.
28014 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
28015 (__makecontext_ret): Likewise.
28016
80eb52e3
SL
280172017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
28018
28019 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
28020 __wcschrnul): Remove attribute_hidden.
28021
567d8c1f
PE
280222017-11-20 Paul Eggert <eggert@cs.ucla.edu>
28023
28024 regex: don't assume uint64_t or uint32_t
28025 This avoids -Werror=overflow errors for 32-bit systems in
28026 the 64-bit case. Problem reported by Joseph Myers in:
28027 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
28028 Also, when this code is used in Gnulib it ports to platforms
28029 that lack uint64_t and uint32_t. The C standard doesn't guarantee
28030 them, and on some 32-bit compilers there is no uint64_t.
28031 Problem reported by Gianluigi Tiesi in:
28032 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
28033 * posix/regcomp.c (init_word_char): Don't assume that the types
28034 uint64_t and uint32_t exist. Adapted from Gnulib patch
28035 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
28036 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
28037
4d7632ff
SP
280382017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
28039
5a67c4fa
SP
28040 * sysdeps/aarch64/memset-reg.h: New file.
28041 * sysdeps/aarch64/memset.S: Use it.
28042 (__memset): Rename to MEMSET macro.
28043 [ZVA_MACRO]: Use zva_macro.
28044 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
28045 Add memset_generic and memset_falkor.
28046 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28047 (__libc_ifunc_impl_list): Add memset ifuncs.
28048 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
28049 local variable zva_size.
28050 * sysdeps/aarch64/multiarch/memset.c: New file.
28051 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
28052 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
28053 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
28054 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
28055 (DCZID_DZP_MASK): New macro.
28056 (DCZID_BS_MASK): Likewise.
28057 (init_cpu_features): Read and set zva_size.
28058 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
28059 (struct cpu_features): New member zva_size.
28060
eb332f9f
SP
28061 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
28062 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
28063 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
28064
4d7632ff
SP
28065 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
28066 backwards. Fix timing computation.
28067 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
28068 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
28069 on memset by N at a time. Fix timing computation.
28070
a465b89e
FW
280712017-11-20 Florian Weimer <fweimer@redhat.com>
28072
28073 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
28074 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
28075
0f74bbf5
FW
280762017-11-19 Florian Weimer <fweimer@redhat.com>
28077
28078 manual: Document mprotect
28079 * manual/memory.texi (Memory Protection): New section.
28080 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
28081 documentation of PROT_* flags and reference the Memory Protection
28082 section instead.
28083
f6e965ee
FW
280842017-11-19 Florian Weimer <fweimer@redhat.com>
28085
28086 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
28087 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
28088 (Scatter-Gather): ... to here. Remove misleading comment.
28089
363e4519 280902017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 28091
5f9d1949
CB
28092 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
28093 style.
28094
ea69a5c8
CB
28095 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
28096 when /proc/<pid>/setgroups does not exist.
28097
8db7f48c
FW
280982017-11-18 Florian Weimer <fweimer@redhat.com>
28099
28100 * sysdeps/unix/sysv/linux/tst-ttyname.c
28101 (become_root_in_mount_ns): Remove.
28102 (do_in_chroot_1): Call support_enter_mount_namespace.
28103 (do_in_chroot_2): Likewise.
28104 (do_test): Call support_become_root early.
28105
273a0c49
FW
281062017-11-18 Florian Weimer <fweimer@redhat.com>
28107
28108 * support/namespace.h (support_enter_mount_namespace): Declare.
28109 * support/support_enter_mount_namespace.c: New file.
28110 * support/Makefile (libsupport-routines): Add
28111 support_enter_mount_namespace.
28112
8adfb0ee
FW
281132017-11-18 Florian Weimer <fweimer@redhat.com>
28114
28115 * support/temp_file.c (support_create_temp_directory): Use
28116 test_dir and do not rely on the presence of the XXXXXX suffix.
28117 * support/temp_file.h (support_create_temp_directory): Update
28118 comment.
28119 * support/tst-xreadlink.c (do_test): Adjust.
28120 * support/support_chroot.c (support_chroot_create): Likewise.
28121
df0c40ee
TMQMF
281222017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28123
28124 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28125 macro.
28126 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28127 htm-no-suspend.
28128
015c6dc2
JM
281292017-11-17 Joseph Myers <joseph@codesourcery.com>
28130
f58e5f48
JM
28131 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28132 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28133 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28134 (ceill): Define using libm_alias_ldouble.
28135 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28136 <libm-alias-ldouble.h>.
28137 (copysignl): Define using libm_alias_ldouble.
28138 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28139 (fabsl): Define using libm_alias_ldouble.
28140 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28141 (floorl): Define using libm_alias_ldouble.
28142 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28143 (fmaxl): Define using libm_alias_ldouble.
28144 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28145 (fminl): Define using libm_alias_ldouble.
28146 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28147 (llrintl): Define using libm_alias_ldouble.
28148 (lrintl): Likewise.
28149 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28150 <libm-alias-ldouble.h>.
28151 (nearbyintl): Define using libm_alias_ldouble.
28152 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28153 (truncl): Define using libm_alias_ldouble.
28154 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28155 <libm-alias-ldouble.h>.
28156 (lrintl): Define using libm_alias_ldouble.
28157
2ce30701
JM
28158 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28159 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28160 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28161 (asinhl): Define using libm_alias_ldouble.
28162 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28163 (atanl): Define using libm_alias_ldouble.
28164 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28165 (cbrtl): Define using libm_alias_ldouble.
28166 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28167 (ceill): Define using libm_alias_ldouble.
28168 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28169 (copysignl): Define using libm_alias_ldouble.
28170 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28171 (fabsl): Define using libm_alias_ldouble.
28172 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28173 (floorl): Define using libm_alias_ldouble.
28174 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28175 (fmaxl): Define using libm_alias_ldouble.
28176 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28177 (fminl): Define using libm_alias_ldouble.
28178 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28179 (frexpl): Define using libm_alias_ldouble.
28180 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28181 (llrintl): Define using libm_alias_ldouble.
28182 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28183 (logbl): Define using libm_alias_ldouble.
28184 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28185 (lrintl): Define using libm_alias_ldouble.
28186 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28187 (nearbyintl): Define using libm_alias_ldouble.
28188 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28189 (nextafterl): Define using libm_alias_ldouble.
28190 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28191 (remquol): Define using libm_alias_ldouble.
28192 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28193 (rintl): Define using libm_alias_ldouble.
28194 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28195 (truncl): Define using libm_alias_ldouble.
28196 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28197 (fmaxl): Define using libm_alias_ldouble.
28198 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28199 (fminl): Define using libm_alias_ldouble.
28200
015c6dc2
JM
28201 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28202 to C syntax instead of availability and properties of types.
28203 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28204 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28205 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28206 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28207 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28208 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28209
ce003e5d
FW
282102017-11-17 Florian Weimer <fweimer@redhat.com>
28211
28212 support_become_root: Enable file creation in namespaces.
28213 * support/support_become_root.c (setup_mapping): New function.
28214 (support_become_root): Call it.
28215
e7df6c5c
JM
282162017-11-17 Joseph Myers <joseph@codesourcery.com>
28217
28218 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28219 macro.
28220
58a813bf
AZ
282212017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28222
28223 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28224 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28225
f97773d1
JM
282262017-11-16 Joseph Myers <joseph@codesourcery.com>
28227
6a6aa1f3
JM
28228 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28229
f97773d1
JM
28230 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28231 version to 4.14.
28232
a306c790
SP
282332017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28234
7b0fb870
SP
28235 * INSTALL: Fix botched up regeneration.
28236
28237 * NEWS: Update sourceare link to https.
a306c790
SP
28238 * configure.ac: Likewise.
28239 * crypt/md5test-giant.c: Likewise.
28240 * dlfcn/bug-atexit1.c: Likewise.
28241 * dlfcn/bug-atexit2.c: Likewise.
28242 * localedata/README: Likewise.
28243 * malloc/tst-mallocfork.c: Likewise.
28244 * manual/install.texi: Likewise.
28245 * nptl/tst-pthread-getattr.c: Likewise.
28246 * stdio-common/tst-fgets.c: Likewise.
28247 * stdio-common/tst-fwrite.c: Likewise.
28248 * sunrpc/Makefile: Likewise.
28249 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28250 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
28251 * configure: Regenerate.
28252 * INSTALL: Regenerate.
a306c790 28253
7532837d
MS
282542017-11-15 Martin Sebor <msebor@redhat.com>
28255
28256 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28257 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28258 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28259
495a56fd
LS
282602017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28261
d9611e30
LS
28262 [BZ #22145]
28263 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28264 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28265
a09dfc19
LS
28266 [BZ #22145]
28267 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28268 Defer is_pty check until end of the function.
28269 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28270
2fbce9c2
LS
28271 [BZ #22145]
28272 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28273 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28274 (ttyname): Likewise.
28275 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28276 (__ttyname_r): Likewise.
28277
d10d6cab
LS
28278 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28279 int to bool.
28280
9b5a8750
LS
28281 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28282
495a56fd
LS
28283 * manual/terminal.texi (Is It a Terminal):
28284 Mention ENODEV for ttyname and ttyname_r.
28285
fa680dc6
JM
282862017-11-15 Joseph Myers <joseph@codesourcery.com>
28287
78cde19f
JM
28288 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28289 constant and macro.
28290
fa680dc6
JM
28291 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28292 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28293 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28294 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28295 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28296 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28297
ad4f43a2
AZ
282982017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28299
1ba1d8a4
AZ
28300 * signal/sigrelse.c (sigrelse): Optimize implementation.
28301
ad4f43a2
AZ
28302 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28303 (__sigpause): Rely on __sigsuspend to implement single thread
28304 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28305
d0212d42
JM
283062017-11-15 Joseph Myers <joseph@codesourcery.com>
28307
28308 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28309 kernel version to 4.14.
28310
2180fee1
SE
283112017-11-15 Steve Ellcey <sellcey@cavium.com>
28312
28313 [BZ #22442]
28314 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28315 Check if ifname is too long.
28316
cad7ca39
LS
283172017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28318
28319 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28320
58c9f659
MF
283212017-11-15 Mike FABIAN <mfabian@redhat.com>
28322
28323 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28324 was accidentally lost.
28325
0fa87c01
MF
283262017-11-15 Mike FABIAN <mfabian@redhat.com>
28327
28328 * localedata/locales/az_IR: Add standard copyright header.
28329
34eb4157
FW
283302017-11-15 Florian Weimer <fweimer@redhat.com>
28331
28332 [BZ #22439]
28333 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28334 not just the top one. Output a new "subheaps" statistic.
28335
7a9368a1
FW
283362017-11-15 Florian Weimer <fweimer@redhat.com>
28337
28338 [BZ #22408]
28339 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28340 under the per-arena lock.
28341 * malloc/Makefile (tests): Add tst-malloc_info.
28342 (tst-malloc_info): Link with libpthread.
28343 * malloc/tst-malloc_info.c: New file.
28344
be3a79a3
JM
283452017-11-15 Joseph Myers <joseph@codesourcery.com>
28346
28347 [BZ #21660]
28348 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28349 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28350 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28351 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28352 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28353 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28354 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28355 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28356 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28358 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28359 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28360 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28361 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28363 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28364 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28365 (__floating_type): Likewise.
28366 (__real_integer_type): Likewise.
28367 (__complex_integer_type): Likewise.
28368 (__expr_is_real): Likewise.
28369 (__tgmath_real_type_sub): Likewise.
28370 (__tgmath_real_type): Likewise.
28371 (__tgmath_complex_type_sub): Likewise.
28372 (__tgmath_complex_type): Likewise.
28373 (__TGMATH_F128): Likewise.
28374 (__TGMATH_CF128): Likewise.
28375 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28376 new macros.
28377 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28378 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28379 Likewise.
28380 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28381 Likewise.
28382 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28383 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28384 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28385 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28386 Likewise.
28387 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28388 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28389 Likewise.
28390 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28391 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28392 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28393 Likewise.
28394 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28395 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28396 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28397 (cimag): Likewise.
28398 (creal): Likewise.
28399
ec72135e
JM
284002017-11-14 Joseph Myers <joseph@codesourcery.com>
28401
2e64ec9c
JM
28402 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28403 for stpncpy calls for GCC 8.
28404 (test_strncat): Disable -Wstringop-truncation warning for strncat
28405 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28406 strncat call for GCC 7.
28407 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28408 calls for GCC 8.
28409 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28410 trailing NUL.
28411
ec72135e
JM
28412 * string/bug-strncat1.c: Include <libc-diag.h>.
28413 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28414
363e4519 284152017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
28416
28417 [BZ #22387]
28418 * localedata/locales/aa_DJ: Improved readibility by replacing
28419 <Uxxxx> sequences in the ASCII printable range by their ASCII
28420 character equivalents.
28421 * localedata/locales/aa_ER: Likewise.
28422 * localedata/locales/aa_ER@saaho: Likewise.
28423 * localedata/locales/aa_ET: Likewise.
28424 * localedata/locales/af_ZA: Likewise.
28425 * localedata/locales/agr_PE: Likewise.
28426 * localedata/locales/ak_GH: Likewise.
28427 * localedata/locales/am_ET: Likewise.
28428 * localedata/locales/anp_IN: Likewise.
28429 * localedata/locales/ar_AE: Likewise.
28430 * localedata/locales/ar_BH: Likewise.
28431 * localedata/locales/ar_DZ: Likewise.
28432 * localedata/locales/ar_EG: Likewise.
28433 * localedata/locales/ar_IN: Likewise.
28434 * localedata/locales/ar_IQ: Likewise.
28435 * localedata/locales/ar_JO: Likewise.
28436 * localedata/locales/ar_KW: Likewise.
28437 * localedata/locales/ar_LB: Likewise.
28438 * localedata/locales/ar_LY: Likewise.
28439 * localedata/locales/ar_MA: Likewise.
28440 * localedata/locales/ar_OM: Likewise.
28441 * localedata/locales/ar_QA: Likewise.
28442 * localedata/locales/ar_SA: Likewise.
28443 * localedata/locales/ar_SD: Likewise.
28444 * localedata/locales/ar_SS: Likewise.
28445 * localedata/locales/ar_SY: Likewise.
28446 * localedata/locales/ar_TN: Likewise.
28447 * localedata/locales/ar_YE: Likewise.
28448 * localedata/locales/as_IN: Likewise.
28449 * localedata/locales/ast_ES: Likewise.
28450 * localedata/locales/ayc_PE: Likewise.
28451 * localedata/locales/az_AZ: Likewise.
28452 * localedata/locales/az_IR: Likewise.
28453 * localedata/locales/be_BY: Likewise.
28454 * localedata/locales/be_BY@latin: Likewise.
28455 * localedata/locales/bem_ZM: Likewise.
28456 * localedata/locales/ber_DZ: Likewise.
28457 * localedata/locales/ber_MA: Likewise.
28458 * localedata/locales/bg_BG: Likewise.
28459 * localedata/locales/bhb_IN: Likewise.
28460 * localedata/locales/bho_IN: Likewise.
28461 * localedata/locales/bi_VU: Likewise.
28462 * localedata/locales/bn_BD: Likewise.
28463 * localedata/locales/bn_IN: Likewise.
28464 * localedata/locales/bo_CN: Likewise.
28465 * localedata/locales/bo_IN: Likewise.
28466 * localedata/locales/br_FR: Likewise.
28467 * localedata/locales/brx_IN: Likewise.
28468 * localedata/locales/bs_BA: Likewise.
28469 * localedata/locales/byn_ER: Likewise.
28470 * localedata/locales/ca_AD: Likewise.
28471 * localedata/locales/ca_ES: Likewise.
28472 * localedata/locales/ca_FR: Likewise.
28473 * localedata/locales/ca_IT: Likewise.
28474 * localedata/locales/ce_RU: Likewise.
28475 * localedata/locales/chr_US: Likewise.
28476 * localedata/locales/cmn_TW: Likewise.
28477 * localedata/locales/crh_UA: Likewise.
28478 * localedata/locales/cs_CZ: Likewise.
28479 * localedata/locales/csb_PL: Likewise.
28480 * localedata/locales/cv_RU: Likewise.
28481 * localedata/locales/cy_GB: Likewise.
28482 * localedata/locales/da_DK: Likewise.
28483 * localedata/locales/de_AT: Likewise.
28484 * localedata/locales/de_BE: Likewise.
28485 * localedata/locales/de_CH: Likewise.
28486 * localedata/locales/de_DE: Likewise.
28487 * localedata/locales/de_IT: Likewise.
28488 * localedata/locales/de_LI: Likewise.
28489 * localedata/locales/de_LU: Likewise.
28490 * localedata/locales/doi_IN: Likewise.
28491 * localedata/locales/dv_MV: Likewise.
28492 * localedata/locales/dz_BT: Likewise.
28493 * localedata/locales/el_CY: Likewise.
28494 * localedata/locales/el_GR: Likewise.
28495 * localedata/locales/en_AG: Likewise.
28496 * localedata/locales/en_AU: Likewise.
28497 * localedata/locales/en_BW: Likewise.
28498 * localedata/locales/en_CA: Likewise.
28499 * localedata/locales/en_DK: Likewise.
28500 * localedata/locales/en_GB: Likewise.
28501 * localedata/locales/en_HK: Likewise.
28502 * localedata/locales/en_IE: Likewise.
28503 * localedata/locales/en_IL: Likewise.
28504 * localedata/locales/en_IN: Likewise.
28505 * localedata/locales/en_NG: Likewise.
28506 * localedata/locales/en_NZ: Likewise.
28507 * localedata/locales/en_PH: Likewise.
28508 * localedata/locales/en_SG: Likewise.
28509 * localedata/locales/en_US: Likewise.
28510 * localedata/locales/en_ZA: Likewise.
28511 * localedata/locales/en_ZM: Likewise.
28512 * localedata/locales/en_ZW: Likewise.
28513 * localedata/locales/eo: Likewise.
28514 * localedata/locales/es_AR: Likewise.
28515 * localedata/locales/es_BO: Likewise.
28516 * localedata/locales/es_CL: Likewise.
28517 * localedata/locales/es_CO: Likewise.
28518 * localedata/locales/es_CR: Likewise.
28519 * localedata/locales/es_CU: Likewise.
28520 * localedata/locales/es_DO: Likewise.
28521 * localedata/locales/es_EC: Likewise.
28522 * localedata/locales/es_ES: Likewise.
28523 * localedata/locales/es_GT: Likewise.
28524 * localedata/locales/es_HN: Likewise.
28525 * localedata/locales/es_MX: Likewise.
28526 * localedata/locales/es_NI: Likewise.
28527 * localedata/locales/es_PA: Likewise.
28528 * localedata/locales/es_PE: Likewise.
28529 * localedata/locales/es_PR: Likewise.
28530 * localedata/locales/es_PY: Likewise.
28531 * localedata/locales/es_SV: Likewise.
28532 * localedata/locales/es_US: Likewise.
28533 * localedata/locales/es_UY: Likewise.
28534 * localedata/locales/es_VE: Likewise.
28535 * localedata/locales/et_EE: Likewise.
28536 * localedata/locales/eu_ES: Likewise.
28537 * localedata/locales/eu_ES@euro: Likewise.
28538 * localedata/locales/fa_IR: Likewise.
28539 * localedata/locales/ff_SN: Likewise.
28540 * localedata/locales/fi_FI: Likewise.
28541 * localedata/locales/fil_PH: Likewise.
28542 * localedata/locales/fo_FO: Likewise.
28543 * localedata/locales/fr_BE: Likewise.
28544 * localedata/locales/fr_CA: Likewise.
28545 * localedata/locales/fr_CH: Likewise.
28546 * localedata/locales/fr_FR: Likewise.
28547 * localedata/locales/fr_LU: Likewise.
28548 * localedata/locales/fur_IT: Likewise.
28549 * localedata/locales/fy_DE: Likewise.
28550 * localedata/locales/fy_NL: Likewise.
28551 * localedata/locales/ga_IE: Likewise.
28552 * localedata/locales/gd_GB: Likewise.
28553 * localedata/locales/gez_ER: Likewise.
28554 * localedata/locales/gez_ET: Likewise.
28555 * localedata/locales/gl_ES: Likewise.
28556 * localedata/locales/gu_IN: Likewise.
28557 * localedata/locales/gv_GB: Likewise.
28558 * localedata/locales/ha_NG: Likewise.
28559 * localedata/locales/hak_TW: Likewise.
28560 * localedata/locales/he_IL: Likewise.
28561 * localedata/locales/hi_IN: Likewise.
28562 * localedata/locales/hif_FJ: Likewise.
28563 * localedata/locales/hne_IN: Likewise.
28564 * localedata/locales/hr_HR: Likewise.
28565 * localedata/locales/hsb_DE: Likewise.
28566 * localedata/locales/ht_HT: Likewise.
28567 * localedata/locales/hu_HU: Likewise.
28568 * localedata/locales/hy_AM: Likewise.
28569 * localedata/locales/i18n: Likewise.
28570 * localedata/locales/ia_FR: Likewise.
28571 * localedata/locales/id_ID: Likewise.
28572 * localedata/locales/ig_NG: Likewise.
28573 * localedata/locales/ik_CA: Likewise.
28574 * localedata/locales/is_IS: Likewise.
28575 * localedata/locales/it_CH: Likewise.
28576 * localedata/locales/it_IT: Likewise.
28577 * localedata/locales/iu_CA: Likewise.
28578 * localedata/locales/ja_JP: Likewise.
28579 * localedata/locales/ka_GE: Likewise.
28580 * localedata/locales/kk_KZ: Likewise.
28581 * localedata/locales/kl_GL: Likewise.
28582 * localedata/locales/kn_IN: Likewise.
28583 * localedata/locales/ko_KR: Likewise.
28584 * localedata/locales/kok_IN: Likewise.
28585 * localedata/locales/ks_IN: Likewise.
28586 * localedata/locales/ks_IN@devanagari: Likewise.
28587 * localedata/locales/ku_TR: Likewise.
28588 * localedata/locales/kw_GB: Likewise.
28589 * localedata/locales/ky_KG: Likewise.
28590 * localedata/locales/lb_LU: Likewise.
28591 * localedata/locales/lg_UG: Likewise.
28592 * localedata/locales/li_BE: Likewise.
28593 * localedata/locales/li_NL: Likewise.
28594 * localedata/locales/lij_IT: Likewise.
28595 * localedata/locales/ln_CD: Likewise.
28596 * localedata/locales/lo_LA: Likewise.
28597 * localedata/locales/lt_LT: Likewise.
28598 * localedata/locales/lv_LV: Likewise.
28599 * localedata/locales/lzh_TW: Likewise.
28600 * localedata/locales/mag_IN: Likewise.
28601 * localedata/locales/mai_IN: Likewise.
28602 * localedata/locales/mg_MG: Likewise.
28603 * localedata/locales/mhr_RU: Likewise.
28604 * localedata/locales/mi_NZ: Likewise.
28605 * localedata/locales/mk_MK: Likewise.
28606 * localedata/locales/ml_IN: Likewise.
28607 * localedata/locales/mn_MN: Likewise.
28608 * localedata/locales/mni_IN: Likewise.
28609 * localedata/locales/mr_IN: Likewise.
28610 * localedata/locales/ms_MY: Likewise.
28611 * localedata/locales/mt_MT: Likewise.
28612 * localedata/locales/my_MM: Likewise.
28613 * localedata/locales/nan_TW: Likewise.
28614 * localedata/locales/nan_TW@latin: Likewise.
28615 * localedata/locales/nb_NO: Likewise.
28616 * localedata/locales/nds_DE: Likewise.
28617 * localedata/locales/nds_NL: Likewise.
28618 * localedata/locales/ne_NP: Likewise.
28619 * localedata/locales/nhn_MX: Likewise.
28620 * localedata/locales/niu_NU: Likewise.
28621 * localedata/locales/niu_NZ: Likewise.
28622 * localedata/locales/nl_AW: Likewise.
28623 * localedata/locales/nl_BE: Likewise.
28624 * localedata/locales/nl_NL: Likewise.
28625 * localedata/locales/nn_NO: Likewise.
28626 * localedata/locales/nr_ZA: Likewise.
28627 * localedata/locales/nso_ZA: Likewise.
28628 * localedata/locales/oc_FR: Likewise.
28629 * localedata/locales/om_ET: Likewise.
28630 * localedata/locales/om_KE: Likewise.
28631 * localedata/locales/or_IN: Likewise.
28632 * localedata/locales/os_RU: Likewise.
28633 * localedata/locales/pa_IN: Likewise.
28634 * localedata/locales/pa_PK: Likewise.
28635 * localedata/locales/pap_AW: Likewise.
28636 * localedata/locales/pap_CW: Likewise.
28637 * localedata/locales/pl_PL: Likewise.
28638 * localedata/locales/ps_AF: Likewise.
28639 * localedata/locales/pt_BR: Likewise.
28640 * localedata/locales/pt_PT: Likewise.
28641 * localedata/locales/quz_PE: Likewise.
28642 * localedata/locales/raj_IN: Likewise.
28643 * localedata/locales/ro_RO: Likewise.
28644 * localedata/locales/ru_RU: Likewise.
28645 * localedata/locales/ru_UA: Likewise.
28646 * localedata/locales/rw_RW: Likewise.
28647 * localedata/locales/sa_IN: Likewise.
28648 * localedata/locales/sat_IN: Likewise.
28649 * localedata/locales/sc_IT: Likewise.
28650 * localedata/locales/sd_IN: Likewise.
28651 * localedata/locales/sd_IN@devanagari: Likewise.
28652 * localedata/locales/se_NO: Likewise.
28653 * localedata/locales/sgs_LT: Likewise.
28654 * localedata/locales/shs_CA: Likewise.
28655 * localedata/locales/si_LK: Likewise.
28656 * localedata/locales/sid_ET: Likewise.
28657 * localedata/locales/sk_SK: Likewise.
28658 * localedata/locales/sl_SI: Likewise.
28659 * localedata/locales/sm_WS: Likewise.
28660 * localedata/locales/so_DJ: Likewise.
28661 * localedata/locales/so_ET: Likewise.
28662 * localedata/locales/so_KE: Likewise.
28663 * localedata/locales/so_SO: Likewise.
28664 * localedata/locales/sq_AL: Likewise.
28665 * localedata/locales/sq_MK: Likewise.
28666 * localedata/locales/sr_ME: Likewise.
28667 * localedata/locales/sr_RS: Likewise.
28668 * localedata/locales/sr_RS@latin: Likewise.
28669 * localedata/locales/ss_ZA: Likewise.
28670 * localedata/locales/st_ZA: Likewise.
28671 * localedata/locales/sv_FI: Likewise.
28672 * localedata/locales/sv_SE: Likewise.
28673 * localedata/locales/sw_KE: Likewise.
28674 * localedata/locales/sw_TZ: Likewise.
28675 * localedata/locales/szl_PL: Likewise.
28676 * localedata/locales/ta_IN: Likewise.
28677 * localedata/locales/ta_LK: Likewise.
28678 * localedata/locales/tcy_IN: Likewise.
28679 * localedata/locales/te_IN: Likewise.
28680 * localedata/locales/tg_TJ: Likewise.
28681 * localedata/locales/th_TH: Likewise.
28682 * localedata/locales/the_NP: Likewise.
28683 * localedata/locales/ti_ER: Likewise.
28684 * localedata/locales/ti_ET: Likewise.
28685 * localedata/locales/tig_ER: Likewise.
28686 * localedata/locales/tk_TM: Likewise.
28687 * localedata/locales/tl_PH: Likewise.
28688 * localedata/locales/tn_ZA: Likewise.
28689 * localedata/locales/to_TO: Likewise.
28690 * localedata/locales/tpi_PG: Likewise.
28691 * localedata/locales/tr_CY: Likewise.
28692 * localedata/locales/tr_TR: Likewise.
28693 * localedata/locales/ts_ZA: Likewise.
28694 * localedata/locales/tt_RU: Likewise.
28695 * localedata/locales/tt_RU@iqtelif: Likewise.
28696 * localedata/locales/ug_CN: Likewise.
28697 * localedata/locales/uk_UA: Likewise.
28698 * localedata/locales/unm_US: Likewise.
28699 * localedata/locales/ur_IN: Likewise.
28700 * localedata/locales/ur_PK: Likewise.
28701 * localedata/locales/uz_UZ: Likewise.
28702 * localedata/locales/uz_UZ@cyrillic: Likewise.
28703 * localedata/locales/ve_ZA: Likewise.
28704 * localedata/locales/vi_VN: Likewise.
28705 * localedata/locales/wa_BE: Likewise.
28706 * localedata/locales/wae_CH: Likewise.
28707 * localedata/locales/wal_ET: Likewise.
28708 * localedata/locales/wo_SN: Likewise.
28709 * localedata/locales/xh_ZA: Likewise.
28710 * localedata/locales/yi_US: Likewise.
28711 * localedata/locales/yo_NG: Likewise.
28712 * localedata/locales/yue_HK: Likewise.
28713 * localedata/locales/yuw_PG: Likewise.
28714 * localedata/locales/zh_CN: Likewise.
28715 * localedata/locales/zh_HK: Likewise.
28716 * localedata/locales/zh_SG: Likewise.
28717 * localedata/locales/zh_TW: Likewise.
28718 * localedata/locales/zu_ZA: Likewise.
28719
cae87e64
FW
287202017-11-13 Florian Weimer <fweimer@redhat.com>
28721
28722 * support/next_to_fault.h, support/next_to_fault.c: New files.
28723 * support/Makefile (libsupport-routines): Add next_to_fault.
28724 * resolv/tst-inet_pton.c (struct next_to_fault)
28725 (next_to_fault_allocate, next_to_fault_free): Remove.
28726 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28727
4a306ef1
L
287282017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28729
28730 * elf/dl-support.c: Include <dl-procruntime.c>.
28731 * include/link.h: Include <link_map.h>.
28732 * sysdeps/generic/dl-procruntime.c: New file.
28733 * sysdeps/generic/link_map.h: Likewise.
28734 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28735 the writable ld.so namespace.
28736
e69897bf
PE
287372017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28738
28739 timezone: pacify GCC -Wstringop-truncation
28740 Problem reported by Martin Sebor in:
28741 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28742 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28743
1ffe1ccb
FW
287442017-11-12 Florian Weimer <fweimer@redhat.com>
28745
eceed671
FW
28746 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28747 tst-xreadlink.
28748 (tests): Add tst-xreadlink.
1ffe1ccb
FW
28749 * support/support.h (xstrndup): Declare.
28750 * support/xunistd.h (xunlink, xreadlink): Declare.
28751 * support/temp_file.h (support_create_temp_directory): Declare.
28752 * support/temp_file.c (support_create_temp_directory): New function.
28753 * support/support_chroot.c (support_chroot_create): Use it.
28754 * support/xreadlink.c: New file.
28755 * support/xstrndup.c: Likewise.
28756 * support/xunlink.c: Likewise.
28757 * support/tst-xreadlink.c: Likewise.
28758
456b40a9
JDA
287592017-11-11 John David Anglin <danglin@gcc.gnu.org>
28760
28761 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28762
c0a25aa9
FW
287632017-11-11 Florian Weimer <fweimer@redhat.com>
28764
28765 [BZ #22409]
28766 [BZ #22412]
28767 * resolv/res_comp.c (printable_string, binary_hnok)
28768 (binary_leading_dash): New functions.
28769 (res_hnok): Reimplement using these functions and ns_name_pton.
28770 (res_ownok): Likewise.
28771 (res_mailok): Reimplement using printable_string, ns_name_pton and
28772 binary_hnok.
28773 (res_dnok): Reimplement using printable_string and ns_name_pton.
28774 * resolv/tst-res_hnok.c (tests): Add additional tests.
28775 (LETTERDIGITS, PRINTABLE): Define.
28776 (do_test): Adjust one_char results.
28777
9e0ad304
FW
287782017-11-11 Florian Weimer <fweimer@redhat.com>
28779
28780 [BZ #22413]
28781 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28782 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28783
e2a9fca8
FW
287842017-11-11 Florian Weimer <fweimer@redhat.com>
28785
28786 * resolv/tst-ns_name_pton.c: New file.
28787 * resolv/Makefile (tests): Add tst-ns_name_pton.
28788 (tst-ns_name_pton): Link against libresolv.
28789
5c1a6923
FW
287902017-11-11 Florian Weimer <fweimer@redhat.com>
28791
28792 * resolv/tst-res_hnok.c: New file.
28793 * resolv/Makefile (tests): Add tst-res_hnok.
28794 (tst-res_hnok): Link against libresolv.
28795
a19c0a1d
FW
287962017-11-11 Florian Weimer <fweimer@redhat.com>
28797
28798 * resolv/tst-resolv-network.c: Use test framework instead explicit
28799 main function.
28800
8cb5295d
L
288012017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28802
28803 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28804 <jmp_buf-macros.h>.
28805 [!_ISOMAC] (STR_HELPER): New.
28806 [!_ISOMAC] (STR): Likewise.
28807 [!_ISOMAC] (TEST_SIZE): Likewise.
28808 [!_ISOMAC] (TEST_ALIGN): Likewise.
28809 [!_ISOMAC] (TEST_OFFSET): Likewise.
28810 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28811 field offsets of jmp_buf as well as sigjmp_buf.
28812 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28813 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28814 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28815 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28816 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28817 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28818 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28819 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28820 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28821 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28822 Likewise.
28823 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28824 Likewise.
28825 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28827 Likewise.
28828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28829 Likewise.
28830 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28831 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28832 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28833 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28834 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28836 Likewise.
28837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28838 Likewise.
28839 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28840 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28841 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28842
58c4a161
JM
288432017-11-07 Joseph Myers <joseph@codesourcery.com>
28844
3683b423
JM
28845 * include/float.h
28846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28847 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28849 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28851 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28853 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28855 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28857 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28859 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28861 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28863 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28865 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28867 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28869 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28871 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28873 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28875 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28877 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28879 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28881 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28883 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28885 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28887 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28889 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28891 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28893 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28895 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28897 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28899 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28901 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28903 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28905 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28907 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28909 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28911 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28913 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28915 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28917 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28919 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28921 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28923 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28925 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28927 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28929 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28931 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28933 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28934
58c4a161
JM
28935 * stdlib/tst-strtod.h (F16): New macro.
28936 (F32): Likewise.
28937 (F64): Likewise.
28938 (F32X): Likewise.
28939 (F64X): Likewise.
28940 (F128X): Likewise.
28941 (IF_FLOAT16): Likewise.
28942 (IF_FLOAT32): Likewise.
28943 (IF_FLOAT64): Likewise.
28944 (IF_FLOAT32X): Likewise.
28945 (IF_FLOAT64X): Likewise.
28946 (IF_FLOAT128X): Likewise.
28947 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28948 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28949 (STRTOD_TEST_FOREACH): Likewise.
28950 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28951 (CHOOSE_f64): Likewise.
28952 (CHOOSE_f32x): Likewise.
28953 (CHOOSE_f64x): Likewise.
28954
feda96a1
AS
289552017-11-07 Andreas Schwab <schwab@suse.de>
28956
28957 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28958
1bd0cbb8
MF
289592017-11-07 Mike FABIAN <mfabian@redhat.com>
28960
28961 [BZ #22403]
28962 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28963 to be escaped.
28964 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28965 to be escaped.
28966
363e4519 289672017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
28968
28969 [BZ #22403]
28970 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28971 to be escaped.
28972 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28973 to be escaped.
28974 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28975 to be escaped.
28976
dff91cd4
AZ
289772017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28978
06be6368
AZ
28979 [BZ #22298]
28980 * nptl/allocatestack.c (allocate_stack): Check if
28981 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28982 __PTHREAD_MUTEX_HAVE_PREV is defined.
28983 * nptl/descr.h (pthread): Likewise.
28984 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28985 Likewise.
28986 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28987 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28988 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28989 * sysdeps/nptl/bits/thread-shared-types.h
28990 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28991 defines.
28992 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28993 of __WORDSIZE for internal layout.
28994 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28995 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28996 instead of __WORDSIZE whether to use an union for __spins and __list
28997 fields.
28998 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28999 case.
29000 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
29001 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
29002 defines.
29003 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
29004 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29005 Likewise.
29006 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
29007 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29008 Likewise.
29009 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
29010 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29011 Likewise.
29012 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
29013 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29014 Likewise.
29015 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
29016 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29017 Likewise.
29018 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
29019 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29020 Likewise.
29021 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
29022 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29023 Likewise.
29024 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
29025 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29026 Likewise.
29027 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
29028 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29029 Likewise.
29030 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
29031 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29032 Likewise.
29033 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
29034 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29035 Likewise.
29036 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
29037 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29038 Likewise.
29039 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
29040 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29041 Likewise.
29042 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
29043 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
29044 Likewise.
29045
72b3c6ee
AZ
29046 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
29047 New macros.
29048 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
29049 checks for expected input type size.
29050 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
29051 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29052 Likewise.
29053 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29054 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
29055 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29056 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
29057 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
29058 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
29059 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
29060 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
29061 superflous runtime assert check.
29062 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
29063 Likewise.
29064 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
29065 Likewise.
29066 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
29067 Likewise.
29068 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
29069 Likewise.
29070 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
29071 Likewise.
29072 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
29073 Likewise.
29074 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
29075 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
29076 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
29077 Likewise.
29078 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
29079 Likewise.
29080 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
29081 Likewise.
29082 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
29083 Likewise.
29084 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
29085 Likewise.
29086 * nptl/pthread_attr_setinheritsched.c
29087 (__pthread_attr_setinheritsched): Likewise.
29088 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
29089 Likewise.
29090 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
29091 Likewise.
29092 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
29093 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
29094 __old_pthread_attr_setstack): Likewise.
29095 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
29096 Likewise.
29097 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
29098 Likewise.
29099 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
29100 Likewise.
29101 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
29102 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
29103 Likewise.
29104 * nptl/tst-typesizes.c: Remove file.
29105
dff91cd4
AZ
29106 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
29107 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
29108 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
29109 checks for internal pthread_mutex_t offsets.
29110 * sysdeps/aarch64/nptl/pthread-offsets.h
29111 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
29112 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
29113 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
29114 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
29115 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
29116 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
29117 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
29118 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29119 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29120 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29121 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29122 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29123 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29124 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29125 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29126 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29127 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29128 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29129
b7fc95f8
FW
291302017-11-07 Florian Weimer <fweimer@redhat.com>
29131
29132 * bits/mman-linux.h: Move ...
29133 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29134 comment.
29135 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29136 outdated comment.
29137
6b860364
RS
291382017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29139
29140 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29141 Redefine STRNLEN as __strnlen_power8.
29142
802c1f16
AZ
291432017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29144
d83da3a4
AZ
29145 * signal/sighold.c (sighold): Optimize implementation.
29146
6a4235f1
AZ
29147 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29148 __NR_rt_sigqueueinfo.
29149
8b0e795a
AZ
29150 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29151 __sigtimedwait.
29152 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29153 assume __NR_rt_sigtimedwait.
29154 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29155 and add LIBC_CANCEL_HANDLED for cancellation marking.
29156 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29157
a1a638dd
AZ
29158 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29159 (sysdeps_routines): Add memchr_noneon.
29160 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29161 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29162 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29163 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29164 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29165 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29166 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29167
802c1f16
AZ
29168 * sysdeps/arm/arm-ifunc.h: New file.
29169 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29170 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29171 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29172 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29173 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29174 (__memcpy_neon): Avoid create hidden alias.
29175 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29176 (__memcpy_vfp): Likewise.
29177 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29178 (sysdep_routines): Add memcpy_arm.
29179 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29180
abcb584d
L
291812017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29182
29183 [BZ #22362]
29184 * Makerules (make-link-multidir): New.
29185 * config.make.in (multidir): New.
29186 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29187 * configure: Regenerated.
29188 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29189 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29190 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29191 New target.
29192
4e2dff67
JM
291932017-11-06 Joseph Myers <joseph@codesourcery.com>
29194
29195 [BZ #22402]
29196 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29197 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29198
a1c7cd3c
MF
291992017-11-04 Mike FABIAN <mfabian@redhat.com>
29200
29201 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29202 to be escaped.
29203
b9af29c0
FW
292042017-11-04 Florian Weimer <fweimer@redhat.com>
29205
29206 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29207
4ca70e1a
JM
292082017-11-03 Joseph Myers <joseph@codesourcery.com>
29209
29210 * math/math.h [__HAVE_DISTINCT_FLOAT16
29211 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29212 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29213 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29214 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29215 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29216 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29217 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29218 (__MATH_TG_F32): New macro.
29219 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29220 (__MATH_TG_F64X): Likewise.
29221 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29222 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29223
ba0e6668
DL
292242017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29225
29226 * po/de.po: Update translations.
29227 * po/ru.po: Likewise.
29228
bc18a6d3
FW
292292017-11-03 Florian Weimer <fweimer@redhat.com>
29230
29231 * manual/filesys.texi (Hard Links): Document linkat.
29232
97255170
JM
292332017-11-03 Joseph Myers <joseph@codesourcery.com>
29234
86ec4865
JM
29235 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29236 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29237 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29238 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29239 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29240 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29241 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29242 the same as _Float128.
29243 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29244 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29245 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29246
97255170
JM
29247 * stdlib/stdlib.h
29248 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29249 Declare.
29250 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29251 Likewise.
29252 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29253 Likewise.
29254 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29255 (strtof32x): Likewise.
29256 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29257 (strtof64x): Likewise.
29258 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29259 (strtof128x): Likewise.
29260 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29261 (strfromf16): Likewise.
29262 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29263 (strfromf32): Likewise.
29264 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29265 (strfromf64): Likewise.
29266 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29267 (strfromf32x): Likewise.
29268 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29269 (strfromf64x): Likewise.
29270 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29271 (strfromf128x): Likewise.
29272 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29273 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29274 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29275 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29276 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29277 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29278
6d58ce5e
RH
292792017-11-03 Richard Henderson <rth@twiddle.net>
29280
29281 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29282
659ca267
SN
292832017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29284
29285 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29286
94d2f0af
SN
292872017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29288
29289 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29290 DT_TLSDESC_GOT initialization.
29291 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29292 (_dl_tlsdesc_resolve_hold): Likewise.
29293 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29294 (_dl_tlsdesc_resolve_hold): Likewise.
29295 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29296 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29297
28e1ddf3
SN
292982017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29299
29300 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29301
0ca3d1d6
SN
293022017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29303
29304 [BZ #18572]
29305 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29306 non-lazily for R_ARM_TLS_DESC.
29307
2c1d4e5f
SN
293082017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29309
29310 [BZ #17078]
29311 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29312 R_ARM_TLS_DESC case.
29313 (elf_machine_lazy_rel): Remove the prelink check.
29314
91c5a366
SN
293152017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29316
29317 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29318 DT_TLSDESC_GOT initialization.
29319 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29320 (_dl_tlsdesc_resolve_rela): Likewise.
29321 (_dl_tlsdesc_resolve_hold): Likewise.
29322 (_dl_tlsdesc_undefweak): Remove ldar.
29323 (_dl_tlsdesc_dynamic): Likewise.
29324 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29325 (_dl_tlsdesc_resolve_rela): Likewise.
29326 (_dl_tlsdesc_resolve_hold): Likewise.
29327 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29328 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29329 (_dl_tlsdesc_resolve_rela): Likewise.
29330 (_dl_tlsdesc_resolve_hold): Likewise.
29331
b7cf203b
SN
293322017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29333
29334 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29335 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29336
0cc5b022
SN
293372017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29338
29339 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29340 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29341
43ddff2e
JM
293422017-11-02 Joseph Myers <joseph@codesourcery.com>
29343
29344 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29345 Declare.
29346 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29347 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29348 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29349 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29350 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29351 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29352 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29353 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29354 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29355 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29356 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29357
5baac970
MF
293582017-11-02 Mike FABIAN <mfabian@redhat.com>
29359
29360 [BZ #22382]
29361 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29362 * localedata/locales/tpi_PG: Add standard header.
29363
ef11081f
FW
293642017-11-02 Florian Weimer <fweimer@redhat.com>
29365
29366 test-errno-linux: quotactl can fail with EPERM in containers.
29367 * sysdeps/unix/sysv/linux/test-errno-linux.c
29368 (LIST, LIST_FORWARD): New macros.
29369 (check_error_in_list): New function.
29370 (test_wrp_rv): Accept list of permitted error codes.
29371 (test_wrp_rv2): Remove.
29372 (test_wrp): Call test_wrp_rv with list of error codes.
29373 (test_wrp2): Accept list of error codes.
29374 (do_test): Adjust. Allow EPERM for quotactl.
29375
d10b132b
FW
293762017-11-02 Florian Weimer <fweimer@redhat.com>
29377
29378 * stdio-common/bug16.c (do_test): Use array_length.
29379 * stdio-common/errlist.c (_sys_nerr): Likewise.
29380 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29381 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29382 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29383 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29384 (do_test): Use array_length.
29385 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29386 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29387 * stdio-common/tst-printf-round.c (do_test): Likewise.
29388 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29389 (CHECK): Use array_length.
29390 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29391 * stdio-common/tstscanf.c (main): Likewise.
29392 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29393
c94a5688
FW
293942017-11-02 Florian Weimer <fweimer@redhat.com>
29395
29396 Add array_length and array_end macros.
29397 * include/array_length.h: New file.
29398
2fac6a6c
FW
293992017-11-02 Florian Weimer <fweimer@redhat.com>
29400
29401 [BZ #22332]
29402 * posix/tst-glob-tilde.c (do_noescape): New variable.
29403 (one_test): Process it.
29404 (do_test): Set do_noescape. Add unescaping test case.
29405
2f1b212e
JM
294062017-11-01 Joseph Myers <joseph@codesourcery.com>
29407
260fbd0a
JM
29408 * math/complex.h
29409 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29410 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29411 with appropriate macros defined and undefined.
29412 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29413 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29414 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29415 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29416 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29417 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29418 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29419 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29420 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29421 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29422
2f1b212e
JM
29423 * math/complex.h
29424 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29425 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29426 that for long double. Do not condition define and undefine of
29427 _Mdouble_complex_ on [__CFLOAT128].
29428
95b93c6e
L
294292017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29430
29431 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29432 of <sysdeps/generic/sysdep.h>.
29433 (ALIGNARG): Removed.
29434 (ASM_SIZE_DIRECTIVE): Likewise.
29435 (ENTRY): Likewise.
29436 (END): Likewise.
29437 (ENTRY_CHK): Likewise.
29438 (END_CHK): Likewise.
29439 (syscall_error): Likewise.
29440 (mcount): Likewise.
29441 (PSEUDO_END): Likewise.
29442 (L): Likewise.
29443 (atom_text_section): Likewise.
29444 * sysdeps/x86/sysdep.h: New file.
29445 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29446 of <sysdeps/generic/sysdep.h>.
29447 (ALIGNARG): Removed.
29448 (ASM_SIZE_DIRECTIVE): Likewise.
29449 (ENTRY): Likewise.
29450 (END): Likewise.
29451 (ENTRY_CHK): Likewise.
29452 (END_CHK): Likewise.
29453 (syscall_error): Likewise.
29454 (mcount): Likewise.
29455 (PSEUDO_END): Likewise.
29456 (L): Likewise.
29457 (atom_text_section): Likewise.
29458
ab74d59f 294592017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
1bb36539
RL
29460
29461 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29462 category of LC_CTYPE set to "i18n:2012".
29463 * localedata/locales/i18n_ctype: Regenerate.
29464
067f5d97 294652017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 29466
87bbc4cf
YN
29467 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29468 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29469 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29470 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29471
e8681faa
YN
29472 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29473 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29475 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29476
540af6e2
JM
294772017-10-31 Joseph Myers <joseph@codesourcery.com>
29478
43e66283
JM
29479 * math/complex.h
29480 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29481 New macro.
29482 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29483 Likewise.
29484 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29485 Likewise.
29486 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29487 (CMPLXF32X): Likewise.
29488 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29489 (CMPLXF64X): Likewise.
29490 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29491 (CMPLXF128X): Likewise.
29492
540af6e2
JM
29493 * math/math.h
29494 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29495 (__MATH_EVAL_FMT2): Define to add 0.0f.
29496
58af72b4
AM
294972017-10-31 Alan Modra <amodra@gmail.com>
29498
29499 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29500 include sysdep.h.
29501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29515 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29516 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29517 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29518 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29519 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29520 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29521 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29523 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29524 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29526 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29527 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29528 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29529 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29530 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29531 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29532 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29533 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29534 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29535 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29536 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29537 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29538 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29541 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29542 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29543 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29544 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29545 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29546 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29547 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29548 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29549 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29550 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29551 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29552 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29553 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29554 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29555 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29556 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29557 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29558 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29559 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29560 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29562 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29563 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29564 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29565 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29566 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29567 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29568 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29569 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29570
29571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29572 include sysdep.h and math_ldbl_opt.h.
29573
29574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29575 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29600
112f30b3
AM
296012017-10-31 Alan Modra <amodra@gmail.com>
29602
29603 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29604 string/strncase_l.c, not string/strncase.c.
29605 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29606 (libc_hidden_def): Redefine.
29607
e9e7eced
AM
296082017-10-31 Alan Modra <amodra@gmail.com>
29609
29610 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29611 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29612 (__strcasecmp): Don't define.
29613
f7b465cf
AM
296142017-10-31 Alan Modra <amodra@gmail.com>
29615
29616 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29617 IS_IN (libc).
29618 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29621
d46b09f9
AM
296222017-10-31 Alan Modra <amodra@gmail.com>
29623
29624 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29625 USE_AS_STPNCPY.
29626
e9b8e194
AM
296272017-10-31 Alan Modra <amodra@gmail.com>
29628
29629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29630 Redefine only when SHARED.
29631
eda162dd
JM
296322017-10-30 Joseph Myers <joseph@codesourcery.com>
29633
b61afe8c
JM
29634 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29635 Include <bits/math-finite.h> with appropriate macros defined and
29636 undefined.
29637 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29638 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29639 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29640 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29641 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29642
eda162dd
JM
29643 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29644 [!_Mlong_double_] (_Mlong_double_): Likewise.
29645 [!_Mfloat16_] (_Mfloat16_): Likewise.
29646 [!_Mfloat32_] (_Mfloat32_): Likewise.
29647 [!_Mfloat64_] (_Mfloat64_): Likewise.
29648 [!_Mfloat128_] (_Mfloat128_): Likewise.
29649 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29650 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29651 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29652 (_Mdouble_): Define without indirection through those macros.
29653 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29654 [!_Mfloat128_] (_Mfloat128_): Likewise.
29655 [_Mlong_double_] (_Mlong_double_): Likewise.
29656 (_Mdouble_): Define without indirection through those macros.
29657 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29658 not add -D_Mlong_double_=double.
29659 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29660 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29661
4ad5106e
L
296622017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29663
29664 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29665
fe326df7
L
296662017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29667
29668 * sysdeps/x86/libc-start.c: Reformat.
29669
c5cc4514
L
296702017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29671
29672 [BZ #22353]
29673 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29674 (1): Renamed to ...
29675 (L(Src0)): This.
29676 (L(Src1)): New.
29677 (L(Src2)): Likewise.
29678 (L(1)): Renamed to ...
29679 (L(Src3)): This.
29680
ce12269f
JM
296812017-10-30 Joseph Myers <joseph@codesourcery.com>
29682
29683 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29684 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29685 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29686 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29687 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29688 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29689 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29690 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29691 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29692 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29693 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29694 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29695 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29696 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29697 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29698 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29699 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29700 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29701 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29702 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29703 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29704 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29705 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29706 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29707 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29708 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29709 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29710 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29711 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29712 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29713 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29714 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29715 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29716 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29717 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29718 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29719 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29720 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29721 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29722 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29723 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29724 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29725 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29726 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29727 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29728 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29729 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29730 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29731 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29732 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29733 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29734 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29735 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29736 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29737 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29738 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29739 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29740 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29741 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29742 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29743 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29744 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29745 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29746 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29747 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29748 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29749
4484b9e2
FW
297502017-10-30 Florian Weimer <fweimer@redhat.com>
29751
29752 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29753 always defined.
29754 * io/tst-mkdirat.c (do_test): Likewise.
29755 * io/tst-mkfifoat.c (do_test): Likewise.
29756 * io/tst-mknodat.c (do_test): Likewise.
29757 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29758 * locale/programs/locale.c (select_dirs): Likewise.
29759 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29760 * posix/bug-glob2.c (my_readdir): Likewise.
29761 * posix/tst-dir.c (main): Likewise.
29762 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29763 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29764
68fe16dd
FW
297652017-10-30 Florian Weimer <fweimer@redhat.com>
29766
29767 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29768 just __USE_GNU.
29769
dadf23f0
FW
297702017-10-30 Florian Weimer <fweimer@redhat.com>
29771
29772 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29773 Convert to support/test-driver.c.
29774 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29775 New macro parameters.
29776 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29777 * posix/tst-gnuglob.c: New file.
29778 * posix/tst-gnuglob64.c: Likewise.
29779 * posix/Makefile (tests): Add tst-gnuglob64.
29780
363e4519 297812017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
29782
29783 [BZ #19485]
29784 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29785 and use a better translation for March in “mon”.
29786 * localedata/locales/csb_PL: Use more ASCII to improve the
29787 readability of the source.
29788
b110af82
MF
297892017-10-30 Mike FABIAN <mfabian@redhat.com>
29790
29791 [BZ #13953]
29792 * localedata/locales/km_KH: Use ASCII as much
29793 as possible for better readability of the source and
29794 remove useless comments.
29795 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29796 was commented out and apparently wrong anyway because it was
29797 using Lao characters. If Buddhist era should be used
29798 for km_KH, a native speaker should write the correct formaat
29799 for Khmer.
29800 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29801 (According to CLDR, the first weekday for Cambodia is Sunday).
29802 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29803 (These were using Lao characters which must be wrong. If we get
29804 the correct data from a native speaker, we could add it back, until
29805 then it is better not to have name_mr and name_mrs at all than
29806 having it wrong).
29807
ab74d59f 298082017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
f301e533
RL
29809
29810 * locale/loadlocale.c: Correct size of
29811 _nl_value_type_LC_<category> arrays.
29812
7e9d7073
JM
298132017-10-27 Joseph Myers <joseph@codesourcery.com>
29814
29815 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29816 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29817 with appropriate macros defined and undefined.
29818 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29819 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29820 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29821 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29822 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29823
63d3b468
L
298242017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29825
29826 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29827 "-O2 -march=i586".
29828
a4cc02c7
MF
298292017-10-27 Mike FABIAN <mfabian@redhat.com>
29830
29831 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29832 with lowercase letters to make it agree with CLDR.
29833
1e5971ec
MF
298342017-10-27 Mike FABIAN <mfabian@redhat.com>
29835
29836 [BZ #15260]
29837 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29838 first letters of yesstr and nostr in yesexpr and noexpr,
29839 not for the full words.
29840 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29841 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29842 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29843 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29844 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29845 first letters of yesstr and nostr in yesexpr and noexpr,
29846 until now only English was matched in yesexpr and noexpr.
29847 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29848 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29849 fil but not for tl. As tl and fil are very similar, using fil
29850 is probably better than using English.
29851
363e4519 298522017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
29853
29854 [BZ #21706]
29855 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29856 in yesstr and nostr.
29857
5d220788
JM
298582017-10-26 Joseph Myers <joseph@codesourcery.com>
29859
ecc7da5b
JM
29860 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29861 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29862 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29863 Likewise.
29864 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29865 Likewise.
29866 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29867 Likewise.
29868 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29869 Likewise.
29870 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29871 (SNANF128X): Likewise.
29872
5d220788
JM
29873 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29874 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29875 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29876 (HUGE_VAL_F32): Likewise.
29877 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29878 (HUGE_VAL_F64): Likewise.
29879 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29880 (HUGE_VAL_F32X): Likewise.
29881 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29882 (HUGE_VAL_F64X): Likewise.
29883 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29884 (HUGE_VAL_F128X): Likewise.
29885
363e4519 298862017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
29887
29888 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29889 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29890 for the br_FR locale.
29891
363e4519 298922017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
29893
29894 [BZ #21706]
29895 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29896
337ff3c5
CD
298972017-10-25 Carlos O'Donell <carlos@redhat.com>
29898
02eec681
CD
29899 * locale/programs/record-status.h: Define globals, and function
29900 prototypes. Move function bodies...
29901 * locale/programs/record-status.c: ... to here. New file.
29902 * iconv/Makefile (iconv_prog-modules): Add record-status.
29903 * locale/Makefile (lib-modules): Likewise.
29904 * iconv/iconv_prog.c: Remove verbose.
29905 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29906 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29907 record a warning about ASCII compatibility.
29908 * locale/programs/ld-monetary.c (monetary_finish): If
29909 warn_int_curr_symbol is true then record a warning about the symbol
29910 not being in our ISO 4217 list.
29911 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29912 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29913 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29914 (OPT_NO_WARN): Define.
29915 (OPT_WARN): Define.
29916 (options): Add entry for --no-warnings, and --warnings.
29917 (set_warnings): New function to enable/disable warnings.
29918 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29919 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29920 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29921 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29922 Pass flags to generate_locale.
29923 (generate_locale): Accept new flag argument and pass it to localedef
29924 invocation.
29925 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29926 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29927
56fa555a
CD
29928 * localedata/Makefile (test-input-data): Use full file name.
29929 * localedata/da_DK.in: Rename to...
29930 * localedata/da_DK.ISO-8859-1.in: ...this.
29931 * localedata/de_DE.in: Rename to...
29932 * localedata/de_DE.ISO-8859-1.in: ...this.
29933 * localedata/en_US.in: Rename to...
29934 * localedata/en_US.ISO-8859-1.in: ...this.
29935 * localedata/fr_FR.in: Rename to...
29936 * localedata/fr_FR.UTF-8.in: ... this.
29937 * localedata/hr_HR.in: Rename to...
29938 * localedata/hr_HR.ISO-8859-2.in: ...this.
29939 * localedata/hu_HU.in: Rename to...
29940 * localedata/hu_HU.UTF-8.in: ...this.
29941 * localedata/si_LK.in: Rename to...
29942 * localedata/si_LK.UTF-8.in: ...this.
29943 * localedata/sv_SE.in: Rename to...
29944 * localedata/sv_SE.ISO-8859-1.in: ...this.
29945 * localedata/tr_TR.in: Rename to...
29946 * localedata/tr_TR.UTF-8.in: ...this.
29947 * localedata/uk_UA.in: Rename to...
29948 * localedata/uk_UA.UTF-8.in: ...this.
29949 * localedata/sort-test.sh: Test file is locale name with the
29950 suffix.
29951
337ff3c5
CD
29952 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29953 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29954 file.
29955 * localedata/locales/i18n_ctype: Regenerate.
29956 * localedata/locales/tr_TR: Likewise.
29957 * localedata/locales/translit_circle: Likewise.
29958 * localedata/locales/translit_cjk_compat: Likewise.
29959 * localedata/locales/translit_combining: Likewise.
29960 * localedata/locales/translit_compat: Likewise.
29961 * localedata/locales/translit_font: Likewise.
29962 * localedata/locales/translit_fraction: Likewise.
29963
63da5cd4
RS
299642017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29965
29966 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29967 lxvd2x/stxvd2x with lvx/stvx.
29968 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29969
a122dbfb
L
299702017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29971
29972 * include/alloc_buffer.h: Replace "if if " with "if " in
29973 comments.
29974 * sysdeps/mips/memcpy.S: Likkewise.
29975 * sysdeps/mips/memset.S: Likewise.
29976 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29977 Likewise.
29978 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29979 Likewise.
29980 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29981 Likewise.
29982
9be7530c
MF
299832017-10-25 Mike FABIAN <mfabian@redhat.com>
29984
29985 [BZ #15261]
29986 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29987 yesexpr and noexpr.
29988 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29989 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29990 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29991 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29992 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29993 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29994 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29995
6ccbf6ff
MF
299962017-10-25 Mike FABIAN <mfabian@redhat.com>
29997
29998 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29999 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30000 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30001 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30002 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30003 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
30004 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30005 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30006 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30007 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30008 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30009 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30010
58b1a7ea
MF
300112017-10-25 Mike FABIAN <mfabian@redhat.com>
30012
30013 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
30014 as possible for better readability of the source.
30015 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
30016 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
30017 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
30018 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
30019 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
30020 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
30021 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
30022 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
30023 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
30024 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
30025 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
30026 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
30027 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
30028 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
30029 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
30030 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
30031 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
30032 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
30033 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
30034 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
30035 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
30036 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
30037 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
30038 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
30039 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
30040 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
30041 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
30042 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
30043 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
30044 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
30045 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
30046 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
30047 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
30048 * localedata/locales/en_US (LC_MESSAGES): Likewise.
30049 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
30050 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
30051 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
30052 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
30053 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
30054 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
30055 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
30056 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
30057 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
30058 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
30059 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
30060 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
30061 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
30062 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
30063 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
30064 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
30065 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
30066 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
30067 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
30068 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
30069 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
30070 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
30071 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
30072 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
30073 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
30074 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
30075 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
30076 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
30077 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
30078 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
30079 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
30080 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
30081 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
30082 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
30083 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
30084 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
30085 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
30086 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
30087 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
30088 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
30089 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
30090 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
30091 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
30092 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
30093 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
30094 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
30095 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
30096 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
30097 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
30098 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
30099 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
30100 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
30101 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
30102 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
30103 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
30104 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
30105 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
30106 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
30107 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
30108 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
30109 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
30110 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
30111 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
30112 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
30113 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
30114 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
30115 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
30116 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
30117 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
30118 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30119 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30120 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30121 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30122 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30123 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30124 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30125 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30126 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30127 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30128 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30129 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30130 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30131 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30132 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30133 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30134 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30135 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30136 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30137 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30138 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30139 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30140 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30141 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30142 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30143 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30144 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30145 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30146 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30147 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30148 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30149 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30150 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30151 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30152 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30153 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30154 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30155 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30156 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30157 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30158 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30159 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30160 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30161 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30162 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30163 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30164 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30165 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30166 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30167 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30168 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30169 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30170 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30171 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30172 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30173 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30174 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30175 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30176 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30177 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30178 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30179 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30180 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30181 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30182 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30183 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30184 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30185 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30186 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30187 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30188 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30189
17e78edb
MF
301902017-10-25 Mike FABIAN <mfabian@redhat.com>
30191
30192 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30193 (Use first letters of yesstr and nostr correctly instead of using
30194 full words).
30195
74e7284f
MF
301962017-10-25 Mike FABIAN <mfabian@redhat.com>
30197
30198 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30199 (Use first letters of yesstr and nostr correctly).
30200
b41a0ff1
MF
302012017-10-25 Mike FABIAN <mfabian@redhat.com>
30202
30203 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30204 also check for the first characters of yesstr and nostr.
30205 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30206 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30207
d971f380
MF
302082017-10-25 Mike FABIAN <mfabian@redhat.com>
30209
30210 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30211 also check for Chinese characters.
30212
effc9e1d
MF
302132017-10-25 Mike FABIAN <mfabian@redhat.com>
30214
30215 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30216 match also for the contents of yesstr and nostr. As the first letter
30217 of yesstr and nostr is equal, checking only for the first letter
30218 is not enough.
30219
10320881
MF
302202017-10-25 Mike FABIAN <mfabian@redhat.com>
30221
30222 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30223 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30224
d8682a15
MF
302252017-10-25 Mike FABIAN <mfabian@redhat.com>
30226
30227 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30228 of main contributor.
30229
1bfb86ae
MF
302302017-10-25 Mike FABIAN <mfabian@redhat.com>
30231
30232 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30233 instead of using English.
30234
da33d60b
MF
302352017-10-25 Mike FABIAN <mfabian@redhat.com>
30236
30237 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30238 by including the first letters of nostr and yesexpr in the regexp.
30239 Also make it more readable by using ASCII where possible.
30240
725bbb3e
MF
302412017-10-25 Mike FABIAN <mfabian@redhat.com>
30242
30243 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30244 the first letter of nostr in the regexp. It agrees with CLDR now.
30245 Also make it more readable by using ASCII where possible.
30246
fe043d8a
MF
302472017-10-24 Mike FABIAN <mfabian@redhat.com>
30248
30249 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30250 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30251 these strings contain a U+17D6 (which somewhat looks like a colon)
30252 instead of a real colon to separate the full words for “yes”
30253 and “no” from the single letter responses.
30254
360a8df3
MF
302552017-10-24 Mike FABIAN <mfabian@redhat.com>
30256
30257 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30258 it agree with CLDR (include the first letter of yesstr).
30259 Also make it more readable by using ASCII where possible.
30260
bab7b6b0
MF
302612017-10-24 Mike FABIAN <mfabian@redhat.com>
30262
30263 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30264 and improve yesexpr and noexpr. The yesstr and nostr apparently
30265 came from CLDR. And CLDR has a bug there: these strings contain
30266 a U+0903 (which looks like a colon) instead of a real colon
30267 to separate the full words for “yes” and “no” from the single
30268 letter responses.
30269
3e79f758
MF
302702017-10-24 Mike FABIAN <mfabian@redhat.com>
30271
30272 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30273 letters of the full yesstr and nostr in yesexpr and noexpr.
30274
4960c879
MF
302752017-10-24 Mike FABIAN <mfabian@redhat.com>
30276
30277 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30278 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30279 * localedata/locales/an_ES: Make source more readable by using ASCII
30280 where possible.
30281
b06a054f
MF
302822017-10-24 Mike FABIAN <mfabian@redhat.com>
30283
30284 [BZ #20952]
30285 * localedata/locales/yuw_PG: New file.
30286 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30287 * locale/iso-639.def: Add Yau (Uruwa).
30288
905a7725
WD
302892017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30290
30291 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30292
3f6bb8a3
WD
302932017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30294
30295 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30296 (__libc_realloc): Likewise.
30297 (_mid_memalign): Likewise.
30298 (__libc_calloc): Likewise.
30299
1d479c8c
MF
303002017-10-23 Mike FABIAN <mfabian@redhat.com>
30301
30302 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30303 by adding the generic +1 and -0 as in all other locales.
30304 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30305 day names and make it more readable by using ASCII where possible.
30306
91c3985c
JM
303072017-10-24 Joseph Myers <joseph@codesourcery.com>
30308
30309 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30310 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30311
aa95a241
AZ
303122017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30313
30314 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30315 WNOHANG in waitpid call.
30316
db9bab09
SP
303172017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30318
a2e0a7f1
SP
30319 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30320 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30321
db9bab09
SP
30322 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30323 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30324 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30325 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30326 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30327 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30328 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30329 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30330 variables.
30331
5062680c
MC
303322017-10-23 Michael Collison <michael.collison@arm.com>
30333
30334 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30335 with __builtin_sqrt.
30336 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30337 with __builtin_sqrtf.
30338 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30339 with __builtin_ceil.
30340 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30341 with __builtin_ceilf.
30342 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30343 with __builtin_floor.
30344 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30345 with __builtin_floorf.
30346 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30347 with __builtin_fma.
30348 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30349 with __builtin_fmaf.
30350 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30351 with __builtin_fmax.
30352 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30353 with __builtin_fmaxf.
30354 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30355 with __builtin_fmin.
30356 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30357 with __builtin_fminf.
30358 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30359 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30360 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30361 with builtin_rint and conversion to int.
30362 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30363 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30364 with builtin_llround.
30365 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30366 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30367 with builtin_rint and conversion to long int.
30368 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30369 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30370 with builtin_lround.
30371 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30372 with builtin_lroundf.
30373 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30374 statements with __builtin_nearbyint.
30375 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30376 statements with __builtin_nearbyintf.
30377 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30378 with __builtin_rint.
30379 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30380 with __builtin_rintf.
30381 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30382 with __builtin_round.
30383 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30384 with __builtin_roundf.
30385 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30386 with __builtin_trunc.
30387 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30388 with __builtin_truncf.
be080b6c
SN
30389 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30390 and s_l[l]round[f].c too.
5062680c 30391
174935af
AM
303922017-10-23 Alan Modra <amodra@gmail.com>
30393
30394 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30395 Adjust stack after restoring regs. Add missing LR cfi_restore.
30396
750a0e49
AM
303972017-10-23 Alan Modra <amodra@gmail.com>
30398
30399 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30400 Move LR save and frame setup/teardown and LR restore to
30401 immediately around memset call. Provide cfi.
30402
5313581c
L
304032017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30404
30405 * sysdeps/i386/fpu/e_powf.S: Removed.
30406 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30407 * sysdeps/i386/fpu/w_powf.c: Likewise.
30408 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30409 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30410 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30411 Add e_powf-sse2.
30412 (CFLAGS-e_powf-sse2.c): New.
30413 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30414 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30415
6089a3ee
L
304162017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30417
30418 * sysdeps/i386/fpu/e_log2f.S: Removed.
30419 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30420 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30421 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30422 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30423 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30424 Add e_log2f-sse2.
30425 (CFLAGS-e_log2f-sse2.c): New.
30426 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30427 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30428
80bb5935
L
304292017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30430
30431 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30432 Add e_powf-fma.
30433 (CFLAGS-e_powf-fma.c): New.
30434 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30435 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30436
5c7adbd8
L
304372017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30438
30439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30440 Add e_log2f-fma.
30441 (CFLAGS-e_log2f-fma.c): New.
30442 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30443 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30444
0ccc7153
L
304452017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30446
30447 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30448 Add e_logf-fma.
30449 (CFLAGS-e_logf-fma.c): New.
30450 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30451 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30452
fe596486
L
304532017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30454
30455 * sysdeps/i386/fpu/e_logf.S: Removed.
30456 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30457 * sysdeps/i386/fpu/w_logf.c: Likewise.
30458 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30459 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30461 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30462 Add e_logf-sse2.
30463 (CFLAGS-e_logf-sse2.c): New.
30464 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30465 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30466
7eda65f6
L
304672017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30468
30469 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30470 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30471 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30472 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30473 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30474 Add e_exp2f-sse2.
30475 (CFLAGS-e_exp2f-sse2.c): New.
30476 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30477 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30478
5d15c969
L
304792017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30480
30481 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30482 Add e_exp2f-fma.
30483 (CFLAGS-e_exp2f-fma.c): New.
30484 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30485 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30486
b2f6137e
L
304872017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30488
30489 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30490 * sysdeps/i386/fpu/e_expf.S: Likewise.
30491 * sysdeps/i386/fpu/math_errf.c: Likewise.
30492 * sysdeps/i386/fpu/w_expf.c: Likewise.
30493 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30495 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30496 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30497 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30498 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30499 Remove e_expf-ia32.
30500 (CFLAGS-e_expf-sse2.c): New.
30501 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30502 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30503
e1f59beb
L
305042017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30505
30506 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30507 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30508 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30509 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30510 e_expf.c.
30511 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30512 New.
30513 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30514 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30515 Renamed to ...
30516 (__redirect_expf): This.
30517 (SYMBOL_NAME): Changed to expf.
30518 (__ieee754_expf): Renamed to ...
30519 (__expf): This.
30520 (__GI___expf): This.
30521 (__ieee754_expf): Add strong_alias.
30522 (__expf_finite): Likewise.
30523 (__expf): New.
30524 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30525
363e4519 305262017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
30527
30528 [BZ #22332]
30529 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30530 unescaping.
30531
e80fc1fc
FW
305322017-10-21 Florian Weimer <fweimer@redhat.com>
30533
30534 * posix/Makefile (tests): Add tst-glob-tilde.
30535 (tests-special): Add tst-glob-tilde-mem.out
30536 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30537 (tst-glob-tilde-mem.out): Add mtrace check.
30538 * posix/tst-glob-tilde.c: New file.
30539
797ba44b
JM
305402017-10-20 Joseph Myers <joseph@codesourcery.com>
30541
30542 * bits/floatn-common.h: New file.
30543 * math/Makefile (headers): Add bits/floatn-common.h.
30544 * bits/floatn.h: Include <bits/floatn-common.h>.
30545 * sysdeps/ia64/bits/floatn.h: Likewise.
30546 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30547 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30548 * sysdeps/powerpc/bits/floatn.h: Likewise.
30549 * sysdeps/x86/bits/floatn.h: Likewise.
30550
fe05e1cb
AZ
305512017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30552
8f6f5362
AZ
30553 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30554 indicates whether compiler emits an warning for alias for
30555 functions with incompatible types.
30556
fe05e1cb
AZ
30557 [BZ #22273]
30558 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30559 the auxiliary process is terminated by a signal before calling _exit
30560 or execve.
30561
b52b0d79
L
305622017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30563
30564 [BZ #21265]
30565 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30566 New.
30567 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30568 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30569 and bit_arch_XSAVEC_Usable if needed.
30570 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30571 and bit_arch_Use_dl_runtime_resolve_opt.
30572 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30573 Removed.
30574 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30575 (bit_arch_Prefer_No_AVX512): Updated.
30576 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30577 (bit_arch_XSAVEC_Usable): New.
30578 (STATE_SAVE_OFFSET): Likewise.
30579 (STATE_SAVE_MASK): Likewise.
30580 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30581 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30582 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30583 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30584 (index_arch_XSAVEC_Usable): New.
30585 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30586 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30587 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30588 is enabled.
30589 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30590 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30591 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30592 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30593 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30594 _dl_runtime_resolve_xsavec.
30595 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30596 Removed.
30597 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30598 instead of VEC_SIZE.
30599 (REGISTER_SAVE_BND0): Removed.
30600 (REGISTER_SAVE_BND1): Likewise.
30601 (REGISTER_SAVE_BND3): Likewise.
30602 (REGISTER_SAVE_RAX): Always defined to 0.
30603 (VMOV): Removed.
30604 (_dl_runtime_resolve_avx): Likewise.
30605 (_dl_runtime_resolve_avx_slow): Likewise.
30606 (_dl_runtime_resolve_avx_opt): Likewise.
30607 (_dl_runtime_resolve_avx512): Likewise.
30608 (_dl_runtime_resolve_avx512_opt): Likewise.
30609 (_dl_runtime_resolve_sse): Likewise.
30610 (_dl_runtime_resolve_sse_vex): Likewise.
30611 (USE_FXSAVE): New.
30612 (_dl_runtime_resolve_fxsave): Likewise.
30613 (USE_XSAVE): Likewise.
30614 (_dl_runtime_resolve_xsave): Likewise.
30615 (USE_XSAVEC): Likewise.
30616 (_dl_runtime_resolve_xsavec): Likewise.
30617 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30618 Removed.
30619 (_dl_runtime_resolve_avx512_opt): Likewise.
30620 (_dl_runtime_resolve_avx): Likewise.
30621 (_dl_runtime_resolve_avx_opt): Likewise.
30622 (_dl_runtime_resolve_sse): Likewise.
30623 (_dl_runtime_resolve_sse_vex): Likewise.
30624 (_dl_runtime_resolve_fxsave): New.
30625 (_dl_runtime_resolve_xsave): Likewise.
30626 (_dl_runtime_resolve_xsavec): Likewise.
30627
363e4519 306282017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
30629
30630 [BZ #22320]
30631 CVE-2017-15670
30632 * posix/glob.c (__glob): Fix one-byte overflow.
30633
6d43de4b
WD
306342017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30635
30636 * malloc/malloc.c (sysdep-cancel.h): Add include.
30637
a15d53e2
WD
306382017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30639
30640 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30641
b9a558e7
WH
306422017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30643
30644 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30645 (tests): Remove $(objpfx)ga_test depdendency.
30646 * resolv/ga_test.c: Remove file.
30647
b6b08b8e
MF
306482017-10-20 Mike FABIAN <mfabian@redhat.com>
30649
30650 [BZ #18812]
30651 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30652 * localedata/locales/kab_DZ: New file.
30653
9ba7e810
L
306542017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30655
30656 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30657 _dl_relocate_static_pie instead of _dl_start to compute load
30658 address in static PIE.
30659
4027a4fd
L
306602017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30661
30662 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30663
2f9314b4
MF
306642017-10-20 Mike FABIAN <mfabian@redhat.com>
30665
30666 [BZ #13605]
30667 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30668 * localedata/locales/shn_MM: New file.
30669
63b4baa4
FW
306702017-10-20 Florian Weimer <fweimer@redhat.com>
30671
30672 [BZ #22321]
30673 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30674 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30675 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30676 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30677 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30678 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30679
95ccb619
L
306802017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30681
30682 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30683
37bb78cb
JM
306842017-10-19 Joseph Myers <joseph@codesourcery.com>
30685
76f2ed92
JM
30686 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30687
37bb78cb
JM
30688 [BZ #22322]
30689 * sysdeps/mips/bits/long-double.h: Move to ....
30690 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30691
d74e6f6c
WD
306922017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30693
30694 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30695
363e4519 306962017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
30697 H.J. Lu <hongjiu.lu@intel.com>
30698
30699 [BZ #22299]
30700 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30701 GLRO(dl_platform) to NULL.
30702 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30703 (modules-names): Add tst-platformmod-1 and
30704 x86_64/tst-platformmod-2.
30705 (CFLAGS-tst-platform-1.c): New.
30706 (CFLAGS-tst-platformmod-1.c): Likewise.
30707 (CFLAGS-tst-platformmod-2.c): Likewise.
30708 (LDFLAGS-tst-platformmod-2.so): Likewise.
30709 ($(objpfx)tst-platform-1): Likewise.
30710 ($(objpfx)tst-platform-1.out): Likewise.
30711 (tst-platform-1-ENV): Likewise.
30712 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30713 * sysdeps/x86_64/tst-platform-1.c: New file.
30714 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30715 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30716
4b0fa403
MF
307172017-10-19 Mike FABIAN <mfabian@redhat.com>
30718
30719 [BZ #13994]
30720 * locale/iso-639.def: Add Karbi.
30721 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30722 * localedata/locales/mjw_IN: New file.
30723
81325b12
JM
307242017-10-18 Joseph Myers <joseph@codesourcery.com>
30725
30726 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30727 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30728 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30729 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30730 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30731 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30732 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30733 <bits/floatn.h>.
30734 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30735 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30736 * manual/math.texi (Mathematics): Document additional architecture
30737 support for _Float128.
30738 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30739 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30740 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30741 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30742 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30743 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30744 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30745 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30746 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30748 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30749 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30750 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30751 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30752 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30753
a68ba2f3
SN
307542017-10-18 Renlin Li <renlin.li@arm.com>
30755
30756 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30757 _DYNAMIC symbol to calculate load address.
30758
346729f6
PC
307592017-10-18 Paul A. Clarke <pc@us.ibm.com>
30760
30761 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30762 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30763 summary bits.
30764 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30765 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30766
508b1e71
MF
307672017-10-18 Mike FABIAN <mfabian@redhat.com>
30768
30769 [BZ #16777]
30770 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30771 and improve readability by using more ASCII.
30772 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30773 and improve readability by using more ASCII.
30774
2c2245b9
WD
307752017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30776
30777 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30778 not all targets support atomics on bool.
30779
13c92696
JM
307802017-10-17 Joseph Myers <joseph@codesourcery.com>
30781
30782 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30783 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30784 __f128.
30785 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30786 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30787 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30788 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30789 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30790 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30791
71d85045
AZ
307922017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30793
30794 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30795 defines.
30796
3381be5c
WD
307972017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30798
30799 [BZ #22159]
30800 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30801 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30802 (do_check_remalloced_chunk): Fix build bug.
30803 (do_check_malloc_state): Add assert that checks arena->top.
30804 (malloc_consolidate): Remove initialization.
30805 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 30806 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 30807
e956075a
WD
308082017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30809
30810 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30811 (have_fastchunks): Remove.
30812 (clear_fastchunks): Remove.
30813 (set_fastchunks): Remove.
30814 (malloc_state): Add have_fastchunks.
30815 (malloc_init_state): Use have_fastchunks.
30816 (do_check_malloc_state): Remove incorrect invariant checks.
30817 (_int_malloc): Use have_fastchunks.
30818 (_int_free): Likewise.
30819 (malloc_consolidate): Likewise.
30820
e4dd4ace
WD
308212017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30822
30823 * malloc/malloc.c (tcache_put): Inline.
30824 (tcache_get): Inline.
30825
5bf58bc7
AJ
308262017-10-17 Jordi Mallach <jordi@gnu.org>
30827
30828 Aurelien Jarno <aurelien@aurel32.net>
30829 [BZ #2522]
30830 * localedata/locales/ca_ES@valencia: New file.
30831 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30832
386e1c26
RN
308332017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30834
30835 [BZ #22296]
30836 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30837 < 6.x
30838
4e17c78e
AZ
308392017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30840
3d265601
AZ
30841 * scripts/build-many-glibcs.py (Context.add_all_configs):
30842 Add arm-linux-gnueabihf multiarch extra_glibcs.
30843
4e17c78e
AZ
30844 * sysdeps/generic/ifunc-init.h: New file.
30845 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30846
56a752ab
MF
308472017-10-17 Mike FABIAN <mfabian@redhat.com>
30848
30849 [BZ #22019]
30850 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30851 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30852 * stdlib/tst-strfmon_l.c: adapt test case.
30853
c38a4bfd
JM
308542017-10-16 Joseph Myers <joseph@codesourcery.com>
30855
30856 * sysdeps/generic/float128-abi.h: New file.
30857 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30858 non-__prefixed symbols to ....
30859 * math/Versions: ... here. Include <float128-abi.h>.
30860 * stdlib/Versions ... and here. Include <float128-abi.h>
30861
76009b26
FW
308622017-10-16 Florian Weimer <fweimer@redhat.com>
30863
30864 * version.h (VERSION): Switch to ".9000" as the development
30865 version suffix.
30866
7ece6cd5
FW
308672017-10-16 Florian Weimer <fweimer@redhat.com>
30868
30869 [BZ #22050]
30870 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30871 compat_symbol_reference to access non-default version.
30872
d8287b36
FW
308732017-10-16 Florian Weimer <fweimer@redhat.com>
30874
30875 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30876
3480ddc4
CD
308772017-10-16 Carlos O'Donell <carlos@redhat.com>
30878
30879 * include/shlib-compat.h (compat_symbol_reference): Update
30880 comment.
30881
02010e79
JM
308822017-10-16 Joseph Myers <joseph@codesourcery.com>
30883
596f7013
JM
30884 * math/Makefile (test-types): Add
30885 $(type-float128-$(float128-alias-fcts)).
30886 * math/test-float128.h (TYPE_STR): Define conditional on
30887 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30888 (ULP_IDX): Likewise.
30889 (ULP_I_IDX): Likewise.
30890
02010e79
JM
30891 * stdlib/strtold.c: Include <bits/floatn.h>
30892 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30893 and later undefine as macro. Define as weak alias if
30894 [!USE_WIDE_CHAR].
30895 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30896 and later undefine as macro. Define as weak alias if
30897 [USE_WIDE_CHAR].
30898 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30899 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30900 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30901 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30902 Define and later undefine as macro. Define as weak alias if
30903 [USE_WIDE_CHAR].
30904 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30905 <bits/floatn.h>.
30906 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30907 Define and later undefine as macro. Define as weak alias if
30908 [!USE_WIDE_CHAR].
30909 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30910 Define and later undefine as macro. Define as weak alias if
30911 [USE_WIDE_CHAR].
30912
ea91c315
CD
309132017-10-15 Carlos O'Donell <carlos@redhat.com>
30914
30915 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30916 record_verbose messages.
30917
8e57c943
L
309182017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30919
30920 [BZ #22052]
30921 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30922 to silence -O3 -Wall warning with GCC 7.
30923
a4777c46
L
309242017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30925
30926 * Makeconfig (+link-static-before-libc): Use the first of
30927 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30928 * gmon/Makefile (tests): Add tst-gmon-static.
30929 (tests-static): Likewise.
30930 (CFLAGS-tst-gmon-static.c): New.
30931 (CRT-tst-gmon-static): Likewise.
30932 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30933 (tst-gmon-static-ENV): Likewise.
30934 (tests-special): Likewise.
30935 ($(objpfx)tst-gmon-static.out): Likewise.
30936 (clean-tst-gmon-static-data): Likewise.
30937 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30938 * gmon/tst-gmon-static-gprof.sh: New file.
30939 * gmon/tst-gmon-static.c: Likewise.
30940
bc3821bb
CD
309412017-10-13 Carlos O'Donell <carlos@redhat.com>
30942
30943 [BZ #22295]
30944 * locale/programs/linereader.c (get_string): Don't warn on
30945 non-symbolic character.
30946
a3e23a2c
CD
30947 [BZ #22294]
30948 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30949 int_curr_symbol.
30950
f16491eb
CD
30951 [BZ #22292]
30952 * locale/programs/record-status.h: New file
30953 * locale/programs/locale.c: Add comment.
30954 * locale/programs/charmap-dir.c: Don't include error.h.
30955 (charmap_opendir): Use record_error.
30956 * locale/programs/charmap.c: Don't include error.h.
30957 (charmap_read): Use record_error, and record_warning.
30958 (parse_charmap): Likewise.
30959 * locale/programs/ld-address.c: Don't include error.h.
30960 (address_finish): Use record_error, and record_warning.
30961 * locale/programs/ld-collate.c: Don't include error.h.
30962 (collate_finish): Use record_error, and record_error_at_line.
30963 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30964 (ctype_class_new): Likewise.
30965 (ctype_map_new): Likewise.
30966 (set_one_default): Likewise.
30967 (set_class_defaults): Likewise.
30968 (translit_flatten): Likewise.
30969 (allocate_arrays): Use record_error, and record_verbose.
30970 * locale/programs/ld-identification.c: Don't include error.h.
30971 (indentation_finish): Use record_error and record_warning.
30972 * locale/programs/ld-measurement.c: Don't include error.h.
30973 (measurement_finish): Use record_error.
30974 * locale/programs/ld-messages.c
30975 (message_finish): Likewise.
30976 * locale/programs/ld-monetary.c
30977 (monetary_finish): Likewise.
30978 * locale/programs/ld-name.c (name_finish): Use record_error
30979 and record_warning.
30980 * locale/programs/ld-numeric.c
30981 (numeric_finish): Use record_error.
30982 * locale/programs/ld-paper.c: Don't include error.h.
30983 (paper_finish): Use record_error.
30984 * locale/programs/ld-telephone.c: Don't include error.h.
30985 (telephone_finish): Use record_error.
30986 * locale/programs/ld-time.c (time_finish): Likewise.
30987 * locale/programs/linereader.h (lr_error): Make inline func.
30988 * locale/programs/localedef.c: Define recorded_warning_count,
30989 and recorded_error_count.
30990 (main): Use record_error. Use recorded_error_count and
30991 recorded_warning_count to issue correct error returns.
30992 (add_to_readlist): Use record_error.
30993 (find_locale): Likewise.
30994 (load_locale): Likewise.
30995 * locale/programs/localedef.h: Remove be_quiet
30996 and WITH_CUR_LOCALE.
30997 * locale/programs/locarchive.c (compare_from_file): Use
30998 record_error.
30999 * locale/programs/locfile.c (write_locale_data): Use
31000 record_error.
31001 * locale/programs/repertoire.c: Dont include error.h.
31002 (repertoire_complain): Use record_error.
31003 * localedata/tst-fmon.sh: Expect failures from localedef.
31004 * localedata/tst-locale.sh: Likewise.
31005 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
31006
8dc8be75
CD
31007 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
31008 (REPORTS): Likewise.
31009 (check): Likewise.
31010 (i18n): Rename to...
31011 (i18n_ctype): ...this.
31012 (i18n-report): Rename to...
31013 (i18n_ctype-report): ...this.
31014 * localedata/locales/i18n_ctype: Regenerate.
31015 * localedata/locales/i18n: copy i18n_ctype.
31016
f8718a9e
JM
310172017-10-13 Joseph Myers <joseph@codesourcery.com>
31018
18c08b96
JM
31019 * stdlib/strfroml.c: Include <bits/floatn.h>.
31020 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
31021 Define before include of <stdlib.h> and undefine afterwards, then
31022 define as weak alias.
31023
f8718a9e
JM
31024 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
31025 Undefine and restore default definition. Use
31026 libm_alias_ldouble_other.
31027
e4f530da
PZ
310282017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
31029
31030 [BZ #22153]
31031 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
31032 in coredumps.
31033
86445888
JC
310342017-10-13 James Clarke <jrtc27@jrtc27.com>
31035
31036 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31037 Assign sym_map to be map for local symbols, as TLS relocations
31038 use sym_map to determine whether the symbol is defined and to
31039 extract the TLS information.
31040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31042
179dcdb7
TMQMF
310432017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31044
e8dbd6a3
TMQMF
31045 [BZ #22189]
31046 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
31047 (math_force_eval): Add powerpc version.
31048
179dcdb7
TMQMF
31049 [BZ #22142]
31050 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
31051 -DBL_MAX.
31052 (do_test): Likewise.
31053 * stdio-common/tst-printf.sh: Likewise.
31054 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
31055 ifdef clause in order to set the carry bit right. Replace r0 by
31056 0 without changing the behavior.
31057
7d25d410
JM
310582017-10-13 Joseph Myers <joseph@codesourcery.com>
31059
006e7664
JM
31060 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
31061 <libm-alias-ldouble.h>.
31062 (fabsl): Define using libm_alias_ldouble.
31063 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
31064 <libm-alias-ldouble.h>.
31065 (fabsl): Define using libm_alias_ldouble.
31066
1def91b3
JM
31067 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
31068 Remove conditional code.
31069
7d25d410
JM
31070 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
31071 Rename to __clog10_internal_l.
31072 (__clog10_internal_l): Define aliases using
31073 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
31074 with __clog10.
31075
077ee129
RS
310762017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31077
31078 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
31079 * benchtests/sincosf-inputs: New file.
31080 * benchtests/cosf-inputs: New file.
31081 * benchtests/sinf-inputs: New file.
31082
5ba41de9
SN
310832017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
31084
31085 * posix/tst-spawn.c (do_test): Wait for both children.
31086
d165ca64
L
310872017-10-12 H.J. Lu <hongjiu.lu@intel.com>
31088
31089 [BZ #22284]
31090 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
31091 tests-pie): Add tst-gmon-pie.
31092 (CFLAGS-tst-gmon-pie.c): New.
31093 (CRT-tst-gmon-pie): Likewise.
31094 (tst-gmon-pie-ENV): Likewise.
31095 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
31096 ($(objpfx)tst-gmon-pie.out): Likewise.
31097 (clean-tst-gmon-pie-data): Likewise.
31098 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
31099 * gmon/gmon.c [PIC]: Include <link.h>.
31100 [PIC] (callback): New function.
31101 (write_hist): Add an argument for load address. Subtract load
31102 address from PCs.
31103 (write_call_graph): Likewise.
31104 (write_gmon): Call __dl_iterate_phdr to get load address, pass
31105 it to write_hist and write_call_graph.
7bacdcfc 31106 * gmon/tst-gmon-pie.c: New file.
d165ca64 31107
bc9620d0
JM
311082017-10-11 Joseph Myers <joseph@codesourcery.com>
31109
31110 * math/Makefile (test-types-basic): New variable.
31111 (test-types): Likewise.
31112 (libm-test-support): Use $(test-types) instead of $(types).
31113 (libm-tests-base-normal): Likewise.
31114 (libm-tests-base-finite): Likewise.
31115 (libm-tests-base-inline): Likewise.
31116 (generated): Likewise.
31117 ($(objpfx)libm-test-support-$(t).c): Likewise.
31118 (libm-tests-for-type iterator): Likewise.
31119 (libm-test-support iterator): Likewise.
31120 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31121 (ulp_idx): Use ULP_IDX.
31122 * math/test-ldouble.h: Include <float.h>.
31123 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31124 (ULP_IDX): New macro.
31125 (ULP_I_IDX): Likewise.
31126 * math/test-double.h (ULP_IDX): Likewise.
31127 (ULP_I_IDX): Likewise.
31128 * math/test-float.h (ULP_IDX): Likewise.
31129 (ULP_I_IDX): Likewise.
31130 * math/test-float128.h (ULP_IDX): Likewise.
31131 (ULP_I_IDX): Likewise.
31132
09c76a74
AZ
311332017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31134
31135 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31136 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31137 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31138 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31139 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31140 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31141 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31142 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31144 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31145 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31146 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31147 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31149 (SINGLE_THREAD_BY_GLOBAL): Define.
31150 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31151 Likewise.
31152 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31153 Likewise.
31154 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31155 Likewise.
31156 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31157 Likewise.
31158 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31159 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31161 Likewise.
31162
2faa42da
AS
311632017-10-11 Andreas Schwab <schwab@suse.de>
31164
31165 * nis/Makefile (aux): Remove.
31166 * nscd/Makefile (aux): Add nscd_hash.
31167 (nscd-modules): Likewise.
31168 ($(objpfx)nscd): Don't depend on libnsl.
31169 * nscd/nscd_hash.c: New file.
31170 * nscd/nscd_hash.h: Likewise.
31171 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31172 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31173 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31174 instead of <nis/rpcsvc/nis.h>.
31175 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31176
d8425e11
FW
311772017-10-11 Florian Weimer <fweimer@redhat.com>
31178
31179 [BZ #22078]
31180 Avoid large NSS buffers with many addresses, aliases.
31181 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31182 using dynarrays and struct alloc_buffer.
31183 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31184 (tst-nss-files-hosts-multi): Link with -ldl.
31185 * nss/tst-nss-files-hosts-multi.c: New file.
31186
78e806fd
FW
311872017-10-11 Florian Weimer <fweimer@redhat.com>
31188
31189 [BZ #18023]
31190 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31191 scratch_buffer. Eliminate gotos.
31192
541f19ba
JM
311932017-10-11 Joseph Myers <joseph@codesourcery.com>
31194
0ff64d3a
JM
31195 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31196 libm_alias_ldouble_other.
31197 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31198 undefine and redefine.
31199 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31200 (exp10l): Do not define here.
31201 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31202 (weak_alias): Undefine and redefine.
31203 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31204 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31205 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31206 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31207
541f19ba
JM
31208 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31209 [!__fma] (fma): Define using libm_alias_double.
31210 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31211 [!__fmaf] (fmaf): Define using libm_alias_float.
31212 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31213 (fmal): Define using libm_alias_ldouble.
31214
24b6515d
JM
312152017-10-10 Joseph Myers <joseph@codesourcery.com>
31216
31217 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31218 New macro.
31219 (libm_alias_double_other): Likewise.
31220 (libm_alias_double_r): Use libm_alias_double_other_r.
31221 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31222 New macro.
31223 (libm_alias_float_other): Likewise.
31224 (libm_alias_float_r): Use libm_alias_float_other_r.
31225 * sysdeps/generic/libm-alias-float128.h
31226 (libm_alias_float128_other_r): New macro.
31227 (libm_alias_float128_other): Likewise.
31228 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31229 * sysdeps/generic/libm-alias-ldouble.h
31230 (libm_alias_ldouble_other_r): New macro.
31231 (libm_alias_ldouble_other): Likewise.
31232 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31233 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31234 (libm_alias_double_other_r): New macro.
31235 (libm_alias_double_other): Likewise.
31236 (libm_alias_double_r): Use libm_alias_double_other_r.
31237 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31238 (libm_alias_ldouble_other_r): New macro.
31239 (libm_alias_ldouble_other): Likewise.
31240 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31241 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31242 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31243 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31244 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31245 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31246 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31247 * math/w_exp2f.c: Use libm_alias_float_other.
31248 * math/w_expf.c: Likewise.
31249 * math/w_log2f.c: Likewise.
31250 * math/w_logf.c: Likewise.
31251 * math/w_powf.c: Likewise.
31252 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31253 [!__exp2f]: Use libm_alias_float_other.
31254 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31255 [!__expf]: Use libm_alias_float_other.
31256 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31257 [!__log2f]: Use libm_alias_float_other.
31258 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31259 [!__logf]: Use libm_alias_float_other.
31260 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31261 [!__powf]: Use libm_alias_float_other.
31262
8ed70de2
FW
312632017-10-10 Florian Weimer <fweimer@redhat.com>
31264
31265 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31266 function.
31267 (_nss_files_gethostbyname3_r): Call it.
31268
a8dce619
JM
312692017-10-09 Joseph Myers <joseph@codesourcery.com>
31270
31271 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31272 error. Remove default definition of declare_mgen_alias.
31273 [!declare_mgen_alias_r]: Likewise.
31274 * sysdeps/generic/math-type-macros-double.h
31275 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31276 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31277 (declare_mgen_alias_r): Likewise.
31278 * sysdeps/generic/math-type-macros-float128.h
31279 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31280 * sysdeps/generic/math-type-macros-ldouble.h
31281 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31282 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31283 macro.
31284 (declare_mgen_alias_r_s): Likewise.
31285 (declare_mgen_alias_r): Likewise.
31286 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31287 (lgamma_r): Define using libm_alias_double_r.
31288 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31289 (lgammaf_r): Define using libm_alias_float_r.
31290 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31291 (lgammal_r): Define using libm_alias_ldouble_r.
31292 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31293 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31294
bedac136
AZ
312952017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31296
31297 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31298 extern declaration.
31299
c7509db2
JM
313002017-10-09 Joseph Myers <joseph@codesourcery.com>
31301
31302 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31303
d6c064e9
JW
313042017-10-09 Jonathan Wakely <jwakely@redhat.com>
31305
31306 [BZ #21326]
31307 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31308 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31309 * math/Makefile (test-math-cxx11): New test.
31310 * math/test-math-cxx11.cc: New file.
31311
98e07420
CB
313122017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31313
31314 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31315
645ac9aa
CB
31316 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31317 call to allocate the slave pty file descriptor.
31318
fd3b4e7c
JM
313192017-10-06 Joseph Myers <joseph@codesourcery.com>
31320
f85a176f
JM
31321 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31322 [!__fma] (fma): Define using libm_alias_double.
31323 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31324 [!__fma] (fma): Define using libm_alias_double.
31325
fd3b4e7c
JM
31326 * sysdeps/ieee754/float128/float128_private.h: Include
31327 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31328 (libm_alias_ldouble_r): Undefine and redefine.
31329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31330 <libm-alias-ldouble.h>.
31331 (asinhl): Define using libm_alias_ldouble.
31332 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31333 <libm-alias-ldouble.h>.
31334 (atanl): Define using libm_alias_ldouble.
31335 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31336 <libm-alias-ldouble.h>.
31337 (cbrtl): Define using libm_alias_ldouble.
31338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31339 <libm-alias-ldouble.h>.
31340 (ceill): Define using libm_alias_ldouble.
31341 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31342 <libm-alias-ldouble.h>.
31343 (copysignl): Define using libm_alias_ldouble.
31344 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31345 <libm-alias-ldouble.h>.
31346 (cosl): Define using libm_alias_ldouble.
31347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31348 <libm-alias-ldouble.h>.
31349 (erfl): Define using libm_alias_ldouble.
31350 (erfcl): Likewise.
31351 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31352 <libm-alias-ldouble.h>.
31353 (expm1l): Define using libm_alias_ldouble.
31354 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31355 <libm-alias-ldouble.h>.
31356 (fabsl): Define using libm_alias_ldouble.
31357 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31358 <libm-alias-ldouble.h>.
31359 (floorl): Define using libm_alias_ldouble.
31360 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31361 <libm-alias-ldouble.h>.
31362 (fmal): Define using libm_alias_ldouble.
31363 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31364 <libm-alias-ldouble.h>.
31365 (frexpl): Define using libm_alias_ldouble.
31366 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31367 libm_alias_ldouble.
31368 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31369 <libm-alias-ldouble.h>.
31370 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31371 libm_alias_ldouble.
31372 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31373 <libm-alias-ldouble.h>.
31374 (getpayloadl): Define using libm_alias_ldouble.
31375 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31376 <libm-alias-ldouble.h>.
31377 (llrintl): Define using libm_alias_ldouble.
31378 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31379 <libm-alias-ldouble.h>.
31380 (llroundl): Define using libm_alias_ldouble.
31381 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31382 <libm-alias-ldouble.h>.
31383 (logbl): Define using libm_alias_ldouble.
31384 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31385 <libm-alias-ldouble.h>.
31386 (lrintl): Define using libm_alias_ldouble.
31387 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31388 <libm-alias-ldouble.h>.
31389 (lroundl): Define using libm_alias_ldouble.
31390 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31391 <libm-alias-ldouble.h>.
31392 (modfl): Define using libm_alias_ldouble.
31393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31394 <libm-alias-ldouble.h>.
31395 (nearbyintl): Define using libm_alias_ldouble.
31396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31397 <libm-alias-ldouble.h>.
31398 (nextafterl): Define using libm_alias_ldouble.
31399 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31400 <libm-alias-ldouble.h>.
31401 (nextupl): Define using libm_alias_ldouble.
31402 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31403 <libm-alias-ldouble.h>.
31404 (remquol): Define using libm_alias_ldouble.
31405 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31406 <libm-alias-ldouble.h>.
31407 (rintl): Define using libm_alias_ldouble.
31408 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31409 <libm-alias-ldouble.h>.
31410 (roundevenl): Define using libm_alias_ldouble.
31411 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31412 <libm-alias-ldouble.h>.
31413 (roundl): Define using libm_alias_ldouble.
31414 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31415 using libm_alias_ldouble.
31416 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31417 <libm-alias-ldouble.h>.
31418 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31419 Define using libm_alias_ldouble.
31420 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31421 <libm-alias-ldouble.h>.
31422 (sincosl): Define using libm_alias_ldouble.
31423 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31424 <libm-alias-ldouble.h>.
31425 (sinl): Define using libm_alias_ldouble.
31426 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31427 <libm-alias-ldouble.h>.
31428 (tanhl): Define using libm_alias_ldouble.
31429 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31430 <libm-alias-ldouble.h>.
31431 (tanl): Define using libm_alias_ldouble.
31432 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31433 <libm-alias-ldouble.h>.
31434 (totalorderl): Define using libm_alias_ldouble.
31435 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31436 <libm-alias-ldouble.h>.
31437 (totalordermagl): Define using libm_alias_ldouble.
31438 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31439 <libm-alias-ldouble.h>.
31440 (truncl): Define using libm_alias_ldouble.
31441 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31442 libm_alias_ldouble.
31443 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31444 libm_alias_ldouble.
31445 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31446 <libm-alias-ldouble.h>.
31447 (weak_alias): Do not undefine and redefine.
31448 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31449 (copysignl): Define with long_double_symbol only if [IS_IN
31450 (libc)].
31451 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31452 <libm-alias-ldouble.h>.
31453 (weak_alias): Do not undefine and redefine.
31454 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31455 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31456 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31457 <libm-alias-ldouble.h>.
31458 (weak_alias): Do not undefine and redefine.
31459 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31460 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31461 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31462 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31463 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31464 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31465 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31466 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31467 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31468 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31469 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31470 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31471 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31472 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31475 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31476 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31477 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31478 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31479 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31480 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31481 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31483 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31484 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31485
1e26d351
CD
314862017-10-06 Carlos O'Donell <carlos@redhat.com>
31487
31488 [BZ #22111]
31489 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31490 (tcache_thread_freeres): Set tcache_shutting_down before
31491 freeing the tcache.
31492 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31493 * malloc/tst-malloc-tcache-leak.c: New file.
31494
d1386762
RS
314952017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31496
31497 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31498 back to powerpc32 file.
31499 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31500 (memrchr): Add __memrchr_power8 to ifunc list.
31501 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31502 extra bytes for unaligned inputs.
31503
6dff1983
JM
315042017-10-06 Joseph Myers <joseph@codesourcery.com>
31505
31506 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31507 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31508 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31509 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31510 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31511
86f9568a
JM
315122017-10-05 Joseph Myers <joseph@codesourcery.com>
31513
0db0b931
JM
31514 * sysdeps/arm/libm-test-ulps: Update.
31515
86f9568a
JM
31516 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31517 <libm-alias-ldouble.h>.
31518 (asinhl): Define using libm_alias_ldouble.
31519 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31520 <libm-alias-ldouble.h>.
31521 (cbrtl): Define using libm_alias_ldouble.
31522 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31523 <libm-alias-ldouble.h>.
31524 (copysignl): Define using libm_alias_ldouble.
31525 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31526 <libm-alias-ldouble.h>.
31527 (cosl): Define using libm_alias_ldouble.
31528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31529 <libm-alias-ldouble.h>.
31530 (erfl): Define using libm_alias_ldouble.
31531 (erfcl): Likewise.
31532 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31533 <libm-alias-ldouble.h>.
31534 (fmal): Define using libm_alias_ldouble.
31535 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31536 <libm-alias-ldouble.h>.
31537 (frexpl): Define using libm_alias_ldouble.
31538 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31539 libm_alias_ldouble.
31540 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31541 <libm-alias-ldouble.h>.
31542 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31543 libm_alias_ldouble.
31544 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31545 <libm-alias-ldouble.h>.
31546 (getpayloadl): Define using libm_alias_ldouble.
31547 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31548 <libm-alias-ldouble.h>.
31549 (llrintl): Define using libm_alias_ldouble.
31550 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31551 <libm-alias-ldouble.h>.
31552 (llroundl): Define using libm_alias_ldouble.
31553 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31554 <libm-alias-ldouble.h>.
31555 (lrintl): Define using libm_alias_ldouble.
31556 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31557 <libm-alias-ldouble.h>.
31558 (lroundl): Define using libm_alias_ldouble.
31559 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31560 <libm-alias-ldouble.h>.
31561 (modfl): Define using libm_alias_ldouble.
31562 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31563 <libm-alias-ldouble.h>.
31564 (nextupl): Define using libm_alias_ldouble.
31565 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31566 <libm-alias-ldouble.h>.
31567 (remquol): Define using libm_alias_ldouble.
31568 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31569 <libm-alias-ldouble.h>.
31570 (roundevenl): Define using libm_alias_ldouble.
31571 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31572 <libm-alias-ldouble.h>.
31573 (roundl): Define using libm_alias_ldouble.
31574 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31575 using libm_alias_ldouble.
31576 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31577 <libm-alias-ldouble.h>.
31578 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31579 <libm-alias-ldouble.h>.
31580 (setpayloadsigl): Define using libm_alias_ldouble.
31581 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31582 <libm-alias-ldouble.h>.
31583 (sincosl): Define using libm_alias_ldouble.
31584 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31585 <libm-alias-ldouble.h>.
31586 (sinl): Define using libm_alias_ldouble.
31587 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31588 <libm-alias-ldouble.h>.
31589 (tanhl): Define using libm_alias_ldouble.
31590 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31591 <libm-alias-ldouble.h>.
31592 (tanl): Define using libm_alias_ldouble.
31593 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31594 <libm-alias-ldouble.h>.
31595 (totalorderl): Define using libm_alias_ldouble.
31596 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31597 <libm-alias-ldouble.h>.
31598 (totalordermagl): Define using libm_alias_ldouble.
31599 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31600 libm_alias_ldouble.
31601 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31602 libm_alias_ldouble.
31603
9ec87fd2
SP
316042017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31605
dd5bc7f1
SP
31606 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31607 memmove_falkor.
31608 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31609 (__libc_ifunc_impl_list): Likewise.
31610 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31611 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31612
5bfb0404
SP
31613 * benchtests/bench-memmove-walk.c: New file.
31614 * benchtests/Makefile (string-benchset): Add it.
31615
36bb8edf
SP
31616 * benchtests/bench-memset-walk.c: New file.
31617 * benchtests/Makefile (string-benchset): Add it.
31618
9ec87fd2
SP
31619 * benchtests/bench-memcpy-walk.c: New file.
31620 * benchtests/Makefile (string-benchset): Add it.
31621
1e9522c6
FW
316222017-10-05 Florian Weimer <fweimer@redhat.com>
31623
31624 nscd: Eliminate compilation time dependency in the build output.
31625 * nscd/nscd_stat.c (STATDATA_VERSION)
31626 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31627 (STATDATA_VERSION_FULL): New macro definitions.
31628 (compilation): Remove.
31629 (struct statdata): Adjust version member.
31630 (send_stats): Set version from STATDATA_VERSION_FULL.
31631 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31632
644d3857
JM
316332017-10-05 Joseph Myers <joseph@codesourcery.com>
31634
31635 * configure.ac (--enable-add-ons): Remove option.
31636 (machine): Do not mention add-ons in comment.
31637 (LIBC_PRECONFIGURE): Likewise.
31638 (add_ons): Remove variable and sanity checks and logic to locate
31639 add-ons.
31640 (add_ons_automatic): Remove variable.
31641 (configured_add_ons): Likewise.
31642 (add_ons_sfx): Likewise.
31643 (add_ons_pfx): Likewise.
31644 (add_on_subdirs): Likewise.
31645 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31646 consideration of add-ons in Implies handling.
31647 (sysdeps_add_ons): Likewise.
31648 * configure: Regenerated.
31649 * libidn/configure.ac: Remove.
31650 * libidn/configure: Likewise.
31651 * sysdeps/unix/inet/configure.ac: New file.
31652 * sysdeps/unix/inet/configure: New generated file.
31653 * sysdeps/unix/inet/Subdirs: Add libidn.
31654 * Makeconfig (sysdeps-srcdirs): Remove variable.
31655 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31656 ($(common-objpfx)config.status): Do not depend on add-on files.
31657 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31658 comment.
31659 (all-subdirs): Do not include $(add-on-subdirs).
31660 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31661 * config.make.in (add-ons): Remove variable.
31662 (add-on-subdirs): Likewise.
31663 (sysdeps-add-ons): Likewise.
31664 * manual/Makefile (add-chapters): Remove.
31665 ($(objpfx)texis): Do not depend on $(add-chapters).
31666 (nonexamples): Do not handle $(add-chapters).
31667 (examples): Do not handle $(add-ons).
31668 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31669 libc-texinfo.sh.
31670 * manual/install.texi (Installation): Do not mention add-ons.
31671 (--enable-add-ons): Do not document configure option.
31672 * INSTALL: Regenerated.
31673 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31674 * manual/maint.texi (Hierarchy Conventions): Do not mention
31675 add-ons.
31676 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31677 --enable-add-ons.
31678 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31679 add-ons.
31680 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31681 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31682
19f82f35
AS
316832017-10-05 Andreas Schwab <schwab@suse.de>
31684
31685 [BZ #15142]
31686 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31687 (_IO_flush_all_lockp): Always lock list_all_lock.
31688 (_IO_flush_all_linebuffered): Likewise.
31689 (_IO_unbuffer_all): Likewise.
31690
91e7cf98
FW
316912017-10-05 Florian Weimer <fweimer@redhat.com>
31692
31693 [BZ #15436]
31694 Do not flush stdio streams on abort.
31695 * stdlib/abort.c (fflush): Remove macro definition.
31696 (abort): Remove stages related to stdio flushing.
31697
0c251257
FW
316982017-10-05 Florian Weimer <fweimer@redhat.com>
31699
31700 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31701
7ea59e3e
SL
317022017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31703
31704 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31705
84d0e6f0
FW
317062017-10-05 Florian Weimer <fweimer@redhat.com>
31707
31708 * support/support_format_hostent.c (support_format_hostent): Add
31709 more error information for NETDB_INTERNAL.
31710
ee417882
L
317112017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31712
31713 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31714 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31715 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31716 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31717 AC_DEFINE if multi-arch is enabled.
31718 * sysdeps/i386/configure: Regenerated.
31719
a67029ff
L
317202017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31721
31722 * Makeconfig (+link-static-before-libc): Use
31723 $(DEFAULT-LDFLAGS-$(@F)).
31724 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31725 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31726 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31727
5dba84b3
L
317282017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31729
31730 * elf/Makefile (tests): Add tst-main1.
31731 (modules-names): Add tst-main1mod.
31732 ($(objpfx)tst-main1): New.
31733 (CRT-tst-main1): Likewise.
31734 (LDFLAGS-tst-main1): Likewise.
31735 (LDLIBS-tst-main1): Likewise.
31736 (tst-main1mod.so-no-z-defs): Likewise.
31737 * elf/tst-main1.c: New file.
31738 * elf/tst-main1mod.c: Likewise.
31739
758f1bfa
L
317402017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31741
31742 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31743
7e16a5d1
JM
317442017-10-04 Joseph Myers <joseph@codesourcery.com>
31745
31746 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31747 (fma): Define using libm_alias_double.
31748 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31749 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31750 <math_ldbl_opt.h>.
31751 (fmal): Do not define as compat symbol here.
31752 * sysdeps/alpha/fpu/s_fma.c: New file.
31753
db4f87ba
SN
317542017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31755
31756 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31757
72d13ed1
JM
317582017-10-04 Joseph Myers <joseph@codesourcery.com>
31759
32d372d5
JM
31760 [BZ #22229]
31761 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31762 <math_ldbl_opt.h>
31763 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31764 and libc.
31765 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31766 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31767 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31768 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31770 Include <math_ldbl_opt.h>
31771 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31772 and libc.
31773 (compat_symbol): Undefine and redefine.
31774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31775 <math_ldbl_opt.h>
31776 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31777 (compat_symbol): Undefine and redefine.
31778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31779 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31780 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31781 GLIBC_2_1 for libm.
31782 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31783 GLIBC_2.0 copysignl symbol.
31784 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31785 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31786
72d13ed1
JM
31787 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31788
11c4f501
FW
317892017-10-04 Florian Weimer <fweimer@redhat.com>
31790
31791 * scripts/check-local-headers.sh: Ignore nspr4 header file
31792 directory in addition to nspr.
31793
57b4af19
GT
317942017-10-04 Guido Trentalancia <guido@trentalancia.net>
31795
31796 [BZ #17956]
31797 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31798 * configure: Regenerate.
31799 * crypt/Makefile (nss-cpp-flags): New variable.
31800 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31801 (CPPFLAGS-md5-crypt.c): Use it.
31802 * scripts/check-local-headers.sh: Ignore nspr header file
31803 directory.
31804
64d1e08e
AS
318052017-10-04 Andreas Schwab <schwab@suse.de>
31806
31807 * nis/Makefile (services): Remove compat.
31808 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31809 ($(objpfx)libnss_compat.so): Remove rule.
31810 * nis/Versions (libnss_compat): Remove.
31811 * nss/Makefile (services): Add compat.
31812 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31813 * nss/Versions (libnss_compat): Define.
31814 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31815 Don't include <rpc/types.h>. Replace bool_t by bool.
31816 * nss/nss_compat/compat-initgroups.c: Likewise.
31817 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31818 instead of <rpcsrv/ypclnt.h>.
31819 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31820 yp_get_default_domain.
31821 * nss/nss_compat/compat-pwd.c: Likewise.
31822 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31823 yp_get_default_domain.
31824 * nss/nss_compat/nisdomain.c: New file.
31825 * nss/nss_compat/nisdomain.h: Likewise.
31826
86c27ade
SN
318272017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31828
31829 [BZ #22244]
31830 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31831 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31832
8f8f8ef7
SN
318332017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31834
31835 [BZ #22243]
31836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31838
95577475
L
318392017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31840
31841 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31842 "movl main@GOTOFF(%ebx), %eax".
31843
02d2d892
L
318442017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31845
31846 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31847 allow undefined _DYNAMIC in PIE libc.a.
31848 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31849 Likewse.
31850
0c609d19
L
318512017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31854 check _DYNAMIC.
31855
c34a19ed
L
318562017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31857
31858 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31859 check _DYNAMIC.
31860
cdd4155d
L
318612017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31862
31863 * math/test-math-iscanonical.cc (error): Replace bool with int.
31864
4699cb8b
JM
318652017-10-03 Joseph Myers <joseph@codesourcery.com>
31866
d8f619b3
JM
31867 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31868 (modf): Define using libm_alias_double, only if [!__modf].
31869 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31870 <libm-alias-double.h>.
31871 (modf): Define using libm_alias_double, only if [!__modf].
31872 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31873 compat symbol here.
31874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31875 (weak_alias): Do not undefine and redefine.
31876 (strong_alias): Likewise.
31877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31878 (weak_alias): Likewise.
31879 (strong_alias): Likewise.
31880
4699cb8b
JM
31881 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31882 (logb): Define using libm_alias_double, only if [!__logb].
31883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31884 <libm-alias-double.h>.
31885 (logb): Define using libm_alias_double, only if [!__logb].
31886 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31888 (weak_alias): Do not undefine and redefine.
31889 (strong_alias): Likewise.
31890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31891 (weak_alias): Likewise.
31892 (strong_alias): Likewise.
31893
bcc4e4bb
L
318942017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31895
31896 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31897 Check SHARED instead PIC.
31898
39793865
JM
318992017-10-03 Joseph Myers <joseph@codesourcery.com>
31900
7f1cbdf8
JM
31901 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31902 [!__fmaf] (fmaf): Define using libm_alias_float.
31903
39793865
JM
31904 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31905 (frexp): Define using libm_alias_double.
31906 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31907 <libm-alias-double.h>.
31908 (frexp): Define using libm_alias_double.
31909 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31910 compat symbol here.
31911
aa0235df
GG
319122017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31913
31914 [BZ #22235]
31915 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31916 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31917 (CFLAGS-test-math-iscanonical.cc): New variable.
31918 * math/test-math-iscanonical.cc: New file.
31919 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31920 Provide a C++ implementation based on function overloading,
31921 rather than using __MATH_TG, which uses C-only builtins.
31922 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31923 Likewise.
31924 * sysdeps/powerpc/powerpc64le/Makefile
31925 (CFLAGS-test-math-iscanonical.cc): New variable.
31926
a1132b5e
JM
319272017-10-03 Joseph Myers <joseph@codesourcery.com>
31928
31929 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31930 (ceil): Define using libm_alias_double.
31931 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31932 (floor): Define using libm_alias_double.
31933 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31934 <libm-alias-double.h>.
31935 (llround): Define using libm_alias_double.
31936 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31937 <libm-alias-double.h>.
31938 (lround): Define using libm_alias_double.
31939 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31940 <libm-alias-double.h>.
31941 (nearbyint): Define using libm_alias_double.
31942 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31943 <libm-alias-double.h>.
31944 (remquo): Define using libm_alias_double.
31945 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31946 (rint): Define using libm_alias_double.
31947 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31948 (round): Define using libm_alias_double.
31949 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31950 (trunc): Define using libm_alias_double.
31951 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31952 <libm-alias-double.h>.
31953 (ceil): Define using libm_alias_double.
31954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31955 <libm-alias-double.h>.
31956 (floor): Define using libm_alias_double.
31957 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31958 <libm-alias-double.h>.
31959 (llround): Define using libm_alias_double.
31960 [_LP64] (lround): Likewise.
31961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31962 <libm-alias-double.h>.
31963 [!_LP64] (lround): Define using libm_alias_double.
31964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31965 <libm-alias-double.h>.
31966 (nearbyint): Define using libm_alias_double.
31967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31968 <libm-alias-double.h>.
31969 (remquo): Define using libm_alias_double.
31970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31971 <libm-alias-double.h>.
31972 (rint): Define using libm_alias_double.
31973 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31974 <libm-alias-double.h>.
31975 (round): Define using libm_alias_double.
31976 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31977 <libm-alias-double.h>.
31978 (trunc): Define using libm_alias_double.
31979 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31980 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31981 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31982 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31983 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31984 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31985 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31986 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31987 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31988
f275f64e
SN
319892017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31990
31991 * math/w_remainder.c: New file.
31992 * math/w_remainderf.c: New file.
31993 * math/w_remainderl.c: New file.
31994
b8818ab5
L
319952017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31996
31997 * elf/rtld.c (BOOTSTRAP_MAP): New.
31998 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31999 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32000 Likewise.
32001 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32002 Likewise.
32003 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
32004 Likewise.
32005
3d1870fa
ST
320062017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32007
32008 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
32009 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
32010 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
32011 rtld_hidden_data_ver): Define to empty.
32012 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
32013 __assert_perror_fail): Likewise.
32014 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32015 (__rewinddir): Likewise.
32016 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32017 (__profile_frequency): Likewise.
32018 * include/setjmp.h (__sigsetjmp): Likewise.
32019 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
32020 __libc_sigaction): Likewise.
32021 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
32022 not set hidden attribute.
32023 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
32024 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
32025 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
32026 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
32027 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
32028 __fxstatat64): Likewise.
32029 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32030 (__uname): Likewise.
32031 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
32032 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
32033 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
32034 (NO_RTLD_HIDDEN): Set.
32035 * sysdeps/mach/hurd/configure: Refresh.
32036 * config.h.in: Refresh.
32037
527cd19c
JM
320382017-10-02 Joseph Myers <joseph@codesourcery.com>
32039
38722448
JM
32040 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
32041 (atan): Define using libm_alias_double.
32042 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
32043 (tan): Define using libm_alias_double.
32044 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
32045 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
32046
527cd19c
JM
32047 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
32048 define as weak alias of __atan. Do not define any aliases if
32049 [__atan].
32050 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
32051 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
32052 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
32053 as weak alias of __tan. Do not define any aliases if [__tan].
32054 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
32055 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
32056 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
32057 __atan.
32058 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
32059 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
32060 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
32061 and define as weak alias of __atan.
32062 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
32063 __atan.
32064 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
32065 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
32066 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
32067 define as weak alias of __tan.
32068
bdc5c592
SN
320692017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32070
32071 * math/w_lgamma.c: New file.
32072 * math/w_lgammaf.c: New file.
32073 * math/w_lgammal.c: New file.
32074
bd4430c2
SN
320752017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32076
32077 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
32078 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
32079 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
32080 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
32081 * sysdeps/ieee754/flt-32/w_logf.c: New file.
32082 * sysdeps/ieee754/flt-32/w_powf.c: New file.
32083 * sysdeps/i386/fpu/w_log2f.c: New file.
32084 * sysdeps/i386/fpu/w_logf.c: New file.
32085 * sysdeps/i386/fpu/w_powf.c: New file.
32086 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
32087 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
32088 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
32089
f7a0b063
SN
320902017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32091 H.J. Lu <hongjiu.lu@intel.com>
32092
32093 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
32094 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
32095 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
32096 * sysdeps/ieee754/flt-32/w_expf.c: New file.
32097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
32098 the new expf code.
32099 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
32100 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
32101 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
32102 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
32103 * sysdeps/i386/fpu/w_exp2f.c: New file.
32104 * sysdeps/i386/fpu/w_expf.c: New file.
32105 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
32106 * sysdeps/x86_64/fpu/w_expf.c: New file.
32107
72d3d281
SN
321082017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32109
32110 * math/Versions (logf): New libm symbol at GLIBC_2.27.
32111 (log2f): Likewise.
32112 (powf): Likewise.
32113 * math/w_log2f.c: New file.
32114 * math/w_logf.c: New file.
32115 * math/w_powf.c: New file.
32116 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
32117 * math/w_logf_compat.c (__logf_compat): Likewise.
32118 * math/w_powf_compat.c (__powf_compat): Likewise.
32119 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32120 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32121 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32122 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32123 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32124 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32125 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32126 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32127 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32128 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32129 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32130 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32131 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32132 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32133 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32135 Likewise.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32137 Likewise.
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32139 Likewise.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32141 Likewise.
32142 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32144 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32145 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32146 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32148 Likewise.
32149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32150 Likewise.
32151 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32152 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32153 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32154
59ba2d2b
RS
321552017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32156
32157 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32158 (sysdep_routines): Add memrchr_power8.
32159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32160 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32161 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32162 New file.
32163 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32164 (memrchr): Add __memrchr_power8 to ifunc list.
32165 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32166
397286ea
L
321672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32168
32169 [BZ #18822]
32170 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32171 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32172 libc_hidden_def.
32173 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32174 (__posix_fallocate64_l64): Likewise.
32175
d0a4512b
L
321762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32177
32178 [BZ #18822]
32179 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32180 (__sched_setaffinity_new): Add libc_hidden_proto and
32181 libc_hidden_def.
32182
c0769f70
L
321832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32184
32185 [BZ #18822]
32186 * include/glob.h (__glob64): Add libc_hidden_proto.
32187 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32188 libc_hidden_def.
32189
0e7d5b6e
L
321902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32191
32192 [BZ #18822]
32193 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32194 attribute_hidden.
32195
bde06c87
L
321962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32197
32198 [BZ #18822]
32199 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32200
fa426590
L
322012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32202
32203 [BZ #18822]
32204 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32205 libc_hidden_def.
32206
2f8a05d8
L
322072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32208
32209 [BZ #18822]
32210 * csu/version.c (__libc_print_version): Add attribute_hidden.
32211
7bfd08ac
L
322122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32213
32214 [BZ #18822]
32215 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32216
0e1fd06c
L
322172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32218
32219 [BZ #18822]
32220 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32221
36e7ae1e
L
322222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32223
32224 [BZ #18822]
32225 * nscd/nscd_helper.c (__nis_hash): New prototype.
32226
87078544
L
322272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32228
32229 [BZ #18822]
32230 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32231 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32232 libc_hidden_def.
32233 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32234 * termios/tcgetattr.c (__tcgetattr): Likewise.
32235
dd3121df
L
322362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32237
32238 [BZ #18822]
32239 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32240 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32241 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32242 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32243 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32244
047d1a81
L
322452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32246
32247 [BZ #18822]
32248 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32249
fd331b11
L
322502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32251
32252 [BZ #18822]
32253 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32254 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32255
57f859bd
L
322562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32257
32258 [BZ #18822]
32259 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32260
d1903329
L
322612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 [BZ #18822]
32264 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32265 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32266
b4744101
L
322672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32268
32269 [BZ #18822]
32270 * include/ifreq.h: New file.
32271 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32272 (__ifreq): Likewise.
32273 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32274 (__ifreq): Likewise.
32275
43b7dfd1
L
322762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32277
32278 [BZ #18822]
32279 * include/idna.h: New file.
32280 * inet/getnameinfo.c: Include <idna.h> instead of
32281 <libidn/idna.h>.
32282 (__idna_to_unicode_lzlz): Removed.
32283 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32284 <libidn/idna.h>.
32285 (__idna_to_ascii_lz): Removed.
32286 (__idna_to_unicode_lzlz): Likewise.
32287
2c0cd8f8
L
322882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32289
32290 [BZ #18822]
32291 * include/plural-exp.h: New file.
32292 * intl/plural-exp.c: Include <plural-exp.h> instead of
32293 "plural-exp.h".
32294
8369d216
L
322952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32296
32297 [BZ #18822]
32298 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32299 "getsourcefilter.h".
32300 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32301 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32302 "getsourcefilter.h".
32303 (__get_sol): Removed.
32304
a0aef783
L
323052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32306
32307 [BZ #18822]
32308 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32309 to ...
32310 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32311
3ee8209b
L
323122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32313
32314 [BZ #18822]
32315 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32316 attribute_hidden.
32317
6036fc38
L
323182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32319
32320 [BZ #18822]
32321 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32322
fe84fed0
L
323232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32324
32325 [BZ #18822]
32326 * include/search.h (__tdestroy): Add libc_hidden_proto.
32327 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32328
048dd681
L
323292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32330
32331 [BZ #18822]
32332 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32333
6e342af6
L
323342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32335
32336 [BZ #18822]
32337 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32338 attribute_hidden.
32339
6a088436
L
323402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32341
32342 [BZ #18822]
32343 * include/signal.h (__kill): Add libc_hidden_proto.
32344 (__sigblock): Likewise.
32345 (__sigprocmask): Likewise.
32346 (__sigaltstack): Likewise.
32347 * signal/kill.c (__kill): Add libc_hidden_def.
32348 * signal/sigblock.c (__sigblock): Likewise.
32349 * signal/sigprocmask.c (__sigprocmask): Likewise.
32350 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32351 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32352 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32353 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32354 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32355 Likewise.
32356 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32357 Likewise.
32358 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32359 (__sigprocmask): Likewise.
32360 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32361 Likewise.
32362 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32363 (__sigprocmask): Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32365 Likewise.
32366
78cf1d74
L
323672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32368
32369 [BZ #18822]
32370 * include/string.h (__strsep): Add libc_hidden_proto.
32371 * string/strsep.c (__strsep): Add libc_hidden_def.
32372
85b35894
L
323732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32374
32375 [BZ #18822]
32376 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32377 attribute_hidden.
32378 (__spawni): Likewise.
32379
225f7eec
L
323802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32381
32382 [BZ #18822]
32383 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32384 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32385 libc_hidden_def.
32386
372fe247
L
323872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32388
32389 [BZ #18822]
32390 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32391
9e5ee8b8
L
323922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32393
32394 [BZ #18822]
32395 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32396 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32397 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32398 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32399 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32400 Likewise.
32401 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32402 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32403
2ff16592
L
324042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32405
32406 [BZ #18822]
32407 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32408 (__dcigettext): Likewise.
32409
b5648377
L
324102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32411
32412 [BZ #18822]
32413 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32414 libc_hidden_proto.
32415 (__get_nprocs): Likewise.
32416 (__get_phys_pages): Likewise.
32417 (__get_avphys_pages): Likewise.
32418 (__get_child_max): Add attribute_hidden.
32419 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32420 (__get_nprocs): Likewise.
32421 (__get_phys_pages): Likewise.
32422 (__get_avphys_pages): Likewise.
32423 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32424 libc_hidden_def.
32425 (__get_nprocs): Likewise.
32426 (__get_phys_pages): Likewise.
32427 (__get_avphys_pages): Likewise.
32428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32429 libc_hidden_def.
32430 (__get_nprocs_conf): Likewise.
32431 (__get_phys_pages): Likewise.
32432 (__get_avphys_pages): Likewise.
32433
0389a6aa
L
324342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32435
32436 [BZ #18822]
32437 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32438 attribute_hidden.
32439 (__netlink_close): Likewise.
32440 (__netlink_free_handle): Likewise.
32441 (__netlink_request): Likewise.
32442
d48354d8
L
324432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32444
32445 [BZ #18822]
32446 * include/rpc/rpc.h (__rpc_thread_variables): Add
32447 attribute_hidden.
32448 (__rpc_thread_svc_cleanup): Likewise.
32449 (__rpc_thread_clnt_cleanup): Likewise.
32450 (__rpc_thread_key_cleanup): Likewise.
32451
d6daff12
L
324522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32453
32454 [BZ #18822]
32455 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32456 (__writev): Likewise.
32457 * misc/readv.c (__readv): Add libc_hidden_def.
32458 * misc/writev.c (__writev): Likewise.
32459 * sysdeps/posix/readv.c (__readv): Likewise.
32460 * sysdeps/posix/writev.c (__writev): Likewise.
32461 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32462 (__readv): Likewise.
32463 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32464 (__writev): Likewise.
32465
b68f8620
L
324662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32467
32468 [BZ #18822]
32469 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32470 (__regcomp): Add libc_hidden_proto.
32471 (__regexec): Likewise.
32472 (__regfree): Likewise.
32473 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32474 (__regfree): Likewise.
32475 * posix/regexec.c (__regexec): Likewise.
32476
59c04e67
L
324772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32478
32479 [BZ #18822]
32480 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32481 (__getutent): Likewise.
32482 (__getutid): Likewise.
32483 (__getutline): Likewise.
32484 (__pututline): Likewise.
32485 (__getutent_r): Likewise.
32486 (__getutid_r): Likewise.
32487 (__getutline_r): Likewise.
32488 (__utmpname): Add attribute_hidden.
32489 (__setutent): Likewise.
32490 (__endutent): Likewise.
32491 * login/getutent.c (__getutent): Add libc_hidden_def.
32492 * login/getutent_r.c (__getutent_r): Likewise.
32493 (__pututline): Likewise.
32494 * login/getutid.c (__getutid): Likewise.
32495 * login/getutid_r.c (__getutid_r): Likewise.
32496 * login/getutline.c (__getutline): Likewise.
32497 * login/getutline_r.c (__getutline_r): Likewise.
32498 * login/updwtmp.c (__updwtmp): Likewise.
32499
4587a421
L
325002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32501
32502 [BZ #18822]
32503 * include/dirent.h (__opendir): Always add attribute_hidden.
32504 (__fdopendir): Likewise.
32505 (__closedir): Likewise.
32506 (__readdir): Likewise.
32507 (__readdir64): Add libc_hidden_proto.
32508 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32509 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32510 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32511 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32512 New alias.
32513
9635ce69
L
325142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32515
32516 [BZ #18822]
32517 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32518 * include/netdb.h (__gethostbyaddr_r): Likewise.
32519 (__gethostbyname_r): Likewise.
32520 (__gethostbyname2_r): Likewise.
32521 (__getnetbyaddr_r): Likewise.
32522 (__getnetbyname_r): Likewise.
32523 (__getservbyname_r): Likewise.
32524 (__getservbyport_r): Likewise.
32525 (__getprotobyname_r): Likewise.
32526 (__getprotobynumber_r): Likewise.
32527 (__getnetgrent_r): Likewise.
32528 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32529 (__getrpcbynumber_r): Likewise.
32530 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32531
2e0a6909
L
325322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32533
32534 [BZ #18822]
32535 * include/stdio.h (__fcloseall): Add attribute_hidden.
32536 (__getline): Likewise.
32537 (__path_search): Likewise.
32538 (__gen_tempname): Likewise.
32539 (__libc_message): Likewise.
32540 (__flockfile): Likewise.
32541 (__funlockfile): Likewise.
32542 (__fxprintf): Likewise.
32543 (__fxprintf_nocancel): Likewise.
32544
94fd682c
L
325452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32546
32547 [BZ #18822]
32548 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32549 (__sgetsgent_r): Likewise.
32550
e1b33bba
L
325512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 [BZ #18822]
32554 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32555 (__statfs64): Likewise.
32556 (__fstatfs64): Likewise.
32557 * include/sys/statvfs.h (__statvfs64): Likewise.
32558 (__fstatvfs64): Likewise.
32559 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32560 (__statfs_filesize_max): Likewise.
32561 (__statfs_symlinks): Likewise.
32562 (__statfs_chown_restricted): Likewise.
32563
b0f56784
L
325642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32565
32566 [BZ #18822]
32567 * include/time.h (__tzstring): Add attribute_hidden.
32568 (__tzfile_read): Likewise.
32569 (__tzfile_compute): Likewise.
32570 (__tzfile_default): Likewise.
32571 (__tzset_parse_tz): Likewise.
32572 (__offtime): Likewise.
32573 (__asctime_r): Likewise.
32574 (__tzset): Likewise.
32575 (__tz_convert): Likewise.
32576 (__getdate_r): Likewise.
32577 (__getclktck): Likewise.
32578
a4338d99
L
325792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32580
32581 [BZ #18822]
32582 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32583 (__nscd_unmap): Likewise.
32584 (__nscd_cache_search): Likewise.
32585 (__nscd_get_nl_timestamp): Likewise.
32586 (__nscd_getpwnam_r): Likewise.
32587 (__nscd_getpwuid_r): Likewise.
32588 (__nscd_getgrnam_r): Likewise.
32589 (__nscd_getgrgid_r): Likewise.
32590 (__nscd_gethostbyname_r): Likewise.
32591 (__nscd_gethostbyname2_r): Likewise.
32592 (__nscd_gethostbyaddr_r): Likewise.
32593 (__nscd_getai): Likewise.
32594 (__nscd_getgrouplist): Likewise.
32595 (__nscd_getservbyname_r): Likewise.
32596 (__nscd_getservbyport_r): Likewise.
32597 (__nscd_innetgr): Likewise.
32598 (__nscd_setnetgrent): Likewise.
32599
a2ca1652
L
326002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32601
32602 [BZ #18822]
32603 * include/gmp.h: Declare internal functions only if _ISOMAC is
32604 undefined.
32605 (__mpn_extract_double): Add attribute_hidden.
32606 (__mpn_extract_long_double): Likewise.
32607 (__mpn_extract_float128): Likewise.
32608 (__mpn_construct_float): Likewise.
32609 (__mpn_construct_double): Likewise.
32610 (__mpn_construct_long_double): Likewise.
32611 (__mpn_construct_float128): Likewise.
32612 (mpn_add_1): Likewise.
32613 (mpn_addmul_1): Likewise.
32614 (mpn_add_n): Likewise.
32615 (mpn_cmp): Likewise.
32616 (mpn_divrem): Likewise.
32617 (mpn_lshift): Likewise.
32618 (mpn_mul): Likewise.
32619 (mpn_mul_1): Likewise.
32620 (mpn_rshift): Likewise.
32621 (mpn_sub_1): Likewise.
32622 (mpn_submul_1): Likewise.
32623 (mpn_sub_n): Likewise.
32624
44af8a32
L
326252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 [BZ #18822]
32628 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32629 (__wcscat): Likewise.
32630 (__btowc): Likewise.
32631 (__wcrtomb): Likewise.
32632 (__mbsrtowcs): Likewise.
32633 (__wcsrtombs): Likewise.
32634 (__mbsnrtowcs): Likewise.
32635 (__wcsnrtombs): Likewise.
32636 (__wcsncpy): Likewise.
32637 (__wcpncpy): Likewise.
32638 (__wmemcpy): Likewise.
32639 (__wmempcpy): Likewise.
32640 (__wmemmove): Likewise.
32641 (__wcschrnul): Likewise.
32642 (__vfwscanf): Likewise.
32643 (__vswprintf): Likewise.
32644 (__fwprintf): Likewise.
32645 (__vfwprintf): Likewise.
32646
783cd767
L
326472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32648
32649 [BZ #18822]
32650 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32651 (__getgrgid_r): Likewise.
32652 (__getgrnam_r): Likewise.
32653 * include/pwd.h (__getpwuid_r): Likewise.
32654 (__getpwnam_r): Likewise.
32655 (__fgetpwent_r): Likewise.
32656 * include/shadow.h (__getspnam_r): Likewise.
32657 (__sgetspent_r): Likewise.
32658 (__fgetspent_r): Likewise.
32659
7ec4b39a
L
326602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32661
32662 [BZ #18822]
32663 * include/unistd.h (__access): Add attribute_hidden.
32664 (__lseek64): Likewise.
32665 (__libc_pread64): Likewise.
32666 (__pipe2): Likewise.
32667 (__sleep): Likewise.
32668 (__chdir): Likewise.
32669 (__fchdir): Likewise.
32670 (__getcwd): Likewise.
32671 (__rmdir): Likewise.
32672 (__execvpe): Likewise.
32673 (__execve): Likewise.
32674 (__setsid): Likewise.
32675 (__getuid): Likewise.
32676 (__geteuid): Likewise.
32677 (__getgid): Likewise.
32678 (__getegid): Likewise.
32679 (__getgroups): Likewise.
32680 (__group_member): Likewise.
32681 (__ttyname_r): Likewise.
32682 (__isatty): Likewise.
32683 (__readlink): Likewise.
32684 (__unlink): Likewise.
32685 (__gethostname): Likewise.
32686 (__profil): Likewise.
32687 (__getdtablesize): Likewise.
32688 (__brk): Likewise.
32689 (__ftruncate): Likewise.
32690 (__ftruncate64): Likewise.
32691
8345a760
L
326922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32693
32694 [BZ #18822]
32695 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32696 * argp/argp-fs-xinl.c: Likewise.
32697 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32698 * argp/argp-parse.c: Include <argp.h>.
32699 * argp/argp-xinl.c: Likewise.
32700 * include/argp-fmtstream.h: New file.
32701 * include/argp.h (__argp_error): Add attribute_hidden.
32702 (__argp_failure): Likewise.
32703 (__argp_input): Likewise.
32704 (__argp_state_help): Likewise.
32705
c26dd7c6
L
327062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32707
32708 [BZ #18822]
32709 * include/wchar.h (____wcstof_l_internal): New prototype.
32710 (____wcstod_l_internal): Likewise.
32711 (____wcstold_l_internal): Likewise.
32712 (____wcstol_l_internal): Likewise.
32713 (____wcstoul_l_internal): Likewise.
32714 (____wcstoll_l_internal): Likewise.
32715 (____wcstoull_l_internal): Likewise.
32716 (____wcstof128_l_internal): Likewise.
32717 * sysdeps/ieee754/float128/wcstof128.c
32718 (____wcstof128_l_internal): Removed.
32719 * sysdeps/ieee754/float128/wcstof128_l.c
32720 (____wcstof128_l_internal): Likewise.
32721 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32722 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32723 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32724 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32725 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32726 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32727 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32728 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32729 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32730 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32731
3aff5644
L
327322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32733
32734 [BZ #18822]
32735 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32736 instead of <sys/statvfs.h>.
32737 (__internal_statvfs): Removed.
32738 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32739 instead of <sys/statvfs.h>.
32740 (__internal_statvfs64): Removed.
32741 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32742 "internal_statvfs.h" instead of <sys/statvfs.h>.
32743 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32744 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32745 instead of <sys/statvfs.h>.
32746 (__internal_statvfs): Removed.
32747 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32748 instead of <sys/statvfs.h>.
32749 (__internal_statvfs64): Removed.
32750
8bcdb7e0
L
327512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32752
32753 [BZ #18822]
32754 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32755 (__gconv_close): Likewise.
32756 (__gconv): Likewise.
32757 (__gconv_find_transform): Likewise.
32758 (__gconv_lookup_cache): Likewise.
32759 (__gconv_compare_alias_cache): Likewise.
32760 (__gconv_load_cache): Likewise.
32761 (__gconv_get_path): Likewise.
32762 (__gconv_close_transform): Likewise.
32763 (__gconv_release_cache): Likewise.
32764 (__gconv_find_shlib): Likewise.
32765 (__gconv_release_shlib): Likewise.
32766 (__gconv_get_builtin_trans): Likewise.
32767 (__gconv_compare_alias): Likewise.
32768 * include/dlfcn.h (_dlerror_run): Likewise.
32769 * include/stdio.h (__fortify_fail_abort): Likewise.
32770 * include/time.h (__tz_compute): Likewise.
32771 (__strptime_internal): Likewise.
32772 * intl/gettextP.h (_nl_find_domain): Likewise.
32773 (_nl_load_domain): Likewise.
32774 (_nl_find_msg): Likewise.
32775 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32776 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32777 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32778 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32779 (__gai_find_request): Likewise.
32780 (__gai_remove_request): Likewise.
32781 (__gai_notify): Likewise.
32782 (__gai_notify_only): Likewise.
32783 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32784 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32785 (_dl_non_dynamic_init): Likewise.
32786 (_dl_aux_init): Likewise.
32787 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32788 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32789 Likewise.
32790 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32791 (__wcsmbs_clone_conv): Likewise.
32792 (__wcsmbs_named_conv): Likewise.
32793
8ed3b643
L
327942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32795
32796 [BZ #18822]
32797 * include/stdlib.h (__random): Add attribute_hidden.
32798 (__random_r): Likewise.
32799 (__srandom_r): Likewise.
32800 (__initstate_r): Likewise.
32801 (__setstate_r): Likewise.
32802 (__erand48_r): Likewise.
32803 (__nrand48_r): Likewise.
32804 (__jrand48_r): Likewise.
32805 (__srand48_r): Likewise.
32806 (__seed48_r): Likewise.
32807 (__lcong48_r): Likewise.
32808 (__drand48_iterate): Likewise.
32809 (__setenv): Likewise.
32810 (__unsetenv): Likewise.
32811 (__clearenv): Likewise.
32812 (__ptsname_r): Likewise.
32813 (__posix_openpt): Likewise.
32814 (__add_to_environ): Likewise.
32815 (__realpath): Add libc_hidden_proto.
32816 (__ecvt_r): Likewise.
32817 (__fcvt_r): Likewise.
32818 (__qecvt_r): Likewise.
32819 (__qfcvt_r): Likewise.
32820 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32821 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32822
ef9b6f73
L
328232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32824
32825 [BZ #18822]
32826 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32827 * include/time.h (__mktime_internal): Likewise.
32828 * libio/iolibio.h (__fopen_internal): Likewise.
32829
8da92e72
JDA
328302017-10-01 John David Anglin <danglin@gcc.gnu.org>
32831
32832 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32833 pointer in frame.
32834 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32835 Correct offset used to restore PIC register.
32836
388784cf
JDA
328372017-09-30 John David Anglin <danglin@gcc.gnu.org>
32838
32839 [BZ libc/22165]
32840 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32841 code to load address of __getcontext_ret when generating PIC code.
32842
2000067a
L
328432017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32844
32845 * elf/Makefile (tests-static-internal): Add
32846 tst-tls1-static-non-pie.
32847 (LDFLAGS-tst-tls1-static-non-pie): New.
32848 * elf/tst-tls1-static-non-pie.c: New file.
32849
1e2bffd0
JM
328502017-09-29 Joseph Myers <joseph@codesourcery.com>
32851
32852 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32853 (asinh): Define using libm_alias_double.
32854 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32855 (cbrt): Define using libm_alias_double.
32856 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32857 <libm-alias-double.h>.
32858 (copysign): Define using libm_alias_double.
32859 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32860 (erf): Define using libm_alias_double.
32861 (erfc): Likewise.
32862 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32863 (expm1): Define using libm_alias_double.
32864 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32865 (fabs): Define using libm_alias_double.
32866 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32867 libm_alias_double.
32868 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32869 <libm-alias-double.h>.
32870 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32871 libm_alias_double.
32872 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32873 <libm-alias-double.h>.
32874 (getpayload): Define using libm_alias_double.
32875 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32876 <libm-alias-double.h>.
32877 (llrint): Define using libm_alias_double.
32878 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32879 (lrint): Define using libm_alias_double.
32880 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32881 <libm-alias-double.h>.
32882 (nextup): Define using libm_alias_double.
32883 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32884 <libm-alias-double.h>.
32885 (roundeven): Define using libm_alias_double.
32886 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32887 libm_alias_double.
32888 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32889 <libm-alias-double.h>.
32890 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32891 using libm_alias_double.
32892 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32893 (cos): Define using libm_alias_double.
32894 (sin): Likewise.
32895 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32896 <libm-alias-double.h>.
32897 (sincos): Define using libm_alias_double.
32898 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32899 (tanh): Define using libm_alias_double.
32900 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32901 <libm-alias-double.h>.
32902 (totalorder): Define using libm_alias_double.
32903 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32904 <libm-alias-double.h>.
32905 (totalordermag): Define using libm_alias_double.
32906 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32907 libm_alias_double.
32908 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32909 libm_alias_double.
32910 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32911 <libm-alias-double.h>.
32912 (getpayload): Define using libm_alias_double.
32913 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32914 <libm-alias-double.h>.
32915 (roundeven): Define using libm_alias_double.
32916 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32917 <libm-alias-double.h>.
32918 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32919 <libm-alias-double.h>.
32920 (totalorder): Define using libm_alias_double.
32921 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32922 <libm-alias-double.h>.
32923 (totalordermag): Define using libm_alias_double.
32924 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32925 libc compat symbol here.
32926 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32927 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32928 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32929 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32930 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32931 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32932 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32933 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32934 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32935 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32936
8172aad9
L
329372017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32938
32939 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32940 _dl_relocate_static_pie instead of _dl_start to compute load
32941 address in static PIE. Return 0 if _DYNAMIC is undefined for
32942 static executable.
32943
54464e74
L
329442017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32945
32946 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32947 _DYNAMIC is undefined for static executable.
32948
f6c5e5bc
L
329492017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32950
32951 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32952
2f92505d
JM
329532017-09-29 Joseph Myers <joseph@codesourcery.com>
32954
32955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32956
bd8d53bb
WD
329572017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32958
32959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32960 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32961 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32962 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32963 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32964 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32965 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32966 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32968 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32969 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32970 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32971 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32972 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32973 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32974 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32975 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32976
fffb1507
WD
329772017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32978
32979 * math/bits/cmathcalls.h (cimag): Remove inline.
32980 (creal): Remove inline.
32981 (conj): Remove inline.
32982
4ea49f4c
SN
329832017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32984
32985 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32986 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32987 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32988 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32989 (issignalingf_inline): Likewise.
32990 (POWF_LOG2_TABLE_BITS): Likewise.
32991 (POWF_LOG2_POLY_ORDER): Likewise.
32992 (POWF_SCALE_BITS): Likewise.
32993 (POWF_SCALE): Likewise.
32994 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32995 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32996 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32997
875c76c7
SN
329982017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32999
33000 * math/Makefile (type-float-routines): Add e_log2f_data.
33001 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
33002 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
33003 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
33004 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
33005 * sysdeps/i386/fpu/e_log2f_data.c: New file.
33006 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
33007 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
33008
90c42e40
SN
330092017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33010
33011 * math/Makefile (type-float-routines): Add e_logf_data.
33012 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
33013 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
33014 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
33015 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
33016 * sysdeps/i386/fpu/e_logf_data.c: New file.
33017 * sysdeps/ia64/fpu/e_logf_data.c: New file.
33018 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
33019
4088d8dd
L
330202017-09-28 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
33023 undefined _DYNAMIC in PIE libc.a.
33024 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
33025 Likewse.
33026
4d3693ec
WD
330272017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33028
33029 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
33030 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
33031 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
33032 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
33033 (__signbit): Remove.
33034 (__signbitl): Remove.
33035 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
33036 (__signbit): Remove.
33037 (__signbitl): Remove.
33038 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
33039 (__signbit): Remove.
33040 (__signbitl): Remove.
33041 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
33042 (__signbit): Remove.
33043 (__signbitl): Remove.
33044 * sysdeps/tile/bits/mathinline.h: Delete file.
33045 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
33046 (__signbit): Remove.
33047 (__signbitl): Remove.
33048
1e6d0723
WD
330492017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
33050
33051 * math/math.h: Improve handling of C99 isgreater macros.
33052 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
33053 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
33054 * sysdeps/powerpc/bits/mathinline.h: Likewise.
33055 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33056 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
33057
b2f03cf3
SN
330582017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
33059
33060 * sysdeps/aarch64/libm-test-ulps: Update.
33061
f124cb38
JM
330622017-09-28 Joseph Myers <joseph@codesourcery.com>
33063
33064 [BZ #22225]
33065 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33066 math_opt_barrier on argument when doing arithmetic on it.
33067 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33068 Likewise. Use math_force_eval not math_opt_barrier after
33069 arithmetic.
33070 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
33071 math_opt_barrier on argument when doing arithmetic on it.
33072 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33073 Likewise.
33074
7edd0691
L
330752017-09-27 H.J. Lu <hongjiu.lu@intel.com>
33076
33077 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
33078 libc_hidden_def.
33079 (__freeifaddrs): Likewise.
33080
2c7bbfaf
ST
330812017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33082
33083 * include/dirent.h (__dirfd): New declaration.
33084 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
33085 alias.
33086 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
33087 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
33088 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
33089 * include/unistd.h (__revoke): New declaration.
33090 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
33091 alias.
33092 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
33093 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
33094 revoke.
64a4af28
ST
33095 * include/dirent.h (__seekdir): New declaration.
33096 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
33097 redefine as weak alias.
33098 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
33099 of seekdir.
4009ddc6
ST
33100 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
33101 and use libc_hidden_def on them.
33102 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
33103 them.
33104 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
33105 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
33106 instead of getifaddrs and freeifaddrs.
2c7bbfaf 33107
825adeee
L
331082017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33109
33110 [BZ #18822]
33111 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
33112 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
33113 (__dso_handle): Remove declaration.
33114 * dlfcn/tstatexit.c (__dso_handle): Removed.
33115 (main): Don't check __dso_handle.
33116 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
33117 (main): Don't check __dso_handle.
33118 * include/dso_handle.h: New file.
33119 * malloc/mtrace.c: Include <dso_handle.h>.
33120 (mtrace): Pass __dso_handle directly.
33121 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33122 (__dso_handle): Remove declaration.
33123 (__pthread_atfork): Pass __dso_handle directly.
33124 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33125 (__dso_handle): Removed.
33126 * posix/wordexp-test.c: Include <dso_handle.h>.
33127 (__dso_handle): Remove declaration.
33128 (__app_register_atfork): Pass __dso_handle directly.
33129 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33130 (__dso_handle): Remove declaration.
33131 (at_quick_exit): Pass __dso_handle directly.
33132 * stdlib/atexit.c: Include <dso_handle.h>.
33133 (__dso_handle): Remove declaration.
33134 (atexit): Pass __dso_handle directly.
33135 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33136 (__dso_handle): Removed.
33137
bfb0deb3
JM
331382017-09-26 Joseph Myers <joseph@codesourcery.com>
33139
33140 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33141 using VDSO.
33142
cebcb9f8
AM
331432017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33144
33145 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33146 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33147 values to correct default value for given type.
33148
592d5c75
L
331492017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33150
33151 [BZ #22101]
33152 * elf/Makefile (tests): Add tst-debug1.
33153 ($(objpfx)tst-debug1): New.
33154 ($(objpfx)tst-debug1.out): Likewise.
33155 ($(objpfx)tst-debug1mod1.so): Likewise.
33156 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33157 with p_filesz == 0.
33158 * elf/tst-debug1.c: New file.
33159
2d9193f2
JM
331602017-09-26 Joseph Myers <joseph@codesourcery.com>
33161
33162 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33163 Define using __ifunc.
33164
4c5a7a02
TMQMF
331652017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33166
33167 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33168 exp2f() values.
33169
12ef66c4
JM
331702017-09-26 Joseph Myers <joseph@codesourcery.com>
33171
33172 [BZ #22156]
33173 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33174
44dade71
FW
331752017-09-26 Florian Weimer <fweimer@redhat.com>
33176
33177 * resolv/Makefile (tests-internal): Fix typo in comment.
33178
eaca16f1
FW
331792017-09-26 Florian Weimer <fweimer@redhat.com>
33180
33181 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33182
ccf970c7
AZ
331832017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33184
5f9f31ad
AZ
33185 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33186 Use an union instead of a max_align_t array for __space,
33187 so that __space is the same size on all platforms.
33188 * malloc/scratch_buffer_grow_preserve.c
33189 (__libc_scratch_buffer_grow_preserve): Likewise.
33190
ccf970c7
AZ
33191 [BZ #22183]
33192 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33193 version to 2.
33194 * posix/Makefile (routines): Add glob-lstat-compat and
33195 glob64-lstat-compat.
33196 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33197 * posix/glob-lstat-compat.c: New file.
33198 * posix/glob64-lstat-compat.c: Likewise.
33199 * posix/tst-glob_lstat_compat.c: Likewise.
33200 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33201 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33202 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33203 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33204 Likewise.
33205 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33206 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33207 * posix/glob.c (glob_lstat): New function.
33208 (glob): Rename to __glob and add versioned symbol to 2.27.
33209 (glob_in_dir): Use glob_lstat.
33210 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33211 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33212 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33213 2.27.
33214 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33215 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33216 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33217 gl_lstat on glob call.
33218 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33219 and glob64 symbols.
33220 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33221 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33222 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33223 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33224 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33225 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33226 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33227 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33228 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33229 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33230 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33231 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33233 Likewise.
33234 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33236 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33237 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33238 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33239 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33240 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33243 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33244 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33245 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33246
b4396163
L
332472017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33248
33249 * configure.ac (AS): Require binutils 2.25 or later.
33250 * configure: Regenerated.
33251
8f834987
PP
332522017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33253
33254 [BZ #22207]
33255 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33256 VM size.
33257
3de93d19
DD
332582017-09-25 DJ Delorie <dj@redhat.com>
33259
33260 [BZ #22161]
33261 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33262 resetting timeout.
33263
9947638d
SL
332642017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33265
33266 * sysdeps/ieee754/dbl-64/sincos32.h
33267 [SINCCOS32_H]: Remove define.
33268 [SINCOS32_H]: Define.
33269
f5f0f526
SN
332702017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33271
33272 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33273 (exp2f): Likewise.
33274 * math/w_exp2f.c: New file.
33275 * math/w_expf.c: New file.
33276 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33277 * math/w_expf_compat.c (__expf_compat): Likewise.
33278 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33279 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33281 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33282 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33283 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33284 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33285 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33286 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33287 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33288 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33289 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33290 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33291 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33293 Likewise.
33294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33295 Likewise.
33296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33297 Likewise.
33298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33299 Likewise.
33300 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33301 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33302 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33303 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33304 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33306 Likewise.
33307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33308 Likewise.
33309 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33310 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33311 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33312
72aa6233
SN
333132017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33314
33315 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33316 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33317 (roundtoint, converttoint): Likewise.
33318 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33319 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33320 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33321 * sysdeps/ieee754/flt-32/math_config.h: New file.
33322 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33323 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33324 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33325 * sysdeps/i386/fpu/math_errf.c: New file.
33326 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33327 * sysdeps/ia64/fpu/math_errf.c: New file.
33328 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33329 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33330
5e6f3253
ST
333312017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33332
33333 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33334 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33335 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33336 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33337 to make sure that these symbols are defined.
b38a42a0
ST
33338 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33339 of <limits.h>
33340 (__need_NULL): Do not define.
33341 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33342 alignment.
33343 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33344 CMGROUP_MAX, cmsgcred): Do not define.
33345 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33346 NULL.
33347 * bits/socket.h: Likewise.
fcafcd16
ST
33348 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33349 __gettimeofday instead of gettimeofday.
33350 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33351 instead of settimeofday.
5e6f3253 33352
2f49ce7d
JM
333532017-09-22 Joseph Myers <joseph@codesourcery.com>
33354
33355 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33356 (asinhf): Define using libm_alias_float.
33357 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33358 (atanf): Define using libm_alias_float.
33359 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33360 (cbrtf): Define using libm_alias_float.
33361 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33362 (ceilf): Define using libm_alias_float.
33363 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33364 <libm-alias-float.h>.
33365 (copysignf): Define using libm_alias_float.
33366 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33367 (cosf): Define using libm_alias_float.
33368 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33369 (erff): Define using libm_alias_float.
33370 (erfcf): Likewise.
33371 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33372 (expm1f): Define using libm_alias_float.
33373 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33374 (fabsf): Define using libm_alias_float.
33375 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33376 (floorf): Define using libm_alias_float.
33377 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33378 (frexpf): Define using libm_alias_float.
33379 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33380 libm_alias_float.
33381 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33382 <libm-alias-float.h>.
33383 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33384 libm_alias_float.
33385 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33386 <libm-alias-float.h>.
33387 (getpayloadf): Define using libm_alias_float.
33388 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33389 <libm-alias-float.h>.
33390 (llrintf): Define using libm_alias_float.
33391 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33392 <libm-alias-float.h>.
33393 (llroundf): Define using libm_alias_float.
33394 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33395 (logbf): Define using libm_alias_float.
33396 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33397 (lrintf): Define using libm_alias_float.
33398 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33399 (lroundf): Define using libm_alias_float.
33400 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33401 (modff): Define using libm_alias_float.
33402 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33403 <libm-alias-float.h>.
33404 (nearbyintf): Define using libm_alias_float.
33405 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33406 <libm-alias-float.h>.
33407 (nextafterf): Define using libm_alias_float.
33408 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33409 <libm-alias-float.h>.
33410 (nextupf): Define using libm_alias_float.
33411 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33412 <libm-alias-float.h>.
33413 (remquof): Define using libm_alias_float.
33414 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33415 (rintf): Define using libm_alias_float.
33416 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33417 <libm-alias-float.h>.
33418 (roundevenf): Define using libm_alias_float.
33419 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33420 (roundf): Define using libm_alias_float.
33421 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33422 using libm_alias_float.
33423 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33424 <libm-alias-float.h>.
33425 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33426 Define using libm_alias_float.
33427 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33428 <libm-alias-float.h>.
33429 (sincosf): Define using libm_alias_float.
33430 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33431 (sinf): Define using libm_alias_float.
33432 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33433 (tanf): Define using libm_alias_float.
33434 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33435 (tanhf): Define using libm_alias_float.
33436 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33437 <libm-alias-float.h>.
33438 (totalorderf): Define using libm_alias_float.
33439 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33440 <libm-alias-float.h>.
33441 (totalordermagf): Define using libm_alias_float.
33442 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33443 (truncf): Define using libm_alias_float.
33444 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33445 libm_alias_float.
33446 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33447 libm_alias_float.
33448
c5c4a626
GG
334492017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33450
33451 [BZ #22146]
33452 math/math.h: Let fpclassify use the builtin in C++ mode, even
33453 when optimazing for size.
33454
23947846
JM
334552017-09-22 Joseph Myers <joseph@codesourcery.com>
33456
33457 * csu/Makefile (generated): Do not add version-info.h.
33458 (before-compile): Likewise.
33459 (all-Banner-files): Remove variable.
33460 ($(objpfx)version-info.h): Remove rule.
33461 * csu/version.c (banner): Do not include "version-info.h".
33462 * libidn/Banner: Remove.
33463 * manual/contrib.texi (Simon Josefsson): New entry.
33464
9ac3c682
GG
334652017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33466
33467 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33468 Remove conditionals on LDBL_MANT_DIG.
33469 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33470 (__ieee754_lgammal_r): Likewise.
33471
d2f0ed09
GG
334722017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33473
33474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33475 _Float128 and L().
33476 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33477 _Float128 and L(). Replace _Float128 with long double and L(x)
33478 with xL, throughout the file.
33479 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33483
c5c2e667
GG
334842017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33485
33486 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33487 sysdeps/ieee754/ldbl-128ibm.
33488 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33489 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33490 of including it. Keep _Float128 and L() intact. These will be
33491 reviewed by a separate patch.
33492 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33496
e010deb2
GG
334972017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33498
33499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33500 (__finitef128): Define to __redirect___finitef128.
33501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33502 (__isinff128): Define to __redirect___isinff128.
33503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33504 (__isnanf128): Define to __redirect___isnanf128.
33505
ffa44804
GG
335062017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33507
33508 * sysdeps/powerpc/powerpc64le/Makefile
33509 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33510 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33511
e5e4d7cc
PP
335122017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33513 Carlos O'Donell <carlos@redhat.com>
33514
33515 [BZ #22180]
33516 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33517 * stdlib/test-dlclose-exit-race.c: New file.
33518 * stdlib/test-dlclose-exit-race-helper.c: New file.
33519 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33520
c10c5267
JM
335212017-09-21 Joseph Myers <joseph@codesourcery.com>
33522
33523 * crypt/Banner: Remove file.
33524 * nptl/Banner: Likewise.
33525 * resolv/Banner: Likewise.
33526 * soft-fp/Banner: Likewise.
33527 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33528 ($(objpfx)version.d): Remove dependency on banner.h.
33529 ($(objpfx)version.os): Likewise.
33530 * nptl/version.c (banner): Do not include banner.h.
33531 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33532 Jelinek and BIND code.
33533
1cc9e59a
PP
335342017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33535 Carlos O'Donell <carlos@redhat.com>
33536
33537 * support/xdlfcn.h: New file.
33538 * support/xdlfcn.c: New file.
33539 * support/Makefile (libsupport-routines): Add xdlfcn.
33540 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33541
ae8372d7
JM
335422017-09-20 Joseph Myers <joseph@codesourcery.com>
33543
33544 [BZ #20142]
33545 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33546 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33547 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33548 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33549 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33550 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33551 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33552 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33553
26e70aec 335542017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
33555 Ricky Zhou <rickyz@google.com>
33556 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
33557
33558 [BZ #14333]
33559 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33560 Remove atomics.
33561 (__new_exitfn): Fail registration when we finished at_exit processing.
33562 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33563 * stdlib/on_exit.c (__on_exit): Likewise.
33564 * stdlib/exit.c (__exit_funcs_done): New variable.
33565 (__run_exit_handlers): Use __exit_funcs_lock.
33566 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33567 declarations.
33568 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33569 (test-cxa_atexit-race, test-on_exit-race): New tests.
33570 * stdlib/test-atexit-race-common.c: New file.
33571 * stdlib/test-atexit-race.c: New file.
33572 * stdlib/test-at_quick_exit-race.c: New file.
33573 * stdlib/test-cxa_atexit-race.c: New file.
33574 * stdlib/test-on_exit-race.c: New file.
33575
0525ce48
SN
335762017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33577
33578 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33579 * benchtests/exp2f-inputs: Copy of expf-inputs.
33580 * benchtests/log2f-inputs: Copy of logf-inputs.
33581
d82468d1
JM
335822017-09-19 Joseph Myers <joseph@codesourcery.com>
33583
33584 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33585 Explicitly take address of first element of array arguments in
33586 call to INLINE_SYSCALL.
33587
43ffc53a
AS
335882017-09-19 Andreas Schwab <schwab@suse.de>
33589
33590 [BZ #22134]
33591 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33592 execveat first.
33593 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33594 unimplemented.
33595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33596 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33597 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33598 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33599 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33600 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33601 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33602 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33603 * posix/Makefile (tests): Add tst-fexecve.
33604 * posix/tst-fexecve.c: New file.
33605
a5dcc87e
WD
336062017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33607
33608 * benchtests/Makefile: Add logf benchmark.
33609 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33610
7024d544
WD
336112017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33612
33613 * benchtests/Makefile: Add expf benchmark.
33614 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33615
ca3a382e
WD
336162017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33617
33618 * csu/Makefile: Add -funwind-tables to libc-start.c.
33619 * debug/Makefile: Add -funwind-tables to backtrace.c.
33620 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33621 * sysdeps/arm/Makefile: Likewise.
33622 * sysdeps/i386/Makefile: Likewise.
33623 * sysdeps/m68k/Makefile: Likewise.
33624 * sysdeps/mips/Makefile: Likewise.
33625 * sysdeps/nios2/Makefile: Likewise.
33626 * sysdeps/sh/Makefile: Likewise.
33627 * sysdeps/sparc/Makefile: Likewise.
33628
eb375def
JM
336292017-09-19 Joseph Myers <joseph@codesourcery.com>
33630
33631 * benchtests/Makefile (bench-math): Add trunc and truncf.
33632 (CFLAGS-bench-trunc.c): New variable.
33633 (CFLAGS-bench-truncf.c): Likewise.
33634 * benchtests/trunc-inputs: New file.
33635 * benchtests/truncf-inputs: Likewise.
33636
bd17ba29
RS
336372017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33638
33639 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33640
92892fdb
JM
336412017-09-18 Joseph Myers <joseph@codesourcery.com>
33642
6d9b0b5a
JM
33643 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33644 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33645 redefine.
33646 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33647 (exp10l): Define as weak alias.
33648 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33649 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33650 and redefine.
33651 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33652 (remainderl): Define as weak alias.
33653
92892fdb
JM
33654 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33655 (fmal): Define using libm_alias_ldouble.
33656 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33657 (acoshl): Define using libm_alias_ldouble.
33658 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33659 (acosl): Define using libm_alias_ldouble.
33660 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33661 (asinl): Define using libm_alias_ldouble.
33662 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33663 (atan2l): Define using libm_alias_ldouble.
33664 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33665 (atanhl): Define using libm_alias_ldouble.
33666 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33667 (coshl): Define using libm_alias_ldouble.
33668 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33669 (exp10l): Define using libm_alias_ldouble.
33670 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33671 (exp2l): Define using libm_alias_ldouble.
33672 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33673 (expl): Define using libm_alias_ldouble.
33674 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33675 (fmodl): Define using libm_alias_ldouble.
33676 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33677 (hypotl): Define using libm_alias_ldouble.
33678 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33679 (j0l): Define using libm_alias_ldouble.
33680 (y0l): Likewise.
33681 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33682 (j1l): Define using libm_alias_ldouble.
33683 (y1l): Likewise.
33684 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33685 (jnl): Define using libm_alias_ldouble.
33686 (ynl): Likewise.
33687 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33688 (log10l): Define using libm_alias_ldouble.
33689 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33690 (log2l): Define using libm_alias_ldouble.
33691 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33692 (logl): Define using libm_alias_ldouble.
33693 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33694 (powl): Define using libm_alias_ldouble.
33695 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33696 (remainderl): Define using libm_alias_ldouble.
33697 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33698 (sinhl): Define using libm_alias_ldouble.
33699 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33700 (sqrtl): Define using libm_alias_ldouble.
33701 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33702 (tgammal): Define using libm_alias_ldouble.
33703 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33704 (exp10l): Do not use long_double_symbol here.
33705 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33706 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33707 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33708 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33709 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33710 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33711 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33712 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33713 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33714 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33715 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33716 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33717 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33718 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33719 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33720 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33721 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33722 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33723 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33724 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33725 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33726 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33727
6cd380dd
WB
337282017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33729
33730 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33731 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33732
1c6d89e9
ST
337332017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33734
33735 * io/read.c (read): Add libc_hidden_weak.
33736 * sysdeps/mach/hurd/read.c (read): Likewise.
33737 * io/write.c (write): Likewise.
33738 * sysdeps/mach/hurd/write.c (write): Likewise.
33739 * io/pread64.c (__pread64): Likewise.
33740 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33741 * posix/pread64.c (__pread64): Add libc_hidden_def.
33742
06b1de23
SP
337432017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33744
140647ea
SP
33745 * benchtests/scripts/compare_strings.py: New option -g.
33746 (draw_graph): Print a message that a graph is being generated.
33747 (process_results): Generate graph only if -g is passed.
33748 (main): Process option -g.
33749
5a6547b7
SP
33750 * benchtests/scripts/compare_strings.py (process_results):
33751 Better spacing for output.
33752
06b1de23
SP
33753 * benchtests/scripts/compare_strings.py: Use argparse.
33754 * benchtests/README: Document existence of compare_strings.py.
33755
c67a2328
JM
337562017-09-15 Joseph Myers <joseph@codesourcery.com>
33757
9ac44708
JM
33758 * math/s_fma.c: Include <libm-alias-double.h>.
33759 (fma): Define using libm_alias_double.
33760 * math/s_nextafter.c: Include <libm-alias-double.h>.
33761 (nextafter): Define using libm_alias_double.
33762 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33763 (acos): Define using libm_alias_double.
33764 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33765 (aocsh): Define using libm_alias_double.
33766 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33767 (asin): Define using libm_alias_double.
33768 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33769 (atan2): Define using libm_alias_double.
33770 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33771 (atanh): Define using libm_alias_double.
33772 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33773 (cosh): Define using libm_alias_double.
33774 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33775 (exp10): Define using libm_alias_double.
33776 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33777 (exp2): Define using libm_alias_double.
33778 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33779 (exp): Define using libm_alias_double.
33780 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33781 (fmod): Define using libm_alias_double.
33782 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33783 (hypot): Define using libm_alias_double.
33784 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33785 (j0): Define using libm_alias_double.
33786 (y0): Likewise.
33787 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33788 (j1): Define using libm_alias_double.
33789 (y1): Likewise.
33790 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33791 (jn): Define using libm_alias_double.
33792 (yn): Likewise.
33793 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33794 (log10): Define using libm_alias_double.
33795 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33796 (log2): Define using libm_alias_double.
33797 * math/w_log_compat.c: Include <libm-alias-double.h>.
33798 (log): Define using libm_alias_double.
33799 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33800 (pow): Define using libm_alias_double.
33801 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33802 (remainder): Define using libm_alias_double.
33803 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33804 (sinh): Define using libm_alias_double.
33805 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33806 (sqrt): Define using libm_alias_double.
33807 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33808 (tgamma): Define using libm_alias_double.
33809 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33810 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33811 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33812 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33813 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33814 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33815 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33816 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33817 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33818 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33819 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33820 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33821 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33822 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33823 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33824 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33825 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33826 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33827 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33828 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33829 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33830 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33831 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33832 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33833 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33834
c67a2328
JM
33835 * math/e_acoshl.c: Remove.
33836 * math/e_acosl.c: Likewise.
33837 * math/e_asinl.c: Likewise.
33838 * math/e_atan2l.c: Likewise.
33839 * math/e_atanhl.c: Likewise.
33840 * math/e_coshl.c: Likewise.
33841 * math/e_expl.c: Likewise.
33842 * math/e_fmodl.c: Likewise.
33843 * math/e_gammal_r.c: Likewise.
33844 * math/e_hypotl.c: Likewise.
33845 * math/e_j0l.c: Likewise.
33846 * math/e_j1l.c: Likewise.
33847 * math/e_jnl.c: Likewise.
33848 * math/e_lgammal_r.c: Likewise.
33849 * math/e_log10l.c: Likewise.
33850 * math/e_log2l.c: Likewise.
33851 * math/e_logl.c: Likewise.
33852 * math/e_powl.c: Likewise.
33853 * math/e_rem_pio2l.c: Likewise.
33854 * math/e_sinhl.c: Likewise.
33855 * math/e_sqrtf128.c: Likewise.
33856 * math/e_sqrtl.c: Likewise.
33857 * math/k_cosl.c: Likewise.
33858 * math/k_sinl.c: Likewise.
33859 * math/k_tanl.c: Likewise.
33860 * math/s_asinhl.c: Likewise.
33861 * math/s_atanl.c: Likewise.
33862 * math/s_cbrtl.c: Likewise.
33863 * math/s_erfl.c: Likewise.
33864 * math/s_expm1l.c: Likewise.
33865 * math/s_log1pl.c: Likewise.
33866 * math/s_tanhl.c: Likewise.
33867
61c45f25
TMQMF
338682017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33869
33870 [BZ #21745]
33871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33872 [$(subdir) = math] (sysdep_calls): New variable. Has the
33873 previous contents of sysdep_routines, but re-sorted..
33874 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33875 sysdep_calls.
33876 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33877 defined in sysdep_calls and replace by the respective m_* names.
33878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33879 (compat_symbol): Undefine to avoid duplicated compat symbols in
33880 libc.
33881
5bcdb315
JM
338822017-09-15 Joseph Myers <joseph@codesourcery.com>
33883
33884 * math/s_fmaf.c: Include <libm-alias-float.h>.
33885 (fmaf): Define using libm_alias_float.
33886 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33887 (acosf): Define using libm_alias_float.
33888 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33889 (acoshf): Define using libm_alias_float.
33890 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33891 (asinf): Define using libm_alias_float.
33892 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33893 (atan2f): Define using libm_alias_float.
33894 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33895 (atanhf): Define using libm_alias_float.
33896 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33897 (coshf): Define using libm_alias_float.
33898 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33899 (exp10f): Define using libm_alias_float.
33900 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33901 (fmodf): Define using libm_alias_float.
33902 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33903 (hypotf): Define using libm_alias_float.
33904 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33905 (j0f): Define using libm_alias_float.
33906 (y0f): Likewise.
33907 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33908 (j1f): Define using libm_alias_float.
33909 (y1f): Likewise.
33910 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33911 (jnf): Define using libm_alias_float.
33912 (ynf): Likewise.
33913 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33914 (log10f): Define using libm_alias_float.
33915 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33916 (log2f): Define using libm_alias_float.
33917 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33918 (logf): Define using libm_alias_float.
33919 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33920 (powf): Define using libm_alias_float.
33921 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33922 (remainderf): Define using libm_alias_float.
33923 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33924 (sinhf): Define using libm_alias_float.
33925 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33926 (sqrtf): Define using libm_alias_float.
33927 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33928 (tgammaf): Define using libm_alias_float.
33929
01f28812
JM
339302017-09-14 Joseph Myers <joseph@codesourcery.com>
33931
33932 * include/math.h (roundeven): Change hidden_proto call to
33933 __roundeven.
33934 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33935 alias.
33936 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33937 (y0): Rename to __y0 and define as weak alias.
33938 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33939 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33940 alias.
33941 (y0f): Rename to __y0f and define as weak alias.
33942 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33943 alias.
33944 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33945 (y1): Rename to __y1 and define as weak alias.
33946 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33947 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33948 alias.
33949 (y1f): Rename to __y1f and define as weak alias.
33950 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33951 alias.
33952 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33953 (yn): Rename to __yn and define as weak alias.
33954 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33955 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33956 alias.
33957 (ynf): Rename to __ynf and define as weak alias.
33958 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33959 (fromfp): Define as weak alias.
33960 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33961 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33962 (fromfpx): Define as weak alias.
33963 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33964 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33965 __getpayload and define as weak alias.
33966 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33967 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33968 __roundeven and define as weak alias.
33969 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33970 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33971 __setpayload.
33972 (setpayload): Define as weak alias.
33973 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33974 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33975 __setpayloadsig.
33976 (setpayloadsig): Define as weak alias.
33977 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33978 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33979 __totalorder and define as weak alias.
33980 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33981 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33982 to __totalordermag and define as weak alias.
33983 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33984 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33985 (ufromfp): Define as weak alias.
33986 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33987 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33988 __ufromfpx.
33989 (ufromfpx): Define as weak alias.
33990 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33991 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33992 Rename to __getpayload and define as weak alias.
33993 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33994 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33995 Rename to __roundeven and define as weak alias.
33996 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33997 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33998 Rename to __totalorder and define as weak alias.
33999 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
34000 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
34001 (totalordermag): Rename to __totalordermag and define as weak
34002 alias.
34003 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
34004 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
34005 macro.
34006 (__roundevenl): Likewise.
34007 (__totalorderl): Likewise.
34008 (__totalordermagl): Likewise
34009 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
34010 __fromfpf128.
34011 (fromfpf128): Define as weak alias.
34012 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
34013 __fromfpxf128.
34014 (fromfpxf128): Define as weak alias.
34015 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
34016 __setpayloadf128.
34017 (setpayloadf128): Define as weak alias.
34018 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
34019 __setpayloadsigf128.
34020 (setpayloadsigf128): Define as weak alias.
34021 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
34022 __ufromfpf128.
34023 (ufromfpf128): Define as weak alias.
34024 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
34025 __ufromfpxf128.
34026 (ufromfpxf128): Define as weak alias.
34027 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
34028 (fromfpf): Define as weak alias.
34029 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
34030 __fromfpxf.
34031 (fromfpxf): Define as weak alias.
34032 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
34033 __getpayloadf and define as weak alias.
34034 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
34035 __roundevenf and define as weak alias.
34036 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
34037 __setpayloadf.
34038 (setpayloadf): Define as weak alias.
34039 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
34040 __setpayloadsigf.
34041 (setpayloadsigf): Define as weak alias.
34042 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
34043 __totalorderf and define as weak alias.
34044 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
34045 Rename to __totalordermagf and define as weak alias.
34046 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
34047 __ufromfpf.
34048 (ufromfpf): Define as weak alias.
34049 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
34050 __ufromfpxf.
34051 (ufromfpxf): Define as weak alias.
34052 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
34053 __fromfpl.
34054 (fromfpl): Define as weak alias.
34055 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
34056 __fromfpxl.
34057 (fromfpxl): Define as weak alias.
34058 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
34059 to __getpayloadl and define as weak alias.
34060 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
34061 __roundevenl and define as weak alias.
34062 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
34063 __setpayloadl.
34064 (setpayloadl): Define as weak alias.
34065 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
34066 __setpayloadsigl.
34067 (setpayloadsigl): Define as weak alias.
34068 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
34069 to __totalorderl and define as weak alias.
34070 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
34071 Rename to __totalordermagl and define as weak alias.
34072 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
34073 __ufromfpl.
34074 (ufromfpl): Define as weak alias.
34075 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
34076 __ufromfpxl.
34077 (ufromfpxl): Define as weak alias.
34078 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
34079 __fromfpl.
34080 (fromfpl): Define as weak alias.
34081 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
34082 __fromfpxl.
34083 (fromfpxl): Define as weak alias.
34084 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
34085 Rename to __getpayloadl and define as weak alias.
34086 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
34087 to __roundevenl and define as weak alias. Call __roundeven
34088 instead of roundeven.
34089 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
34090 __setpayloadl.
34091 (setpayloadl): Define as weak alias.
34092 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
34093 __setpayloadsigl.
34094 (setpayloadsigl): Define as weak alias.
34095 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
34096 Rename to __totalorderl and define as weak alias.
34097 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
34098 Rename to __totalordermagl and define as weak alias.
34099 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
34100 __ufromfpl.
34101 (ufromfpl): Define as weak alias.
34102 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
34103 __ufromfpxl.
34104 (ufromfpxl): Define as weak alias.
34105 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
34106 __fromfpl.
34107 (fromfpl): Define as weak alias.
34108 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
34109 __fromfpxl.
34110 (fromfpxl): Define as weak alias.
34111 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
34112 __getpayloadl and define as weak alias.
34113 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
34114 __roundevenl and define as weak alias.
34115 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
34116 __setpayloadl.
34117 (setpayloadl): Define as weak alias.
34118 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34119 __setpayloadsigl.
34120 (setpayloadsigl): Define as weak alias.
34121 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34122 __totalorderl and define as weak alias.
34123 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34124 Rename to __totalordermagl and define as weak alias.
34125 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34126 __ufromfpl.
34127 (ufromfpl): Define as weak alias.
34128 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34129 __ufromfpxl.
34130 (ufromfpxl): Define as weak alias.
34131
29c933fb
SP
341322017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34133
503c92c3
SP
34134 * benchtests/bench-string.h (realloc_bufs): New function.
34135 (test_init): Call it.
34136 * benchtests/bench-memset-large.c (do_test): Likewise.
34137 * benchtests/bench-memset.c (do_test): Likewise.
34138
29c933fb
SP
34139 * benchtests/bench-memset-large.c: Print output in JSON
34140 format.
34141 * benchtests/bench-memset.c: Likewise.
34142
799c8d69
MF
341432017-09-14 Mike FABIAN <mfabian@redhat.com>
34144
34145 [BZ #21084]
34146 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34147 * iconvdata/Makefile: Add IBM858.
34148 * iconvdata/gconv-modules: Likewise.
34149 * iconvdata/tst-tables.sh: Likewise.
34150 * iconvdata/ibm858.c: New file.
34151 * localedata/charmaps/IBM858: Likewise.
34152
c207f7ce 341532017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
34154
34155 [BZ #22023]
34156 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34157 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34158
f28a0926
AK
341592017-09-14 Mike FABIAN <mfabian@redhat.com>
34160
34161 [BZ #22112]
34162 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34163 and add tel_int_fmt.
34164
02093e62
JM
341652017-09-14 Joseph Myers <joseph@codesourcery.com>
34166
34167 * sysdeps/generic/libm-alias-float128.h: New file.
34168 * sysdeps/generic/math-type-macros-float128.h: Include
34169 <libm-alias-float128.h>.
34170 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34171
1aae75ef
JM
341722017-09-13 Joseph Myers <joseph@codesourcery.com>
34173
34174 * sysdeps/generic/libm-alias-ldouble.h: New file.
34175 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34176 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34177 * sysdeps/generic/math-type-macros-ldouble.h: Include
34178 <libm-alias-ldouble.h>.
34179 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34180 libm_alias_ldouble.
34181
bcea7ad6
SN
341822017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34183
34184 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34185 * math/w_exp_compat.c: ... here.
34186 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34187 * math/w_expf_compat.c: ... here.
34188 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34189 * math/w_expl_compat.c: ... here.
34190 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34191 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34192 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34193 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34194
0fc56478
JM
341952017-09-13 Joseph Myers <joseph@codesourcery.com>
34196
34197 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34198 redefine.
34199 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34200 macro.
34201 (ldexpl): Only define as compat symbol for libc, not libm.
34202 (scalbnl): Define as compat symbol for libc here.
34203 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34204 define for [IS_IN (libc)].
34205 (__ldexpl_2): Remove alias.
34206 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34207 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34208 name in long_double_symbol call.
34209 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34210 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34211 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34212 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34213 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34214 Remove macro.
34215 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34216 Define as compat symbol.
34217
3ca622e4
AZ
342182017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34219
34220 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34221 * sysdeps/unix/sysv/linux/alpha/Makefile
34222 [$(subdir) = csu] (sysdep_routines): Remove rule.
34223
620ff9ee
JM
342242017-09-13 Joseph Myers <joseph@codesourcery.com>
34225
34226 * sysdeps/generic/libm-alias-double.h: New file.
34227 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34228 * sysdeps/generic/math-type-macros-double.h: Include
34229 <libm-alias-double.h>.
34230 [declare_mgen_alias] (declare_mgen_alias): Define to use
34231 libm_alias_double.
34232 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34233 (M_LIBM_NEED_COMPAT): Remove macro.
34234 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34235 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34236 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34237 code.
34238 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34239 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34240 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34241 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34242 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34243 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34244 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34245 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34246 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34247 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34248 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34249 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34250 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34251 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34252 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34253 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34254 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34255 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34256 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34257 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34258 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34259 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34260 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34261 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34262 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34263 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34264 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34265 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34266 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34267 macro.
34268 (declare_mgen_alias): New macro.
34269 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34270 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34272 (M_LIBM_NEED_COMPAT): Remove macro.
34273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34274 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34275 <first-versions.h>.
34276 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34277 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34278
a891caff
JM
342792017-09-12 Joseph Myers <joseph@codesourcery.com>
34280
34281 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34282 (declare_mgen_alias_2): Remove.
34283 * sysdeps/generic/math-type-macros-double.h
34284 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34285 Likewise.
34286 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34287 alias.
34288 (ldexp): Define with declare_mgen_alias.
34289 (scalbn): Likewise.
34290
a1a78204
SE
342912017-09-12 Steve Ellcey <sellcey@cavium.com>
34292
34293 * grp/initgroups.c: Include config.h.
34294 (DEFAULT_CONFIG): New macro.
34295 (internal_getgrouplist): Use DEFAULT_CONFIG.
34296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34297 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34298 (DEFAULT_DEFCONFIG): New macro.
34299 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34300 * nss/grp-lookup.c: Include config.h
34301 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34302 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34303 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34304 * manual/nss.texi: Update default values section.
34305
ef8adeb0
L
343062017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34307
34308 [BZ #21967]
34309 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34310 New.
34311 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34312 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34313 Handle MathVec_Prefer_No_AVX512.
34314 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34315 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34316 is set.
34317
a166531f
ST
343182017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34319
34320 * posix/sched_primax.c (__sched_get_priority_max): Add
34321 libc_hidden_def.
34322 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34323 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34324 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34325 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34326 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34327 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34328 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34329 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34330 Add aliases.
34331
4b7d1efb
JM
343322017-09-11 Joseph Myers <joseph@codesourcery.com>
34333
34334 * sysdeps/generic/libm-alias-float.h: New file.
34335 * sysdeps/generic/math-type-macros-float.h: Include
34336 <libm-alias-float.h>.
34337 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34338
45ff3463
L
343392017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34340
34341 [BZ #22093]
34342 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34343 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34344 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34345 (HWCAP_IMPORTANT): Likewise.
34346 (HWCAP_X86_64): New enum.
34347 (HWCAP_X86_AVX512_1): Updated.
34348 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34349 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34350 (modules-names): Add x86_64/tst-x86_64mod-1.
34351 (LDFLAGS-tst-x86_64mod-1.so): New.
34352 ($(objpfx)tst-x86_64-1): Likewise.
34353 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34354 (tst-x86_64-1-clean): Likewise.
34355 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34356 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34357
891abfd3
SP
343582017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34359
34360 * po/sv.po: Update translations.
34361 * po/fr.po: Likewise.
34362
00c3da43
ST
343632017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34364
34365 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34366 seconds.
3bdfd9fb
ST
34367 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34368 seconds.
65b22ebc 34369 * elf/rtld-Rules: Fix $(error) use.
00c3da43 34370
96480903
MF
343712017-09-09 Mike FABIAN <mfabian@redhat.com>
34372
34373 [BZ #14925]
34374 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34375 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34376 * localedata/locales/bn_BD: “Bengali” was still used in some
34377 comments. Change it to “Bangla”.
34378
4c03a696
MT
343792017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34380
34381 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34382
9c9ec581
SE
343832017-09-08 Steve Ellcey <sellcey@cavium.com>
34384
34385 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34386 thunderx2t99p1 to list of cpu names.
34387 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34388 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34389
f00bce74
SE
343902017-09-08 Steve Ellcey <sellcey@cavium.com>
34391
34392 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34393 Use strcmp instead of tunable_is_name.
34394
27342d17
JM
343952017-09-08 Joseph Myers <joseph@codesourcery.com>
34396
af1b7c8c
JM
34397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34398 (F_GET_RW_HINT): New macro.
34399 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34400 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34401 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34402 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34403 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34404 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34405 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34406 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34407 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34408
27342d17
JM
34409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34410 (F_ADD_SEALS): New macro.
34411 [__USE_GNU] (F_GET_SEALS): Likewise.
34412 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34413 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34414 [__USE_GNU] (F_SEAL_GROW): Likewise.
34415 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34416
c66c9082
AZ
344172017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34418
07b4f49d
AZ
34419 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34420 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34421 * posix/glob_internal.h (__glob_pattern_type):
34422 * posix/glob.c (glob):
34423 * posix/glob_pattern_p.c (__glob_pattern_p):
34424 Use them.
34425
116f1c64
AZ
34426 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34427 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34428 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34429 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34430 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34432 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34433 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34434 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34435 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34436 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34437 * sysdeps/wordsize-64/glob.c: Likewise.
34438 * sysdeps/wordsize-64/glob64.c: Likewise.
34439 * sysdeps/wordsize-64/globfree.c: Likewise.
34440 * sysdeps/wordsize-64/globfree64.c: Likewise.
34441 * sysdeps/unix/sysv/linux/glob.c: New file.
34442 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34443 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34444 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34445 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34446 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34447 adds !GLOB_NO_OLD_VERSION as an extra condition.
34448 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34449 using relative path instead of absolute one.
34450 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34451 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34452 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34453 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34454 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34455 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34456
ffca8901
AZ
34457 [BZ #1062]
34458 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34459 (glob): Use the same scratch buffer for both getlogin_r and
34460 getpwnam_r. Don’t require preallocation of the login name. This
34461 simplifies storage allocation, and corrects the handling of
34462 long login names.
34463
5a79f975
AZ
34464 [BZ #1062]
34465 * posix/glob.c (glob): Port recent patches to platforms
34466 lacking getpwnam_r.
34467 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34468 returns an error number rather than setting errno.
34469
e00f2425
AZ
34470 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34471 instead of GCC extension.
34472 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34473 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34474 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34475
5554304f
AZ
34476 [BZ #866]
34477 [BZ #1062]
34478 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34479 * posix/bug-glob1.c: Remove file.
34480 * posix/tst-glob_symlinks.c: New file.
34481 * posix/glob.c (__lstat64): New macro.
34482 (is_dir): New function.
34483 (glob, glob_in_dir): Match symlinks even if they are dangling.
34484 (link_stat, link_exists_p): Remove. All uses removed.
34485
686f2ea1
AZ
34486 [BZ #1062]
34487 [BZ #19971]
34488 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34489 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34490 All uses removed.
34491
c66c9082 34492 [BZ #1062]
914c9994 34493 CVE-2017-15671
c66c9082
AZ
34494 * posix/Makefile (routines): Add globfree, globfree64, and
34495 glob_pattern_p.
34496 * posix/flexmember.h: New file.
34497 * posix/glob_internal.h: Likewise.
34498 * posix/glob_pattern_p.c: Likewise.
34499 * posix/globfree.c: Likewise.
34500 * posix/globfree64.c: Likewise.
34501 * sysdeps/gnu/globfree64.c: Likewise.
34502 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34503 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34504 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34505 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34506 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34507 * sysdeps/wordsize-64/globfree.c: Likewise.
34508 * sysdeps/wordsize-64/globfree64.c: Likewise.
34509 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34510 [NDEBUG): Remove comments.
34511 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34512 (dirent_type): New type. Use uint_fast8_t not
34513 uint8_t, as C99 does not require uint8_t.
34514 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34515 (struct readdir_result): Use dirent_type. Do not define skip_entry
34516 unless it is needed; this saves a byte on platforms lacking d_ino.
34517 (readdir_result_type, readdir_result_skip_entry):
34518 New functions, replacing ...
34519 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 34520 these functions, which were removed. This makes the callers
c66c9082
AZ
34521 easier to read. All callers changed.
34522 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34523 (size_add_wrapv, glob_use_alloca): New static functions.
34524 (glob, glob_in_dir): Check for size_t overflow in several places,
34525 and fix some size_t checks that were not quite right.
34526 Remove old code using SHELL since Bash no longer
34527 uses this.
34528 (glob, prefix_array): Separate MS code better.
34529 (glob_in_dir): Remove old Amiga and VMS code.
34530 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34531 separate files.
34532 (glob_in_dir): Do not rely on undefined behavior in accessing
34533 struct members beyond their bounds. Use a flexible array member
34534 instead
34535 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34536 0/1. Caller changed.
34537 (glob): Fix memory leaks.
34538 * posix/glob64 (globfree64): Move to separate file.
34539 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34540 (globfree64): Remove hidden alias.
34541 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34542 oldglob.
34543 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34544 separate file.
34545 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34546 define.
34547 Move compat code to separate file.
34548 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34549 separate file.
34550
78bfa877
L
345512017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34552
34553 * resolv/tst-resolv-qtypes.c (domain): Changed to
34554 "const char domain[] =".
34555
05f0011f
JM
345562017-09-07 Joseph Myers <joseph@codesourcery.com>
34557
85bec0f2
JM
34558 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34559 version to 3.1.6.
34560
5c23ee6e
JM
34561 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34562 (TCP_MD5SIG_EXT): Likewise.
34563 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34564 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34565 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34566
05f0011f
JM
34567 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34568
7c9c5be9
MF
345692017-09-07 Mike FABIAN <mfabian@redhat.com>
34570
34571 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34572
c207f7ce 345732017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
34574
34575 [BZ #22100]
34576 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34577
507fe027
ST
345782017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34579
34580 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34581 before assuming that the file is empty. Avoid testing buffer content
34582 when nread == 0.
34583
65687ac7
AZ
345842017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34585
7bbbb4b9 34586 [BZ #18858]
65687ac7
AZ
34587 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34588 Remove define.
34589 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34590 Likewise.
34591 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34592 Likewise.
34593 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34594 Likewise.
34595 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34596 Likewise.
34597 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34598 Likewise.
34599 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34600 Likewise.
34601
ab5ac271
FW
346022017-09-06 Florian Weimer <fweimer@redhat.com>
34603
34604 * malloc/dynarray_emplace_enlarge.c
34605 (__libc_dynarray_emplace_enlarge): Add missing else.
34606
a8304730
FW
346072017-09-06 Florian Weimer <fweimer@redhat.com>
34608
34609 [BZ #22096]
34610 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34611 case of failure to obtain the global conf object.
34612
5670c4ab
FW
346132017-09-06 Florian Weimer <fweimer@redhat.com>
34614
34615 [BZ #22095]
34616 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34617 dynarray allocation failure.
34618
c77eb969
FW
346192017-09-06 Florian Weimer <fweimer@redhat.com>
34620
34621 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34622 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34623 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34624 New functions.
34625 (response): Call them. Add 'p', '6' flag processing.
34626 (test_reverse): New function.
34627 (test_get2_any): Call it.
34628 (test_no_inet6): Add 'p' test.
34629 (test_inet6): Likewise.
34630
5e9c4d17
FW
346312017-09-06 Florian Weimer <fweimer@redhat.com>
34632
34633 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34634 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34635 the QNAME.
34636 (test_gai): Adjust query names. Add additional tests.
34637 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34638 test_get2. Adjust query names. Add additional tests.
34639 (test_no_inet6): New function, extracted from threadfunc.
34640 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34641 Add additional tests.
34642
2ae5be04
MF
346432017-09-06 Mike FABIAN <mfabian@redhat.com>
34644
34645 [BZ #22070]
34646 * localedata/unicode-gen/utf8_gen.py: Set the width for
34647 characters with Prepended_Concatenation_Mark property to 1
34648 * localedata/charmaps/UTF-8: Updated using the improved script.
34649
af83ed5c
MF
346502017-09-06 Mike FABIAN <mfabian@redhat.com>
34651
34652 [BZ #21750]
34653 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34654 use the range notation for all ranges of neighbouring characters
34655 with the same width.
34656
4f3647e4
JM
346572017-09-05 Joseph Myers <joseph@codesourcery.com>
34658
34659 * sysdeps/generic/math-type-macros-double.h: Include
34660 <math-svid-compat.h>.
34661 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34662 * sysdeps/generic/math-type-macros-float.h: Include
34663 <math-svid-compat.h>.
34664 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34665 * sysdeps/generic/math-type-macros-ldouble.h: Include
34666 <math-svid-compat.h>.
34667 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34668 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34669 condition.
34670 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34671 * math/w_acosf_compat.c: Likewise.
34672 * math/w_acosh_compat.c: Likewise.
34673 * math/w_acoshf_compat.c: Likewise.
34674 * math/w_acoshl_compat.c: Likewise.
34675 * math/w_acosl_compat.c: Likewise.
34676 * math/w_asin_compat.c: Likewise.
34677 * math/w_asinf_compat.c: Likewise.
34678 * math/w_asinl_compat.c: Likewise.
34679 * math/w_atan2_compat.c: Likewise.
34680 * math/w_atan2f_compat.c: Likewise.
34681 * math/w_atan2l_compat.c: Likewise.
34682 * math/w_atanh_compat.c: Likewise.
34683 * math/w_atanhf_compat.c: Likewise.
34684 * math/w_atanhl_compat.c: Likewise.
34685 * math/w_cosh_compat.c: Likewise.
34686 * math/w_coshf_compat.c: Likewise.
34687 * math/w_coshl_compat.c: Likewise.
34688 * math/w_exp10_compat.c: Likewise.
34689 * math/w_exp10f_compat.c: Likewise.
34690 * math/w_exp10l_compat.c: Likewise.
34691 * math/w_exp2_compat.c: Likewise.
34692 * math/w_exp2f_compat.c: Likewise.
34693 * math/w_exp2l_compat.c: Likewise.
34694 * math/w_fmod_compat.c: Likewise.
34695 * math/w_fmodf_compat.c: Likewise.
34696 * math/w_fmodl_compat.c: Likewise.
34697 * math/w_hypot_compat.c: Likewise.
34698 * math/w_hypotf_compat.c: Likewise.
34699 * math/w_hypotl_compat.c: Likewise.
34700 * math/w_j0_compat.c: Likewise.
34701 * math/w_j0f_compat.c: Likewise.
34702 * math/w_j0l_compat.c: Likewise.
34703 * math/w_j1_compat.c: Likewise.
34704 * math/w_j1f_compat.c: Likewise.
34705 * math/w_j1l_compat.c: Likewise.
34706 * math/w_jn_compat.c: Likewise.
34707 * math/w_jnf_compat.c: Likewise.
34708 * math/w_jnl_compat.c: Likewise.
34709 * math/w_lgamma_r_compat.c: Likewise.
34710 * math/w_lgammaf_r_compat.c: Likewise.
34711 * math/w_lgammal_r_compat.c: Likewise.
34712 * math/w_log10_compat.c: Likewise.
34713 * math/w_log10f_compat.c: Likewise.
34714 * math/w_log10l_compat.c: Likewise.
34715 * math/w_log2_compat.c: Likewise.
34716 * math/w_log2f_compat.c: Likewise.
34717 * math/w_log2l_compat.c: Likewise.
34718 * math/w_log_compat.c: Likewise.
34719 * math/w_logf_compat.c: Likewise.
34720 * math/w_logl_compat.c: Likewise.
34721 * math/w_pow_compat.c: Likewise.
34722 * math/w_powf_compat.c: Likewise.
34723 * math/w_powl_compat.c: Likewise.
34724 * math/w_remainder_compat.c: Likewise.
34725 * math/w_remainderf_compat.c: Likewise.
34726 * math/w_remainderl_compat.c: Likewise.
34727 * math/w_sinh_compat.c: Likewise.
34728 * math/w_sinhf_compat.c: Likewise.
34729 * math/w_sinhl_compat.c: Likewise.
34730 * math/w_sqrt_compat.c: Likewise.
34731 * math/w_sqrtf_compat.c: Likewise.
34732 * math/w_sqrtl_compat.c: Likewise.
34733 * math/w_tgamma_compat.c: Likewise.
34734 * math/w_tgammaf_compat.c: Likewise.
34735 * math/w_tgammal_compat.c: Likewise.
34736 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34737 [LIBM_SVID_COMPAT].
34738 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34739 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34740 [LIBM_SVID_COMPAT].
34741 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34742 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34743 [LIBM_SVID_COMPAT].
34744 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34745 * sysdeps/i386/fpu/w_sqrt.c: New file.
34746 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34747 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34748 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34749 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34750 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34751 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34752 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34753 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34754 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34755 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34756 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34757 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34758 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34759 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34760 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34761 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34762 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34763 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34764 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34765 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34766 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34767 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34768 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34769 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34770 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34771 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34772 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34773 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34774 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34775 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34776 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34777 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34778 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34779 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34780 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34781 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34782 * sysdeps/ia64/fpu/w_log.c: Likewise.
34783 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34784 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34785 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34786 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34787 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34788 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34789 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34790 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34791 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34792 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34793 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34794 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34795 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34796 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34797 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34798 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34799 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34800 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34801 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34802 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34803 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34804 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34805 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34806 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34807 [LIBM_SVID_COMPAT].
34808 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34809 * sysdeps/ieee754/k_standard.c: Likewise.
34810 * sysdeps/ieee754/k_standardf.c: Likewise.
34811 * sysdeps/ieee754/k_standardl.c: Likewise.
34812 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34814 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34815 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34816 long_double_symbol call on [LIBM_SVID_COMPAT].
34817 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34818 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34819 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34820 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34821 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34822 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34823 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34824 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34825 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34826 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34827 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34828 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34829 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34830 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34831 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34832 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34833 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34834 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34835 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34836 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34837 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34838 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34839
05b38d64
SE
348402017-09-05 Steve Ellcey <sellcey@cavium.com>
34841
34842 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34843 * malloc/tst-mallocstate.c: Convert from test-skeleton
34844 to test-driver. Ifdef code using TEST_COMPAT macro.
34845 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34846 * math/test-matherr.c: Likewise.
34847
99d67918
JM
348482017-09-05 Joseph Myers <joseph@codesourcery.com>
34849
34850 [BZ #22086]
34851 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34852 comparing word with byte-swapped constant.
34853
c207f7ce 348542017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
34855
34856 [BZ #20498]
34857 * locale/iso-639.def: add Miskito.
34858 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34859 * localedata/locales/miq_NI: New file.
34860
0a587a8a
L
348612017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34862
34863 [BZ #18822]
34864 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34865 (__mkdir): Likewise.
34866 * io/chmod.c (__chmod): Add libc_hidden_def.
34867 * io/mkdir.c (__mkdir): Likewise.
34868 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34869 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34870 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34871 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34872
f3a129b8
JM
348732017-09-04 Joseph Myers <joseph@codesourcery.com>
34874
1650e192
JM
34875 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34876 version to 4.13.
34877
f3a129b8
JM
34878 [BZ #22082]
34879 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34880 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34881
b38042f5
FW
348822017-09-04 Florian Weimer <fweimer@redhat.com>
34883
34884 * math/math.h: Issue warning if log is defined.
34885
059b6404
JM
348862017-09-04 Joseph Myers <joseph@codesourcery.com>
34887
34888 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34889 kernel version to 4.13.
34890
b794e16b
ST
348912017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34892
34893 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
34894 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34895 parameter.
01969395
ST
34896 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34897 just <bits/types.h>.
dd2b31de 34898 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 34899 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 34900 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 34901 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
34902 * misc/preadv2.c: Include <errno.h>.
34903 * misc/preadv64v2.c: Include <errno.h>.
34904 * misc/pwritev2.c: Include <errno.h>.
34905 * misc/pwritev64v2.c: Include <errno.h>.
34906 * sysdeps/posix/preadv2.c: Include <errno.h>.
34907 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34908 Fix <unistd.h> inclusion.
34909 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34910 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
34911 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34912 __strtoul_internal): New functions.
127e7773
ST
34913 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34914 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
34915 * sysdeps/mach/hurd/i386/Makefile
34916 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34917 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34918 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
34919 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34920 __feraiseexcept_renamed to feraiseexcept instead of
34921 __GI_feraiseexcept.
56bf5497 34922 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 34923 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
34924 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34925 RWF_NOWAIT): Define to 0 if undefined already.
34926 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34927 boils down to 0.
6547ec0a
ST
34928 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34929 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 34930
5a80d39d
JM
349312017-09-01 Joseph Myers <joseph@codesourcery.com>
34932
34933 * manual/math.texi (pow10): Do not document.
34934 (pow10f): Likewise.
34935 (pow10l): Likewise.
34936 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34937 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34938 * math/libm-test-exp10.inc (pow10_test): Remove.
34939 (do_test): Do not call pow10.
34940 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34941 [NO_LONG_DOUBLE] (pow10l): Likewise.
34942 * math/w_exp10f_compat.c (pow10f): Likewise.
34943 * math/w_exp10l_compat.c (pow10l): Likewise.
34944 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34945 (pow10): Make into compat symbol.
34946 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34947 (pow10f): Make into compat symbol.
34948 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34949 (pow10l): Make into compat symbol.
34950 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34951 pow10.
34952 (CFLAGS-nldbl-pow10.c): Remove variable..
34953 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34954 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34955 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34956 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34957 Undefine and redefine.
34958 (pow10l): Make into compat symbol.
34959 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34960 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34961 * sysdeps/arm/libm-test-ulps: Likewise.
34962 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34963 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34964 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34965 * sysdeps/microblaze/libm-test-ulps: Likewise.
34966 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34967 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34968 * sysdeps/nios2/libm-test-ulps: Likewise.
34969 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34970 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34971 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34972 * sysdeps/sh/libm-test-ulps: Likewise.
34973 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34974 * sysdeps/tile/libm-test-ulps: Likewise.
34975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34976
3824fc38
PP
349772017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34978
34979 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34980
b3008279
L
349812017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34982
34983 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34984 "../ChangeLog.old/ChangeLog.8".
34985 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34986 "../ChangeLog.old/ChangeLog.14".
34987
136fa185
L
349882017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34989
34990 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34991 Threads Library.
34992
c18d50a2
JM
349932017-09-01 Joseph Myers <joseph@codesourcery.com>
34994
34995 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34996
bedbd859
L
349972017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34998
34999 * csu/version.c (banner): Remove "by Roland McGrath et al.".
35000 * nptl/Banner: Remove "by Ulrich Drepper et al.".
35001
50c66c7a
PP
350022017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
35003
35004 * stdlib/tst-atexit-common.c (do_test): Test support for at least
35005 32 atexit handlers.
35006
a617bd11
ZW
350072017-09-01 Zack Weinberg <zackw@panix.com>
35008
35009 * math/math.h (HUGE_VAL): Improve commentary.
35010
e0d2eb5a
AZ
350112017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35012 Andreas Schwab <schwab@suse.de>
35013
35014 [BZ #21530]
35015 * include/stdio.h (__gen_tempfd): New function.
35016 * stdio-common/Makefile (routines): Add gentempfd.
35017 * stdio-common/gentempfd.c: New file.
35018 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
35019 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
35020 unnamed file first.
35021
f4a6be25
FW
350222017-09-01 Florian Weimer <fweimer@redhat.com>
35023
35024 [BZ #21915]
35025 [BZ #21922]
35026 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
35027 result to determine success or failure, not the errno value.
35028 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
35029 (tst-nss-files-hosts-erange): Link with -ldl.
35030 * nss/tst-nss-files-hosts-erange.c: New file.
35031 * nss/tst-resolv-basic.c (response): Handle nodata.example.
35032 (do_test): Add NO_DATA tests.
35033 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
35034 (do_test): Call it.
35035
5f8340f5
FW
350362017-09-01 Florian Weimer <fweimer@redhat.com>
35037
35038 [BZ #21922]
35039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
35040 coming from gethostbyname2_r.
35041
65329bd2
FW
350422017-09-01 Florian Weimer <fweimer@redhat.com>
35043
35044 * support/namespace.h (struct support_chroot_configuration): Add
35045 hosts, host_conf.
35046 (struct support_chroot): Add path_hosts, path_host_conf.
35047 * support/support_chroot.c (write_file): New function.
35048 (support_chroot_create): Call it to process /etc/resolv.conf,
35049 /etc/hosts, /etc/host.conf.
35050 (support_chroot_free): Update.
35051
a2881ef0
FW
350522017-09-01 Florian Weimer <fweimer@redhat.com>
35053
35054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
35055 status indicates it is set.
35056
ad816a5e
FW
350572017-09-01 Florian Weimer <fweimer@redhat.com>
35058
63b52889 35059 [BZ #20532]
ad816a5e
FW
35060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
35061 function lookup failures more reliable.
35062
53250a21
FW
350632017-09-01 Florian Weimer <fweimer@redhat.com>
35064
35065 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
35066 (getcanonname): Likewise.
35067 (gaih_inet): Likewise.
35068
924b121c
FW
350692017-09-01 Florian Weimer <fweimer@redhat.com>
35070
35071 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
35072 (getcanonname): Likewise.
35073 (gaih_inet): Likewise.
35074
d9ff799a 350752017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 35076 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
35077
35078 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
35079 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
35080 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
35081 (IREG_SIZE, OREG_SIZE): New macros.
35082 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
35083 (IREG_SIZE, OREG_SIZE): New macros.
35084 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
35085 (IREG_SIZE): New macro.
35086 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
35087 (IREG_SIZE): New macro.
35088 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
35089 New includes.
35090 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
35091 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
35092 (__CONCATX): Handle exceptions correctly on large values that may
35093 set FE_INVALID.
35094 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
35095 Initialize if not already set.
b39d961c 35096 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 35097
102dde84
AZ
350982017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35099
35100 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
35101 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
35102 Likewise.
35103 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
35104 Likewise.
35105 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
35106 Likewise.
35107 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
35108 Likewise.
35109 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
35110 Likewise.
35111 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
35112 Likewise.
35113 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
35114 Likewise.
35115 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
35116 (NO_CANCELLATION): Likewise.
35117 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35118 Likewise.
35119 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35120 Likewise.
35121 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35122 Likewise.
35123 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35124 (NO_CANCELLATION): Likewise.
35125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35126 (NO_CANCELLATION): Likewise.
35127 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35128 Likewise
35129 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35130 Likewise.
35131 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35132 Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35134 Likewise.
35135 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35136 hidden prototype.
35137 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35138 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35139
9eee633b
SE
351402017-08-31 Steve Ellcey <sellcey@cavium.com>
35141
35142 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35143 in resolver call.
35144
65284eb7
FW
351452017-08-31 Florian Weimer <fweimer@redhat.com>
35146
35147 * include/libc-symbols.h (internal_function): Remove.
35148
41ad5ca6
FW
351492017-08-31 Florian Weimer <fweimer@redhat.com>
35150
35151 * stdlib/fmtmsg.c (internal_addseverity): Remove
35152 internal_function.
35153
2fa6d086
FW
351542017-08-31 Florian Weimer <fweimer@redhat.com>
35155
35156 * stdio-common/printf_fp.c (group_number): Remove
35157 internal_function.
35158 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35159
b41bd5bc
FW
351602017-08-31 Florian Weimer <fweimer@redhat.com>
35161
35162 * posix/fnmatch.c (internal_function): Remove definition.
35163 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35164 * posix/regcomp.c (peek_token, init_word_char)
35165 (duplicate_node_closure, fetch_token, peek_token)
35166 (peek_token_bracket, build_range_exp, build_collating_symbol):
35167 Likewise.
35168 * posix/regex_internal.c (re_string_construct_common)
35169 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35170 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35171 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35172 (re_string_translate_buffer, re_string_reconstruct)
35173 (re_string_peek_byte_case, re_string_fetch_byte_case)
35174 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35175 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35176 (re_node_set_add_intersect, re_node_set_init_union)
35177 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35178 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35179 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35180 (re_acquire_state_context): Likewise.
35181 * posix/regex_internal.h (internal_function): Remove definition.
35182 (re_string_realloc_buffers, build_wcs_buffer)
35183 (build_wcs_upper_buffer, build_upper_buffer)
35184 (re_string_translate_buffer, re_string_context_at)
35185 (re_string_char_size_at, re_string_wchar_at)
35186 (re_string_elem_size_at): Likewise.
35187 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35188 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35189 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35190 (re_search_internal, re_search_2_stub, re_search_stub)
35191 (re_copy_regs, prune_impossible_nodes, check_matching)
35192 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35193 (free_fail_stack_return, sift_states_iter_mb)
35194 (sift_states_backward, build_sifted_states)
35195 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35196 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35197 (check_subexp_limits, sift_states_bkref, merge_state_array)
35198 (find_recover_state, transit_state, merge_state_with_log)
35199 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35200 (transit_state_mb, transit_state_bkref, get_subexp)
35201 (get_subexp_sub, find_subexp_node, check_arrival)
35202 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35203 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35204 (check_node_accept_bytes, find_collation_sequence_value)
35205 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35206 (acquire_init_state_context, check_halt_node_context)
35207 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35208 (sub_epsilon_src_nodes): Likewise.
35209 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35210 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35211 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35212 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35213 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35214 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35215 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35216 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35217 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35218 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35219 (PREADV): Likewise.
35220 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35221 (PREADV): Likewise.
35222 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35223 (PWRITEV): Likewise.
35224 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35225 (PWRITEV): Likewise.
35226 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35227 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35228
83b09837
FW
352292017-08-31 Florian Weimer <fweimer@redhat.com>
35230
35231 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35232 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35233 Remove internal_function.
35234 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35235 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35236 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35237 (__deallocate_stack, __libc_pthread_init)
35238 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35239 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35240 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35241 Likewise.
35242 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35243 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35244 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35245 Likewise.
35246 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35247 (__pthread_mutex_unlock_usercnt): Likewise.
35248
116ac301
FW
352492017-08-31 Florian Weimer <fweimer@redhat.com>
35250
35251 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35252 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35253 (fts_safe_changedir): Remove internal_function.
35254 * io/ftw.c (internal_function): Remove definition.
35255 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35256
9da93bd7
FW
352572017-08-31 Florian Weimer <fweimer@redhat.com>
35258
35259 * inet/deadline.c (__deadline_current_time)
35260 (__deadline_from_timeval, __deadline_to_ms): Remove
35261 internal_function.
35262 * inet/getnameinfo.c (nrl_domainname): Likewise.
35263 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35264 * inet/inet6_option.c (add_pad): Likewise.
35265 * inet/net-internal.h (__deadline_current_time)
35266 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35267 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35268 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35269 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35270
a60eca2e
JM
352712017-08-31 Joseph Myers <joseph@codesourcery.com>
35272
c0c49d60
JM
35273 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35274 include <bits/nan.h>.
35275 * math/Makefile (headers): Remove bits/nan.h.
35276 * bits/nan.h: Remove.
35277 * sysdeps/ieee754/bits/nan.h: Likewise.
35278 * sysdeps/mips/bits/nan.h: Likewise.
35279
5ef1b213
JM
35280 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35281 not include <bits/inf.h>.
35282 * math/Makefile (headers): Remove bits/inf.h.
35283 * bits/inf.h: Remove.
35284 * sysdeps/ieee754/bits/inf.h: Likewise.
35285
a60eca2e
JM
35286 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35287 bits/huge_vall.h or bits/huge_val_flt128.h.
35288 (HUGE_VAL): Define directly here.
35289 [__USE_ISOC99] (HUGE_VALF): Likewise.
35290 [__USE_ISOC99] (HUGE_VALL): Likewise.
35291 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35292 (HUGE_VAL_F128): Likewise.
35293 * math/Makefile (headers): Remove bits/huge_val.h,
35294 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35295 * bits/huge_val.h: Remove.
35296 * bits/huge_val_flt128.h: Likewise.
35297 * bits/huge_valf.h: Likewise.
35298 * bits/huge_vall.h: Likewise.
35299 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35300 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35301 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35302 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35303 * sysdeps/sh/bits/huge_val.h: Likewise.
35304 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35305 * sysdeps/x86/bits/huge_vall.h: Likewise.
35306
17e00cc6
FW
353072017-08-31 Florian Weimer <fweimer@redhat.com>
35308
35309 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35310 internal_function.
35311 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35312 Likewise.
35313 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35314 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35315 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35316 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35318 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35319 * elf/dl-libc.c (dlerror_run): Likewise.
35320 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35321 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35322 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35323 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35324 Likewise.
35325 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35326 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35327 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35328 * elf/dl-profile.c (_dl_start_profile): Likewise.
35329 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35330 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35331 Likewise.
35332 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35333 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35334 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35335 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35336 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35337 (_dl_allocate_tls_storage): Likewise.
35338 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35339 (_dl_check_all_versions): Likewise.
35340 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35341 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35342 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35343 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35344 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35345 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35346 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35347 internal_function from __dl_start.
35348 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35349 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35350 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35351 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35352 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35353 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35354 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35355 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35356 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35357 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35358 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35359 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35360 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35361 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35362 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35363 Likewise.
35364 (struct rtld_global_ro): Remove internal_function from the
35365 _dl_lookup_symbol_x member.
35366 (_dl_symbol_value): Remove. No longer defined anywhere.
35367 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35368 internal_function.
35369 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35370 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35371 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35372 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35373 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35374 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35375 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35376 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35377 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35378 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35379 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35380 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35381
8d2f9410
FW
353822017-08-31 Florian Weimer <fweimer@redhat.com>
35383
35384 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35385 Remove internal_function.
35386 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35387 Likewise.
35388 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35389 Likewise.
35390
86e4919f
FW
353912017-08-31 Florian Weimer <fweimer@redhat.com>
35392
35393 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35394 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35395 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35396
59bd52b0
FW
353972017-08-31 Florian Weimer <fweimer@redhat.com>
35398
35399 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35400 (__gai_enqueue_request): Remove internal_function.
35401 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35402 (__gai_remove_request, __gai_notify, __gai_notify_only)
35403 (__gai_sigqueue): Likewise.
35404 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35405 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35406 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35407 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35408 Likewise.
35409
fc3d9497
FW
354102017-08-31 Florian Weimer <fweimer@redhat.com>
35411
35412 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35413 * include/dirent.h (__opendirat, __getdents, __getdents64)
35414 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35415 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35416 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35417 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35418 Likewise.
35419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35420
18c54fac
FW
354212017-08-31 Florian Weimer <fweimer@redhat.com>
35422
35423 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35424 internal_function.
35425 (GETCWD_RETURN_TYPE): Likewise.
35426
7e01f080
FW
354272017-08-31 Florian Weimer <fweimer@redhat.com>
35428
35429 * include/time.h (__tz_compute, __strptime_internal): Remove
35430 internal_function.
35431 * time/strptime_l.c (__strptime_internal): Likewise.
35432 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35433
d7ccc6c9
FW
354342017-08-31 Florian Weimer <fweimer@redhat.com>
35435
35436 * iconv/gconv.c (__gconv): Remove internal_function.
35437 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35438 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35439 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35440 (__gconv_release_cache): Likewise.
35441 * iconv/gconv_close.c (__gconv_close): Likewise.
35442 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35443 (read_conf_file, __gconv_get_path): Likewise.
35444 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35445 (__gconv_release_step, gen_steps, increment_counter)
35446 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35447 (__gconv_close_transform, free_modules_db): Likewise.
35448 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35449 Likewise.
35450 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35451 (__gconv_find_transform, __gconv_lookup_cache)
35452 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35453 (__gconv_close_transform, __gconv_release_cache)
35454 (__gconv_loaded_object, __gconv_release_shlib)
35455 (__gconv_compare_alias): Likewise.
35456 * iconv/gconv_open.c (__gconv_open): Likewise.
35457 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35458 * iconv/iconvconfig.c (add_module): Likewise.
35459 * intl/dcigettext.c (plural_lookup, guess_category_value)
35460 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35461 * intl/eval-plural.h (plural_eval): Likewise.
35462 * intl/finddomain.c (_nl_find_domain): Likewise.
35463 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35464 (_nl_load_domain, _nl_find_msg): Likewise.
35465 (internal_function): Remove definition.
35466 * intl/loadinfo.h (internal_function): Likewise.
35467 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35468 internal_function.
35469 * intl/localealias.c (internal_function): Remove definition.
35470 (read_alias_file): Remove internal_function.
35471 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35472 * intl/plural-exp.h (internal_function): Remove definition.
35473 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35474 internal_function.
35475 * intl/plural.c: Regenerate.
35476 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35477 * locale/coll-lookup.c (__collidx_table_lookup)
35478 (__collseq_table_lookup): Likewise.
35479 * locale/coll-lookup.h (__collidx_table_lookup)
35480 (__collseq_table_lookup): Likewise.
35481 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35482 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35483 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35484 (_nl_unload_locale): Likewise.
35485 * locale/localeinfo.h (struct __locale_data): Remove
35486 internal_function from cleanup member.
35487 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35488 (_nl_remove_locale, _nl_load_locale_from_archive)
35489 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35490 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35491 (_nl_cleanup_time): Remove internal_function.
35492 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35493 (_nl_parse_alt_digit): Likewise.
35494 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35495 (_nl_select_era_entry): Likewise.
35496 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35497 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35498 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
35499 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35500 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 35501
dab0eece
FW
355022017-08-31 Florian Weimer <fweimer@redhat.com>
35503
35504 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35505 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35506 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35507 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35508 Likewise.
35509 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35510 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35511 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35512 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35513 Likewise.
35514 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35515
ab5bf7cf
FW
355162017-08-31 Florian Weimer <fweimer@redhat.com>
35517
35518 * misc/getttyent.c (skip, value): Remove internal_function.
35519 * misc/syslog.c (openlog_internal): Likewise.
35520 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35521
75b3047e
FW
355222017-08-31 Florian Weimer <fweimer@redhat.com>
35523
35524 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35525 (__nss_rewrite_field): Remove internal_function.
35526 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35527 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35528 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35529 * nss/nsswitch.c (nss_parse_file, nss_getline)
35530 (nss_parse_service_list, nss_new_service): Likewise.
35531 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35532 * nss/valid_field.c (__nss_valid_field): Likewise.
35533 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35534
0c71122c
FW
355352017-08-31 Florian Weimer <fweimer@redhat.com>
35536
35537 * malloc/arena.c (__malloc_fork_lock_parent)
35538 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35539 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35540 internal_function from defintions.
35541 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35542 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35543 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35544 internal_function from declarations.
35545 * malloc/malloc.c (internal_function): Do not define.
35546 (mem2mem_check): Remove internal_function from declaration.
35547 (munmap_chunk, mremap_chunk): Remove internal_function.
35548 * malloc/mtrace.c (tr_where): Likewise.
35549
ca4ec803
FW
355502017-08-31 Florian Weimer <fweimer@redhat.com>
35551
35552 * include/rpc/pmap_clnt.h (__get_socket): Remove
35553 internal_function.
35554 * sunrpc/auth_des.c (synchronize): Likewise.
35555 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35556 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35557 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35558 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35559 (key_call): Likewise.
35560 * sunrpc/pm_getport.c (__get_socket): Likewise.
35561 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35562 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35563 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35564 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35565 (invalidate): Likewise.
35566 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35567 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35568 (set_input_fragment, get_input_bytes): Likewise.
35569
24cffce7
FW
355702017-08-31 Florian Weimer <fweimer@redhat.com>
35571
35572 * malloc/malloc.c (_int_free): Remove locked variable and related
35573 asserts.
35574
ecd0747d
L
355752017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35576
35577 [BZ #22051]
35578 * Makerules (build-module-helper-objlist): Filter out
35579 $(elf-objpfx)sofini.os.
35580 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35581 needed.
35582
5f0704b6
FW
355832017-08-31 Florian Weimer <fweimer@redhat.com>
35584
35585 * libio/fcloseall.c: Assume weak_alias is defined.
35586 * libio/feof.c: Likewise.
35587 * libio/fileno.c: Likewise.
35588 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35589 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35590 definitions.
35591 (_IO_file_open): Call __open directly.
35592 (_IO_new_file_sync): Assume ESPIPE is defined.
35593 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35594 (_IO_new_file_write): Call __write directly.
35595 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35596 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35597 * libio/genops.c: Assume _LIBC is defined.
35598 (save_for_backup): Remove internal_function.
35599 * libio/getc.c: Assume weak_alias is defined.
35600 * libio/getwc.c: Likewise.
35601 * libio/iofclose.c: Assume _LIBC is defined.
35602 * libio/iofdopen.c: Likewise.
35603 (_IO_fcntl): Remove macro definition.
35604 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35605 Call __fcntl directly.
35606 * libio/iofflush.c: Assume weak_alias is defined.
35607 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35608 defined.
35609 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35610 * libio/iofgets.c: Likewise.
35611 * libio/iofopen.c: Assume _LIBC is defined.
35612 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35613 * libio/iofputs.c: Assume weak_alias is defined.
35614 * libio/iofread.c: Likewise.
35615 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35616 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35617 * libio/ioftell.c: Assume weak_alias is defined.
35618 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35619 * libio/iofwide.c: Assume _LIBC is defined.
35620 (_IO_fwide): Drop SHARED conditional because it is implied by
35621 SHLIB_COMPAT.
35622 * libio/iofwrite.c: Assume weak_alias is defined.
35623 * libio/iogetdelim.c: Likewise.
35624 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35625 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35626 (_IO_getwline): Call __wmemcpy directly.
35627 * libio/iopopen.c: Assume _LIBC is defined.
35628 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35629 (_IO_close): Remove macro definitions.
35630 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35631 _exit directly.
35632 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35633 directly.
35634 * libio/ioputs.c: Assume weak_alias is defined.
35635 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35636 * libio/iosetbuffer.c: Assume weak_alias is defined.
35637 * libio/iosetvbuf.c: Likewise.
35638 * libio/ioungetc.c: Likewise.
35639 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35640 libc_hidden_def, libc_hidden_weak, NULL are defined.
35641 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35642 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35643 defined.
35644 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35645 definitions.
35646 (_IO_old_file_init_internal): Drop SHARED conditional because it
35647 is implied by SHLIB_COMPAT.
35648 (_IO_old_file_fopen): Call __open directly.
35649 (_IO_old_file_sync): Assume ESPIPE is defined.
35650 (_IO_old_file_write): Call __write directly.
35651 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35652 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35653 Call __fcntl directly.
35654 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35655 (_IO_old_fgetpos): Assume EIO is defined.
35656 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35657 (_IO_old_fgetpos64): Assume EIO is defined.
35658 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35659 (_IO_old_fsetpos): Assume EIO is defined.
35660 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35661 (_IO_old_fsetpos64): Assume EIO is defined.
35662 * libio/oldiopopen.c: Assume _LIBC is defined.
35663 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35664 (_IO_close): Remove macro definitions.
35665 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35666 directly.
35667 (_IO_old_proc_close): Call __close, __waitpid directly.
35668 * libio/put.c: Assume weak_alias is defined.
35669 * libio/stdfiles.c: Assume _LIBC is defined.
35670 * libio/stdio.c: Likewise.
35671 * libio/wfileops.c: Likewise.
35672 (_IO_wfile_sync): Assume ESPIPE is defined.
35673 * libio/wgenops.c: Assume _LIBC is defined.
35674 (save_for_wbackup): Remove internal_function.
35675
5129873a
FW
356762017-08-31 Florian Weimer <fweimer@redhat.com>
35677
35678 * malloc/malloc.c (top_check): Change return type to void. Remove
35679 internal_function.
35680 * malloc/hooks.c (top_check): Likewise.
35681 (malloc_check, realloc_check, memalign_check): Adjust.
35682
4fa9b3bf
JM
356832017-08-30 Joseph Myers <joseph@codesourcery.com>
35684
35685 [BZ #21457]
35686 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35687 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35688 sigcontext and namespace requirements.
35689 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35690 * sysdeps/m68k/sys/ucontext.h: Likewise.
35691 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35692 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35693 <bits/sigcontext.h>.
35694 (__ctx): Define earlier.
35695 (mcontext_t): Define structure contents rather than using struct
35696 sigcontext.
35697 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35698 __glibc_reserved1 instead of __reserved.
35699 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35700 <bits/sigcontext.h>.
35701 (__ctx): Define earlier.
35702 (mcontext_t): Define structure contents rather than using struct
35703 sigcontext.
35704 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35705 mcontext_t instead of struct sigcontext.
35706 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35707 <bits/sigcontext.h>.
35708 (__ctx): Define earlier.
35709 (mcontext_t): Define structure contents rather than using struct
35710 sigcontext.
35711 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35712 <bits/sigcontext.h>.
35713 (__ctx): Define earlier.
35714 (mcontext_t): Define structure contents rather than using struct
35715 sigcontext.
35716 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35717 mcontext_t instead of struct sigcontext.
35718 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35719 mcontext_t instead of struct sigcontext.
35720 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35721 <bits/sigcontext.h>.
35722 (__ctx): New macro.
35723 (struct __ia64_fpreg_mcontext): New type.
35724 (mcontext_t): Define structure contents rather than using struct
35725 sigcontext.
35726 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35727 (uc_sigmask): Define using __ctx.
35728 (uc_stack): Likewise.
35729 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35730 <bits/sigcontext.h>.
35731 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35732 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35733 <bits/sigcontext.h>.
35734 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35735 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35736 <bits/sigcontext.h>.
35737 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35738 <bits/sigcontext.h>.
35739 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35740 <bits/sigcontext.h>.
35741 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35742 <bits/sigcontext.h>.
35743 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35744 <bits/sigcontext.h>.
35745 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35746 <bits/sigcontext.h>.
35747 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35748 <bits/sigcontext.h>.
35749 (__ctx): Define earlier.
35750 (mcontext_t): Define structure contents rather than using struct
35751 sigcontext.
35752 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35753 <bits/sigcontext.h>. Include <bits/types.h>.
35754 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35755 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35756 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35757 (test-xfail-UNIX98/signal.h/conform): Likewise.
35758 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35759 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35760 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35761 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35762 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35763 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35764 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35765 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35766 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35767
5898f454
FW
357682017-08-30 Florian Weimer <fweimer@redhat.com>
35769
35770 * malloc/dynarray_emplace_enlarge.c
35771 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35772 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35773 * malloc/tst-dynarray.c (test_long_overflow): New function.
35774 (do_test): Call it.
35775
a9da0bb2
FW
357762017-08-30 Florian Weimer <fweimer@redhat.com>
35777
35778 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35779 (set_arena_corrupt): Remove definitions.
35780 (mtrim): Do not check for corrupt arena.
35781 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35782 Likewise.
35783
ac3ed168
FW
357842017-08-30 Florian Weimer <fweimer@redhat.com>
35785
35786 [BZ #21754]
35787 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35788 check_action.
35789 (ptmalloc_init): Do not set or use check_action.
35790 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35791 call to malloc_printerr. Remove return statement.
35792 (free_check): Likewise. Remove arena unlock.
35793 (top_check): Update comment. Adjust call to malloc_printerr.
35794 Remove heap repair code.
35795 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35796 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35797 (sysmalloc): Adjust call to malloc_printerr.
35798 (munmap_chunk, __libc_realloc): Likewise. Remove return
35799 statement.
35800 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35801 Remove errout label and corresponding gotos.
35802 (_int_free): Likewise. Remove arena unlock.
35803 (do_set_mallopt_check): Do not set check_action.
35804 (malloc_printerr): Adjust parameter list. Do not mark arena as
35805 corrupt.
35806 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35807 comment.
35808 * manual/probes.texi (Memory Allocation Probes): Remove
35809 memory_mallopt_check_action.
35810
44bcba80
SE
358112017-08-30 Steve Ellcey <sellcey@cavium.com>
35812
35813 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35814 Use pointer to uint64_t instead of long int for sp.
35815
ec2c1fce
FW
358162017-08-30 Florian Weimer <fweimer@redhat.com>
35817
35818 [BZ #21754]
35819 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35820 without printing a backtrace. Do not leak any information in the
35821 error message.
35822 * manual/memory.texi (Heap Consistency Checking): Update.
35823 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35824
9ce673b6
FW
358252017-08-30 Florian Weimer <fweimer@redhat.com>
35826
35827 Do not scale NPTL tests with available number of CPUs.
35828 * nptl/tst-cond16.c (count): Set to constant value of 8.
35829 * nptl/tst-cond18.c (count): Likewise.
35830
2f1aef19
JM
358312017-08-29 Joseph Myers <joseph@codesourcery.com>
35832
35833 [BZ #22035]
35834 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35835 Define to take a second argument that is a macro that
35836 concatentates a suffix, not the suffix itself.
35837 (__CONCAT_d): New macro.
35838 (__CONCAT_f): Likewise.
35839 (__CONCAT_l): Likewise.
35840
8325b477
PP
358412017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35842
35843 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35844 by child.
35845
319cbbf6
AZ
358462017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35847 Aurelien Jarno <aurelien@aurel32.net>
35848 Maciej W. Rozycki <macro@imgtec.com>
35849
35850 [BZ #21956]
35851 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35852 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35853 `mips16-syscall6' and `mips16-syscall7'.
35854 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35855 (CFLAGS-mips16-syscall7.c): Remove.
35856 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35857 Remove `__mips16_syscall5', `__mips16_syscall6' and
35858 `__mips16_syscall7'.
35859 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35860 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35861 `__mips_syscall_return'.
35862 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35863 (__mips16_syscall1): Likewise.
35864 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35865 (__mips16_syscall2): Likewise.
35866 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35867 (__mips16_syscall3): Likewise.
35868 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35869 (__mips16_syscall4): Likewise.
35870 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35871 Remove.
35872 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35873 Remove.
35874 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35875 Remove.
35876 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35877 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35878 `__mips16_syscall5'. Remove prototype.
35879 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35880 `__mips16_syscall6'. Remove prototype.
35881 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35882 `__mips16_syscall7'. Remove prototype.
35883 (__nomips16, __mips16_syscall_return): Move to...
35884 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35885 (__nomips16, __mips_syscall_return): ... here.
35886 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35887 `__mips16_syscall_return' to `__mips_syscall_return'.
35888 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35889 `internal_syscall##nr'.
35890 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35891 `internal_syscall##nr'.
35892 (FORCE_FRAME_POINTER): Remove.
35893 (__mips_syscall5): New prototype.
35894 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35895 (__mips_syscall6): New prototype.
35896 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35897 (__mips_syscall7): New prototype.
35898 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35899 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35900 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35901 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35902 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35903 (sysdep_routines): Add libc-do-syscall.
35904 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35905 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35906
01b87c65
AZ
359072017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35908
35909 [BZ #21672]
35910 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35911 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35912 (advise_stack_range): New function.
35913 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35914 stack non required to advise_stack_range at allocatestack.c
35915
16f138a4
SN
359162017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35917
35918 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35919
251bccfa
FW
359202017-08-29 Florian Weimer <fweimer@redhat.com>
35921
35922 [BZ #22026]
35923 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35924 __end_fct. Mangle __end_fct after setting it to NULL.
35925 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35926 (modules-names, modules-names-tests): Add
35927 tst-gconv-init-failure-mod.
35928 (gconv-modules): New target.
35929 (tst-gconv-init-failure-mod.so): Link against libsupport.
35930 (tst-gconv-init-failure): Depend on gconv-modules,
35931 tst-gconv-init-failure-mod.so.
35932 * iconv/tst-gconv-init-failure-mod.c: New file.
35933 * iconv/tst-gconv-init-failure.c: Likewise.
35934 * iconv/test-gconv-modules: Likewise.
35935
e7c18b9d
FW
359362017-08-29 Florian Weimer <fweimer@redhat.com>
35937
35938 [BZ #22025]
35939 * iconv/gconv_db.c (free_derivation): Remove redundant
35940 parentheses.
35941 (gen_steps): Unconditionally mangle __btowc_fct after
35942 initialization.
35943 (increment_counter): Likewise. Do not call init_fct for internal
35944 modules.
35945
7daada03
JM
359462017-08-29 Joseph Myers <joseph@codesourcery.com>
35947
35948 [BZ #22028]
35949 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35950 (_MSUF_): Remove macro.
35951 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35952 Likewise.
35953 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35954 (__REDIRFROM_X): New macro.
35955 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35956 Likewise.
35957 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35958 (__REDIRTO_X): Likewise.
35959 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35960 arguments.
35961 (__MATH_REDIRCALL_2): Likewise.
35962 (__MATH_REDIRCALL_INTERNAL): Likewise.
35963 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35964 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35965 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35966 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35967 * math/test-finite-macros.c: New file.
35968 * math/Makefile (tests): Add test-finite-macros.
35969 (CFLAGS-test-finite-macros.c): New variable.
35970
1cf1232c
PF
359712017-08-29 Patsy Franklin <pfrankli@redhat.com>
35972 Jeff Law <law@redhat.com>
35973
35974 [BZ #22025]
35975 Mangle NULL pointers in iconv/gconv.
35976 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35977 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35978 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35979 is non-NULL before demangling the end_fct. Check for NULL
35980 end_fct after demangling.
35981 (__gconv_release_step): Demangle the end_fct before checking
35982 it for NULL. Remove assert on __shlibc_handle != NULL.
35983 (gen_steps): Don't check btowc_fct for NULL before mangling.
35984 Demangle init_fct before checking for NULL.
35985 (increment_counter): Likewise.
35986 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35987 end_fct for NULL before mangling.
35988 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35989 for NULL.
35990
c207f7ce 359912017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
35992
35993 [BZ #21971]
35994 * locale/iso-639.def: add Morisyen.
35995
42496114
GG
359962017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35997
35998 [BZ #21930]
35999 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
36000 (iszero): New C++ implementation that does not use
36001 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
36002 signaling nans are enabled, since __builtin_types_compatible_p
36003 is a C-only feature.
36004 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
36005 defined, include ieee754_float128.h for access to the union and
36006 member ieee854_float128.ieee.
36007 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
36008 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
36009 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36010 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
36011 options of test-math-zero on powerpc64le.
36012
5e2bc4ff
L
360132017-08-28 H.J. Lu <hongjiu.lu@intel.com>
36014
36015 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
36016 Change double to float.
36017
a48c0fb4
JM
360182017-08-28 Joseph Myers <joseph@codesourcery.com>
36019
36020 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
36021 unconditional.
36022 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
36023 conditional code; define contents only for [LIBM_SVID_COMPAT].
36024
ee17d4e9
FW
360252017-08-28 Florian Weimer <fweimer@redhat.com>
36026
36027 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
36028 (abi-lp64_be-options): Remove.
36029 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
36030 (abi-hard-options): Likewise.
36031 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
36032 (abi-o32_hard-options, abi-o32_soft_2008-options)
36033 (abi-o32_hard_2008-options, abi-n32_soft-options)
36034 (abi-n32_hard-options, abi-n32_soft_2008-options)
36035 (abi-n32_hard_2008-options, abi-n64_soft-options)
36036 (abi-n64_hard-options, abi-n64_soft_2008-options)
36037 (abi-n64_hard_2008-options): Likewise.
36038 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
36039 (abi-64-v1-options, abi-64-v2-options): Likewise.
36040 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
36041 (abi-64-options): Likewise.
36042 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
36043 (abi-64-options): Likewise.
36044 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
36045 (abi-64-options): Likewise.
36046 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
36047 (abi-64-options, abi-x32-options): Likewise.
36048
2dba5ce7
FW
360492017-08-28 Florian Weimer <fweimer@redhat.com>
36050
36051 Store supported list of SYS_* system calls in the source tree.
36052 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
36053 (bits/syscall.h): Generate from list file.
36054 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
36055 [$(subdir) = misc] (tests): Add tst-syscall-list.
36056 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
36057 [$(subdir) = misc] (tst-syscall-list-macros.list)
36058 [$(subdir) = misc] (tst-syscall-list-nr.list)
36059 (tst-syscall-list-sys.list): Helper targets for new
36060 tst-syscall-list test.
36061 [$(subdir) = misc] (tst-syscall-list.out): Run test script
36062 tst-syscall-list.sh.
36063 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
36064 target. Do not include bits/syscall.d.
36065 [$(subdir) = misc] (generated): Do not update.
36066 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
36067 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
36068 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
36069 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
36070
5f3b183d
PP
360712017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36072
36073 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
36074 (tst-cxa_atexit, tst-on_exit): Likewise.
36075 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
36076 tst-cxa_atexit, and tst-on_exit.
36077 * stdlib/tst-atexit-common.c: New file.
36078 * stdlib/tst-atexit.c: New file.
36079 * stdlib/tst-at_quick_exit.c: New file.
36080 * stdlib/tst-cxa_atexit.c: New file.
36081 * stdlib/tst-on_exit.c: New file.
36082
2ef8d469
ST
360832017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36084
36085 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
36086 * mach/stack_chk_fail_local.c: New file.
36087 * hurd/stack_chk_fail_local.c: New file.
36088 * mach/Machrules ($(interface-library)-routines): Add
36089 stack_chk_fail_local.
99ee4d26
ST
36090 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
36091 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
36092 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
36093 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
36094 * hurd/Makefile (CFLAGS-hurdstartup.o,
36095 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 36096
7ab70c98
L
360972017-08-25 H.J. Lu <hongjiu.lu@intel.com>
36098
36099 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36100 (index_cpu_*, index_arch_*): Removed.
36101
39e7a5a6
SN
361022017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
36103
36104 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
36105 Use uint64_t instead of unsigned long.
36106
bba5c930
JM
361072017-08-25 Joseph Myers <joseph@codesourcery.com>
36108
a6ccdb08
JM
36109 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
36110 [__HAVE_DISTINCT_FLOAT128].
36111
23761119
JM
36112 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
36113 of <bits/math-finite.h>.
36114 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
36115 inclusion of <bits/math-finite.h>.
36116 * math/bits/math-finite.h (__REDIRTO_X): Do not define
36117 conditionally on [__MATH_DECLARING_LDOUBLE && defined
36118 __NO_LONG_DOUBLE_MATH].
36119 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36120 (__MATH_REDIRCALL_2): Likewise.
36121 (__MATH_REDIRCALL_INTERNAL): Likewise.
36122 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36123 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36124 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36125
bba5c930
JM
36126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36127 Remove file.
36128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36129 Likewise.
36130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36131 Likewise.
36132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36133 Likewise.
36134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36135 Likewise.
36136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36137 Likewise.
36138 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36139 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36140 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36141 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36143 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36144 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36145 w_sqrtf_compat-ppc32.
36146
3d7b66f6
GG
361472017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36148
36149 * math/math.h [defined __cplusplus] (issignaling): In the long
36150 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36151 is not defined. Call __issignaling, otherwise.
36152
ebd6f007
AZ
361532017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36154
36155 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36156 syscall definitions and replace __builtin_expect with __glibc_likely.
36157 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36158 syscall.
6b5c8607 36159 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
36160 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36161 definition.
36162 (PSEUDO_END): Likewise.
36163 [IS_IN (libpthread)] (CENABLE): Likewise.
36164 [IS_IN (libpthread)] (CDISABLE): Likewise.
36165 [IS_IN (libc)] (CENABLE): Likewise.
36166 [IS_IN (libc)] (CENABLE): Likewise.
36167 [IS_IN (librt)] (CDISABLE): Likewise.
36168 [IS_IN (librt)] (CDISABLE): Likewise.
36169 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36170 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36171 definition.
36172 (PSEUDO_END): Likewise.
36173 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36174 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36175 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36176 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36177 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36178 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36179 (CENABLE): Likewise.
36180 (CDISABLE): Likewise.
36181 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36182 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
36183 defintion.
36184 (PSEUDO_END): Likewise.
36185 [IS_IN (libpthread)] (CENABLE): Likewise.
36186 [IS_IN (libpthread)] (CDISABLE): Likewise.
36187 [IS_IN (libc)] (CENABLE): Likewise.
36188 [IS_IN (libc)] (CENABLE): Likewise.
36189 [IS_IN (librt)] (CDISABLE): Likewise.
36190 [IS_IN (librt)] (CDISABLE): Likewise.
36191 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36192 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
36193 definition.
36194 (PSEUDO_END): Likewise.
36195 [IS_IN (libpthread)] (CENABLE): Likewise.
36196 [IS_IN (libpthread)] (CDISABLE): Likewise.
36197 [IS_IN (libc)] (CENABLE): Likewise.
36198 [IS_IN (libc)] (CENABLE): Likewise.
36199 [IS_IN (librt)] (CDISABLE): Likewise.
36200 [IS_IN (librt)] (CDISABLE): Likewise.
36201 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36202 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
36203 definition.
36204 (PSEUDO_END): Likewise.
36205 [IS_IN (libpthread)] (CENABLE): Likewise.
36206 [IS_IN (libpthread)] (CDISABLE): Likewise.
36207 [IS_IN (libc)] (CENABLE): Likewise.
36208 [IS_IN (libc)] (CENABLE): Likewise.
36209 [IS_IN (librt)] (CDISABLE): Likewise.
36210 [IS_IN (librt)] (CDISABLE): Likewise.
36211 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36212 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36213 definition.
36214 (PSEUDO_END): Likewise.
36215 [IS_IN (libpthread)] (CENABLE): Likewise.
36216 [IS_IN (libpthread)] (CDISABLE): Likewise.
36217 [IS_IN (libc)] (CENABLE): Likewise.
36218 [IS_IN (libc)] (CENABLE): Likewise.
36219 [IS_IN (librt)] (CDISABLE): Likewise.
36220 [IS_IN (librt)] (CDISABLE): Likewise.
36221 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36222 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36223 definition.
36224 (PSEUDO_END): Likewise.
36225 [IS_IN (libpthread)] (CENABLE): Likewise.
36226 [IS_IN (libpthread)] (CDISABLE): Likewise.
36227 [IS_IN (libc)] (CENABLE): Likewise.
36228 [IS_IN (libc)] (CENABLE): Likewise.
36229 [IS_IN (librt)] (CDISABLE): Likewise.
36230 [IS_IN (librt)] (CDISABLE): Likewise.
36231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36232 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36233 definition.
36234 (PSEUDO_END): Likewise.
36235 [IS_IN (libpthread)] (CENABLE): Likewise.
36236 [IS_IN (libpthread)] (CDISABLE): Likewise.
36237 [IS_IN (libc)] (CENABLE): Likewise.
36238 [IS_IN (libc)] (CENABLE): Likewise.
36239 [IS_IN (librt)] (CDISABLE): Likewise.
36240 [IS_IN (librt)] (CDISABLE): Likewise.
36241 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36242 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36243 Remove definition.
36244 (PSEUDO_END): Likewise.
36245 [IS_IN (libpthread)] (CENABLE): Likewise.
36246 [IS_IN (libpthread)] (CDISABLE): Likewise.
36247 [IS_IN (libc)] (CENABLE): Likewise.
36248 [IS_IN (libc)] (CENABLE): Likewise.
36249 [IS_IN (librt)] (CDISABLE): Likewise.
36250 [IS_IN (librt)] (CDISABLE): Likewise.
36251 (SINGLE_THREAD_P): Likewise.
36252 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36253 definition.
36254 (PSEUDO_END): Likewise.
36255 [IS_IN (libpthread)] (CENABLE): Likewise.
36256 [IS_IN (libpthread)] (CDISABLE): Likewise.
36257 [IS_IN (libc)] (CENABLE): Likewise.
36258 [IS_IN (libc)] (CENABLE): Likewise.
36259 [IS_IN (librt)] (CDISABLE): Likewise.
36260 [IS_IN (librt)] (CDISABLE): Likewise.
36261 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36262 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36263 definition.
36264 (PSEUDO_END): Likewise.
36265 [IS_IN (libpthread)] (CENABLE): Likewise.
36266 [IS_IN (libpthread)] (CDISABLE): Likewise.
36267 [IS_IN (libc)] (CENABLE): Likewise.
36268 [IS_IN (libc)] (CENABLE): Likewise.
36269 [IS_IN (librt)] (CDISABLE): Likewise.
36270 [IS_IN (librt)] (CDISABLE): Likewise.
36271 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36272 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36273 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36274 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36276 definition.
36277 (PSEUDO_END): Likewise.
36278 [IS_IN (libpthread)] (CENABLE): Likewise.
36279 [IS_IN (libpthread)] (CDISABLE): Likewise.
36280 [IS_IN (libc)] (CENABLE): Likewise.
36281 [IS_IN (libc)] (CENABLE): Likewise.
36282 [IS_IN (librt)] (CDISABLE): Likewise.
36283 [IS_IN (librt)] (CDISABLE): Likewise.
36284 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36286 definition.
36287 (PSEUDO_END): Likewise.
36288 [IS_IN (libpthread)] (CENABLE): Likewise.
36289 [IS_IN (libpthread)] (CDISABLE): Likewise.
36290 [IS_IN (libc)] (CENABLE): Likewise.
36291 [IS_IN (libc)] (CENABLE): Likewise.
36292 [IS_IN (librt)] (CDISABLE): Likewise.
36293 [IS_IN (librt)] (CDISABLE): Likewise.
36294 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36295 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36296 definition.
36297 (PSEUDO_END): Likewise.
36298 [IS_IN (libpthread)] (CENABLE): Likewise.
36299 [IS_IN (libpthread)] (CDISABLE): Likewise.
36300 [IS_IN (libc)] (CENABLE): Likewise.
36301 [IS_IN (libc)] (CENABLE): Likewise.
36302 [IS_IN (librt)] (CDISABLE): Likewise.
36303 [IS_IN (librt)] (CDISABLE): Likewise.
36304 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36308 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36309 definition.
36310 (PSEUDO_END): Likewise.
36311 [IS_IN (libpthread)] (CENABLE): Likewise.
36312 [IS_IN (libpthread)] (CDISABLE): Likewise.
36313 [IS_IN (libc)] (CENABLE): Likewise.
36314 [IS_IN (libc)] (CENABLE): Likewise.
36315 [IS_IN (librt)] (CDISABLE): Likewise.
36316 [IS_IN (librt)] (CDISABLE): Likewise.
36317 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36318 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36319 definition.
36320 (PSEUDO_END): Likewise.
36321 [IS_IN (libpthread)] (CENABLE): Likewise.
36322 [IS_IN (libpthread)] (CDISABLE): Likewise.
36323 [IS_IN (libc)] (CENABLE): Likewise.
36324 [IS_IN (libc)] (CENABLE): Likewise.
36325 [IS_IN (librt)] (CDISABLE): Likewise.
36326 [IS_IN (librt)] (CDISABLE): Likewise.
36327 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36328
8aa48656
SN
363292017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36330
36331 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36332
fcaaca41
L
363332017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36334
36335 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36336
376b40a2
L
363372017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36338
36339 [BZ #21982]
36340 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36341 middle and outer with size_t instead of int. Repleace %d and
36342 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36343 "MAX (outer, nchars - 64)" to support unsigned outer and
36344 nchars. Also exit loop when outer == 0.
36345
2b0b9a1c
AZ
363462017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36347
36348 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36349 * include/signal.h (__sigsuspend_nocancel): Likewise.
36350 * include/time.h (__nanosleep_nocancel): Likewise.
36351 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36352 * login/utmp_file.c: Include non cancellable syscall header.
36353 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36354 prototype.
36355
b9eaca8f
L
363562017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36357
36358 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36359 .byte sequences with AVX512F instructions.
36360 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36361 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36362 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36363 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36364 Likewise.
36365 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36366 Likewise.
36367
5a706f64
SE
363682017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36369 Steve Ellcey <sellcey@cavium.com>
36370
36371 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36372 Use PTR_REG macro in cmp instruction.
36373
b513da7e
GG
363742017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36375
36376 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36377 Change the return type of the ifunc resolver to match the return
36378 type of the target function.
36379
78ca091c
AZ
363802017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36381
b70b6026
AZ
36382 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36383 (preadv64): Likewise.
36384 (pwrite64(: Likewise.
36385 (pwritev64): Likewise.
36386
78ca091c
AZ
36387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36388 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36389 (LOAD_ARGS_0): Likewise.
36390 (LOAD_ARGS_1): Likewise.
36391 (LOAD_ARGS_2): Likewise.
36392 (LOAD_ARGS_3): Likewise.
36393 (LOAD_ARGS_4): Likewise.
36394 (LOAD_ARGS_5): Likewise.
36395 (LOAD_ARGS_6): Likewise.
36396 (LOAD_REGS_0): Likewise.
36397 (LOAD_REGS_1): Likewise.
36398 (LOAD_REGS_2): Likewise.
36399 (LOAD_REGS_3): Likewise.
36400 (LOAD_REGS_4): Likewise.
36401 (LOAD_REGS_5): Likewise.
36402 (LOAD_REGS_6): Likewise.
36403 (ASM_ARGS_0): Likewise.
36404 (ASM_ARGS_1): Likewise.
36405 (ASM_ARGS_2): Likewise.
36406 (ASM_ARGS_3): Likewise.
36407 (ASM_ARGS_4): Likewise.
36408 (ASM_ARGS_5): Likewise.
36409 (ASM_ARGS_6): Likewise.
36410 (LOAD_ARGS_TYPES_1): Likewise.
36411 (LOAD_ARGS_TYPES_2): Likewise.
36412 (LOAD_ARGS_TYPES_3): Likewise.
36413 (LOAD_ARGS_TYPES_4): Likewise.
36414 (LOAD_ARGS_TYPES_5): Likewise.
36415 (LOAD_ARGS_TYPES_6): Likewise.
36416 (LOAD_REGS_TYPES_1): Likewise.
36417 (LOAD_REGS_TYPES_2): Likewise.
36418 (LOAD_REGS_TYPES_3): Likewise.
36419 (LOAD_REGS_TYPES_4): Likewise.
36420 (LOAD_REGS_TYPES_5): Likewise.
36421 (LOAD_REGS_TYPES_6): Likewise.
36422 (TYPEFY): New define.
36423 (ARGIFY): Likewise.
36424 (internal_syscall0): Likewise.
36425 (internal_syscall1): Likewise.
36426 (internal_syscall2): Likewise.
36427 (internal_syscall3): Likewise.
36428 (internal_syscall4): Likewise.
36429 (internal_syscall5): Likewise.
36430 (internal_syscall6): Likewise.
36431 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36432 (INTERNAL_SYSCALL_NCS): Remove define.
36433 (internal_syscall1): Add define.
36434
453a493d
GG
364352017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36436
36437 * math/w_remainder_compat.c: Remove duplicate inclusion of
36438 math-svid-compat.h.
36439 * math/w_remainderf_compat.c: Likewise.
36440 * math/w_remainderl_compat.c: Likewise.
36441
f2f048a5
GG
364422017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36443
36444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36445
d9bef9c0
JM
364462017-08-22 Joseph Myers <joseph@codesourcery.com>
36447
36448 [BZ #21684]
36449 * math/tgmath.h (__floating_type): Simplify definitions.
36450 (__real_integer_type): New macro.
36451 (__complex_integer_type): Likewise.
36452 (__expr_is_real): Likewise.
36453 (__tgmath_real_type_sub): Update comment to describe handling of
36454 complex types.
36455 (__tgmath_complex_type_sub): New macro.
36456 (__tgmath_complex_type): Likewise.
36457 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36458 (__TGMATH_CF128): Use __expr_is_real.
36459 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36460 __expr_is_real.
36461 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36462 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36463 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36464 integer types.
36465
08d6eb46
AZ
364662017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36467
988f991b
AZ
36468 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36469 macro.
36470 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36471 alias.
36472 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36473 Likewise.
36474
6f33fd04
AZ
36475 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36476 nanosleep_not_cancel with __nanosleep_nocancel.
36477 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36478 (__nanosleep_nocancel): New macro.
36479 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36480 function.
36481 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36482 macro.
36483 (__nanosleep_nocancel): New prototype.
36484
08d6eb46
AZ
36485 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36486 pause_not_cancel with __pause_nocancel.
36487 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36488 (__pause_nocancel): New macro.
36489 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36490 macro.
36491 (__pause_nocancel): New prototype.
36492 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36493
ee4e992e
MS
364942017-08-22 Martin Sebor <msebor@redhat.com>
36495
36496 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36497 to return a pointer to the same type as the target function.
36498
20962acb
L
364992017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36500
36501 [BZ #18822]
36502 [BZ #21986]
36503 * include/printf.h (__printf_fphex): Add attribute_hidden.
36504 (__guess_grouping): New prototype.
36505 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36506 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36507 libc_hidden_proto and libc_hidden_def.
36508 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36509 (__vstrfmon_l): Remove the third argument passed to
36510 __guess_grouping.
36511
a16e8bc0
GG
365122017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36513
36514 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36515 definition for issignaling that does not rely on __MATH_TG,
36516 since __MATH_TG uses __builtin_types_compatible_p, which is only
36517 available in C mode.
36518 (CFLAGS-test-math-issignaling.cc): New variable.
36519 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36520 * math/test-math-issignaling.cc: New test for C++ implementation
36521 of type-generic issignaling.
36522 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36523 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36524 options of test-math-issignaling on powerpc64le.
36525
8d2ec553
L
365262017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36527
36528 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36529 building libc.a.
36530 (hidden_proto): Likewise.
36531 (hidden_tls_proto): Likewise.
36532 (__hidden_proto): Likewise.
36533
a4d57b79
FW
365342017-08-22 Florian Weimer <fweimer@redhat.com>
36535
36536 math: Statically link tests of internal functionality.
36537 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36538 atest-exp2.
36539 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36540 (gmp-objs): Remove assignment.
36541 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36542
75dfe623
JM
365432017-08-22 Joseph Myers <joseph@codesourcery.com>
36544
80f91666
JM
36545 [BZ #21987]
36546 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36547 and copy to ...
36548 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36549 ... here.
36550 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36551 ... and here.
36552
75dfe623
JM
36553 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36554 variable definitions above inclusion of ../Rules.
36555
ea99fcd0
JM
365562017-08-21 Joseph Myers <joseph@codesourcery.com>
36557
36558 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36559 case calling __builtin_unreachable.
36560
19926de9
AZ
365612017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36562
a8410a5f
AZ
36563 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36564 __waitpid_nocancel.
36565 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36566 (__waitpid_nocancel): New macro.
36567 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36568 macro.
36569 (__waitpid_nocancel): Replace macro with a function.
36570 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36571 function.
36572
7369800c
AZ
36573 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36574 __fcntl_nocancel.
36575 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36576 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36577
19926de9
AZ
36578 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36579 __writev_nocancel_nostatus.
36580 (write_call_graph): Likewise.
36581 (write_bb_counts): Likewise.
36582 * resolv/herror.c (herror): Likewise.
36583 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36584 macro.
36585 (__writev_nocancel_nostatus): New macro.
36586 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36587 Remove macro.
36588 (__writev_nocancel_nostatus): New function.
36589
813378e9
JM
365902017-08-21 Joseph Myers <joseph@codesourcery.com>
36591
df1deda6
JM
36592 Revert:
36593 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36594
36595 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36596 building libc.a.
36597 (hidden_proto): Likewise.
36598 (hidden_tls_proto): Likewise.
36599 (__hidden_proto): Likewise.
36600
831bbd55
JM
36601 [BZ #21973]
36602 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36603 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36605 Likewise.
36606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36607 Likewise.
36608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36609 Likewise.
36610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36611 Likewise.
36612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36613 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36614 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36615 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36616 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36617 GLIBC_2.0 sqrtl symbol.
36618
813378e9
JM
36619 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36620 [__USE_MISC] (_LIB_VERSION): Likewise.
36621 [__USE_MISC] (struct exception): Likewise.
36622 [__USE_MISC] (matherr): Likewise.
36623 [__USE_MISC] (DOMAIN): Likewise.
36624 [__USE_MISC] (SING): Likewise.
36625 [__USE_MISC] (OVERFLOW): Likewise.
36626 [__USE_MISC] (UNDERFLOW): Likewise.
36627 [__USE_MISC] (TLOSS): Likewise.
36628 [__USE_MISC] (PLOSS): Likewise.
36629 [__USE_MISC] (HUGE): Likewise.
36630 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36631 * math/math-svid-compat.h: New file.
36632 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36633 and matherrl.
36634 * include/math.h [!_ISOMAC] (__matherr): Remove.
36635 * manual/arith.texi (FP Exceptions): Do not document matherr.
36636 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36637 (tests-internal): New variable.
36638 (install-lib): Do not add libieee.a.
36639 (non-lib.a): Likewise.
36640 (extra-objs): Do not add libieee.a and ieee-math.o.
36641 (CPPFLAGS-s_lib_version.c): Remove variable.
36642 ($(objpfx)libieee.a): Remove rule.
36643 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36644 * math/ieee-math.c: Remove.
36645 * math/libm-test-support.c (matherr): Remove.
36646 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36647 and license notices. Include <math-svid-compat.h> and
36648 <shlib-compat.h>.
36649 (matherr): Undefine as macro. Use compat_symbol_reference.
36650 (_LIB_VERSION): Likewise.
36651 * math/test-matherr-2.c: New file.
36652 * math/test-matherr-3.c: Likewise.
36653 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36654 declaration.
36655 (__kernel_standard_f): Likewise.
36656 (__kernel_standard_l): Likewise.
36657 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36658 <math_private.h>. Include <math-svid-compat.h>.
36659 (_LIB_VERSION): Undefine as macro.
36660 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36661 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36662 [LIBM_SVID_COMPAT], use compat_symbol.
36663 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36664 <math_private.h>. Include <math-svid-compat.h>.
36665 (matherr): Undefine as macro.
36666 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36667 compat_symbol.
36668 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36669 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36670 compat_symbol_reference.
36671 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36672 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36673 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36674 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36675 (MATHERR_D): Remove declaration.
36676 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36677 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36678 [LIBM_BUILD] (pmatherrf): Likewise.
36679 [LIBM_BUILD] (pmatherr): Likewise.
36680 [LIBM_BUILD] (pmatherrl): Likewise.
36681 (DOMAIN): Likewise.
36682 (SING): Likewise.
36683 (OVERFLOW): Likewise.
36684 (UNDERFLOW): Likewise.
36685 (TLOSS): Likewise.
36686 (PLOSS): Likewise.
36687 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36688 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36689 compat_symbol.
36690 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36691 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36692 compat_symbol.
36693 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36694 * math/w_acos_compat.c: Likewise.
36695 * math/w_acosf_compat.c: Likewise.
36696 * math/w_acosh_compat.c: Likewise.
36697 * math/w_acoshf_compat.c: Likewise.
36698 * math/w_acoshl_compat.c: Likewise.
36699 * math/w_acosl_compat.c: Likewise.
36700 * math/w_asin_compat.c: Likewise.
36701 * math/w_asinf_compat.c: Likewise.
36702 * math/w_asinl_compat.c: Likewise.
36703 * math/w_atan2_compat.c: Likewise.
36704 * math/w_atan2f_compat.c: Likewise.
36705 * math/w_atan2l_compat.c: Likewise.
36706 * math/w_atanh_compat.c: Likewise.
36707 * math/w_atanhf_compat.c: Likewise.
36708 * math/w_atanhl_compat.c: Likewise.
36709 * math/w_cosh_compat.c: Likewise.
36710 * math/w_coshf_compat.c: Likewise.
36711 * math/w_coshl_compat.c: Likewise.
36712 * math/w_exp10_compat.c: Likewise.
36713 * math/w_exp10f_compat.c: Likewise.
36714 * math/w_exp10l_compat.c: Likewise.
36715 * math/w_exp2_compat.c: Likewise.
36716 * math/w_exp2f_compat.c: Likewise.
36717 * math/w_exp2l_compat.c: Likewise.
36718 * math/w_fmod_compat.c: Likewise.
36719 * math/w_fmodf_compat.c: Likewise.
36720 * math/w_fmodl_compat.c: Likewise.
36721 * math/w_hypot_compat.c: Likewise.
36722 * math/w_hypotf_compat.c: Likewise.
36723 * math/w_hypotl_compat.c: Likewise.
36724 * math/w_j0_compat.c: Likewise.
36725 * math/w_j0f_compat.c: Likewise.
36726 * math/w_j0l_compat.c: Likewise.
36727 * math/w_j1_compat.c: Likewise.
36728 * math/w_j1f_compat.c: Likewise.
36729 * math/w_j1l_compat.c: Likewise.
36730 * math/w_jn_compat.c: Likewise.
36731 * math/w_jnf_compat.c: Likewise.
36732 * math/w_jnl_compat.c: Likewise.
36733 * math/w_lgamma_main.c: Likewise.
36734 * math/w_lgamma_r_compat.c: Likewise.
36735 * math/w_lgammaf_main.c: Likewise.
36736 * math/w_lgammaf_r_compat.c: Likewise.
36737 * math/w_lgammal_main.c: Likewise.
36738 * math/w_lgammal_r_compat.c: Likewise.
36739 * math/w_log10_compat.c: Likewise.
36740 * math/w_log10f_compat.c: Likewise.
36741 * math/w_log10l_compat.c: Likewise.
36742 * math/w_log2_compat.c: Likewise.
36743 * math/w_log2f_compat.c: Likewise.
36744 * math/w_log2l_compat.c: Likewise.
36745 * math/w_log_compat.c: Likewise.
36746 * math/w_logf_compat.c: Likewise.
36747 * math/w_logl_compat.c: Likewise.
36748 * math/w_pow_compat.c: Likewise.
36749 * math/w_powf_compat.c: Likewise.
36750 * math/w_powl_compat.c: Likewise.
36751 * math/w_remainder_compat.c: Likewise.
36752 * math/w_remainderf_compat.c: Likewise.
36753 * math/w_remainderl_compat.c: Likewise.
36754 * math/w_scalb_compat.c: Likewise.
36755 * math/w_scalbf_compat.c: Likewise.
36756 * math/w_scalbl_compat.c: Likewise.
36757 * math/w_sinh_compat.c: Likewise.
36758 * math/w_sinhf_compat.c: Likewise.
36759 * math/w_sinhl_compat.c: Likewise.
36760 * math/w_sqrt_compat.c: Likewise.
36761 * math/w_sqrtf_compat.c: Likewise.
36762 * math/w_sqrtl_compat.c: Likewise.
36763 * math/w_tgamma_compat.c: Likewise.
36764 * math/w_tgammaf_compat.c: Likewise.
36765 * math/w_tgammal_compat.c: Likewise.
36766 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36767 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36768 * sysdeps/ieee754/k_standard.c: Likewise.
36769 * sysdeps/ieee754/k_standardf.c: Likewise.
36770 * sysdeps/ieee754/k_standardl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36773 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36774 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36775 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36776 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36777 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36778 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36779 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36781 Likewise.
36782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36783 Likewise.
36784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36786 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36787 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36788
4504783c
FW
367892017-08-21 Florian Weimer <fweimer@redhat.com>
36790
36791 [BZ #21864]
36792 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36793 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36794 Move before inclusion of ../Rules.
36795
b5889d25
FW
367962017-08-21 Florian Weimer <fweimer@redhat.com>
36797
36798 [BZ #21972]
36799 * assert/assert.h (assert): Use static_cast (bool) for C++.
36800 Use the ternary operator in the warning branch for GNU C.
36801 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36802 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36803 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36804 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36805 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36806
41e673c1
L
368072017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36808
36809 [BZ #18822]
36810 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36811 (__syscall_clock_gettime): Add attribute_hidden.
36812 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36813 (__start_context): Likewise.
36814
568ff429
L
368152017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36816
36817 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36818 building libc.a.
36819 (hidden_proto): Likewise.
36820 (hidden_tls_proto): Likewise.
36821 (__hidden_proto): Likewise.
36822
7c41b4a1
L
368232017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36824
36825 * include/libc-symbols.h (attribute_hidden): Enable hidden
36826 visibility in libc.a compiled with PIE.
36827
483d7068
L
368282017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36829
36830 [BZ #18822]
36831 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36832 Add attribute_hidden.
36833
368342017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36835
36836 [BZ #21864]
36837 * Makerules (all-nonlib): Add $(others-extras).
36838 * catgets/Makefile (others-extras): New.
36839 * elf/Makefile (others-extras): Likewise.
36840 * nss/Makefile (others-extras): Likewise.
36841
54e4b8f2
L
368422017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36843
36844 [BZ #18822]
36845 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36846 * elf/dl-open.c: Include <libc-internal.h>.
36847 (__libc_multiple_libcs): Removed.
36848 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36849 <hp-timing.h>.
36850 * include/libc-internal.h (__libc_multiple_libcs): New.
36851 * misc/sbrk.c: Include <libc-internal.h>.
36852 (__libc_multiple_libcs): Removed.
36853
1dbbb1ec
L
368542017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36855
36856 [BZ #18822]
36857 * grp/initgroups.c (__nss_group_database): Removed.
36858 (__nss_initgroups_database): Likewise.
36859 * nscd/gai.c (__nss_hosts_database): Likewise.
36860 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36861 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36862 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36863 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36864 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36865 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36866 attribute_hidden.
36867 * nss/nsswitch.c (__nss_database_custom): Define only if
36868 USE_NSCD is defined.
36869 (__nss_configure_lookup): Use __nss_database_custom only if
36870 USE_NSCD is defined.
36871 * nss/nsswitch.h (__nss_database_custom): Declare only if
36872 USE_NSCD is defined. Add attribute_hidden.
36873 (__nss_setent): Add attribute_hidden.
36874 (__nss_endent): Likewise.
36875 (__nss_getent_r): Likewise.
36876 (__nss_getent): Likewise.
36877 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36878
2585d7b8
L
368792017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36880
36881 [BZ #18822]
36882 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36883 libc_hidden_proto and libc_hidden_def.
36884
c8dfa99c
L
368852017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36886
36887 [BZ #18822]
36888 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36889 Add libc_hidden_proto.
36890 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36891 Add libc_hidden_def.
36892
7ed87317
L
368932017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36894
36895 [BZ #21974]
36896 * gmon/Makefile (routines): Remove bb_init_func and
36897 bb_exit_func.
36898 (elide-routines.os): Removed.
9476b904
L
36899 * gmon/bb_exit_func.c: Likewise.
36900 * gmon/bb_init_func.c: Likewise.
7ed87317
L
36901 * include/sys/gmon.h (__bb): Likewise.
36902 (__bb_init_func): Likewise.
36903 (__bb_exit_func): Likewise.
91695eb1 36904 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 36905
94e6ba15
L
369062017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36907
36908 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36909 * include/setjmp.h (____longjmp_chk): Here. Add
36910 attribute_hidden.
36911
7550717e
L
369122017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36913
36914 [BZ #18822]
36915 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36916 attribute_hidden.
36917 (__strspn_sse2): Likewise.
36918
0bb2fabc
AZ
369192017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36920
c181840c
AZ
36921 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36922 (close_not_cancel_no_status): Likewise.
36923 (__close_nocancel): New macro.
36924 (__close_nocancel_nostatus): Likewise.
36925 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36926 macro.
36927 (close_not_cancel): Likewise.
36928 (close_not_cancel_no_status): Likewise.
36929 (__close_nocancel): New prototype.
36930 (__close_nocancel_nostatus): New function.
36931 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36932 * catgets/open_catalog.c (__open_catalog): Replace
36933 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36934 * gmon/gmon.c (write_gmon): Likewise.
36935 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36936 * intl/loadmsgcat.c (close): Likewise.
36937 * io/ftw.c (open_dir_stream): Likewise.
36938 (ftw_startup): Likewise.
36939 * libio/fileops.c (_IO_file_open): Likewise.
36940 (_IO_file_close_mmap): Likewise.
36941 (_IO_file_close): Likewise.
36942 * libio/iopopen.c (_IO_dup2): Likewise.
36943 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36944 * locale/loadlocale.c (_nl_load_locale): Likewise.
36945 * login/utmp_file.c (pututline_file): Likewise.
36946 (endutent_file): Likewise.
36947 * misc/daemon.c (daemon): Likewise.
36948 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36949 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36950 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36951 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36952 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36953 * nscd/nscd_helper.c (open_socket): Likewise.
36954 (__nscd_open_socket): Likewise.
36955 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36956 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36957 (__nscd_innetgr): Likewise.
36958 * nss/nss_db/db-open.c (internal_setent): Likewise.
36959 * resolv/res-close.c (__res_iclose): Likewise.
36960 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36961 * sysdeps/posix/closedir.c (__closedir): Likewise.
36962 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36963 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36964 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36965 (opendir_tail): Likewise.
36966 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36967 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36968 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36969 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36970 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36971 (gethostid): Likewise.
36972 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36974 Likewise.
36975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36976 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36977 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36978 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36979 Likewise.
36980 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36981 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36982 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36983 Likewise.
36984 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36985 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36986 Likewise.
36987 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36988 Likewise.
36989 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36990 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36991 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36992 __close_nocancel.
36993
0bb2fabc
AZ
36994 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36995 (openat_not_cancel_3): Likewise.
36996 (openat64_not_cancel_3): Likewise).
36997 (openat_not_cancel_3): Likewise).
36998 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36999 macro.
37000 (openat_not_cancel_3): Likewise.
37001 (openat64_not_cancel): Likewise.
37002 (openat64_not_cancel_3): Likewise.
37003 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
37004 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
37005 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
37006 __open{64}_nocancel.
37007 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37008 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37009 * sysdeps/posix/opendir.c (__opendirat): Likewise.
37010
65a086db
L
370112017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37012
37013 [BZ #18822]
37014 * include/argz.h (__argz_create_sep): New function prototype.
37015 (__argz_append): Likewise.
37016 (__argz_add): Likewise.
37017 (__argz_add_sep): Likewise.
37018 (__argz_delete): Likewise.
37019 (__argz_insert): Likewise.
37020 (__argz_replace): Likewise.
37021 * string/argz.h (__argz_create_sep): Removed.
37022 (__argz_append): Likewise.
37023 (__argz_add): Likewise.
37024 (__argz_add_sep): Likewise.
37025 (__argz_delete): Likewise.
37026 (__argz_insert): Likewise.
37027 (__argz_replace): Likewise.
37028
62753d2c
L
370292017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37030
37031 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
37032 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
37033 (GNU_PROPERTY_STACK_SIZE): Likewie.
37034 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
37035 (GNU_PROPERTY_LOPROC): Likewise.
37036 (GNU_PROPERTY_HIPROC): Likewise.
37037 (GNU_PROPERTY_LOUSER): Likewise.
37038 (GNU_PROPERTY_HIUSER): Likewise.
37039 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
37040 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
37041 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
37042 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
37043 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
37044 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
37045 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
37046 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
37047 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
37048 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
37049 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
37050 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
37051 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
37052 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
37053 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
37054 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
37055 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
37056 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
37057 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
37058 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
37059 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
37060 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
37061 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
37062
6913ad65
GG
370632017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37064
37065 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
37066 in C++ mode.
37067
47a67213
GG
370682017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37069
37070 [BZ #21930]
37071 * math/math.h (isinf): Check if in C or C++ mode before using
37072 __builtin_types_compatible_p, since this is a C mode feature.
37073
a748eb31
AZ
370742017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37075
c647fb88
AZ
37076 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
37077 (__write_nocancel): New macro.
37078 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
37079 Rewrite as a function prototype.
37080 (write_not_cancel): Remove macro.
37081 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
37082 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
37083 (write_gmon): Likewise.
37084 * libio/fileops.c (_IO_new_file_write): Likewise.
37085 * login/utmp_file.c (pututline_file): Likewise.
37086 (updwtmp_file): Likewise.
37087 * stdio-common/psiginfo.c (psiginfo): Likewise.
37088 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37089 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37090 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37091 Likewise.
37092 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37093 Likewise.
37094
a748eb31
AZ
37095 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
37096 (__read_nocancel): New macro.
37097 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37098 __read_nocancel.
37099 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
37100 macro.
37101 (__read_nocancel): New prototype.
37102 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
37103 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
37104 with __read_nocancel.
37105 * intl/loadmsgcat.c (read): Likewise.
37106 * libio/fileops.c (_IO_file_read): Likewise.
37107 * locale/loadlocale.c (_nl_load_locale): Likewise.
37108 * login/utmp_file.c (getutent_r_file): Likewise.
37109 (internal_getut_r): Likewise.
37110 (getutline_r_file): Likewise.
37111 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37112 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37113 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37114 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37115 Likewise.
37116 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
37117 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37118 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37119 Likewise.
37120 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37121 Likewise.
37122 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37123 Likewise.
37124 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37125 Likewise.
37126 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37127
098b9dd4
L
371282017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37129
37130 [BZ #21966]
37131 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37132 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37133 usable.
37134
a3fe6a20
DD
371352017-08-17 DJ Delorie <dj@redhat.com>
37136
37137 * bug17079.c: Update to new test harness.
37138 * test-digits-dots.c: Likewise.
37139 * test-netdb.c: Likewise.
37140 * tst-field.c: Likewise.
37141 * tst-nss-getpwent.c: Likewise.
37142 * tst-nss-static.c: Likewise.
37143 * tst-nss-test1.c: Likewise.
37144 * tst-nss-test2.c: Likewise.
37145 * tst-nss-test3.c: Likewise.
37146 * tst-nss-test4.c: Likewise.
37147 * tst-nss-test5.c: Likewise.
37148
c2284574
AZ
371492017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37150
37151 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37152 (open_not_cancel_2): Likewise.
37153 (open_nocancel): New macro.
37154 (open64_nocancel): Likewise.
37155 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37156 (open_not_cancel_2): Likewise.
37157 (__open_nocancel): New prototype.
37158 (__open64_nocancel): Likewise.
37159 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37160 __open_nocancel.
37161 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37162 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37163 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37164 with __open_nocancel.
37165 * csu/check_fds.c (check_one_fd): Likewise.
37166 * gmon/gmon.c (write_gmon): Likewise.
37167 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37168 * intl/loadmsgcat.c (open): Likewise.
37169 * libio/fileops.c (_IO_file_open): Likewise.
37170 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37171 * locale/loadlocale.c (_nl_load_locale): Likewise.
37172 * login/utmp_file.c (setutent_file): Likewise.
37173 * misc/daemon.c (daemon): Likewise.
37174 * nss/nss_db/db-open.c (internal_setent): Likewise.
37175 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37176 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37177 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37178 (__opendir): Likewise.
37179 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37180 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37181 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37182 (gethostid): Likewise.
37183 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37185 Likewise.
37186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37187 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37188 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37189 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37190 Likewise.
37191 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37192 Likewise.
37193 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37194 Likewise.
37195 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37196 Likewise.
37197 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37198 Likewise.
37199 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37200 Likewise.
37201 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37202 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37203
d4505b89
WD
372042017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37205
37206 * benchtests/bench-skeleton.c (main): Add support for
37207 latency benchmarking.
37208 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37209
34d6a3cb
L
372102017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37211
37212 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37213 the startup object.
37214
038d1caf
FW
372152017-08-17 Florian Weimer <fweimer@redhat.com>
37216
37217 * include/sys/socket.h (__opensock): Remove internal_function.
37218 * socket/opensock.c (__opensock): Likewise.
37219 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37220
67f0aff0
JM
372212017-08-16 Joseph Myers <joseph@codesourcery.com>
37222
37223 [BZ #21944]
37224 * signal/bits/types/__sigval_t.h: New file.
37225 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37226 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37227 and define sigval_t using __sigval_t.
37228 * include/bits/types/__sigval_t.h: New file.
37229 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37230 instead of <bits/types/__sigval_t.h>.
37231 (struct sigevent): Use __sigval_t instead of sigval_t.
37232 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37233 instead of <bits/types/__sigval_t.h>.
37234 (siginfo_t): Use __sigval_t instead of sigval_t.
37235 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37236 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37237 (struct sigevent): Use __sigval_t instead of sigval_t.
37238 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37239 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37240 (siginfo_t): Use __sigval_t instead of sigval_t.
37241 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37242
87e7bf4d
L
372432017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37244
37245 * NEWS: Remove "[Add new features here]" for 2.27.
37246
5047057f
JM
372472017-08-16 Joseph Myers <joseph@codesourcery.com>
37248
37249 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37250 libc.so.
37251
20c7b195
L
372522017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37253
37254 * NEWS: Mention x86-64 FMA optimization.
37255
24a2e658
L
372562017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37257
37258 [BZ #21912]
37259 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37260 Add e_expf-fma.
37261 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37262 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37263 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37264
eedca977
AS
372652017-08-16 Andreas Schwab <schwab@suse.de>
37266
403143e1
FW
37267 [BZ #16750]
37268 CVE-2009-5064
eedca977
AS
37269 * elf/ldd.bash.in: Never run file directly.
37270
f59f7adb
L
372712017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37272
37273 [BZ #21955]
37274 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37275 (L(SP_INF_0)): Likewise.
37276
6b11a6ad
FW
372772017-08-15 Florian Weimer <fweimer@redhat.com>
37278
37279 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37280 run-built-tests.
37281
bbf5c438
FW
372822017-08-15 Florian Weimer <fweimer@redhat.com>
37283
37284 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37285 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37286 BROKEN_THREAD_SIGNALS code.
37287 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37288 request_list): Remove caller_pid member used for
37289 BROKEN_THREAD_SIGNALS.
37290 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37291 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37292 Remove BROKEN_THREAD_SIGNALS support.
37293 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37294 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37295
6014c65d
FW
372962017-08-15 Florian Weimer <fweimer@redhat.com>
37297
37298 * gmon/Makefile (tests): Add tst-gmon.
37299 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37300 Set.
37301 (tests-special): Add tst-gmon-prof.out.
37302 (tst-gmon.out): Depend on clean-tst-gmon-data.
37303 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37304 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37305 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37306 startup object.
37307 * aclocal.m4 (GPROF): Set and substitute.
37308 * config.amke.in (GPROF): Set.
37309 * configure: Regenerate.
37310
ee72219a
GR
373112017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37312
37313 * elf/elf.h A (NT_PPC_TAR): New macro.
37314 (NT_PPC_PPR): Likewise.
37315 (NT_PPC_DSCR): Likewise.
37316 (NT_PPC_EBB): Likewise.
37317 (NT_PPC_PMU): Likewise.
37318 (NT_PPC_TM_CGPR): Likewise.
37319 (NT_PPC_TM_CFPR): Likewise.
37320 (NT_PPC_TM_CVMX): Likewise.
37321 (NT_PPC_TM_CVSX): Likewise.
37322 (NT_PPC_TM_SPR): Likewise.
37323 (NT_PPC_TM_CTAR): Likewise.
37324 (NT_PPC_TM_CPPR): Likewise.
37325 (NT_PPC_TM_CDSCR): Likewise.
37326
4ebf934e
FW
373272017-08-15 Florian Weimer <fweimer@redhat.com>
37328
37329 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37330 regparm (2) instead of internal_function.
37331 (_MCOUNT_DECL): Adjust.
37332
e9f57484
SL
373332017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37334
37335 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37336 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37337
88ff4d55
JM
373382017-08-14 Joseph Myers <joseph@codesourcery.com>
37339
37340 * conform/data/sys/wait.h-data (si_value): Do not expect for
37341 XPG42.
37342
c88ffc23
FW
373432017-08-14 Florian Weimer <fweimer@redhat.com>
37344
37345 [BZ #21962]
37346 NSS: Create stubs for accidentally exported lookup functions.
37347 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37348 Remove declaration.
37349 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37350 (ether_hostton): Call __nss_ethers_lookup2 instead.
37351 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37352 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37353 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37354 (setup): Call __nss_netgroup_lookup2 instead.
37355 * nss/Makefile (routines): Add compat-lookup.
37356 * nss/Versions (GLIBC_2.27): Add symbol version.
37357 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37358 (DB_COMPAT_FCT): Remove.
37359 * nss/compat-lookup.c: New file.
37360 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37361 from databases.def.
37362 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37363 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37364 (netname2user): Call __nss_publickey_lookup2 instead.
37365 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37366 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37367 instead.
37368
35a29136 373692017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
37370 Sergei Trofimovich <slyfox@inbox.ru>
37371
37372 [BZ #21908]
37373 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37374 Rename to MMAP2_PAGE_UNIT.
37375 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37376 __OFF_T_MATCHES_OFF64_T is not defined.
37377 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37378 uint64_t.
37379 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37380 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37381
fbdc1e3e
FW
373822017-08-14 Florian Weimer <fweimer@redhat.com>
37383
37384 i386: Do not set internal_function.
37385 * config.h.in (USE_REGPARMS, internal_function): Remove.
37386 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37387 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37388
b3f85fd2
FW
373892017-08-14 Florian Weimer <fweimer@redhat.com>
37390
37391 * elf/dl-init.c (_dl_init): Remove internal_function.
37392 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37393 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37394
630bf491
FW
373952017-08-14 Florian Weimer <fweimer@redhat.com>
37396
37397 * elf/rtld.c (_dl_start): Remove internal_function.
37398 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37399 _dl_start.
37400
9fa7449b
FW
374012017-08-14 Florian Weimer <fweimer@redhat.com>
37402
37403 * elf/dl-fini.c (_dl_fini): Remove internal_function
37404 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37405
73322d5f
L
374062017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37407
d863cd71 37408 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
37409 (bit_cpu_SHSTK): Likewise.
37410 (index_cpu_IBT): Likewise.
37411 (index_cpu_SHSTK): Likewise.
37412 (reg_IBT): Likewise.
37413 (reg_SHSTK): Likewise.
37414 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37415 Handle index_cpu_IBT and index_cpu_SHSTK.
37416
dbc303ef
MF
374172017-08-14 Mike FABIAN <mfabian@redhat.com>
37418
37419 [BZ #19982]
37420 * po/fr.po: Fix spelling mistake.
37421
3012cfb0
FW
374222017-08-13 Florian Weimer <fweimer@redhat.com>
37423
37424 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37425 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37426 (_dl_catch_error, _dl_receive_error): Likewise.
37427 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37428 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37429 (_dl_deallocate_tls): Likewise.
37430 * include/dlfcn.h (_dl_addr): Likewise.
37431 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37432 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37433 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37434 Likewise.
37435
52bcdf26
FW
374362017-08-13 Florian Weimer <fweimer@redhat.com>
37437
37438 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37439 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37440 internal_function.
37441 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37442
e1d2ae8d
FW
374432017-08-13 Florian Weimer <fweimer@redhat.com>
37444
37445 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37446 internal_function.
37447 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37448 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37449 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37450 internal_function from _dl_make_stack_executable_hook member.
37451 (_dl_make_stack_executable): Remove internal_function.
37452 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37453 Likewise.
37454 * sysdeps/unix/sysv/linux/dl-execstack.c
37455 (_dl_make_stack_executable): Likewise.
37456
c4ce0382
FW
374572017-08-13 Florian Weimer <fweimer@redhat.com>
37458
37459 * sysdeps/unix/sysv/linux/netlinkaccess.h
37460 (__netlink_assert_response): Remove internal_function.
37461 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37462 (__netlink_assert_response): Likewise.
37463
c4d767f7
FW
374642017-08-13 Florian Weimer <fweimer@redhat.com>
37465
37466 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37467 internal_function.
37468 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37469
b2297409
FW
374702017-08-13 Florian Weimer <fweimer@redhat.com>
37471
37472 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37473 internal_function.
37474 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37475 * inet/netgroup.h (__internal_setnetgrent)
37476 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37477 * inet/getnetgrent_r.c (__internal_setnetgrent)
37478 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37479 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37480 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37481 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37482 * nss/nsswitch.h (db_lookup_function): Likewise.
37483
1b0bfc69
FW
374842017-08-13 Florian Weimer <fweimer@redhat.com>
37485
37486 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37487 Remove internal_function.
37488 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37489 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37490 message argument on the stack.
37491 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37492 Likeweise.
37493
a6bd8722
MF
374942017-08-12 Mike FABIAN <mfabian@redhat.com>
37495
37496 Adapt test case data to the changes in the thousands
37497 separators.
37498
37499 [BZ #20756]
37500 * localedata/tst-langinfo.sh: Adapt test case data.
37501 * stdlib/tst-strfmon_l.c: Likewise.
37502 * stdlib/tst-strtod4.c: Likewise.
37503 * stdlib/tst-strtod5i.c: Likewise.
37504
8b2c63e4
FW
375052017-08-11 Florian Weimer <fweimer@redhat.com>
37506
37507 [BZ #21242]
37508 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37509 Suppress pedantic warning resulting from statement expression.
37510 (__ASSERT_FUNCTION): Add missing __extension__.
37511
61c98291
SP
375122017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37513
86c6519e
SP
37514 * benchtests/bench-memmove-large.c: Print output in JSON
37515 format.
37516 * benchtests/bench-memmove.c: Likewise.
37517
61c98291
SP
37518 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37519 * benchtests/bench-memchr.c (do_one_test): Likewise.
37520 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37521 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37522 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37523 * benchtests/bench-memmove.c (do_one_test): Likewise.
37524 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37525 * benchtests/bench-memset.c (do_one_test): Likewise.
37526 * benchtests/bench-string.h (test_init): Remove memsets.
37527
925733a9
RJ
375282017-08-10 Rical Jasan <ricaljasan@pacific.net>
37529
37530 * manual/lang.texi
37531 (Computing the Width of an Integer Data Type): Rename section to
37532 "Width of an Integer Type". Remove inaccurate statement regarding
37533 lack of C language facilities for determining width of integer
37534 types, and reorder content to improve flow and context of
37535 discussion.
37536
4fcdfbfc
RJ
375372017-08-10 Rical Jasan <ricaljasan@pacific.net>
37538
37539 * lang.texi (va_copy): Change standard from ISO to C99.
37540 (__va_copy): Add standard and header annotation.
37541 Update description for clarity of origins and current use.
37542
4d98ace9
GG
375432017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37544
37545 [BZ #21941]
37546 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37547 xssqrtqp requires operands to be in Vector Registers
37548 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37549 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37550 (__ieee754_sqrtf128): Likewise.
37551
92236903
WD
375522017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37553
37554 * sysdeps/aarch64/memcmp.S (memcmp):
37555 Rewrite of optimized memcmp.
37556
2449ae7b
FW
375572017-08-10 Florian Weimer <fweimer@redhat.com>
37558
37559 Introduce ld.so exceptions.
37560 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37561 (_dl_exception_create, _dl_exception_create_format)
37562 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37563 (_dl_catch_exception): Declare.
37564 (_dl_catch_error): Update comment.
37565 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37566 errstring, malloced members with exception member.
37567 (_dl_out_of_memory): Remove.
37568 (fatal_error): New function, extracted from _dl_signal_error.
37569 (_dl_signal_exception, _dl_signal_cexception): New functions.
37570 (_dl_signal_error): Call _dl_exception_create to allocate an
37571 exception object.
37572 (_dl_catch_exception): New function, based on _dl_catch_error.
37573 (_dl_catch_error): Implement using _dl_catch_exception.
37574 * elf/dl-exception.c: New file.
37575 * elf/Makefile (dl-routines): Add dl-exception.
37576 (elide-routines.os): Likewise.
37577 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37578 _dl_exception_create_format, _dl_exception_free.
37579 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37580 _dl_signal_exception.
37581 * elf/dl-lookup.c (make_string): Remove.
37582 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37583 _dl_signal_cexception, _dl_exception_free.
37584 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37585 _dl_signal_exception.
37586 * elf/dl-sym.c (do_sym): Likewise.
37587 * elf/dl-version.c (make_string): Remove.
37588 (match_symbol): Use _dl_exception_create_format,
37589 _dl_signal_cexception, _dl_exception_free.
37590 (_dl_check_map_versions): Likewise.
37591 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37592 _dl_catch_exception.
37593 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37594 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37595 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37596 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37597 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37598 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37599 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37600 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37601 Likewise.
37602 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37604 (ld.so): Likewise.
37605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37606 (ld.so): Likewise.
37607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37608 Likewise.
37609 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37610 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37611 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37612 Likewise.
37613 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37614 Likewise.
37615 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37616
f87cc2bf
FW
376172017-08-10 Florian Weimer <fweimer@redhat.com>
37618
37619 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37620 attribute_hidden, internal_function.
37621 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37622 internal_function.
37623
eac43cbb
FW
376242017-08-10 Florian Weimer <fweimer@redhat.com>
37625
37626 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37627 function which calls __builtin_unreachable.
37628
bd80111e
MF
376292017-08-10 Mike FABIAN <mfabian@redhat.com>
37630
37631 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37632 Indian monetary formatting
37633 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37634 test cases.
37635
60e2846e
DL
376362017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37637
68dc02d1
DL
37638 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37639 Fix typo in comment.
37640
60e2846e
DL
37641 [BZ #21928]
37642 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37643 PTRACE_SEIZE_DEVEL): Remove.
37644 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37645 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37646 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37647 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37648 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37649
3d452dab
JM
376502017-08-09 Joseph Myers <joseph@codesourcery.com>
37651
24d9f53a
JM
37652 * posix/bits/types.h (__qaddr_t): Remove.
37653
3d452dab
JM
37654 [BZ #21457]
37655 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37656 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37657 __glibc_reserved1.
37658 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37659 (ucontext_t): Use __ctx with uc_flags.
37660 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37661 (__ctxt): Likewise.
37662 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37663 __glibc_reserved1.
37664 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37665 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37666 __glibc_reserved1.
37667 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37668 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37669 __glibc_reserved1.
37670 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37671 macro.
37672 (ucontext_t): Use __ctx with uc_flags.
37673 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37674 (ucontext_t): Use __ctx with uc_flags.
37675 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37676 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37677 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37678 (ucontext_t): Use __ctx with uc_flags.
37679 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37680 undefine further down.
37681 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37682 __glibc_reserved1.
37683 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37684 undefine further down.
37685 (ucontext_t): Use __ctx with uc_flags.
37686 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37687 undefine further down.
37688 (ucontext_t): Use __ctx with uc_flags.
37689 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37690 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37691 Rename uc_pad to __glibc_reserved1.
37692 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37693 undefine further down.
37694 (ucontext_t): Use __ctx with uc_flags.
37695 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37696 further down.
37697 (ucontext_t): Use __ctx with uc_flags.
37698 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37699 __ctx with uc_flags.
37700 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37701 (ucontext_t): Use __ctx with uc_flags.
37702 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37703 __ctx with uc_flags.
37704
30161498
FW
377052017-08-09 Florian Weimer <fweimer@redhat.com>
37706
37707 [BZ #21932]
37708 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37709 before early return.
37710
5797b410
AS
377112017-08-09 Andreas Schwab <schwab@suse.de>
37712
139237a4 37713 [BZ #21041]
5797b410
AS
37714 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37715 renamed alias.
37716
139237a4 37717 [BZ #21041]
40c06a3d
AS
37718 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37719 tst-compat-forwarder.
37720 (modules-names): Add tst-compat-forwarder-mod.
37721 ($(objpfx)tst-compat-forwarder): Depend on
37722 $(objpfx)tst-compat-forwarder-mod.so.
37723 * nptl/tst-compat-forwarder.c: New file.
37724 * nptl/tst-compat-forwarder-mod.c: New file.
37725
36ada5f6
SP
377262017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37727
0e02b510
SP
37728 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37729 comments.
37730
36ada5f6
SP
37731 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37732 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37733 memcpy_falkor.
37734 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37735 Bump.
37736 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37737 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37738 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37739 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37740 Add falkor.
37741 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37742 New macro.
37743
9995c839
AZ
377442017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37745
37746 [BZ #759]
37747 * manual/setjmp.texi (getcontex): Document uc_stack value
37748 compatibility differences.
37749
f17a4233
JM
377502017-08-08 Joseph Myers <joseph@codesourcery.com>
37751
37752 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37753 (old_malloc_hook): Likewise.
37754 (old_memalign_hook): Likewise.
37755 (old_realloc_hook): Likewise.
37756 (struct hdr): Likewise.
37757 (flood): Likewise.
37758 (freehook): Likewise.
37759 (mallochook): Likewise.
37760 (memalignhook): Likewise.
37761 (reallochook): Likewise.
37762 (mprobe): Likewise.
37763 * malloc/mtrace.c (mallwatch): Likewise.
37764 (tr_old_free_hook): Likewise.
37765 (tr_old_malloc_hook): Likewise.
37766 (tr_old_realloc_hook): Likewise.
37767 (tr_old_memalign_hook): Likewise.
37768 (tr_where): Likewise.
37769 (lock_and_info): Likewise.
37770 (tr_freehook): Likewise.
37771 (tr_mallochook): Likewise.
37772 (tr_reallochook): Likewise.
37773 (tr_memalignhook): Likewise.
37774 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37775 * misc/mmap.c (__mmap): Likewise.
37776 * misc/mmap64.c (__mmap64): Likewise.
37777 * misc/mprotect.c (__mprotect): Likewise.
37778 * misc/msync.c (msync): Likewise.
37779 * misc/munmap.c (__munmap): Likewise.
37780 * posix/posix_madvise.c (posix_madvise): Likewise.
37781 * socket/send.c (__send): Likewise.
37782 * socket/sendto.c (__sendto): Likewise.
37783 * socket/setsockopt.c (__setsockopt): Likewise.
37784 * string/memcmp.c (__ptr_t): Remove macro.
37785 (MEMCMP): Use void * instead of ptr_t.
37786 * string/memrchr.c (__ptr_t): Remove macro.
37787 (__memrchr): Use void * instead of ptr_t.
37788 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37789 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37790 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37791 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37792 * sysdeps/mach/msync.c (msync): Likewise.
37793 * sysdeps/mach/munmap.c (__munmap): Likewise.
37794 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37795 Likewise.
37796 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37797 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37798 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37799 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37800 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37801 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37802 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37803 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37804 Likewise.
37805 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37806 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37807 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37808 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37809 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37810 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37811 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37812 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37813 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37814 Likewise.
37815 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37816 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37817 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37818 (MEMCMP): Use void * instead of ptr_t.
37819 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37820 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37821
0df595b2
FW
378222017-08-08 Florian Weimer <fweimer@redhat.com>
37823
37824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37825 return statement.
37826
086df229
L
378272017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37828
37829 [BZ #21913]
37830 * csu/libc-tls.c: Include <startup.h> first.
37831 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37832 * elf/dl-tunables.c: Include <startup.h> first.
37833 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37834 * sysdeps/generic/startup.h: New file.
37835 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37836 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37837 (I386_USE_SYSENTER): New. Defined to 0.
37838
fc5ad702
AS
378392017-08-08 Andreas Schwab <schwab@suse.de>
37840
37841 [BZ #21041]
37842 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37843 * nptl/pt-system.c (system): Likewise.
37844
852d6312
AZ
378452017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37846
37847 [BZ #21780]
37848 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37849 EOPNOTSUPP.
37850 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37851 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37852 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37853 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37854 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37855 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37856 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37857
8b164787
JM
378582017-08-07 Joseph Myers <joseph@codesourcery.com>
37859
cd65836b
JM
37860 [BZ #21899]
37861 * bits/sigaction.h (struct sigaction): Define sa_handler and
37862 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37863 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37864 [__USE_XOPEN_EXTENDED].
37865 (SA_RESTART): Likewise.
37866 (SA_NODEFER): Likewise.
37867 (SA_RESETHAND): Likewise.
37868 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37869 (struct sigaction): Define sa_handler and sa_sigaction using union
37870 also for [__USE_XOPEN_EXTENDED].
37871 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37872 [__USE_XOPEN_EXTENDED].
37873 (SA_RESTART): Likewise.
37874 (SA_NODEFER): Likewise.
37875 (SA_RESETHAND): Likewise.
37876 * sysdeps/unix/sysv/linux/bits/sigaction.h
37877 (struct sigaction): Define sa_handler and sa_sigaction using union
37878 also for [__USE_XOPEN_EXTENDED].
37879 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37880 [__USE_XOPEN_EXTENDED].
37881 (SA_RESTART): Likewise.
37882 (SA_NODEFER): Likewise.
37883 (SA_RESETHAND): Likewise.
37884 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37885 (struct sigaction): Define sa_handler and sa_sigaction using union
37886 also for [__USE_XOPEN_EXTENDED].
37887 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37888 [__USE_XOPEN_EXTENDED].
37889 (SA_RESTART): Likewise.
37890 (SA_NODEFER): Likewise.
37891 (SA_RESETHAND): Likewise.
37892 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37893 (struct sigaction): Define sa_handler and sa_sigaction using union
37894 also for [__USE_XOPEN_EXTENDED].
37895 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37896 [__USE_XOPEN_EXTENDED].
37897 (SA_RESTART): Likewise.
37898 (SA_NODEFER): Likewise.
37899 (SA_RESETHAND): Likewise.
37900 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37901 (struct sigaction): Define sa_handler and sa_sigaction using union
37902 also for [__USE_XOPEN_EXTENDED].
37903 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37904 [__USE_XOPEN_EXTENDED].
37905 (SA_RESTART): Likewise.
37906 (SA_NODEFER): Likewise.
37907 (SA_RESETHAND): Likewise.
37908 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37909 (struct sigaction): Define sa_handler and sa_sigaction using union
37910 also for [__USE_XOPEN_EXTENDED].
37911 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37912 [__USE_XOPEN_EXTENDED].
37913 (SA_RESTART): Likewise.
37914 (SA_NODEFER): Likewise.
37915 (SA_RESETHAND): Likewise.
37916 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37917 (struct sigaction): Define sa_handler and sa_sigaction using union
37918 also for [__USE_XOPEN_EXTENDED].
37919 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37920 [__USE_XOPEN_EXTENDED].
37921 (SA_RESTART): Likewise.
37922 (SA_NODEFER): Likewise. Define directly rather than as alias.
37923 (SA_RESETHAND): Likewise.
37924 (SA_INTERRUPT): Define only for [__USE_MISC].
37925 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37926 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37927 [__USE_MISC].
37928 (SA_STACK): Define only for [__USE_MISC].
37929 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37930 (struct sigaction): Define sa_handler and sa_sigaction using union
37931 also for [__USE_XOPEN_EXTENDED].
37932 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37933 [__USE_XOPEN_EXTENDED].
37934 (SA_RESTART): Likewise.
37935 (SA_NODEFER): Likewise.
37936 (SA_RESETHAND): Likewise.
37937 (SA_NOPTRACE): Define only for [__USE_MISC].
37938
d9fee042
JM
37939 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37940 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37941 (struct catalog_info): Likewise.
37942 * inet/htontest.c (lo): Likewise.
37943 (foo): Likewise.
37944 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37945 * inet/inet_net.c (inet_network): Likewise.
37946 * inet/inet_netof.c (inet_netof): Likewise.
37947 * inet/rcmd.c (__ivaliduser): Likewise.
37948 (iruserok): Likewise.
37949 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37950 * locale/programs/locale-spec.c (locale_special): Likewise.
37951 * nis/nis_findserv.c (struct findserv_req): Likewise.
37952 (__nis_findfastest_with_timeout): Likewise.
37953 * nss/test-netdb.c (test_network): Likewise.
37954 * resolv/inet_neta.c (inet_neta): Likewise.
37955 * resolv/ns_date.c (ns_datetosecs): Likewise.
37956 (SECS_PER_DAY): Likewise.
37957 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37958 Likewise.
37959 * resolv/res_comp.c (__putlong): Likewise.
37960 (__putshort): Likewise.
37961 (_getlong): Likewise.
37962 (_getshort): Likewise.
37963 * resolv/res_debug.c (p_time): Likewise.
37964 (precsize_ntoa): Likewise.
37965 (precsize_aton): Likewise.
37966 (latlon2ul): Likewise.
37967 (loc_aton): Likewise.
37968 (loc_ntoa): Likewise.
37969 * resolv/res_hconf.c (struct netaddr): Likewise.
37970 (_res_hconf_reorder_addrs): Likewise.
37971 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37972 (clnttcp_control): Likewise.
37973 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37974 (clntudp_control): Likewise.
37975 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37976 (clntunix_control): Likewise.
37977 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37978 * sunrpc/rpc/auth.h (union des_block): Likewise.
37979 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37980 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37981 (xdrrec_create): Likewise.
37982 (xdrrec_endofrecord): Likewise.
37983 (flush_out): Likewise.
37984 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37985 (xdrstdio_putlong): Likewise.
37986 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37987 Likewise.
37988
8b164787
JM
37989 * misc/sys/cdefs.h (__long_double_t): Remove.
37990 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37991 instead of __long_double_t,
37992 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37993
7ee38e60
SP
379942017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37995
dd3e86ad
SP
37996 * benchtests/scripts/compare_strings.py: Avoid display error when
37997 running on a text terminal.
37998
b115e819
SP
37999 * benchtests/scripts/compare_strings.py (main): Add an
38000 optional -base option.
38001 (process_results): New argument base_func.
38002
7ee38e60
SP
38003 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
38004 hardcoding memcpy.
38005 * benchtests/bench-memcpy-large.c (test_name): Likewise.
38006 * benchtests/bench-memcpy-random.c (test_name): Likewise.
38007
d5afb385
AS
380082017-08-07 Andreas Schwab <schwab@suse.de>
38009
38010 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
38011 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38012 * intl/Makefile ($(objpfx)tst-gettext.out)
38013 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
38014 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
38015 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38016 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38017 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
38018 * posix/Makefile ($(objpfx)globtest.out)
38019 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
38020 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
38021 ($(objpfx)tst-printf.out): Likewise.
38022 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
38023 ($(objpfx)tst-setcontext3.out): Likewise.
38024
57a72fa3
L
380252017-08-07 H.J. Lu <hongjiu.lu@intel.com>
38026
38027 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38028 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
38029 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
38030 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
38031 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
38032 and mptan-fma.
38033 (CFLAGS-doasin-fma.c): New.
38034 (CFLAGS-dosincos-fma.c): Likewise.
38035 (CFLAGS-e_asin-fma.c): Likewise.
38036 (CFLAGS-e_atan2-fma.c): Likewise.
38037 (CFLAGS-e_exp-fma.c): Likewise.
38038 (CFLAGS-e_log-fma.c): Likewise.
38039 (CFLAGS-e_pow-fma.c): Likewise.
38040 (CFLAGS-halfulp-fma.c): Likewise.
38041 (CFLAGS-mpa-fma.c): Likewise.
38042 (CFLAGS-mpatan-fma.c): Likewise.
38043 (CFLAGS-mpatan2-fma.c): Likewise.
38044 (CFLAGS-mpexp-fma.c): Likewise.
38045 (CFLAGS-mplog-fma.c): Likewise.
38046 (CFLAGS-mpsqrt-fma.c): Likewise.
38047 (CFLAGS-mptan-fma.c): Likewise.
38048 (CFLAGS-s_atan-fma.c): Likewise.
38049 (CFLAGS-sincos32-fma.c): Likewise.
38050 (CFLAGS-slowexp-fma.c): Likewise.
38051 (CFLAGS-slowpow-fma.c): Likewise.
38052 (CFLAGS-s_sin-fma.c): Likewise.
38053 (CFLAGS-s_tan-fma.c): Likewise.
38054 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
38055 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
38056 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
38057 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
38058 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
38059 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
38060 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
38061 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
38062 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
38063 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
38064 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
38065 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
38066 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
38067 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
38068 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
38069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
38070 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
38071 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
38072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
38073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
38074 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
38075 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
38076 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
38077 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
38078 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38079 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38080 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38081 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
38082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38083 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38085
219dd320
JM
380862017-08-04 Joseph Myers <joseph@codesourcery.com>
38087
38088 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
38089 (min_of_type_f): New macro.
38090 (min_of_type_): Likewise.
38091 (min_of_type_l): Likewise.
38092 (min_of_type_f128): Likewise.
38093 (min_of_type): Define using __MATH_TG and taking an expression
38094 argument.
38095 (math_check_force_underflow): Pass expression instead of type to
38096 min_of_type.
38097 (math_check_force_underflow_nonneg): Likewise.
38098
64d4dea6
L
380992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38100
38101 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
38102 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
38103 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
38104
973da22a
L
381052017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38106
38107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38108 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
38109 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
38110 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
38111 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
38112 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
38113 memcpy_chk-nonshared, mempcpy_chk-nonshared,
38114 memmove_chk-nonshared and memset_chk-nonshared
38115 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
38116 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
38117 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
38118 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38119 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38120 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38121 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38122 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38123 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38124 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38125 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38126 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38127 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38128 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38129 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38130 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38131 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38132 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38133 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38134 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38135 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38136 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38137 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38138 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38139 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38140 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38141 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38142 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38143 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38144 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38145 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38146 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38147 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38148 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38149 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38150 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38151 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38152 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38153 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38154 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38155 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38156 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38157 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38158 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38159 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38160 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38161 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38162 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38163 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38164 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38165 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38166 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38167 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38168 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38169 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38170 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38171 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38172 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38173 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38174 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38175 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38176 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38177 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38178 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38179 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38180 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38181 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38182 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38183 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38184 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38185 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38186 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38187 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38188 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38189 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38190 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38191 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38192 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38193 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38194 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38195 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38196 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38197 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38198 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38199 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38200 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38201 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38202 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38203 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38204 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38205 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38206 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38207 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38208 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38209 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38210 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38211 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38212 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38213 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38214 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38215 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38216 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38217 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38218 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38219 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38220 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38221 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38222 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38223
8537e0f6
L
382242017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38225
38226 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38227 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38228 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38229 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38230 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38231 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38232 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38233 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38234 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38235 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38236 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38237 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38238 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38239 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38240 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38241 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38242 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38243 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38244 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38245 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38246 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38247 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38248 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38250 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38251 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38252 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38253 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38254 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38255 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38256 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38257 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38258 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38259 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38260 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38261 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38262 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38263 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38264 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38266 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38267 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38268 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38269 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38270 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38271 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38272 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38273 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38274 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38275 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38276 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38277 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38281 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38282 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38283 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38284 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38285 ...
38286 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38287 Don't include <sysdep.h> nor <init-arch.h>.
38288 (_ZGVbN2v_cos): Removed.
38289 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38290 ...
38291 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38292 Don't include <sysdep.h> nor <init-arch.h>.
38293 (_ZGVdN4v_cos): Removed.
38294 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38295 ...
38296 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38297 Don't include <sysdep.h> nor <init-arch.h>.
38298 (_ZGVeN8v_cos): Removed.
38299 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38300 ...
38301 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38302 Don't include <sysdep.h> nor <init-arch.h>.
38303 (_ZGVbN2v_exp): Removed.
38304 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38305 ...
38306 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38307 Don't include <sysdep.h> nor <init-arch.h>.
38308 (_ZGVdN4v_exp): Removed.
38309 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38310 ...
38311 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38312 Don't include <sysdep.h> nor <init-arch.h>.
38313 (_ZGVeN8v_exp): Removed.
38314 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38315 ...
38316 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38317 Don't include <sysdep.h> nor <init-arch.h>.
38318 (_ZGVbN2v_log): Removed.
38319 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38320 ...
38321 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38322 Don't include <sysdep.h> nor <init-arch.h>.
38323 (_ZGVdN4v_log): Removed.
38324 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38325 ...
38326 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38327 Don't include <sysdep.h> nor <init-arch.h>.
38328 (_ZGVeN8v_log): Removed.
38329 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38330 ...
38331 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38332 Don't include <sysdep.h> nor <init-arch.h>.
38333 (_ZGVbN2vv_pow): Removed.
38334 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38335 ...
38336 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38337 Don't include <sysdep.h> nor <init-arch.h>.
38338 (_ZGVdN4vv_pow): Removed.
38339 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38340 ...
38341 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38342 Don't include <sysdep.h> nor <init-arch.h>.
38343 (_ZGVeN8vv_pow): Removed.
38344 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38345 ...
38346 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38347 Don't include <sysdep.h> nor <init-arch.h>.
38348 (_ZGVbN2v_sin): Removed.
38349 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38350 ...
38351 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38352 Don't include <sysdep.h> nor <init-arch.h>.
38353 (_ZGVbN4v_sin): Removed.
38354 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38355 ...
38356 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38357 Don't include <sysdep.h> nor <init-arch.h>.
38358 (_ZGVbN8v_sin): Removed.
38359 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38360 ...
38361 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38362 Don't include <sysdep.h> nor <init-arch.h>.
38363 (_ZGVbN2vvv_sincos): Removed.
38364 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38365 ...
38366 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38367 Don't include <sysdep.h> nor <init-arch.h>.
38368 (_ZGVdN4vvv_sincos): Removed.
38369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38370 ...
38371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38372 Don't include <sysdep.h> nor <init-arch.h>.
38373 (_ZGVeN8vvv_sincos): Removed.
38374 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38375 ...
38376 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38377 Don't include <sysdep.h> nor <init-arch.h>.
38378 (_ZGVeN16v_cosf): Removed.
38379 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38380 ...
38381 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38382 Don't include <sysdep.h> nor <init-arch.h>.
38383 (_ZGVbN4v_cosf): Removed.
38384 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38385 ...
38386 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38387 Don't include <sysdep.h> nor <init-arch.h>.
38388 (_ZGVdN8v_cosf): Removed.
38389 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38390 ...
38391 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38392 Don't include <sysdep.h> nor <init-arch.h>.
38393 (_ZGVeN16v_expf): Removed.
38394 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38395 ...
38396 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38397 Don't include <sysdep.h> nor <init-arch.h>.
38398 (_ZGVbN4v_expf): Removed.
38399 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38400 ...
38401 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38402 Don't include <sysdep.h> nor <init-arch.h>.
38403 (_ZGVdN8v_expf): Removed.
38404 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38405 ...
38406 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38407 Don't include <sysdep.h> nor <init-arch.h>.
38408 (_ZGVeN16v_logf): Removed.
38409 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38410 ...
38411 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38412 Don't include <sysdep.h> nor <init-arch.h>.
38413 (_ZGVbN4v_logf): Removed.
38414 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38415 ...
38416 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38417 Don't include <sysdep.h> nor <init-arch.h>.
38418 (_ZGVdN8v_logf): Removed.
38419 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38420 ...
38421 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38422 Don't include <sysdep.h> nor <init-arch.h>.
38423 (_ZGVeN16vv_powf): Removed.
38424 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38425 ...
38426 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38427 Don't include <sysdep.h> nor <init-arch.h>.
38428 (_ZGVbN4vv_powf): Removed.
38429 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38430 ...
38431 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38432 Don't include <sysdep.h> nor <init-arch.h>.
38433 (_ZGVdN8vv_powf): Removed.
38434 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38435 ...
38436 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38437 Don't include <sysdep.h> nor <init-arch.h>.
38438 (_ZGVeN16vvv_sincosf): Removed.
38439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38440 ...
38441 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38442 Don't include <sysdep.h> nor <init-arch.h>.
38443 (_ZGVbN4vvv_sincosf): Removed.
38444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38445 ...
38446 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38447 Don't include <sysdep.h> nor <init-arch.h>.
38448 (_ZGVdN8vvv_sincosf): Removed.
38449 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38450 ...
38451 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38452 Don't include <sysdep.h> nor <init-arch.h>.
38453 (_ZGVeN16v_sinf): Removed.
38454 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38455 ...
38456 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38457 Don't include <sysdep.h> nor <init-arch.h>.
38458 (_ZGVbN4v_sinf): Removed.
38459 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38460 ...
38461 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38462 Don't include <sysdep.h> nor <init-arch.h>.
38463 (_ZGVdN8v_sinf): Removed.
38464
10a87ca4
L
384652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38466
38467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38468 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38469 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38470 s_rint-sse4_1 and s_rintf-sse4_1.
38471 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38472 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38473 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38474 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38475 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38476 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38478 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38479 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38480 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38481 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38482 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38483 (__ceil): Removed.
38484 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38485 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38486 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38487 (__ceilf): Removed.
38488 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38489 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38490 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38491 (__floor): Removed.
38492 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38493 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38494 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38495 (__floorf): Removed.
38496 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38497 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38498 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38499 (__nearbyint): Removed.
38500 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38501 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38502 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38503 (__nearbyintf): Removed.
38504 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38505 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38506 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38507 (__rint): Removed.
38508 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38509 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38510 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38511 (__rintf): Removed.
38512
1e8e527d
L
385132017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38514
38515 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38516 SHARED. Avoid dynamic relocation against main in static PIE.
38517
e13daad7
L
385182017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38519
38520 [BZ #21815]
38521 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38522 (LDFLAGS-tst-prelink): Likewise.
38523
627c69c8
L
385242017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38525
38526 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38527 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38528 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38529 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38530 (INTERNAL_SYSCALL_NCS): Likewise.
38531 (LOADARGS_1): Likewise.
38532 (LOADARGS_5): Likewise.
38533 (RESTOREARGS_1): Likewise.
38534 (RESTOREARGS_5): Likewise.
38535
fc11ff8d
L
385362017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38537
38538 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38539 (MEMPCPY_SYMBOL): Likewise.
38540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38541 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38543 in libc.a.
38544 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38545 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38546 Likewise.
38547 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38548 (__hidden_ver1): Don't use in libc.a.
38549 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38550 (__mempcpy): Don't create a weak alias in libc.a.
38551 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38552 libc.a.
38553 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38554 (__hidden_ver1): Don't use in libc.a.
38555
19f1a11e
L
385562017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38557
38558 * config.make.in (have-insert): New.
38559 * configure.ac (libc_cv_insert): New. Set to yes if linker
38560 supports INSERT in linker script.
38561 (AC_SUBST(libc_cv_insert): New.
38562 * configure: Regenerated.
38563 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38564 if $(have-insert) == yes.
38565
3093fd5e
L
385662017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38567
38568 * elf/Makefile (tests): Add vismain only if
38569 $(have-protected-data) == yes.
38570 (tests-pie): Likewise.
38571
d2cf37c0
L
385722017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38573
38574 [BZ #21871]
38575 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38576 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38577
c8a0e6ec
L
385782017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38579
38580 [BZ #21790]
38581 * sysdeps/i386/i586/memset.S
38582 (__memset_zero_constant_len_parameter): Removed.
38583 * sysdeps/i386/i686/memset.S
38584 (__memset_zero_constant_len_parameter): Likewise.
38585 * sysdeps/i386/i686/multiarch/memset_chk.S
38586 (__memset_zero_constant_len_parameter): Likewise.
38587 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38588 Likewise.
38589
2b34e271
AJ
385902017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38591
38592 * stdlib/getentropy.c (getentropy): Change return type to int.
38593
144bdab0
AJ
385942017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38595
38596 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38597
24ab7723
JM
385982017-08-03 Joseph Myers <joseph@codesourcery.com>
38599
38600 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38601 u_intN_t.
38602 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38603 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38604 Likewise.
38605 (ieee_float_shape_type): Likewise.
38606 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38607 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38608 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38609 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38610 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38611 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38612 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38613 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38614 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38615 Likewise.
38616 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38617 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38618 (__ieee754_yn): Likewise.
38619 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38620 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38621 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38622 Likewise.
38623 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38624 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38625 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38626 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38627 (__erfc): Likewise.
38628 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38629 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38630 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38631 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38632 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38633 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38634 Likewise.
38635 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38636 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38637 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38638 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38639 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38640 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38641 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38642 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38643 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38644 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38645 (__issignaling): Likewise.
38646 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38647 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38648 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38649 Likewise.
38650 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38651 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38652 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38653 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38654 Likewise.
38655 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38656 Likewise.
38657 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38658 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38659 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38660 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38661 (__erfcf): Likewise.
38662 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38663 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38664 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38665 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38666 Likewise.
38667 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38668 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38669 Likewise.
38670 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38671 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38672 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38673 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38674 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38675 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38676 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38677 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38678 Likewise.
38679 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38680 Likewise.
38681 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38682 Likewise.
38683 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38684 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38685 Likewise.
38686 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38687 Likewise.
38688 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38689 (__ieee754_ynl): Likewise.
38690 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38691 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38692 Likewise.
38693 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38694 Likewise.
38695 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38696 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38697 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38698 Likewise.
38699 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38700 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38701 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38702 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38703 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38704 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38705 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38706 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38707 Likewise.
38708 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38709 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38710 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38711 Likewise.
38712 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38713 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38714 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38715 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38716 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38718 Likewise.
38719 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38720 Likewise.
38721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38722 Likewise.
38723 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38724 Likewise.
38725 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38726 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38727 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38728 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38729 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38730 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38732 Likewise.
38733 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38734 Likewise.
38735 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38736 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38737 Likewise.
38738 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38739 (__ieee754_remainderl): Likewise.
38740 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38742 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38743 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38744 Likewise.
38745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38747 Likewise.
38748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38749 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38750 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38751 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38752 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38753 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38754 Likewise.
38755 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38756 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38757 (__ieee754_y0l): Likewise.
38758 (pzero): Likewise.
38759 (qzero): Likewise.
38760 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38761 (__ieee754_y1l): Likewise.
38762 (pone): Likewise.
38763 (qone): Likewise.
38764 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38765 (__ieee754_ynl): Likewise.
38766 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38767 (__ieee754_lgammal_r): Likewise.
38768 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38769 Likewise.
38770 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38771 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38772 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38773 (__erfcl): Likewise.
38774 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38775 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38776 Likewise.
38777 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38778 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38779 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38780 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38781 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38784 Likewise.
38785 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38786 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38787 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38788 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38789 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38790 Likewise.
38791 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38792 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38793 Likewise.
38794 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38795 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38796 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38797 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38798 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38799
964263bb
FW
388002017-08-03 Florian Weimer <fweimer@redhat.com>
38801
38802 [BZ #21885]
38803 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38804 on memory allocation failure.
38805
e98c925f
AM
388062017-08-03 Alan Modra <amodra@gmail.com>
38807
38808 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38809 tst-tlsopt-powerpc.c with function name change and no test harness.
38810 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38811 Call tls_get_addr_opt_test.
38812 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38813 (modules-names): Add mod-tlsopt-powerpc.
38814 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38815 (tst-tlsopt-powerpc): Depend on .so.
38816 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38817 define. Expand use in TLS_GD and TLS_LD.
38818
8ee1abdb
ST
388192017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38820
38821 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38822 function.
3da5756e 38823 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 38824
42df8d59
JM
388252017-08-02 Joseph Myers <joseph@codesourcery.com>
38826
38827 [BZ #21686]
38828 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38829 comparing size with that of double.
38830 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38831 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38832 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38833 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38834 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38835 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38836 unsigned __int128 types.
38837
b7f95f49
SE
388382017-08-02 Steve Ellcey <sellcey@cavium.com>
38839
38840 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38841 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38842 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38843 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38844 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38845
5b736bc9
L
388462017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38847
38848 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38849
dfc93c41
L
388502017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38851
38852 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38853 of SHARED.
38854 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38857 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38858 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38859 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38860 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38861
2fee621d
JM
388622017-08-02 Joseph Myers <joseph@codesourcery.com>
38863
38864 [BZ #21685]
38865 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38866 bit-field expressions passed to sizeof or typeof.
38867 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38868 (__TGMATH_F128): Likewise.
38869 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38870 (__TGMATH_CF128): Likewise.
38871 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38872 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38873 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38874 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38875 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38876 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38877 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38878 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38879 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38880 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38881 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38882 (__TGMATH_UNARY_IMAG): Likewise.
38883 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38884 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38885 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38886 type.
38887 (define_vars_for_type): Handle bit_field type specially.
38888 (Tests.__init__): Declare structure with bit-field element.
38889
b358255f
L
388902017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38891
38892 [BZ #21791]
38893 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38894 (MEMCPY_CHK): Define only if SHARED is defined.
38895 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38896 Likewise.
38897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38898 Likewise.
edf66db1
SP
38899
38900See ChangeLog.18 for earlier changes.